Lungo.theme.default.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace Lungo.Theme
  5. * @class Default
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. @import url("http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700");
  10. @import url("http://fonts.googleapis.com/css?family=Exo:200,400,700");
  11. @import url("http://fonts.googleapis.com/css?family=Titillium+Web:200,400,700");
  12. .app {
  13. background: #000;
  14. font-family: "Titillium Web", "Exo", "Open Sans Condensed", Helvetica, Arial, sans-serif;
  15. }
  16. .theme,
  17. li.theme,
  18. a.theme {
  19. background: THEME-light;
  20. }
  21. .theme:active,
  22. li.theme:active,
  23. a.theme:active {
  24. background: #2a95d3;
  25. }
  26. [data-control="pull"] {
  27. color: #666;
  28. -webkit-text-shadow: 0 1px 0 #fff;
  29. -moz-text-shadow: 0 1px 0 #fff;
  30. text-shadow: 0 1px 0 #fff;
  31. }
  32. section > header {
  33. background-color: #2a95d3;
  34. -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -2px 0 rgba(255,255,255,0.1), inset 0 -1px 0 rgba(0,0,0,0.5);
  35. -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -2px 0 rgba(255,255,255,0.1), inset 0 -1px 0 rgba(0,0,0,0.5);
  36. box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -2px 0 rgba(255,255,255,0.1), inset 0 -1px 0 rgba(0,0,0,0.5);
  37. }
  38. section > header .title {
  39. color: #fff;
  40. -webkit-text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  41. -moz-text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  42. text-shadow: 0 1px 0 rgba(0,0,0,0.2);
  43. }
  44. section > header .subtitle {
  45. color: #fff;
  46. opacity: 0.7;
  47. }
  48. section > footer {
  49. background-color: THEME-dark;
  50. -webkit-box-shadow: inset 0 3px 0 #333;
  51. -moz-box-shadow: inset 0 3px 0 #333;
  52. box-shadow: inset 0 3px 0 #333;
  53. }
  54. section > footer > nav a {
  55. -webkit-box-shadow: 1px 0 0 #151515;
  56. -moz-box-shadow: 1px 0 0 #151515;
  57. box-shadow: 1px 0 0 #151515;
  58. }
  59. section > footer > nav a.current {
  60. color: #fff;
  61. background: #111;
  62. -webkit-box-shadow: -1px 0 0 #252525, 1px 0 0 #252525, inset 0 3px 0 #2a95d3;
  63. -moz-box-shadow: -1px 0 0 #252525, 1px 0 0 #252525, inset 0 3px 0 #2a95d3;
  64. box-shadow: -1px 0 0 #252525, 1px 0 0 #252525, inset 0 3px 0 #2a95d3;
  65. }
  66. section > article,
  67. section > [data-control="pull"] {
  68. background: #f4f5f5;
  69. }
  70. section.aside {
  71. -webkit-box-shadow: -1px 0 0 rgba(0,0,0,0.2);
  72. -moz-box-shadow: -1px 0 0 rgba(0,0,0,0.2);
  73. box-shadow: -1px 0 0 rgba(0,0,0,0.2);
  74. }
  75. section.aside.right {
  76. -webkit-box-shadow: 4px 0 8px rgba(0,0,0,0.5);
  77. -moz-box-shadow: 4px 0 8px rgba(0,0,0,0.5);
  78. box-shadow: 4px 0 8px rgba(0,0,0,0.5);
  79. }
  80. aside {
  81. color: #fff;
  82. background: #191919;
  83. }
  84. aside header,
  85. aside footer {
  86. background: #111;
  87. -webkit-text-shadow: none;
  88. -moz-text-shadow: none;
  89. text-shadow: none;
  90. }
  91. aside header {
  92. -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.2);
  93. -moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.2);
  94. box-shadow: inset 0 -1px 0 rgba(0,0,0,0.2);
  95. }
  96. aside article {
  97. background: none;
  98. }
  99. aside nav a.current .icon {
  100. color: #fff;
  101. }
  102. aside nav a:not(.current) .icon {
  103. color: #888;
  104. }
  105. aside .list li {
  106. background: none;
  107. border-bottom-color: #222 !important;
  108. }
  109. aside .list li.current {
  110. background: #2a95d3;
  111. border-bottom-color: #2a95d3;
  112. }
  113. aside .list li.current strong,
  114. aside .list li.current small,
  115. aside .list li.current .icon {
  116. color: #fff;
  117. }
  118. aside .list li strong,
  119. aside .list li small,
  120. aside .list li .icon {
  121. color: #888;
  122. }
  123. header nav a {
  124. color: #fff;
  125. }
  126. header nav.box:not(.right) a {
  127. -webkit-box-shadow: 1px 0 0 rgba(255,255,255,0.2), inset -1px 0 0 rgba(0,0,0,0.2);
  128. -moz-box-shadow: 1px 0 0 rgba(255,255,255,0.2), inset -1px 0 0 rgba(0,0,0,0.2);
  129. box-shadow: 1px 0 0 rgba(255,255,255,0.2), inset -1px 0 0 rgba(0,0,0,0.2);
  130. }
  131. header nav.box.right a {
  132. -webkit-box-shadow: -1px 0 0 rgba(255,255,255,0.2), inset 1px 0 0 rgba(0,0,0,0.2);
  133. -moz-box-shadow: -1px 0 0 rgba(255,255,255,0.2), inset 1px 0 0 rgba(0,0,0,0.2);
  134. box-shadow: -1px 0 0 rgba(255,255,255,0.2), inset 1px 0 0 rgba(0,0,0,0.2);
  135. }
  136. header nav.box a:active {
  137. background: rgba(0,0,0,0.1);
  138. }
  139. header nav.button a {
  140. -webkit-border-radius: FORM-border-radius;
  141. -moz-border-radius: FORM-border-radius;
  142. border-radius: FORM-border-radius;
  143. -webkit-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);
  144. -moz-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);
  145. 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);
  146. }
  147. header nav.button a:active {
  148. background: rgba(0,0,0,0.2);
  149. }
  150. section > nav.groupbar {
  151. background-color: THEME-dark;
  152. }
  153. section > nav.groupbar > a.current {
  154. -webkit-box-shadow: inset 0 -3px 0 #2a95d3;
  155. -moz-box-shadow: inset 0 -3px 0 #2a95d3;
  156. box-shadow: inset 0 -3px 0 #2a95d3;
  157. }
  158. footer > nav > a,
  159. nav.groupbar > a {
  160. color: #888;
  161. }
  162. footer > nav > a.current,
  163. nav.groupbar > a.current {
  164. color: #fff;
  165. }
  166. .list li {
  167. background: #fff;
  168. border-bottom: inset 1px #ddd;
  169. }
  170. .list li,
  171. .list li a {
  172. color: #2a2a2a;
  173. }
  174. .list li.dark,
  175. .list li a.dark {
  176. background: #444;
  177. }
  178. .list li.dark,
  179. .list li a.dark,
  180. .list li.dark a,
  181. .list li a.dark a {
  182. color: #fff;
  183. }
  184. .list li.selectable:active,
  185. .list li a.selectable:active,
  186. .list li.theme,
  187. .list li a.theme {
  188. background: #25aeeb;
  189. }
  190. .list li.selectable:active,
  191. .list li a.selectable:active,
  192. .list li.theme,
  193. .list li a.theme,
  194. .list li.selectable:active a,
  195. .list li a.selectable:active a,
  196. .list li.theme a,
  197. .list li a.theme a {
  198. color: #fff;
  199. }
  200. .list li.light,
  201. .list li a.light {
  202. background: #ddd;
  203. -webkit-text-shadow: 0 1px 0 #eee;
  204. -moz-text-shadow: 0 1px 0 #eee;
  205. text-shadow: 0 1px 0 #eee;
  206. }
  207. .list li.light,
  208. .list li a.light,
  209. .list li.light a,
  210. .list li a.light a {
  211. color: #888;
  212. }
  213. .list li.anchor,
  214. .list li a.anchor {
  215. background: #222;
  216. border-bottom: none;
  217. }
  218. .list li.anchor,
  219. .list li a.anchor,
  220. .list li.anchor a,
  221. .list li a.anchor a {
  222. color: #fff !important;
  223. }
  224. .list li small,
  225. .list li a small,
  226. .list li .right:not(.bubble),
  227. .list li a .right:not(.bubble) {
  228. opacity: 0.8;
  229. }
  230. .list:not(.indented) li.dark,
  231. .list:not(.indented) li.theme,
  232. .list:not(.indented) li.light {
  233. border-bottom-color: rgba(0,0,0,0.1);
  234. }
  235. .splash {
  236. background: THEME-dark;
  237. color: #fff;
  238. -webkit-text-shadow: 0 1px 0px rgba(0,0,0,0.2);
  239. -moz-text-shadow: 0 1px 0px rgba(0,0,0,0.2);
  240. text-shadow: 0 1px 0px rgba(0,0,0,0.2);
  241. }
  242. .button,
  243. button {
  244. -webkit-border-radius: FORM-border-radius;
  245. -moz-border-radius: FORM-border-radius;
  246. border-radius: FORM-border-radius;
  247. font-weight: bold;
  248. -webkit-text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
  249. -moz-text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
  250. text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
  251. color: #fff;
  252. -webkit-border-radius: 1px;
  253. -moz-border-radius: 1px;
  254. border-radius: 1px;
  255. -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  256. -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  257. box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  258. border: solid 1px rgba(0,0,0,0.1);
  259. }
  260. .button:active,
  261. button:active {
  262. -webkit-box-shadow: inset 0 0 128px rgba(0,0,0,0.25);
  263. -moz-box-shadow: inset 0 0 128px rgba(0,0,0,0.25);
  264. box-shadow: inset 0 0 128px rgba(0,0,0,0.25);
  265. border-color: none;
  266. }
  267. form label,
  268. .form label {
  269. color: #999;
  270. }
  271. form input[type="text"],
  272. .form input[type="text"],
  273. form input[type="password"],
  274. .form input[type="password"],
  275. form input[type="date"],
  276. .form input[type="date"],
  277. form input[type="datetime"],
  278. .form input[type="datetime"],
  279. form input[type="email"],
  280. .form input[type="email"],
  281. form input[type="number"],
  282. .form input[type="number"],
  283. form input[type="search"],
  284. .form input[type="search"],
  285. form input[type="tel"],
  286. .form input[type="tel"],
  287. form input[type="time"],
  288. .form input[type="time"],
  289. form input[type="url"],
  290. .form input[type="url"],
  291. form select,
  292. .form select,
  293. form textarea,
  294. .form textarea {
  295. background-color: #fff;
  296. color: rgba(0,0,0,0.75);
  297. border: 1px solid #ddd;
  298. -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  299. -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  300. box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  301. -webkit-border-radius: 0px;
  302. -moz-border-radius: 0px;
  303. border-radius: 0px;
  304. }
  305. form input[type="text"].error,
  306. .form input[type="text"].error,
  307. form input[type="password"].error,
  308. .form input[type="password"].error,
  309. form input[type="date"].error,
  310. .form input[type="date"].error,
  311. form input[type="datetime"].error,
  312. .form input[type="datetime"].error,
  313. form input[type="email"].error,
  314. .form input[type="email"].error,
  315. form input[type="number"].error,
  316. .form input[type="number"].error,
  317. form input[type="search"].error,
  318. .form input[type="search"].error,
  319. form input[type="tel"].error,
  320. .form input[type="tel"].error,
  321. form input[type="time"].error,
  322. .form input[type="time"].error,
  323. form input[type="url"].error,
  324. .form input[type="url"].error,
  325. form select.error,
  326. .form select.error,
  327. form textarea.error,
  328. .form textarea.error,
  329. form input[type="text"]:required,
  330. .form input[type="text"]:required,
  331. form input[type="password"]:required,
  332. .form input[type="password"]:required,
  333. form input[type="date"]:required,
  334. .form input[type="date"]:required,
  335. form input[type="datetime"]:required,
  336. .form input[type="datetime"]:required,
  337. form input[type="email"]:required,
  338. .form input[type="email"]:required,
  339. form input[type="number"]:required,
  340. .form input[type="number"]:required,
  341. form input[type="search"]:required,
  342. .form input[type="search"]:required,
  343. form input[type="tel"]:required,
  344. .form input[type="tel"]:required,
  345. form input[type="time"]:required,
  346. .form input[type="time"]:required,
  347. form input[type="url"]:required,
  348. .form input[type="url"]:required,
  349. form select:required,
  350. .form select:required,
  351. form textarea:required,
  352. .form textarea:required {
  353. border-color: color_alert;
  354. color: color_alert;
  355. background-color: rgba(198,15,19,0.1);
  356. }
  357. form input[type="text"]:focus,
  358. .form input[type="text"]:focus,
  359. form input[type="password"]:focus,
  360. .form input[type="password"]:focus,
  361. form input[type="date"]:focus,
  362. .form input[type="date"]:focus,
  363. form input[type="datetime"]:focus,
  364. .form input[type="datetime"]:focus,
  365. form input[type="email"]:focus,
  366. .form input[type="email"]:focus,
  367. form input[type="number"]:focus,
  368. .form input[type="number"]:focus,
  369. form input[type="search"]:focus,
  370. .form input[type="search"]:focus,
  371. form input[type="tel"]:focus,
  372. .form input[type="tel"]:focus,
  373. form input[type="time"]:focus,
  374. .form input[type="time"]:focus,
  375. form input[type="url"]:focus,
  376. .form input[type="url"]:focus,
  377. form select:focus,
  378. .form select:focus,
  379. form textarea:focus,
  380. .form textarea:focus {
  381. background: #fafafa;
  382. border-color: #2a95d3;
  383. color: rgba(0,0,0,0.75);
  384. }
  385. form input[type="text"][disabled],
  386. .form input[type="text"][disabled],
  387. form input[type="password"][disabled],
  388. .form input[type="password"][disabled],
  389. form input[type="date"][disabled],
  390. .form input[type="date"][disabled],
  391. form input[type="datetime"][disabled],
  392. .form input[type="datetime"][disabled],
  393. form input[type="email"][disabled],
  394. .form input[type="email"][disabled],
  395. form input[type="number"][disabled],
  396. .form input[type="number"][disabled],
  397. form input[type="search"][disabled],
  398. .form input[type="search"][disabled],
  399. form input[type="tel"][disabled],
  400. .form input[type="tel"][disabled],
  401. form input[type="time"][disabled],
  402. .form input[type="time"][disabled],
  403. form input[type="url"][disabled],
  404. .form input[type="url"][disabled],
  405. form select[disabled],
  406. .form select[disabled],
  407. form textarea[disabled],
  408. .form textarea[disabled] {
  409. background: #eee;
  410. border-color: #aaa;
  411. color: #999;
  412. }
  413. form .select:after,
  414. .form .select:after {
  415. background: #d0d4c6;
  416. color: #fff;
  417. border-top-right-radius: 1px;
  418. border-bottom-right-radius: 1px;
  419. }
  420. form input[type=range],
  421. .form input[type=range] {
  422. -webkit-box-shadow: 'inset 0 1px 2px rgba(0,0,0,0.1)';
  423. -moz-box-shadow: 'inset 0 1px 2px rgba(0,0,0,0.1)';
  424. box-shadow: 'inset 0 1px 2px rgba(0,0,0,0.1)';
  425. -webkit-border-radius: 1px;
  426. -moz-border-radius: 1px;
  427. border-radius: 1px;
  428. }
  429. form input[type=range]:not(.checkbox),
  430. .form input[type=range]:not(.checkbox) {
  431. background-color: #c7c7c7;
  432. }
  433. form input[type=range]:not(.checkbox):active,
  434. .form input[type=range]:not(.checkbox):active {
  435. background-color: #25aeeb;
  436. }
  437. form input[type=range].checkbox,
  438. .form input[type=range].checkbox {
  439. background-color: #aaa;
  440. color: rgba(255,255,255,0.6);
  441. }
  442. form input[type=range].checkbox.active,
  443. .form input[type=range].checkbox.active {
  444. background-color: #25aeeb;
  445. }
  446. form input[type=range]::-webkit-slider-thumb,
  447. .form input[type=range]::-webkit-slider-thumb {
  448. -webkit-border-radius: FORM-border-radius;
  449. -moz-border-radius: FORM-border-radius;
  450. border-radius: FORM-border-radius;
  451. -webkit-box-shadow: 1px 0 rgba(0,0,0,0.2), -1px 0 rgba(0,0,0,0.2), 0 1px rgba(0,0,0,0.2), 0 -1px rgba(0,0,0,0.2);
  452. -moz-box-shadow: 1px 0 rgba(0,0,0,0.2), -1px 0 rgba(0,0,0,0.2), 0 1px rgba(0,0,0,0.2), 0 -1px rgba(0,0,0,0.2);
  453. box-shadow: 1px 0 rgba(0,0,0,0.2), -1px 0 rgba(0,0,0,0.2), 0 1px rgba(0,0,0,0.2), 0 -1px rgba(0,0,0,0.2);
  454. background: #fff;
  455. }
  456. form input[type=range]::-webkit-slider-thumb::after,
  457. .form input[type=range]::-webkit-slider-thumb::after {
  458. background: #ddd;
  459. }
  460. form .progress .labels,
  461. .form .progress .labels {
  462. font-size: 12px;
  463. font-weight: bold;
  464. line-height: 18px;
  465. color: #858585;
  466. }
  467. form .progress .bar,
  468. .form .progress .bar {
  469. background: #c7c7c7;
  470. }
  471. form .progress .bar .value,
  472. .form .progress .bar .value {
  473. background-color: THEME-light;
  474. }
  475. form .progress .bar .value .label,
  476. .form .progress .bar .value .label {
  477. float: right;
  478. margin-right: 3px;
  479. font-weight: bold;
  480. color: rgba(0,0,0,0.6);
  481. -webkit-text-shadow: 0 1px 0 rgba(255,255,255,0.2) !important;
  482. -moz-text-shadow: 0 1px 0 rgba(255,255,255,0.2) !important;
  483. text-shadow: 0 1px 0 rgba(255,255,255,0.2) !important;
  484. font-size: 12px;
  485. }
  486. .bubble {
  487. color: #fff;
  488. -webkit-border-radius: 2px;
  489. -moz-border-radius: 2px;
  490. border-radius: 2px;
  491. }
  492. .bubble.count {
  493. background: #2a95d3;
  494. }
  495. .bubble header .count {
  496. background: THEME-dark !important;
  497. }
  498. .bubble footer .bubble {
  499. -webkit-box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.5);
  500. -moz-box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.5);
  501. box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.5);
  502. }
  503. .bubble article .list .bubble {
  504. -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);
  505. -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);
  506. 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);
  507. }
  508. .bubble aside .list .bubble {
  509. background: rgba(0,0,0,0.25);
  510. }
  511. .notification {
  512. color: #fff;
  513. }
  514. .notification .window.confirm {
  515. background: #333;
  516. }
  517. .notification .window.notify {
  518. -webkit-text-shadow: 0 1px 0px rgba(0,0,0,0.1);
  519. -moz-text-shadow: 0 1px 0px rgba(0,0,0,0.1);
  520. text-shadow: 0 1px 0px rgba(0,0,0,0.1);
  521. }
  522. .notification .window.notify .box-shadow( inset 0 1px 0 rgba(255,
  523. .notification .window.notify 255,
  524. .notification .window.notify 255,
  525. .notification .window.notify 0.2),
  526. .notification .window.notify inset 0-1px0rgba(0,
  527. .notification .window.notify 0,
  528. .notification .window.notify 0,
  529. .notification .window.notify 0.2),
  530. .notification .window.notify 0px1px2pxrgba(0,
  531. .notification .window.notify 0,
  532. .notification .window.notify 0,
  533. .notification .window.notify 0.25) ),
  534. .notification .window.notify.error {
  535. background: NOTIFICATION-error;
  536. }
  537. .notification .window.notify.alert {
  538. background: NOTIFICATION-alert;
  539. }
  540. .notification .window.notify.success {
  541. background: NOTIFICATION-success;
  542. }
  543. .notification .window.url .close {
  544. background: #000;
  545. border: solid 2px #fff;
  546. -webkit-box-shadow: 0 0 4px #000;
  547. -moz-box-shadow: 0 0 4px #000;
  548. box-shadow: 0 0 4px #000;
  549. }