Lungo.theme.default.less 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace LUNGO.Theme
  5. * @class Default
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. @import "mixins.less";
  10. @import "Lungo.theme.default.font.css";
  11. /*
  12. //ARTIC
  13. @master-color: #2daf96;
  14. @master-color-light: #35d2b3;
  15. @master-color-dark: #22937d;
  16. */
  17. /*
  18. //GREEN
  19. @master-color: #2ea03c;
  20. @master-color-light: #34b745;
  21. @master-color-dark: #248831;
  22. */
  23. @master-color: #05b8e2;
  24. @master-color-light: #05bde9;
  25. @master-color-dark: #07acd0;
  26. @master-color-base: #93d6e7;
  27. @secondary-color: #2c2c2d;
  28. .app {
  29. background: @black;
  30. font-family: 'Roboto', Helvetica, Arial, sans-serif;
  31. }
  32. /* @group <header> & <footer> & <article> */
  33. header {
  34. background-color: @master-color;
  35. border-top: 1px solid @master-color-light;
  36. border-bottom: 1px solid @master-color-dark;
  37. box-shadow: 0px 1px 0px rgba(0,0,0,0.1);
  38. }
  39. footer {
  40. background: #2c2c2d -webkit-gradient(linear, left top, left bottom, color-stop(0.25, #2c2c2d), color-stop(1, #1c1d1d));
  41. border-top: 1px inset #1c1c1c;
  42. }
  43. .title {
  44. color: @white;
  45. text-shadow: 0px 1px 0px rgba(0,0,0,0.2);
  46. }
  47. article { background-color: #f9f9f9; }
  48. article .title {
  49. color: #797979;
  50. text-shadow: 0px 1px 0px #fff;
  51. }
  52. /* @end */
  53. /* @group <nav> */
  54. nav a { color: rgba(255,255,255,0.5); }
  55. nav a.current, nav a:active { color: @white; }
  56. //nav a.current { box-shadow: inset 0px -4px 0px @white; }
  57. .toolbar a { color: rgba(255,255,255,0.2); }
  58. .toolbar a.current, .toolbar nav a:active {
  59. background: #1c1c1c;
  60. box-shadow: inset 0px 0px 8px #101010;
  61. text-shadow: 0px 1px 4px #000;
  62. }
  63. /* @end */
  64. /* @group <aside> */
  65. aside {
  66. background: #252525;
  67. }
  68. aside a {
  69. color: #fff;
  70. text-shadow: 0px 1px 0px #000;
  71. border-bottom: 1px inset #101010;
  72. border-top: 1px inset #868686;
  73. }
  74. aside a.current {
  75. background: #1c1c1c;
  76. box-shadow: inset 0px 0px 8px #101010;
  77. border-top: 1px inset #1c1c1c;
  78. }
  79. aside a .icon {
  80. text-shadow: none;
  81. color: #7a7a7a;
  82. }
  83. aside .anchor {
  84. background: #101010;
  85. color: #7a7a7a;
  86. }
  87. aside ~ article {
  88. box-shadow: -1px 0px 4px #000;
  89. }
  90. /* @end */
  91. /* @group .list */
  92. .list, .list li:not(.toolbar) a { color: #2a2a2a; }
  93. .list li {
  94. background: #fff;
  95. border-bottom: 1px inset #e1e1e1;
  96. }
  97. .list li:last-child { border-bottom: none; }
  98. .list li.selectable:active {
  99. background: #93d6e7;
  100. color: #1b6777;
  101. text-shadow: 0 1px 0 rgba(255,255,255,0.1);
  102. }
  103. .indented ul {
  104. border: 1px solid #e1e1e1;
  105. }
  106. .list .darker {
  107. background-color: #2c2c2d;
  108. color: #fff;
  109. text-shadow: 0px 1px 0px #000;
  110. }
  111. .list li.darker a{ color: #fff !important; }
  112. .list .dark {
  113. background-color: #f4f4f4;
  114. box-shadow: inset 0px 1px 0px #fff;
  115. text-shadow: 0px 1px 0px #fff;
  116. }
  117. .list small, .list .onright:not(.bubble) {
  118. color: #888;
  119. }
  120. .list li.selectable:active small,
  121. .list li.selectable:active .onright:not(.bubble) {
  122. color: #34bcd7;
  123. color: @white;
  124. }
  125. .list .tip {
  126. color: #7a7a7a;
  127. }
  128. .list li.anchor {
  129. background: #93d6e7;
  130. color: #1b6777;
  131. text-shadow: 0 1px 0 rgba(255,255,255,0.1);
  132. border: none;
  133. }
  134. .list .toolbar {
  135. border-bottom-color: rgba(0,0,0,0.2);
  136. }
  137. .list .arrow:before {
  138. color: #a9a9a9;
  139. }
  140. .list .toolbar a { box-shadow: 1px 0px 0px #d9d9d9; }
  141. .list .toolbar a:last-child { box-shadow: none; }
  142. .list .toolbar a.current {
  143. background: transparent;
  144. color: #333;
  145. text-shadow: none !important;
  146. }
  147. /* @end */
  148. /* @group widgets */
  149. .splash {
  150. background: @master-color-dark;
  151. color: #fff;
  152. text-shadow: 0px 1px 0px rgba(0,0,0,0.2);
  153. }
  154. /* @group .button */
  155. a.button {
  156. box-shadow: inset 0 1px 0 rgba(0,0,0,0.3), inset 0 2px 0px rgba(255,255,255,0.2), inset 1px 0 0 rgba(0,0,0,0.2), inset -1px 0 0 rgba(0,0,0,0.2), inset 0 -1px 0 rgba(0,0,0,0.2), 0 1px 1px rgba(0,0,0,0.1);
  157. }
  158. a.button:active {
  159. box-shadow: inset 0 0 8px rgba(0,0,0,0.4);
  160. }
  161. /* @end */
  162. /* @group <inputs> */
  163. input, textarea, select {
  164. border: 1px solid #e1e1e1;
  165. color: #858585;
  166. font-family: 'Roboto', Helvetica, Arial, sans-serif;
  167. }
  168. input:focus, textarea:focus, select:focus {
  169. border-color: @master-color;
  170. color: @master-color;
  171. }
  172. label {
  173. color: @master-color;
  174. text-transform: uppercase;
  175. font-weight: bold;
  176. }
  177. .select:after {
  178. background: #858585;
  179. color: white;
  180. }
  181. input[type="checkbox"] + span, input[type="radio"] + span {
  182. color: #fff;
  183. background: #a0a0a0;
  184. }
  185. input[type="checkbox"] + span::before,
  186. input[type="radio"] + span::before {
  187. background: #c1c1c1;
  188. }
  189. input[type="checkbox"]:checked + span,
  190. input[type="radio"]:checked + span {
  191. background: @master-color-dark;
  192. }
  193. /* @end */
  194. .bubble {
  195. color: #fff;
  196. .border-radius(2px);
  197. text-shadow: none;
  198. font-weight: bold !important;
  199. box-shadow: inset 0px 0px 1px rgba(0,0,0,01);
  200. }
  201. header .bubble.count {background: @secondary-color;}
  202. .bubble.count { background: @master-color; }
  203. /* @end */