Lungo.theme.pro.less 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  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. & .title {
  75. background: #101010;
  76. border: none;
  77. }
  78. & a {
  79. color: #fff;
  80. text-shadow: 0px 1px 0px #000;
  81. border-bottom: 1px inset #101010;
  82. border-top: 1px inset #868686;
  83. &.current {
  84. background: #1c1c1c;
  85. box-shadow: inset 0px 0px 8px #101010;
  86. border-top: 1px inset #1c1c1c;
  87. }
  88. & .icon {
  89. text-shadow: none;
  90. color: #7a7a7a;
  91. }
  92. }
  93. & .anchor {
  94. background: #101010;
  95. color: #7a7a7a;
  96. }
  97. }
  98. section.aside {
  99. box-shadow: -4px 0 8px rgba(0,0,0,0.5);
  100. &.onright { box-shadow: 4px 0 8px rgba(0,0,0,0.5); }
  101. }
  102. @media handheld, only screen and (min-width: 768px) {
  103. section.current, section.show {
  104. box-shadow: -4px 0 8px rgba(0,0,0,0.5);
  105. &.onright { box-shadow: 4px 0 8px rgba(0,0,0,0.5); }
  106. }
  107. }
  108. /* @end */
  109. /* @group .list */
  110. .list, .list li:not(.toolbar) a { color: #2a2a2a; }
  111. .list {
  112. & li {
  113. background: #fff;
  114. border-bottom: 1px inset #e1e1e1;
  115. &:last-child { border-bottom: none; }
  116. &.selectable:active {
  117. background: @theme-highlight;
  118. color: @theme-highlight-color;
  119. text-shadow: @theme-highlight-text-shadow;
  120. & small, & .onright:not(.bubble) {
  121. color: @white;
  122. text-shadow: none;
  123. }
  124. }
  125. & small, & .onright:not(.bubble) { color: #888; }
  126. }
  127. &.indented li {
  128. border-left: solid 1px #e1e1e1;
  129. border-right: solid 1px #e1e1e1;
  130. &:first-child { border-top: solid 1px #e1e1e1; }
  131. &:last-child { border-bottom: solid 1px #e1e1e1; }
  132. }
  133. & .anchor {
  134. background: @theme-highlight;
  135. color: @theme-highlight-color;
  136. text-shadow: @theme-highlight-text-shadow;
  137. border: none;
  138. }
  139. & .tip { color: #7a7a7a;
  140. &.darker {
  141. background-color: #2c2c2d;
  142. color: #fff;
  143. text-shadow: 0px 1px 0px #000;
  144. & a { color: #fff !important; }
  145. }
  146. &.dark {
  147. background-color: #f4f4f4;
  148. box-shadow: inset 0px 1px 0px #fff;
  149. text-shadow: 0px 1px 0px #fff;
  150. }
  151. }
  152. & .toolbar {
  153. border-bottom-color: rgba(0,0,0,0.2);
  154. & .toolbar a {
  155. box-shadow: 1px 0px 0px #d9d9d9;
  156. &:last-child { box-shadow: none; }
  157. &.current {
  158. background: transparent;
  159. color: #333;
  160. text-shadow: none !important;
  161. }
  162. }
  163. }
  164. }
  165. /* @end */
  166. /* @group widgets */
  167. .splash {
  168. background: @theme-dark;
  169. color: #fff;
  170. text-shadow: 0px 1px 0px rgba(0,0,0,0.2);
  171. }
  172. /* @group .button */
  173. .button {
  174. border-bottom: 1px inset rgba(0,0,0,0.2);
  175. .border-radius(2px);
  176. -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 3px rgba(0,0,0,0.2);
  177. &:active, &.active {
  178. -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.1), inset 0 0 2px rgba(0,0,0,0.2);
  179. border-bottom-color: rgba(0,0,0,0);
  180. }
  181. header &:active, footer &:active,
  182. header &:active, footer &:active {
  183. height: 29px;
  184. position: relative;
  185. top: 1px;
  186. }
  187. &.default {
  188. background: #5a5a5a;
  189. &:active, &.active { background: #4b4b4b; }
  190. }
  191. }
  192. /* @end */
  193. /* @group <inputs> */
  194. input, textarea, select {
  195. border: 1px solid #e1e1e1;
  196. color: #858585;
  197. font-family: 'Roboto', Helvetica, Arial, sans-serif;
  198. }
  199. input:focus, textarea:focus, select:focus {
  200. border-color: @theme;
  201. color: @theme;
  202. }
  203. label {
  204. color: @theme;
  205. text-transform: uppercase;
  206. font-weight: bold;
  207. }
  208. .select:after {
  209. background: #858585;
  210. color: white;
  211. }
  212. input[type="checkbox"] + span, input[type="radio"] + span {
  213. color: #fff;
  214. background: #a0a0a0;
  215. }
  216. input[type="checkbox"] + span::before,
  217. input[type="radio"] + span::before {
  218. background: #c1c1c1;
  219. }
  220. input[type="checkbox"]:checked + span,
  221. input[type="radio"]:checked + span {
  222. background: @theme-dark;
  223. }
  224. /* @end */
  225. .bubble {
  226. color: #fff;
  227. .border-radius(2px);
  228. text-shadow: none;
  229. font-weight: bold !important;
  230. }
  231. header .bubble.count {background: @theme-secondary;}
  232. .bubble.count { background: @theme; }
  233. /* @end */