Lungo.theme.default.less 4.5 KB

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