Lungo.theme.pro.less 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  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.pro.font.css";
  11. @theme: #05b8e2;
  12. @theme-light: #05bde9;
  13. @theme-dark: #07acd0;
  14. @theme-highlight: #93d6e7;
  15. @theme-highlight-color: #1b6777;
  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: 0 1px 0 rgba(0,0,0,0.1);
  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: #ededed;
  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.5);
  49. &.current, &.active { color: @white; }
  50. }
  51. .toolbar a {
  52. color: rgba(255,255,255,0.2);
  53. &.current, &.active {
  54. background: #1c1c1c;
  55. box-shadow: inset 0px 0px 8px #101010;
  56. text-shadow: 0px 1px 4px #000;
  57. }
  58. }
  59. .groupbar {
  60. background: #ededed;
  61. border-bottom: solid 1px rgba(0,0,0,0.1);
  62. & a {
  63. color: #6e6e6e;
  64. &.current {
  65. color: #6e6e6e;
  66. border-bottom: solid 3px @theme-light;
  67. }
  68. }
  69. }
  70. /* @end */
  71. /* @group <aside> */
  72. aside {
  73. background: #252525;
  74. & a {
  75. color: #fff;
  76. text-shadow: 0px 1px 0px #000;
  77. border-bottom: 1px inset #101010;
  78. border-top: 1px inset #868686;
  79. &.current {
  80. background: #1c1c1c;
  81. box-shadow: inset 0px 0px 8px #101010;
  82. border-top: 1px inset #1c1c1c;
  83. }
  84. & .icon {
  85. text-shadow: none;
  86. color: #7a7a7a;
  87. }
  88. }
  89. & .anchor {
  90. background: #101010;
  91. color: #7a7a7a;
  92. }
  93. }
  94. section.aside {
  95. box-shadow: -4px 0 8px rgba(0,0,0,0.5);
  96. &.onright { box-shadow: 4px 0 8px rgba(0,0,0,0.5); }
  97. }
  98. /* @end */
  99. /* @group .list */
  100. .list, .list li:not(.toolbar) a { color: #2a2a2a; }
  101. .list {
  102. & li {
  103. background: #fff;
  104. border-bottom: 1px inset #e1e1e1;
  105. &:last-child { border-bottom: none; }
  106. &.selectable:active {
  107. background: @theme-highlight;
  108. color: @theme-highlight-color;
  109. text-shadow: @theme-highlight-text-shadow;
  110. & small, & .onright:not(.bubble) {
  111. color: @white;
  112. text-shadow: none;
  113. }
  114. }
  115. & small, & .onright:not(.bubble) { color: #888; }
  116. }
  117. & .indented ul { border: 1px solid #e1e1e1; }
  118. & .anchor {
  119. background: @theme-highlight;
  120. color: @theme-highlight-color;
  121. text-shadow: @theme-highlight-text-shadow;
  122. border: none;
  123. }
  124. & .tip { color: #7a7a7a;
  125. &.darker {
  126. background-color: #2c2c2d;
  127. color: #fff;
  128. text-shadow: 0px 1px 0px #000;
  129. & a { color: #fff !important; }
  130. }
  131. &.dark {
  132. background-color: #f4f4f4;
  133. box-shadow: inset 0px 1px 0px #fff;
  134. text-shadow: 0px 1px 0px #fff;
  135. }
  136. }
  137. & .toolbar {
  138. border-bottom-color: rgba(0,0,0,0.2);
  139. & .toolbar a {
  140. box-shadow: 1px 0px 0px #d9d9d9;
  141. &:last-child { box-shadow: none; }
  142. &.current {
  143. background: transparent;
  144. color: #333;
  145. text-shadow: none !important;
  146. }
  147. }
  148. }
  149. }
  150. /* @end */
  151. /* @group widgets */
  152. .splash {
  153. background: @theme-dark;
  154. color: #fff;
  155. text-shadow: 0px 1px 0px rgba(0,0,0,0.2);
  156. }
  157. /* @group .button */
  158. .button {
  159. border-bottom: 1px inset rgba(0,0,0,0.2);
  160. .border-radius(2px);
  161. -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 3px rgba(0,0,0,0.2);
  162. &:active, &.active {
  163. -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.1), inset 0 0 2px rgba(0,0,0,0.2);
  164. border-bottom-color: rgba(0,0,0,0);
  165. }
  166. header &:active, footer &:active,
  167. header &:active, footer &:active {
  168. height: 29px;
  169. position: relative;
  170. top: 1px;
  171. }
  172. &.default {
  173. background: #5a5a5a;
  174. &:active, &.active { background: #4b4b4b; }
  175. }
  176. }
  177. /* @end */
  178. /* @group <inputs> */
  179. input, textarea, select {
  180. border: 1px solid #e1e1e1;
  181. color: #858585;
  182. font-family: 'Roboto', Helvetica, Arial, sans-serif;
  183. }
  184. input:focus, textarea:focus, select:focus {
  185. border-color: @theme;
  186. color: @theme;
  187. }
  188. label {
  189. color: @theme;
  190. text-transform: uppercase;
  191. font-weight: bold;
  192. }
  193. .select:after {
  194. background: #858585;
  195. color: white;
  196. }
  197. input[type="checkbox"] + span, input[type="radio"] + span {
  198. color: #fff;
  199. background: #a0a0a0;
  200. }
  201. input[type="checkbox"] + span::before,
  202. input[type="radio"] + span::before {
  203. background: #c1c1c1;
  204. }
  205. input[type="checkbox"]:checked + span,
  206. input[type="radio"]:checked + span {
  207. background: @theme-dark;
  208. }
  209. /* @end */
  210. .bubble {
  211. color: #fff;
  212. .border-radius(2px);
  213. text-shadow: none;
  214. font-weight: bold !important;
  215. }
  216. header .bubble.count {background: @theme-secondary;}
  217. .bubble.count { background: @theme; }
  218. /* @end */