Lungo.theme.default.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace Lungo.Theme
  5. * @class Default
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. /* DIMENSIONS */
  10. /* COLORS */
  11. .app {
  12. background: #000;
  13. font-family: "Roboto", Helvetica, Arial, sans-serif;
  14. }
  15. .theme,
  16. li.theme,
  17. a.theme {
  18. background: #2a95d3;
  19. }
  20. .theme:active,
  21. li.theme:active,
  22. a.theme:active {
  23. background: #1984c2;
  24. }
  25. /* @group <header> & <footer> & <article> */
  26. section > header {
  27. background-image: -webkit-linear-gradient(top , #2a95d3 , #1984c2);
  28. background-image: -moz-linear-gradient(top , #2a95d3 , #1984c2);
  29. background-image: -ms-linear-gradient(top , #2a95d3 , #1984c2);
  30. background-image: -o-linear-gradient(top , #2a95d3 , #1984c2);
  31. background-image: linear-gradient(top , #2a95d3 , #1984c2);
  32. -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -2px 0 rgba(255,255,255,0.1), inset 0 -1px 0 rgba(0,0,0,0.5);
  33. -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -2px 0 rgba(255,255,255,0.1), inset 0 -1px 0 rgba(0,0,0,0.5);
  34. box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -2px 0 rgba(255,255,255,0.1), inset 0 -1px 0 rgba(0,0,0,0.5);
  35. -webkit-border-radius: 4px 4px 0px 0px;
  36. -moz-border-radius: 4px 4px 0px 0px;
  37. border-radius: 4px 4px 0px 0px;
  38. -webkit-background-clip: padding-box;
  39. -moz-background-clip: padding;
  40. background-clip: padding-box;
  41. }
  42. section > header .title {
  43. color: #fff;
  44. text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  45. }
  46. section > header .subtitle {
  47. color: #fff;
  48. opacity: 0.7;
  49. }
  50. section > footer {
  51. background-image: -webkit-linear-gradient(top , #292f34 0% , #23282c 60%);
  52. background-image: -moz-linear-gradient(top , #292f34 0% , #23282c 60%);
  53. background-image: -ms-linear-gradient(top , #292f34 0% , #23282c 60%);
  54. background-image: -o-linear-gradient(top , #292f34 0% , #23282c 60%);
  55. background-image: linear-gradient(top , #292f34 0% , #23282c 60%);
  56. -webkit-border-radius: 0px 0px 4px 4px;
  57. -moz-border-radius: 0px 0px 4px 4px;
  58. border-radius: 0px 0px 4px 4px;
  59. -webkit-background-clip: padding-box;
  60. -moz-background-clip: padding;
  61. background-clip: padding-box;
  62. -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.8), inset 0 2px 0 rgba(255,255,255,0.05);
  63. -moz-box-shadow: inset 0 1px 0 rgba(0,0,0,0.8), inset 0 2px 0 rgba(255,255,255,0.05);
  64. box-shadow: inset 0 1px 0 rgba(0,0,0,0.8), inset 0 2px 0 rgba(255,255,255,0.05);
  65. }
  66. section > nav.groupbar {
  67. background-image: -webkit-linear-gradient(top , #23282c 0% , #292f34 60%);
  68. background-image: -moz-linear-gradient(top , #23282c 0% , #292f34 60%);
  69. background-image: -ms-linear-gradient(top , #23282c 0% , #292f34 60%);
  70. background-image: -o-linear-gradient(top , #23282c 0% , #292f34 60%);
  71. background-image: linear-gradient(top , #23282c 0% , #292f34 60%);
  72. }
  73. section > article {
  74. background: #f4f5f5;
  75. }
  76. /* @end */
  77. /* @group <nav> */
  78. header nav a {
  79. color: #fff;
  80. }
  81. header nav.box:not(.right) a {
  82. -webkit-box-shadow: 1px 0 0 rgba(255,255,255,0.2), inset -1px 0 0 rgba(0,0,0,0.2);
  83. -moz-box-shadow: 1px 0 0 rgba(255,255,255,0.2), inset -1px 0 0 rgba(0,0,0,0.2);
  84. box-shadow: 1px 0 0 rgba(255,255,255,0.2), inset -1px 0 0 rgba(0,0,0,0.2);
  85. }
  86. header nav.box.right a {
  87. -webkit-box-shadow: -1px 0 0 rgba(255,255,255,0.2), inset 1px 0 0 rgba(0,0,0,0.2);
  88. -moz-box-shadow: -1px 0 0 rgba(255,255,255,0.2), inset 1px 0 0 rgba(0,0,0,0.2);
  89. box-shadow: -1px 0 0 rgba(255,255,255,0.2), inset 1px 0 0 rgba(0,0,0,0.2);
  90. }
  91. header nav.box a:active {
  92. background: rgba(0, 0, 0, 0.1);
  93. }
  94. header nav.button a {
  95. border-radius: 4px;
  96. background-image: -webkit-linear-gradient(top , rgba(0, 0, 0, 0) , rgba(0, 0, 0, 0.1));
  97. background-image: -moz-linear-gradient(top , rgba(0, 0, 0, 0) , rgba(0, 0, 0, 0.1));
  98. background-image: -ms-linear-gradient(top , rgba(0, 0, 0, 0) , rgba(0, 0, 0, 0.1));
  99. background-image: -o-linear-gradient(top , rgba(0, 0, 0, 0) , rgba(0, 0, 0, 0.1));
  100. background-image: linear-gradient(top , rgba(0, 0, 0, 0) , rgba(0, 0, 0, 0.1));
  101. box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 3px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(0, 0, 0, 0.5);
  102. }
  103. header nav.button a:active {
  104. background: rgba(0, 0, 0, 0.2);
  105. }
  106. footer nav a.current {
  107. background: #000;
  108. -webkit-box-shadow: -1px 0 0 rgba(255,255,255,0.05), 1px 1px 0 rgba(255,255,255,0.05);
  109. -moz-box-shadow: -1px 0 0 rgba(255,255,255,0.05), 1px 1px 0 rgba(255,255,255,0.05);
  110. box-shadow: -1px 0 0 rgba(255,255,255,0.05), 1px 1px 0 rgba(255,255,255,0.05);
  111. }
  112. footer nav a,
  113. nav.groupbar a {
  114. color: rgba(0, 0, 0, 0.7);
  115. }
  116. footer nav a.current,
  117. nav.groupbar a.current {
  118. color: #fff;
  119. }
  120. nav.groupbar a.current {
  121. -webkit-box-shadow: inset 0 -3px 0 #2a95d3;
  122. -moz-box-shadow: inset 0 -3px 0 #2a95d3;
  123. box-shadow: inset 0 -3px 0 #2a95d3;
  124. }
  125. /* @end */
  126. /* @group <aside> */
  127. aside {
  128. color: #fff;
  129. background: #292f34;
  130. }
  131. aside header,
  132. aside footer {
  133. -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.1), inset 0 -1px 0 rgba(255,255,255,0.1);
  134. -moz-box-shadow: inset 0 1px 0 rgba(0,0,0,0.1), inset 0 -1px 0 rgba(255,255,255,0.1);
  135. box-shadow: inset 0 1px 0 rgba(0,0,0,0.1), inset 0 -1px 0 rgba(255,255,255,0.1);
  136. background: #23282c;
  137. }
  138. aside article {
  139. background: none;
  140. }
  141. aside nav .icon {
  142. color: white;
  143. }
  144. section.aside {
  145. -webkit-box-shadow: -4px 0 8px rgba(0,0,0,0.5);
  146. -moz-box-shadow: -4px 0 8px rgba(0,0,0,0.5);
  147. box-shadow: -4px 0 8px rgba(0,0,0,0.5);
  148. }
  149. section.aside.right {
  150. -webkit-box-shadow: 4px 0 8px rgba(0,0,0,0.5);
  151. -moz-box-shadow: 4px 0 8px rgba(0,0,0,0.5);
  152. box-shadow: 4px 0 8px rgba(0,0,0,0.5);
  153. }
  154. /*
  155. @media handheld, only screen and (min-width: 768px) {
  156. section.current, section.show {
  157. .box-shadow(~"-4px 0 8px rgba(0,0,0,0.5)");
  158. &.right { .box-shadow(~"4px 0 8px rgba(0,0,0,0.5)"); }
  159. }
  160. }
  161. */
  162. /* @end */
  163. /* @group .list */
  164. .list li {
  165. background: #fff;
  166. border-bottom: 1px inset #dddddd;
  167. }
  168. .list li:last-child {
  169. border-bottom: none;
  170. }
  171. .list li,
  172. .list li a {
  173. color: #2a2a2a;
  174. }
  175. .list li.contrast {
  176. background: #292f34;
  177. color: #fff;
  178. }
  179. .list li.highlight {
  180. background: #dddddd;
  181. }
  182. .list li.anchor {
  183. background: #292f34;
  184. border-bottom: none;
  185. }
  186. .list li.anchor,
  187. .list li.anchor a {
  188. color: #fff !important;
  189. }
  190. .list li.selectable:active {
  191. background: #39abe1;
  192. }
  193. .list li.selectable:active,
  194. .list li.selectable:active a {
  195. color: #fff;
  196. text-shadow: none;
  197. }
  198. .list li small,
  199. .list li .right:not(.bubble) {
  200. opacity: 0.8;
  201. }
  202. aside .list li {
  203. background: none;
  204. border-top: 1px solid rgba(255, 255, 255, 0.05);
  205. border-bottom: 1px solid ;
  206. }
  207. aside .list li.current {
  208. border-top-color: #2a95d3;
  209. background-image: -webkit-linear-gradient(top , #39abe1 25% , #1984c2 100%);
  210. background-image: -moz-linear-gradient(top , #39abe1 25% , #1984c2 100%);
  211. background-image: -ms-linear-gradient(top , #39abe1 25% , #1984c2 100%);
  212. background-image: -o-linear-gradient(top , #39abe1 25% , #1984c2 100%);
  213. background-image: linear-gradient(top , #39abe1 25% , #1984c2 100%);
  214. }
  215. aside .list li strong,
  216. aside .list li small,
  217. aside .list li .icon {
  218. color: #fff;
  219. }
  220. aside .list li strong {
  221. text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
  222. }
  223. /* @end */
  224. /* @group widgets */
  225. .splash {
  226. background: #292f34;
  227. color: #fff;
  228. text-shadow: 0 1px 0px rgba(0, 0, 0, 0.2);
  229. }
  230. .indented ul {
  231. border: 1px solid #dddddd;
  232. box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  233. }
  234. .indented li:first-child {
  235. -webkit-border-radius: 2px 2px 0 0;
  236. -moz-border-radius: 2px 2px 0 0;
  237. border-radius: 2px 2px 0 0;
  238. -webkit-background-clip: padding-box;
  239. -moz-background-clip: padding;
  240. background-clip: padding-box;
  241. }
  242. .indented li:last-child {
  243. -webkit-border-radius: 0 0 2px 2px;
  244. -moz-border-radius: 0 0 2px 2px;
  245. border-radius: 0 0 2px 2px;
  246. -webkit-background-clip: padding-box;
  247. -moz-background-clip: padding;
  248. background-clip: padding-box;
  249. -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  250. -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  251. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  252. }
  253. /* @group .button */
  254. a.button {
  255. -webkit-border-radius: 2px;
  256. -moz-border-radius: 2px;
  257. border-radius: 2px;
  258. -webkit-background-clip: padding-box;
  259. -moz-background-clip: padding;
  260. background-clip: padding-box;
  261. -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,0.3), inset 0 1px 0 rgba(0,0,0,0.3), inset -1px 0 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.3), inset 0 2px 0 rgba(255,255,255, 0.2);
  262. -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,0.3), inset 0 1px 0 rgba(0,0,0,0.3), inset -1px 0 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.3), inset 0 2px 0 rgba(255,255,255, 0.2);
  263. box-shadow: inset 1px 0 0 rgba(0,0,0,0.3), inset 0 1px 0 rgba(0,0,0,0.3), inset -1px 0 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.3), inset 0 2px 0 rgba(255,255,255, 0.2);
  264. font-weight: bold;
  265. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
  266. }
  267. a.button:active {
  268. -webkit-box-shadow: inset 0 10px 30px rgba(0,0,0,0.2), inset 0 -2px 4px rgba(0,0,0,0.3);
  269. -moz-box-shadow: inset 0 10px 30px rgba(0,0,0,0.2), inset 0 -2px 4px rgba(0,0,0,0.3);
  270. box-shadow: inset 0 10px 30px rgba(0,0,0,0.2), inset 0 -2px 4px rgba(0,0,0,0.3);
  271. }
  272. /* @end */
  273. /* @group <form> */
  274. label {
  275. color: #999;
  276. }
  277. input,
  278. textarea,
  279. select {
  280. border: 1px solid #ccc;
  281. -webkit-border-radius: 2px;
  282. -moz-border-radius: 2px;
  283. border-radius: 2px;
  284. -webkit-background-clip: padding-box;
  285. -moz-background-clip: padding;
  286. background-clip: padding-box;
  287. color: #858585;
  288. font-family: Helvetica, Arial, sans-serif;
  289. -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  290. -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  291. box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  292. }
  293. input:focus,
  294. textarea:focus,
  295. select:focus {
  296. color: #484a49;
  297. border-color: #2a95d3;
  298. -webkit-box-shadow: 0 0 6px #39abe1;
  299. -moz-box-shadow: 0 0 6px #39abe1;
  300. box-shadow: 0 0 6px #39abe1;
  301. }
  302. .select:after {
  303. background: #ccc;
  304. color: white;
  305. border-top-right-radius: 2px;
  306. border-bottom-right-radius: 2px;
  307. }
  308. /* @group range */
  309. input[type="range"]:not(.checkbox) {
  310. background-color: #c7c7c7;
  311. -webkit-border-radius: 2px;
  312. -moz-border-radius: 2px;
  313. border-radius: 2px;
  314. -webkit-background-clip: padding-box;
  315. -moz-background-clip: padding;
  316. background-clip: padding-box;
  317. -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  318. -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  319. box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  320. }
  321. input[type="range"]:not(.checkbox):active {
  322. -webkit-box-shadow: none;
  323. -moz-box-shadow: none;
  324. box-shadow: none;
  325. }
  326. input[type="range"]:not(.checkbox)::-webkit-slider-thumb {
  327. -webkit-border-radius: 12px;
  328. -moz-border-radius: 12px;
  329. border-radius: 12px;
  330. -webkit-background-clip: padding-box;
  331. -moz-background-clip: padding;
  332. background-clip: padding-box;
  333. background: #a0a0a0;
  334. }
  335. input[type="range"]:not(.checkbox):active::-webkit-slider-thumb {
  336. -webkit-box-shadow: 0px 0px 4px #39abe1;
  337. -moz-box-shadow: 0px 0px 4px #39abe1;
  338. box-shadow: 0px 0px 4px #39abe1;
  339. background-image: -webkit-linear-gradient(top , #2a95d3 0% , #1984c2 100%);
  340. background-image: -moz-linear-gradient(top , #2a95d3 0% , #1984c2 100%);
  341. background-image: -ms-linear-gradient(top , #2a95d3 0% , #1984c2 100%);
  342. background-image: -o-linear-gradient(top , #2a95d3 0% , #1984c2 100%);
  343. background-image: linear-gradient(top , #2a95d3 0% , #1984c2 100%);
  344. }
  345. /* @end */
  346. /* @group .progress */
  347. .progress .labels {
  348. font-size: 12px;
  349. font-weight: bold;
  350. line-height: 18px;
  351. color: #858585;
  352. }
  353. .progress .bar {
  354. background: #c7c7c7;
  355. -webkit-border-radius: 2px;
  356. -moz-border-radius: 2px;
  357. border-radius: 2px;
  358. -webkit-background-clip: padding-box;
  359. -moz-background-clip: padding;
  360. background-clip: padding-box;
  361. }
  362. .progress .bar .value {
  363. background-image: -webkit-linear-gradient(top , #39abe1 0% , #1984c2 100%);
  364. background-image: -moz-linear-gradient(top , #39abe1 0% , #1984c2 100%);
  365. background-image: -ms-linear-gradient(top , #39abe1 0% , #1984c2 100%);
  366. background-image: -o-linear-gradient(top , #39abe1 0% , #1984c2 100%);
  367. background-image: linear-gradient(top , #39abe1 0% , #1984c2 100%);
  368. -webkit-border-radius: 2px;
  369. -moz-border-radius: 2px;
  370. border-radius: 2px;
  371. -webkit-background-clip: padding-box;
  372. -moz-background-clip: padding;
  373. background-clip: padding-box;
  374. }
  375. .progress .bar .value .label {
  376. float: right;
  377. margin-right: 3px;
  378. font-weight: bold;
  379. color: rgba(0, 0, 0, 0.6);
  380. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  381. font-size: 12px;
  382. }
  383. /* @end */
  384. /* @group .bubble */
  385. .bubble {
  386. color: #fff;
  387. -webkit-border-radius: 2px;
  388. -moz-border-radius: 2px;
  389. border-radius: 2px;
  390. -webkit-background-clip: padding-box;
  391. -moz-background-clip: padding;
  392. background-clip: padding-box;
  393. }
  394. .bubble.count {
  395. background-image: -webkit-linear-gradient(top , #39abe1 0% , #1984c2 100%);
  396. background-image: -moz-linear-gradient(top , #39abe1 0% , #1984c2 100%);
  397. background-image: -ms-linear-gradient(top , #39abe1 0% , #1984c2 100%);
  398. background-image: -o-linear-gradient(top , #39abe1 0% , #1984c2 100%);
  399. background-image: linear-gradient(top , #39abe1 0% , #1984c2 100%);
  400. }
  401. footer .bubble {
  402. -webkit-box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.5);
  403. -moz-box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.5);
  404. box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.5);
  405. }
  406. article .list .bubble {
  407. -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,0.3), inset 0 1px 0 rgba(0,0,0,0.3), inset -1px 0 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.3);
  408. -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,0.3), inset 0 1px 0 rgba(0,0,0,0.3), inset -1px 0 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.3);
  409. box-shadow: inset 1px 0 0 rgba(0,0,0,0.3), inset 0 1px 0 rgba(0,0,0,0.3), inset -1px 0 0 rgba(0,0,0,0.3), inset 0 -1px 0 rgba(0,0,0,0.3);
  410. }
  411. aside .list .bubble {
  412. background: rgba(0, 0, 0, 0.25);
  413. }
  414. /* @end */
  415. /* @group .bubble */
  416. .notification {
  417. color: #fff;
  418. }
  419. .notification .window.confirm {
  420. background: #333;
  421. }
  422. .notification .window.notify {
  423. text-shadow: 0 1px 0px rgba(0, 0, 0, 0.1);
  424. -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(0,0,0,0.2), 0px 1px 2px rgba(0,0,0,0.25);
  425. -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(0,0,0,0.2), 0px 1px 2px rgba(0,0,0,0.25);
  426. box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(0,0,0,0.2), 0px 1px 2px rgba(0,0,0,0.25);
  427. }
  428. .notification .window.notify.error {
  429. background: #e33100;
  430. }
  431. .notification .window.notify.alert {
  432. background: #ffb515;
  433. }
  434. .notification .window.notify.success {
  435. background: #009600;
  436. }
  437. .notification .window.url .close {
  438. background: #000;
  439. border: solid 2px #fff;
  440. box-shadow: 0 0 4px black;
  441. }