Lungo.theme.default.less 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  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. /* @group layout */
  11. .app {
  12. font-size:13px;
  13. background: #000;
  14. }
  15. article {
  16. background: #fff;
  17. }
  18. /* @group <header> & <footer> */
  19. header {
  20. background: #019d5e -webkit-gradient(linear, left top, left bottom, color-stop(0.1, #019d5e), color-stop(1, #006b41));
  21. .border-radius(6px, 6px, 0, 0);
  22. -webkit-box-shadow:
  23. inset 0px 1px 0px rgba(255,255,255,0.4),
  24. inset 0px -1px rgba(0,0,0,0.5)
  25. }
  26. footer {
  27. background: #2c2c2d -webkit-gradient(linear, left top, left bottom, color-stop(0.25, #2c2c2d), color-stop(1, #1c1d1d));
  28. -webkit-box-shadow:
  29. inset 0px 1px rgba(0,0,0,0.5),
  30. 0px -1px 2px rgba(0,0,0,0.4);
  31. }
  32. .title {
  33. color: #fff;
  34. text-shadow: rgba(0,0,0,0.5) 0 -1px 0px;
  35. }
  36. /* @end */
  37. /* @group <nav> */
  38. nav a {
  39. color: rgba(0,0,0,0.5);
  40. text-shadow: rgba(255,255,255,0.35) 0 1px 1px;
  41. }
  42. header:not(.toolbar) nav a, footer:not(.toolbar) nav a {
  43. line-height: 38px;
  44. }
  45. nav a.current {
  46. color: #fff;
  47. text-shadow: 0px 1px 0px #000 !important;
  48. }
  49. .toolbar a.current{
  50. background: rgba(255,255,255,0.15);
  51. }
  52. //@ToDo: Change the colour for not .toolbar classed elements
  53. not(.toolbar) nav a.current {
  54. }
  55. .toolbar a:first-child{ -webkit-box-shadow: none; }
  56. /* @end */
  57. /* @group <aside> */
  58. aside {
  59. background: #252525;
  60. -webkit-box-shadow: inset -1px 0px 0px #fff, inset -4px 0px 8px rgba(0,0,0, 0.5);
  61. }
  62. aside {
  63. }
  64. aside a{
  65. color: #fff !important;
  66. text-shadow: 0px 1px 0px #000 !important;
  67. border-bottom: 1px inset rgba(0,0,0,0.3);
  68. border-top: 1px inset rgba(255,255,255,0.1);
  69. }
  70. aside a .icon {
  71. opacity: 0.5;
  72. }
  73. /* @end */
  74. /* @group .list */
  75. .list {
  76. background: #c5c5c5;
  77. }
  78. .list li:not(.info) {
  79. background: #fff;
  80. border-bottom: 1px inset #c3c4c6;
  81. color: #333;
  82. }
  83. .list li.toolbar {
  84. border-bottom-color: rgba(0,0,0,0.2);
  85. }
  86. .list li:not(.toolbar) a {
  87. color: #333;
  88. text-shadow: #fff 0px 1px 1px;
  89. -webkit-tap-highlight-color: #242525;
  90. }
  91. .list strong {
  92. color: #2343be;
  93. }
  94. .list small {
  95. opacity: 0.75;
  96. }
  97. .list .bubble {
  98. border: 1px solid rgba(0,0,0,0.15);
  99. .border-radius(2px);
  100. color: #fff;
  101. text-shadow: 0 -1px 0 rgba(0,0,0,.3);
  102. }
  103. .list .button {
  104. color: #fff;
  105. text-shadow: 0 -1px 0 rgba(0,0,0,.3);
  106. }
  107. .list .arrow:before {
  108. color: #a9a9a9;
  109. }
  110. /* @group .anchor */
  111. .list li.anchor {
  112. background: #f4f4f4;
  113. color: #222;
  114. }
  115. /* @end */
  116. /* @group .anchor */
  117. .list li.search {
  118. border: none;
  119. -webkit-box-shadow:
  120. inset 0px 1px 0px rgba(255,255,255,0.1),
  121. inset 0px -1px 0px rgba(0,0,0,0.25);
  122. }
  123. /* @end */
  124. /* @group .info */
  125. .list li.info {
  126. border: none;
  127. -webkit-box-shadow:
  128. inset 0px 1px 0px rgba(255,255,255,0.1),
  129. inset 0px -1px 0px rgba(0,0,0,0.25);
  130. background: #cbcbcb;
  131. }
  132. .list .info strong{
  133. color: #333;
  134. }
  135. .list .info.contrast strong {
  136. color: #fff;
  137. }
  138. /* @end */
  139. /* @end */
  140. .list .contrast {
  141. background: #2c2c2d -webkit-gradient(linear, left top, left bottom, color-stop(0.25, #2c2c2d), color-stop(1, #1c1d1d)) !important;
  142. text-shadow: 0px 1px 1px rgba(0,0,0,0.25);
  143. color: #fff;
  144. }
  145. .list .highlight {
  146. background: #499dc4 -webkit-gradient(linear, left top, left bottom, color-stop(0, #499dc4), color-stop(1, #0e8eb6)) !important;
  147. }
  148. /* @end */
  149. /* @group widgets */
  150. /* @group <section>.splash */
  151. .splash article {
  152. background: #2c2c2d -webkit-gradient(linear, left top, left bottom, color-stop(0.25, #2c2c2d), color-stop(1, #1c1d1d)) !important;
  153. color: #fff;
  154. text-shadow: rgba(0,0,0,0.5) 0 1px 1px;
  155. }
  156. /* @end */
  157. /* @group .button */
  158. a.button{background-color: #15744d;}
  159. a.button:active{background-color: #189462;}
  160. /* @end */
  161. /* @group <inputs> */
  162. input, textarea, select {
  163. border: 1px solid #ccc;
  164. .border-radius(2px);
  165. background: #fff -webkit-gradient(linear, left top, left bottom, color-stop(0, #ddd), color-stop(0.15, #fff));
  166. }
  167. input:focus, textarea:focus, select:focus {
  168. border: 1px solid #058cf5;
  169. .box-shadow(0 0 4px 1px #058cf5);
  170. background: #e8fefe;
  171. }
  172. .select:after {
  173. background: #ccc;
  174. color: white;
  175. .border-radius(0 2px 2px 0);
  176. }
  177. /* @end */
  178. /* @group .counter (BETA) */
  179. .counter{
  180. background: #ee2c23;
  181. .border-radius(2px);
  182. color: #fff;
  183. }
  184. /* @end */
  185. /* @end */