theme.red.css 15 KB

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