Lungo.theme.default.less 4.2 KB

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