screwdriver.css 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219
  1. @charset "UTF-8";
  2. /*=== GENERAL */
  3. /*============*/
  4. html, body {
  5. height: 100%;
  6. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
  7. background: #fafafa;
  8. font-size: 92%;
  9. }
  10. /*=== Links */
  11. a, button.as-link {
  12. color: #D18114;
  13. outline: none;
  14. }
  15. /*=== Forms */
  16. .form-group{
  17. width: 100%;
  18. float: left;
  19. height: auto;
  20. display: inline-block;
  21. }
  22. legend {
  23. margin: 20px 0 5px;
  24. padding: 5px 0;
  25. border-bottom: 1px solid #ddd;
  26. font-size: 1.4em;
  27. }
  28. label {
  29. min-height: 25px;
  30. padding: 5px 0;
  31. cursor: pointer;
  32. }
  33. textarea {
  34. width: 360px;
  35. height: 100px;
  36. }
  37. input, select, textarea {
  38. min-height: 25px;
  39. padding: 5px;
  40. background: #fff;
  41. border: 1px solid #ccc;
  42. border-radius: 3px;
  43. color: #222;
  44. line-height: 25px;
  45. vertical-align: middle;
  46. box-shadow: 0 1px 2px #ccc inset, 0 1px #fff;
  47. }
  48. option {
  49. padding: 0 .5em;
  50. }
  51. input:focus, select:focus, textarea:focus {
  52. color: #0F0F0F;
  53. box-shadow: 0 0 3px #E7AB34;
  54. border: solid 1px #E7AB34;
  55. }
  56. input:invalid, select:invalid {
  57. border-color: #f00;
  58. box-shadow: 0 0 2px 2px #fdd inset;
  59. }
  60. input:disabled, select:disabled {
  61. background: #eee;
  62. }
  63. input.extend {
  64. transition: width 200ms linear;
  65. -moz-transition: width 200ms linear;
  66. -webkit-transition: width 200ms linear;
  67. -o-transition: width 200ms linear;
  68. -ms-transition: width 200ms linear;
  69. }
  70. /*=== Tables */
  71. table {
  72. border-collapse: collapse;
  73. }
  74. tr, th, td {
  75. padding: 0.5em;
  76. border: 1px solid #ddd;
  77. }
  78. th {
  79. background: #f6f6f6;
  80. }
  81. form td,
  82. form th {
  83. font-weight: normal;
  84. text-align: center;
  85. }
  86. /*=== COMPONENTS */
  87. /*===============*/
  88. /*=== Forms */
  89. .form-group.form-actions {
  90. padding: 5px 0;
  91. background: #f4f4f4;
  92. border-top: 1px solid #ddd;
  93. }
  94. .form-group.form-actions .btn {
  95. margin: 0 10px;
  96. border-radius: 4px;
  97. box-shadow:0 1px rgba(255,255,255,0.08) inset;
  98. }
  99. .form-group .group-name {
  100. padding: 10px 0;
  101. text-align: right;
  102. }
  103. .form-group .group-controls {
  104. min-height: 25px;
  105. padding: 5px 0;
  106. }
  107. .form-group table {
  108. margin: 10px 0 0 220px;
  109. }
  110. /*=== Buttons */
  111. button.as-link[disabled] {
  112. color:#555 !important;
  113. }
  114. .dropdown-menu .input select, .dropdown-menu .input input {
  115. background:#444;
  116. color:#fff;
  117. box-shadow:0 2px 2px #222 inset, 0px 1px rgba(255, 255, 255, 0.08);
  118. border:solid 1px #171717;
  119. }
  120. .stick {
  121. vertical-align: middle;
  122. font-size: 0;
  123. }
  124. .stick input,
  125. .stick .btn {
  126. border-radius: 0;
  127. }
  128. .stick .btn:first-child,.stick input:first-child {
  129. border-radius: 6px 0 0 6px;
  130. }
  131. .stick .btn-important:first-child {
  132. }
  133. .stick .btn:last-child, .stick input:last-child {
  134. border-radius: 0 6px 6px 0;
  135. }
  136. .stick .btn + .btn,
  137. .stick .btn + input,
  138. .stick .btn + .dropdown > .btn,
  139. .stick input + .btn,
  140. .stick input + input,
  141. .stick input + .dropdown > .btn,
  142. .stick .dropdown + .btn,
  143. .stick .dropdown + input,
  144. .stick .dropdown + .dropdown > .btn {
  145. border-left: none;
  146. }
  147. .stick .btn + .dropdown > .btn {
  148. border-left: none;
  149. border-radius: 0 3px 3px 0;
  150. }
  151. .btn {
  152. display: inline-block;
  153. min-height: 37px;
  154. min-width: 15px;
  155. margin: 0;
  156. padding: 5px 10px;
  157. color:#222;
  158. border: solid 1px #ccc;
  159. border-radius: 4px;
  160. background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
  161. background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
  162. text-shadow: 0px -1px rgba(255,255,255,0.08);
  163. font-size: 0.9rem;
  164. vertical-align: middle;
  165. cursor: pointer;
  166. overflow: hidden;
  167. }
  168. a.btn {
  169. min-height: 25px;
  170. line-height: 25px;
  171. }
  172. .btn:hover {
  173. text-shadow: 0 0 2px #fff;
  174. text-decoration:none;
  175. }
  176. .btn.active,.btn:active,.dropdown-target:target ~ .btn.dropdown-toggle {
  177. background: linear-gradient(180deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
  178. background: -webkit-linear-gradient(top, #EDE7DE 0%, #FFF 100%);
  179. }
  180. .nav_menu .btn.active, .nav_menu .btn:active, .nav_menu .dropdown-target:target ~ .btn.dropdown-toggle{
  181. box-shadow: 0 1px #fff;
  182. border-radius: 4px;
  183. background: linear-gradient(180deg, #EDE7DE 0%, #F6F6F6 100%) #EDE7DE;
  184. background: -webkit-linear-gradient(top, #EDE7DE 0%, #F6F6F6 100%);
  185. border: solid 1px #ccc;
  186. }
  187. .nav_menu .btn {
  188. border: 0;
  189. background:transparent;
  190. }
  191. .read_all {
  192. color:#222;
  193. }
  194. .btn.dropdown-toggle[href="#dropdown-configure"]{
  195. background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
  196. background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
  197. border-radius: 4px;
  198. border: solid 1px #ccc;
  199. box-shadow: 0 1px #fff;
  200. }
  201. .btn.dropdown-toggle:active {
  202. background:transparent;
  203. }
  204. .btn-important {
  205. background: linear-gradient(180deg, #E4992C 0%, #D18114 100%) #E4992C;
  206. background: -webkit-linear-gradient(top, #E4992C 0%, #D18114 100%);
  207. color: #FFF;
  208. box-shadow: 0 1px rgba(255,255,255,0.08) inset;
  209. border-radius: 4px;
  210. text-shadow: 0px -1px rgba(255,255,255,0.08);
  211. font-weight: normal;
  212. }
  213. .btn-important:hover {
  214. }
  215. .btn-important:active {
  216. background: linear-gradient(0deg, #E4992C 0%, #D18114 100%) #E4992C;
  217. background: -webkit-linear-gradient(bottom, #E4992C 0%, #D18114 100%);
  218. }
  219. .btn-attention {
  220. background: #E95B57;
  221. background: linear-gradient(to bottom, #E95B57, #BD362F);
  222. background: -webkit-linear-gradient(top, #E95B57 0%, #BD362F 100%);
  223. color: #fff;
  224. border: 1px solid #C44742;
  225. text-shadow: 0px -1px 0px #666;
  226. }
  227. .btn-attention:hover {
  228. background: linear-gradient(to bottom, #D14641, #BD362F);
  229. background: -webkit-linear-gradient(top, #D14641 0%, #BD362F 100%);
  230. }
  231. .btn-attention:active {
  232. background: #BD362F;
  233. box-shadow: none;
  234. }
  235. .btn[type="reset"]{
  236. color: #fff;
  237. background:linear-gradient(180deg, #222 0%, #171717 100%) #171717;
  238. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  239. box-shadow:0 -1px rgba(255,255,255,0.08) inset;
  240. }
  241. /*=== Navigation */
  242. .nav-list .nav-header,
  243. .nav-list .item {
  244. height: 2.5em;
  245. line-height: 2.5em;
  246. font-size: 0.9rem;
  247. }
  248. .nav-list .item:hover {
  249. text-shadow: 0 0 2px rgba(255,255,255,0.28);
  250. color:#fff;
  251. }
  252. .nav-list .item.active {
  253. background: linear-gradient(180deg, #222 0%, #171717 100%) repeat scroll 0% 0% #171717;
  254. background: -webkit-linear-gradient(180deg, #222 0%, #171717 100%);
  255. border-width: medium medium 1px;
  256. border-style: none none solid;
  257. border-color: -moz-use-text-color -moz-use-text-color #171717;
  258. box-shadow: -1px 2px 2px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
  259. margin: 0;
  260. }
  261. .nav-list .item.active a {
  262. color: #D18114;
  263. }
  264. .nav-list .disable {
  265. color: #aaa;
  266. background: #fafafa;
  267. text-align: center;
  268. }
  269. .nav-list .item > a {
  270. padding: 0 10px;
  271. color:#ccc;
  272. }
  273. .nav-list a:hover {
  274. text-decoration: none;
  275. }
  276. .nav-list .item.empty a {
  277. color: #f39c12;
  278. }
  279. .nav-list .item.active.empty a {
  280. color: #fff;
  281. background: linear-gradient(180deg, #E4992C 0%, #D18114 100%) #E4992C;
  282. background: -webkit-linear-gradient(180deg, #E4992C 0%, #D18114 100%);
  283. }
  284. .nav-list .item.error a {
  285. color: #BD362F;
  286. }
  287. .nav-list .item.active.error a {
  288. color: #fff;
  289. background: #BD362F;
  290. }
  291. .nav-list .nav-header {
  292. padding: 0 10px;
  293. color: #222;
  294. background: transparent;
  295. }
  296. .nav-list .nav-form {
  297. padding: 3px;
  298. text-align: center;
  299. }
  300. .nav-head {
  301. margin: 0;
  302. background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
  303. background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
  304. text-align: right;
  305. }
  306. .nav-head .item {
  307. padding: 5px 10px;
  308. font-size: 0.9rem;
  309. line-height: 1.5rem;
  310. }
  311. /*=== Horizontal-list */
  312. .horizontal-list {
  313. margin: 0;
  314. padding: 0;
  315. }
  316. .horizontal-list .item {
  317. vertical-align: middle;
  318. }
  319. /*=== Dropdown */
  320. .dropdown-menu {
  321. margin: 5px 0 0;
  322. padding: 5px 0;
  323. border: 1px solid #171717;
  324. border-radius: 4px;
  325. box-shadow: 0 0 3px #000;
  326. font-size: 0.8rem;
  327. text-align: left;
  328. background: #222;
  329. }
  330. .dropdown-menu::after {
  331. content: "";
  332. position: absolute;
  333. top: -6px;
  334. right: 13px;
  335. width: 10px;
  336. height: 10px;
  337. background: #222;
  338. border-top: 1px solid #171717;
  339. border-left: 1px solid #171717;
  340. z-index: -10;
  341. transform: rotate(45deg);
  342. -moz-transform: rotate(45deg);
  343. -webkit-transform: rotate(45deg);
  344. -ms-transform: rotate(45deg);
  345. }
  346. .dropdown-header {
  347. display:none;
  348. }
  349. .dropdown-menu > .item > a,
  350. .dropdown-menu > .item > span,
  351. .dropdown-menu > .item > .as-link {
  352. padding: 0 22px;
  353. line-height: 2.5em;
  354. color: #ccc;
  355. font-size: 0.8rem;
  356. }
  357. .dropdown-menu > .item > label {
  358. color: #ccc;
  359. }
  360. .dropdown-menu > .item:hover {
  361. background: #171717;
  362. color: #fff;
  363. }
  364. .dropdown-menu > .item[aria-checked="true"] > a::before {
  365. font-weight: bold;
  366. margin: 0 0 0 -14px;
  367. }
  368. .dropdown-menu > .item:hover > a {
  369. color: #fff;
  370. text-decoration: none;
  371. }
  372. .dropdown-menu .input select,
  373. .dropdown-menu .input input {
  374. margin: 0 auto 5px;
  375. padding: 2px 5px;
  376. border-radius: 3px;
  377. }
  378. .separator {
  379. margin: 5px 0;
  380. border-bottom: 1px solid #171717;
  381. box-shadow: 0 1px rgba(255,255,255,0.08);
  382. }
  383. /*=== Alerts */
  384. .alert {
  385. margin: 15px auto;
  386. padding: 10px 15px;
  387. background: #f4f4f4;
  388. border: 1px solid #ccc;
  389. border-right: 1px solid #aaa;
  390. border-bottom: 1px solid #aaa;
  391. border-radius: 5px;
  392. color: #aaa;
  393. text-shadow: 0 0 1px #eee;
  394. font-size: 0.9em;
  395. }
  396. .alert-head {
  397. font-size: 1.15em;
  398. }
  399. .alert > a {
  400. color: inherit;
  401. text-decoration: underline;
  402. }
  403. .alert-warn {
  404. background: #ffe;
  405. border: 1px solid #eeb;
  406. color: #c95;
  407. }
  408. .alert-success {
  409. background: #dfd;
  410. border: 1px solid #cec;
  411. color: #484;
  412. }
  413. .alert-error {
  414. background: #fdd;
  415. border: 1px solid #ecc;
  416. color: #844;
  417. }
  418. /*=== Pagination */
  419. .pagination {
  420. background: #fafafa;
  421. text-align: center;
  422. color: #333;
  423. font-size: 0.8em;
  424. }
  425. .content .pagination {
  426. margin: 0;
  427. padding: 0;
  428. }
  429. .pagination .item.pager-current {
  430. font-weight: bold;
  431. font-size: 1.5em;
  432. }
  433. .pagination .item a {
  434. display: block;
  435. color: #333;
  436. font-style: italic;
  437. line-height: 3em;
  438. text-decoration: none;
  439. }
  440. .pagination .item a:hover {
  441. background: #ddd;
  442. }
  443. .pagination:first-child .item {
  444. border-bottom: 1px solid #aaa;
  445. }
  446. .pagination:last-child .item {
  447. border-top: 1px solid #ddd;
  448. }
  449. .pagination .loading,
  450. .pagination a:hover.loading {
  451. background: url("loader.gif") center center no-repeat #fff;
  452. font-size: 0;
  453. }
  454. /*=== Boxes */
  455. .box {
  456. background: #EDE7DE;
  457. border-radius: 4px;
  458. box-shadow: 0 1px #fff;
  459. }
  460. .box .box-title {
  461. margin: 0;
  462. padding: 5px 10px;
  463. background: linear-gradient(0deg, #EDE7DE 0%, #fff 100%) #171717;
  464. background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #fff 100%);
  465. box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
  466. color: #888;
  467. text-shadow: 0 1px #ccc;
  468. border-radius: 4px 4px 0 0;
  469. font-size: 1.1rem;
  470. font-weight: normal;
  471. }
  472. .box .box-content {
  473. max-height: 260px;
  474. }
  475. .box .box-content .item {
  476. padding: 0 10px;
  477. font-size: 0.9rem;
  478. line-height: 2.5em;
  479. }
  480. .box .box-title .configure,
  481. .box .box-content .item .configure {
  482. visibility: hidden;
  483. }
  484. .box .box-title:hover .configure,
  485. .box .box-content .item:hover .configure {
  486. visibility: visible;
  487. }
  488. /*=== Tree */
  489. .tree {
  490. margin: 10px 0;
  491. }
  492. .tree-folder-title {
  493. position: relative;
  494. padding: 0 10px;
  495. line-height: 2.5rem;
  496. font-size: 0.9rem;
  497. }
  498. .tree-folder-title .title {
  499. background: inherit;
  500. color: #fff;
  501. }
  502. .tree-folder-title .title:hover {
  503. text-decoration: none;
  504. }
  505. .tree-folder.active .tree-folder-title {
  506. background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
  507. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  508. box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
  509. text-shadow: 0 0 2px rgba(255,255,255,0.28);
  510. color: #fff;
  511. }
  512. .tree-folder-items {
  513. background: #171717;
  514. padding: 8px 0;
  515. box-shadow: 0 4px 4px #171717 inset, 0 1px rgba(255,255,255,0.08),0 -1px rgba(255,255,255,0.08);
  516. }
  517. .tree-folder-items > .item {
  518. padding: 0 10px;
  519. line-height: 2.5rem;
  520. font-size: 0.8rem;
  521. }
  522. .tree-folder-items > .item.active {
  523. background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
  524. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  525. border-radius: 4px;
  526. margin: 0px 8px;
  527. box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset, 0 2px 2px #111;
  528. }
  529. .tree-folder-items > .item > a {
  530. text-decoration: none;
  531. color: #fff;
  532. font-size: 0.92em;
  533. }
  534. .tree-folder-items > .item.active > a {
  535. }
  536. /*=== Scrollbar */
  537. @supports (scrollbar-width: thin) {
  538. #sidebar {
  539. scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
  540. }
  541. #sidebar:hover {
  542. scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
  543. }
  544. }
  545. @supports not (scrollbar-width: thin) {
  546. #sidebar::-webkit-scrollbar-thumb {
  547. background: rgba(255, 255, 255, 0.1);
  548. }
  549. #sidebar:hover::-webkit-scrollbar-thumb {
  550. background: rgba(255, 255, 255, 0.3);
  551. }
  552. }
  553. /*=== STRUCTURE */
  554. /*===============*/
  555. /*=== Header */
  556. .header {
  557. height: 55px;
  558. background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
  559. background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
  560. }
  561. .header > .item {
  562. padding: 0;
  563. vertical-align: middle;
  564. text-align: center;
  565. }
  566. .header > .item.title .logo {
  567. height: 60px;
  568. width: 60px;
  569. }
  570. .header > .item.title{
  571. width: 250px;
  572. }
  573. .header > .item.title h1 {
  574. margin: 0.5em 0;
  575. }
  576. .header > .item.title h1 a {
  577. text-decoration: none;
  578. font-size: 28px;
  579. color:#222;
  580. text-shadow: 0 1px #fff;
  581. }
  582. .header > .item.search input {
  583. width: 230px;
  584. }
  585. .header .item.search input:focus {
  586. width: 350px;
  587. }
  588. /*=== Body */
  589. #global {
  590. background:#EDE7DE;
  591. height: calc(100% - 60px);
  592. }
  593. .aside {
  594. border-radius: 0px 12px 0px 0px;
  595. box-shadow: 0px -1px #FFF, 0 2px 2px #171717 inset;
  596. border-top: 1px solid #CCC;
  597. background: #222;
  598. width: 235px;
  599. }
  600. .aside.aside_feed {
  601. padding: 10px 0;
  602. text-align: center;
  603. }
  604. .aside.aside_feed .tree {
  605. margin: 10px 0 50px;
  606. }
  607. /*=== Aside main page (categories) */
  608. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  609. position: absolute;
  610. right: 3px;
  611. padding: 1px 5px;
  612. color: #fff;
  613. text-shadow: 0 1px rgba(255,255,255,0.08);
  614. }
  615. .aside_feed .btn-important {
  616. border: none;
  617. }
  618. /*=== Aside main page (feeds) */
  619. .feed.item.empty,
  620. .feed.item.empty > a {
  621. color: #e67e22;
  622. }
  623. .feed.item.error,
  624. .feed.item.error > a {
  625. color: #BD362F;
  626. }
  627. .aside_feed .tree-folder-items .dropdown-menu::after {
  628. left: 2px;
  629. }
  630. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  631. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  632. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  633. border-radius: 3px;
  634. }
  635. /*=== Configuration pages */
  636. .post {
  637. padding: 10px 50px;
  638. font-size: 0.9em;
  639. }
  640. .post form {
  641. margin: 10px 0;
  642. }
  643. .post.content {
  644. max-width: 550px;
  645. }
  646. /*=== Prompt (centered) */
  647. .prompt {
  648. text-align: center;
  649. padding: 14px 0px;
  650. text-shadow: 0 1px rgba(255,255,255,0.08);
  651. }
  652. .prompt label {
  653. text-align: left;
  654. }
  655. .prompt form {
  656. margin: 10px auto 20px auto;
  657. width: 180px;
  658. }
  659. .prompt input {
  660. margin: 5px auto;
  661. width: 100%;
  662. }
  663. .prompt p {
  664. margin: 20px 0;
  665. }
  666. .prompt input#username,.prompt input#passwordPlain{
  667. border:solid 1px #ccc;
  668. box-shadow: 0 4px -4px #ccc inset,0px 1px rgba(255, 255, 255, 0.08);
  669. background:#fff;
  670. }
  671. .prompt input#username:focus,.prompt input#passwordPlain:focus{
  672. border: solid 1px #E7AB34;
  673. box-shadow: 0 0 3px #E7AB34;
  674. }
  675. /*=== New article notification */
  676. #new-article {
  677. background: #0084CC;
  678. text-align: center;
  679. font-size: 0.9em;
  680. }
  681. #new-article:hover {
  682. background: #0066CC;
  683. }
  684. #new-article > a {
  685. line-height: 3em;
  686. color: #fff;
  687. font-weight: bold;
  688. }
  689. #new-article > a:hover {
  690. text-decoration: none;
  691. }
  692. /*=== Day indication */
  693. .day {
  694. padding: 0 10px;
  695. font-style:italic;
  696. line-height: 3em;
  697. box-shadow: 0 1px #BDB7AE inset, 0 -1px rgba(255,255,255,0.28) inset;
  698. background: linear-gradient(0deg, #EDE7DE 0%, #C2BCB3 100%) #EDE7DE;
  699. background: -webkit-linear-gradient(bottom, #C2BCB3 0%, #FFF 100%);
  700. color: #666;
  701. text-shadow: 0 1px rgba(255,255,255,0.28);
  702. text-align: center;
  703. }
  704. #new-article + .day {
  705. border-top: none;
  706. }
  707. .day .name {
  708. display: none;
  709. }
  710. /*=== Index menu */
  711. .nav_menu {
  712. background: #EDE7DE;
  713. border-bottom: 1px solid #ccc;
  714. box-shadow:0 -1px rgba(255, 255, 255, 0.28) inset;
  715. text-align: center;
  716. padding: 5px 0;
  717. }
  718. #panel >.nav_menu{
  719. background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
  720. background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
  721. }
  722. #panel > .nav_menu > #nav_menu_read_all{
  723. background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
  724. background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
  725. border-radius: 4px;
  726. border: 1px solid #CCC;
  727. box-shadow: 0px 1px #FFF;
  728. }
  729. #panel > .nav_menu > #nav_menu_read_all .dropdown > .btn.dropdown-toggle {
  730. border-radius: 0 4px 4px 0;
  731. border:none;
  732. border-left: solid 1px #ccc;
  733. }
  734. /*=== Feed articles */
  735. .flux_content {
  736. background: #FFF;
  737. border-radius: 10px;
  738. }
  739. .flux {
  740. background: #EDE7DE;
  741. }
  742. .flux:hover {
  743. background: #F9F7F4;
  744. }
  745. .flux:not(.current):hover .item.title {
  746. background: #F9F7F4;
  747. }
  748. .flux.current .flux .item.title a {
  749. text-shadow:0 0 2px #ccc;
  750. }
  751. .flux.not_read:not(.current):hover .item.title {
  752. opacity:0.85;
  753. }
  754. .flux.favorite {
  755. background: #FFF6DA;
  756. }
  757. .flux.favorite:not(.current):hover{
  758. background: #F9F7F4;
  759. }
  760. .flux.favorite:not(.current):hover .item.title {
  761. background: #F9F7F4;
  762. }
  763. .flux.current {
  764. background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
  765. background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
  766. box-shadow: 0 -1px #fff inset, 0 2px #ccc;
  767. border-radius: 10px;
  768. margin: 3px 6px;
  769. }
  770. .flux .item.title {
  771. opacity: 0.35;
  772. }
  773. .flux.favorite .item.title {
  774. opacity: 1;
  775. }
  776. .flux.not_read .item.title {
  777. opacity: 1;
  778. }
  779. .flux.current .item.title a {
  780. color: #0f0f0f;
  781. }
  782. .flux .item.title a {
  783. color: #333;
  784. }
  785. .flux_header {
  786. border-top: 1px solid #ddd;
  787. font-size: 0.8rem;
  788. cursor: pointer;
  789. box-shadow: 0 -1px rgba(255,255,255,0.28) inset;
  790. }
  791. .flux_header .title {
  792. font-size: 0.9rem;
  793. }
  794. .flux .website .favicon {
  795. padding: 5px;
  796. }
  797. .flux .date {
  798. color: #666;
  799. font-size: 0.7rem;
  800. }
  801. .flux .bottom {
  802. font-size: 0.8rem;
  803. text-align: center;
  804. }
  805. /*=== Content of feed articles */
  806. .content {
  807. padding: 20px 10px;
  808. }
  809. .content > h1.title > a {
  810. color: #000;
  811. }
  812. .content hr {
  813. margin: 30px 10px;
  814. height: 1px;
  815. background: #ddd;
  816. border: 0;
  817. box-shadow: 0 2px 5px #ccc;
  818. }
  819. .content pre {
  820. margin: 10px auto;
  821. padding: 10px 20px;
  822. overflow: auto;
  823. background: #222;
  824. color: #fff;
  825. font-size: 0.9rem;
  826. border-radius: 3px;
  827. }
  828. .content code {
  829. padding: 2px 5px;
  830. color: #dd1144;
  831. background: #fafafa;
  832. border: 1px solid #eee;
  833. border-radius: 3px;
  834. }
  835. .content pre code {
  836. background: transparent;
  837. color: #fff;
  838. border: none;
  839. }
  840. .content blockquote {
  841. display: block;
  842. margin: 0;
  843. padding: 5px 20px;
  844. border-top: 1px solid #ddd;
  845. border-bottom: 1px solid #ddd;
  846. background: #fafafa;
  847. color: #333;
  848. }
  849. .content blockquote p {
  850. margin: 0;
  851. }
  852. /*=== Notification and actualize notification */
  853. .notification {
  854. padding: 0 0 0 5px;
  855. text-align: center;
  856. background:#222;
  857. border: none;
  858. border-radius: 0 0 12px 12px;
  859. box-shadow: 0px 0px 4px rgba(0,0,0,0.45), 0 -1px rgba(255,255,255,0.08) inset, 0 2px 2px #171717 inset;
  860. color:#fff;
  861. font-weight: bold;
  862. font-size: 0.9em;
  863. line-height: 3em;
  864. position:absolute;
  865. top:0;
  866. z-index: 10;
  867. vertical-align: middle;
  868. }
  869. .notification.good {
  870. color: #c95;
  871. }
  872. .notification.bad {
  873. background: #fdd;
  874. color: #844;
  875. }
  876. .notification a.close {
  877. padding: 0 15px;
  878. line-height: 3em;
  879. }
  880. .notification#actualizeProgress {
  881. line-height: 2em;
  882. }
  883. /*=== "Load more" part */
  884. #bigMarkAsRead {
  885. text-align: center;
  886. text-decoration: none;
  887. text-shadow: 0 -1px 0 #aaa;
  888. color: #666;
  889. background: #EDE7DE;
  890. box-shadow: 0 1px rgba(255,255,255,0.28)inset;
  891. }
  892. #bigMarkAsRead:hover {
  893. color: #000;
  894. background: #EDE7DE;
  895. background: radial-gradient(circle at 50% -25% , #ccc 0%, #EDE7DE 50%);
  896. }
  897. #bigMarkAsRead:hover .bigTick {
  898. text-shadow: 0 0 10px #666;
  899. }
  900. /*=== Navigation menu (for articles) */
  901. #nav_entries {
  902. background: linear-gradient(180deg, #222 0%, #171717 100%) #222;
  903. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  904. border-top: 1px solid #171717;
  905. text-align: center;
  906. line-height: 3em;
  907. table-layout: fixed;
  908. box-shadow: 0 1px rgba(255,255,255,0.08) inset, 0 -2px 2px #171717;
  909. width:235px;
  910. }
  911. /*=== READER VIEW */
  912. /*================*/
  913. #stream.reader .flux {
  914. padding: 0 0 50px;
  915. border: none;
  916. background: #f0f0f0;
  917. color: #333;
  918. }
  919. #stream.reader .flux .author {
  920. margin: 0 0 10px;
  921. font-size: 90%;
  922. color: #666;
  923. }
  924. /*=== GLOBAL VIEW */
  925. /*================*/
  926. #stream.global {
  927. padding: 24px 0;
  928. box-shadow: 0px 8px 8px #C2BCB3 inset;
  929. }
  930. .box.category .box-title {
  931. background: linear-gradient(0deg, #EDE7DE 0%, #fff 100%) #171717;
  932. background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #fff 100%);
  933. box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
  934. border-radius: none;
  935. line-height: 2em;
  936. font-size: 1.2rem;
  937. text-shadow:0 1px #ccc;
  938. }
  939. .box.category .box-title .title {
  940. font-weight: normal;
  941. text-decoration: none;
  942. text-align: left;
  943. color: #888;
  944. }
  945. .box.category:not([data-unread="0"]) .box-title {
  946. }
  947. .box.category:not([data-unread="0"]) .box-title:active {
  948. }
  949. .box.category:not([data-unread="0"]) .box-title .title {
  950. color: #222;
  951. font-weight: bold;
  952. }
  953. .box.category .title:not([data-unread="0"])::after {
  954. position: absolute;
  955. top: 5px; right: 10px;
  956. border: 0;
  957. background: none;
  958. font-weight: bold;
  959. }
  960. .box.category .item.feed {
  961. padding: 2px 10px;
  962. font-size: 0.8rem;
  963. }
  964. .box.category .item.feed:not(.empty):not(.error) .item-title {
  965. color: #222;
  966. }
  967. /*=== PANEL */
  968. /*===========*/
  969. #panel {
  970. box-shadow: 0px 0px 4px #000;
  971. border-radius: 8px;
  972. background:#EDE7DE;
  973. }
  974. /*=== DIVERS */
  975. /*===========*/
  976. .aside.aside_feed .nav-form input,.aside.aside_feed .nav-form select {
  977. width: 130px;
  978. }
  979. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  980. right: -20px;
  981. }
  982. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  983. right: 33px;
  984. }
  985. /*=== STATISTICS */
  986. /*===============*/
  987. .stat {
  988. margin: 10px 0 20px;
  989. }
  990. .stat th,
  991. .stat td,
  992. .stat tr {
  993. border: none;
  994. }
  995. .stat > table td,
  996. .stat > table th {
  997. border-bottom: 1px solid #ccc;
  998. background: rgba(255,255,255,0.38);
  999. box-shadow: 0 1px #fff;
  1000. }
  1001. .stat > .horizontal-list {
  1002. margin: 0 0 5px;
  1003. }
  1004. .stat > .horizontal-list .item {
  1005. overflow: hidden;
  1006. white-space: nowrap;
  1007. text-overflow: ellipsis;
  1008. }
  1009. .stat > .horizontal-list .item:first-child {
  1010. width: 250px;
  1011. }
  1012. /*=== LOGS */
  1013. /*=========*/
  1014. .loglist {
  1015. border: 1px solid #aaa;
  1016. border-radius: 5px;
  1017. overflow: hidden;
  1018. }
  1019. .log {
  1020. padding: 5px 10px;
  1021. background: #fafafa;
  1022. color: #333;
  1023. font-size: 0.8rem;
  1024. }
  1025. .log+.log {
  1026. border-top: 1px solid #aaa;
  1027. }
  1028. .log .date {
  1029. display: block;
  1030. font-weight: bold;
  1031. }
  1032. .log.error {
  1033. background: #fdd;
  1034. color: #844;
  1035. }
  1036. .log.warning {
  1037. background: #ffe;
  1038. color: #c95;
  1039. }
  1040. .log.notice {
  1041. background: #f4f4f4;
  1042. color: #aaa;
  1043. }
  1044. .log.debug {
  1045. background: #333;
  1046. color: #eee;
  1047. }
  1048. #slider.active {
  1049. box-shadow: -4px 0 4px rgba(15, 15, 15, 0.55);
  1050. background: #F8F8F8;
  1051. }
  1052. #close-slider.active {
  1053. background: rgba(15, 15, 15, 0.35);
  1054. }
  1055. /*=== MOBILE */
  1056. /*===========*/
  1057. @media screen and (max-width: 840px) {
  1058. .header {
  1059. display: table;
  1060. }
  1061. .nav-login {
  1062. display: none;
  1063. }
  1064. .aside {
  1065. width: 0;
  1066. border-top: none;
  1067. box-shadow: 3px 0 3px #000;
  1068. transition: width 200ms linear;
  1069. -moz-transition: width 200ms linear;
  1070. -webkit-transition: width 200ms linear;
  1071. -o-transition: width 200ms linear;
  1072. -ms-transition: width 200ms linear;
  1073. }
  1074. .aside:target {
  1075. width: 235px;
  1076. }
  1077. .aside .toggle_aside,
  1078. #panel .close {
  1079. display: block;
  1080. width: 100%;
  1081. height: 40px;
  1082. line-height: 40px;
  1083. text-align: center;
  1084. background: #171717;
  1085. box-shadow: 0 1px rgba(255,255,255,0.08);
  1086. border-radius: 0 8px 0 8px;
  1087. }
  1088. .aside .btn-important {
  1089. display: inline-block;
  1090. margin: 20px 0 0;
  1091. }
  1092. .aside.aside_feed {
  1093. padding: 0;
  1094. }
  1095. .nav_menu .btn {
  1096. margin: 5px 10px;
  1097. }
  1098. .nav_menu .stick {
  1099. margin: 0 10px;
  1100. }
  1101. .nav_menu .stick .btn {
  1102. margin: 5px 0;
  1103. }
  1104. .nav_menu .search {
  1105. display: inline-block;
  1106. max-width: 97%;
  1107. }
  1108. .nav_menu .search input {
  1109. max-width: 97%;
  1110. width: 90px;
  1111. }
  1112. .nav_menu .search input:focus {
  1113. width: 400px;
  1114. }
  1115. .day .name {
  1116. display: none;
  1117. }
  1118. .pagination {
  1119. margin: 0 0 3.5em;
  1120. }
  1121. .notification a.close {
  1122. display: block;
  1123. left: 0;
  1124. background: transparent;
  1125. }
  1126. .notification a.close:hover {
  1127. opacity: 0.5;
  1128. }
  1129. .notification a.close .icon {
  1130. display: none;
  1131. }
  1132. .nav_menu .search {
  1133. display: none;
  1134. }
  1135. #nav_entries {
  1136. width: 100%;
  1137. }
  1138. }
  1139. @media (max-width: 700px) {
  1140. .header{
  1141. display: none;
  1142. }
  1143. .nav-login {
  1144. display: inline-block;
  1145. width: 100%;
  1146. }
  1147. .nav_menu .search {
  1148. display: inline-block;
  1149. }
  1150. .aside .btn-important {
  1151. display: none;
  1152. }
  1153. }