screwdriver.css 24 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217
  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-content .item .configure {
  481. visibility: hidden;
  482. }
  483. .box .box-content .item:hover .configure {
  484. visibility: visible;
  485. }
  486. /*=== Tree */
  487. .tree {
  488. margin: 10px 0;
  489. }
  490. .tree-folder-title {
  491. position: relative;
  492. padding: 0 10px;
  493. line-height: 2.5rem;
  494. font-size: 0.9rem;
  495. }
  496. .tree-folder-title .title {
  497. background: inherit;
  498. color: #fff;
  499. }
  500. .tree-folder-title .title:hover {
  501. text-decoration: none;
  502. }
  503. .tree-folder.active .tree-folder-title {
  504. background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
  505. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  506. box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset;
  507. text-shadow: 0 0 2px rgba(255,255,255,0.28);
  508. color: #fff;
  509. }
  510. .tree-folder-items {
  511. background: #171717;
  512. padding: 8px 0;
  513. box-shadow: 0 4px 4px #171717 inset, 0 1px rgba(255,255,255,0.08),0 -1px rgba(255,255,255,0.08);
  514. }
  515. .tree-folder-items > .item {
  516. padding: 0 10px;
  517. line-height: 2.5rem;
  518. font-size: 0.8rem;
  519. }
  520. .tree-folder-items > .item.active {
  521. background: linear-gradient(180deg, #222 0%, #171717 100%) #171717;
  522. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  523. border-radius: 4px;
  524. margin: 0px 8px;
  525. box-shadow: 0px 1px #171717, 0px 1px rgba(255, 255, 255, 0.08) inset, 0 2px 2px #111;
  526. }
  527. .tree-folder-items > .item > a {
  528. text-decoration: none;
  529. color: #fff;
  530. font-size: 0.92em;
  531. }
  532. .tree-folder-items > .item.active > a {
  533. }
  534. /*=== Scrollbar */
  535. @supports (scrollbar-width: thin) {
  536. #sidebar {
  537. scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
  538. }
  539. #sidebar:hover {
  540. scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
  541. }
  542. }
  543. @supports not (scrollbar-width: thin) {
  544. #sidebar::-webkit-scrollbar-thumb {
  545. background: rgba(255, 255, 255, 0.1);
  546. }
  547. #sidebar:hover::-webkit-scrollbar-thumb {
  548. background: rgba(255, 255, 255, 0.3);
  549. }
  550. }
  551. /*=== STRUCTURE */
  552. /*===============*/
  553. /*=== Header */
  554. .header {
  555. height: 55px;
  556. background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
  557. background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
  558. }
  559. .header > .item {
  560. padding: 0;
  561. vertical-align: middle;
  562. text-align: center;
  563. }
  564. .header > .item.title .logo {
  565. height: 60px;
  566. width: 60px;
  567. }
  568. .header > .item.title{
  569. width: 250px;
  570. }
  571. .header > .item.title h1 {
  572. margin: 0.5em 0;
  573. }
  574. .header > .item.title h1 a {
  575. text-decoration: none;
  576. font-size: 28px;
  577. color:#222;
  578. text-shadow: 0 1px #fff;
  579. }
  580. .header > .item.search input {
  581. width: 230px;
  582. }
  583. .header .item.search input:focus {
  584. width: 350px;
  585. }
  586. /*=== Body */
  587. #global {
  588. background:#EDE7DE;
  589. height: calc(100% - 60px);
  590. }
  591. .aside {
  592. border-radius: 0px 12px 0px 0px;
  593. box-shadow: 0px -1px #FFF, 0 2px 2px #171717 inset;
  594. border-top: 1px solid #CCC;
  595. background: #222;
  596. width: 235px;
  597. }
  598. .aside.aside_feed {
  599. padding: 10px 0;
  600. text-align: center;
  601. }
  602. .aside.aside_feed .tree {
  603. margin: 10px 0 50px;
  604. }
  605. /*=== Aside main page (categories) */
  606. .aside_feed .tree-folder-title > .title:not([data-unread="0"])::after {
  607. position: absolute;
  608. right: 3px;
  609. padding: 1px 5px;
  610. color: #fff;
  611. text-shadow: 0 1px rgba(255,255,255,0.08);
  612. }
  613. .aside_feed .btn-important {
  614. border: none;
  615. }
  616. /*=== Aside main page (feeds) */
  617. .feed.item.empty,
  618. .feed.item.empty > a {
  619. color: #e67e22;
  620. }
  621. .feed.item.error,
  622. .feed.item.error > a {
  623. color: #BD362F;
  624. }
  625. .aside_feed .tree-folder-items .dropdown-menu::after {
  626. left: 2px;
  627. }
  628. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  629. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  630. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  631. border-radius: 3px;
  632. }
  633. /*=== Configuration pages */
  634. .post {
  635. padding: 10px 50px;
  636. font-size: 0.9em;
  637. }
  638. .post form {
  639. margin: 10px 0;
  640. }
  641. .post.content {
  642. max-width: 550px;
  643. }
  644. /*=== Prompt (centered) */
  645. .prompt {
  646. text-align: center;
  647. padding: 14px 0px;
  648. text-shadow: 0 1px rgba(255,255,255,0.08);
  649. }
  650. .prompt label {
  651. text-align: left;
  652. }
  653. .prompt form {
  654. margin: 10px auto 20px auto;
  655. width: 180px;
  656. }
  657. .prompt input {
  658. margin: 5px auto;
  659. width: 100%;
  660. }
  661. .prompt p {
  662. margin: 20px 0;
  663. }
  664. .prompt input#username,.prompt input#passwordPlain{
  665. border:solid 1px #ccc;
  666. box-shadow: 0 4px -4px #ccc inset,0px 1px rgba(255, 255, 255, 0.08);
  667. background:#fff;
  668. }
  669. .prompt input#username:focus,.prompt input#passwordPlain:focus{
  670. border: solid 1px #E7AB34;
  671. box-shadow: 0 0 3px #E7AB34;
  672. }
  673. /*=== New article notification */
  674. #new-article {
  675. background: #0084CC;
  676. text-align: center;
  677. font-size: 0.9em;
  678. }
  679. #new-article:hover {
  680. background: #0066CC;
  681. }
  682. #new-article > a {
  683. line-height: 3em;
  684. color: #fff;
  685. font-weight: bold;
  686. }
  687. #new-article > a:hover {
  688. text-decoration: none;
  689. }
  690. /*=== Day indication */
  691. .day {
  692. padding: 0 10px;
  693. font-style:italic;
  694. line-height: 3em;
  695. box-shadow: 0 1px #BDB7AE inset, 0 -1px rgba(255,255,255,0.28) inset;
  696. background: linear-gradient(0deg, #EDE7DE 0%, #C2BCB3 100%) #EDE7DE;
  697. background: -webkit-linear-gradient(bottom, #C2BCB3 0%, #FFF 100%);
  698. color: #666;
  699. text-shadow: 0 1px rgba(255,255,255,0.28);
  700. text-align: center;
  701. }
  702. #new-article + .day {
  703. border-top: none;
  704. }
  705. .day .name {
  706. display: none;
  707. }
  708. /*=== Index menu */
  709. .nav_menu {
  710. background: #EDE7DE;
  711. border-bottom: 1px solid #ccc;
  712. box-shadow:0 -1px rgba(255, 255, 255, 0.28) inset;
  713. text-align: center;
  714. padding: 5px 0;
  715. }
  716. #panel >.nav_menu{
  717. background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
  718. background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
  719. }
  720. #panel > .nav_menu > #nav_menu_read_all{
  721. background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
  722. background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
  723. border-radius: 4px;
  724. border: 1px solid #CCC;
  725. box-shadow: 0px 1px #FFF;
  726. }
  727. #panel > .nav_menu > #nav_menu_read_all .dropdown > .btn.dropdown-toggle {
  728. border-radius: 0 4px 4px 0;
  729. border:none;
  730. border-left: solid 1px #ccc;
  731. }
  732. /*=== Feed articles */
  733. .flux_content {
  734. background: #FFF;
  735. border-radius: 10px;
  736. }
  737. .flux {
  738. background: #EDE7DE;
  739. }
  740. .flux:hover {
  741. background: #F9F7F4;
  742. }
  743. .flux:not(.current):hover .item.title {
  744. background: #F9F7F4;
  745. }
  746. .flux.current .flux .item.title a {
  747. text-shadow:0 0 2px #ccc;
  748. }
  749. .flux.not_read:not(.current):hover .item.title {
  750. opacity:0.85;
  751. }
  752. .flux.favorite {
  753. background: #FFF6DA;
  754. }
  755. .flux.favorite:not(.current):hover{
  756. background: #F9F7F4;
  757. }
  758. .flux.favorite:not(.current):hover .item.title {
  759. background: #F9F7F4;
  760. }
  761. .flux.current {
  762. background: linear-gradient(0deg, #EDE7DE 0%, #FFF 100%) #EDE7DE;
  763. background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #FFF 100%);
  764. box-shadow: 0 -1px #fff inset, 0 2px #ccc;
  765. border-radius: 10px;
  766. margin: 3px 6px;
  767. }
  768. .flux .item.title {
  769. opacity: 0.35;
  770. }
  771. .flux.favorite .item.title {
  772. opacity: 1;
  773. }
  774. .flux.not_read .item.title {
  775. opacity: 1;
  776. }
  777. .flux.current .item.title a {
  778. color: #0f0f0f;
  779. }
  780. .flux .item.title a {
  781. color: #333;
  782. }
  783. .flux_header {
  784. border-top: 1px solid #ddd;
  785. font-size: 0.8rem;
  786. cursor: pointer;
  787. box-shadow: 0 -1px rgba(255,255,255,0.28) inset;
  788. }
  789. .flux_header .title {
  790. font-size: 0.9rem;
  791. }
  792. .flux .website .favicon {
  793. padding: 5px;
  794. }
  795. .flux .date {
  796. color: #666;
  797. font-size: 0.7rem;
  798. }
  799. .flux .bottom {
  800. font-size: 0.8rem;
  801. text-align: center;
  802. }
  803. /*=== Content of feed articles */
  804. .content {
  805. padding: 20px 10px;
  806. }
  807. .content > h1.title > a {
  808. color: #000;
  809. }
  810. .content hr {
  811. margin: 30px 10px;
  812. height: 1px;
  813. background: #ddd;
  814. border: 0;
  815. box-shadow: 0 2px 5px #ccc;
  816. }
  817. .content pre {
  818. margin: 10px auto;
  819. padding: 10px 20px;
  820. overflow: auto;
  821. background: #222;
  822. color: #fff;
  823. font-size: 0.9rem;
  824. border-radius: 3px;
  825. }
  826. .content code {
  827. padding: 2px 5px;
  828. color: #dd1144;
  829. background: #fafafa;
  830. border: 1px solid #eee;
  831. border-radius: 3px;
  832. }
  833. .content pre code {
  834. background: transparent;
  835. color: #fff;
  836. border: none;
  837. }
  838. .content blockquote {
  839. display: block;
  840. margin: 0;
  841. padding: 5px 20px;
  842. border-top: 1px solid #ddd;
  843. border-bottom: 1px solid #ddd;
  844. background: #fafafa;
  845. color: #333;
  846. }
  847. .content blockquote p {
  848. margin: 0;
  849. }
  850. /*=== Notification and actualize notification */
  851. .notification {
  852. padding: 0 0 0 5px;
  853. text-align: center;
  854. background:#222;
  855. border: none;
  856. border-radius: 0 0 12px 12px;
  857. 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;
  858. color:#fff;
  859. font-weight: bold;
  860. font-size: 0.9em;
  861. line-height: 3em;
  862. position:absolute;
  863. top:0;
  864. z-index: 10;
  865. vertical-align: middle;
  866. }
  867. .notification.good {
  868. color: #c95;
  869. }
  870. .notification.bad {
  871. background: #fdd;
  872. color: #844;
  873. }
  874. .notification a.close {
  875. padding: 0 15px;
  876. line-height: 3em;
  877. }
  878. .notification#actualizeProgress {
  879. line-height: 2em;
  880. }
  881. /*=== "Load more" part */
  882. #bigMarkAsRead {
  883. text-align: center;
  884. text-decoration: none;
  885. text-shadow: 0 -1px 0 #aaa;
  886. color: #666;
  887. background: #EDE7DE;
  888. box-shadow: 0 1px rgba(255,255,255,0.28)inset;
  889. }
  890. #bigMarkAsRead:hover {
  891. color: #000;
  892. background: #EDE7DE;
  893. background: radial-gradient(circle at 50% -25% , #ccc 0%, #EDE7DE 50%);
  894. }
  895. #bigMarkAsRead:hover .bigTick {
  896. text-shadow: 0 0 10px #666;
  897. }
  898. /*=== Navigation menu (for articles) */
  899. #nav_entries {
  900. background: linear-gradient(180deg, #222 0%, #171717 100%) #222;
  901. background: -webkit-linear-gradient(top, #222 0%, #171717 100%);
  902. border-top: 1px solid #171717;
  903. text-align: center;
  904. line-height: 3em;
  905. table-layout: fixed;
  906. box-shadow: 0 1px rgba(255,255,255,0.08) inset, 0 -2px 2px #171717;
  907. width:235px;
  908. }
  909. /*=== READER VIEW */
  910. /*================*/
  911. #stream.reader .flux {
  912. padding: 0 0 50px;
  913. border: none;
  914. background: #f0f0f0;
  915. color: #333;
  916. }
  917. #stream.reader .flux .author {
  918. margin: 0 0 10px;
  919. font-size: 90%;
  920. color: #666;
  921. }
  922. /*=== GLOBAL VIEW */
  923. /*================*/
  924. #stream.global {
  925. padding: 24px 0;
  926. box-shadow: 0px 8px 8px #C2BCB3 inset;
  927. }
  928. .box.category .box-title {
  929. background: linear-gradient(0deg, #EDE7DE 0%, #fff 100%) #171717;
  930. background: -webkit-linear-gradient(bottom, #EDE7DE 0%, #fff 100%);
  931. box-shadow: 0px -1px #fff inset,0 -2px #ccc inset;
  932. border-radius: none;
  933. line-height: 2em;
  934. font-size: 1.2rem;
  935. text-shadow:0 1px #ccc;
  936. }
  937. .box.category .box-title .title {
  938. font-weight: normal;
  939. text-decoration: none;
  940. text-align: left;
  941. color: #888;
  942. }
  943. .box.category:not([data-unread="0"]) .box-title {
  944. }
  945. .box.category:not([data-unread="0"]) .box-title:active {
  946. }
  947. .box.category:not([data-unread="0"]) .box-title .title {
  948. color: #222;
  949. font-weight: bold;
  950. }
  951. .box.category .title:not([data-unread="0"])::after {
  952. position: absolute;
  953. top: 5px; right: 10px;
  954. border: 0;
  955. background: none;
  956. font-weight: bold;
  957. }
  958. .box.category .item.feed {
  959. padding: 2px 10px;
  960. font-size: 0.8rem;
  961. }
  962. .box.category .item.feed:not(.empty):not(.error) .item-title {
  963. color: #222;
  964. }
  965. /*=== PANEL */
  966. /*===========*/
  967. #panel {
  968. box-shadow: 0px 0px 4px #000;
  969. border-radius: 8px;
  970. background:#EDE7DE;
  971. }
  972. /*=== DIVERS */
  973. /*===========*/
  974. .aside.aside_feed .nav-form input,.aside.aside_feed .nav-form select {
  975. width: 130px;
  976. }
  977. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  978. right: -20px;
  979. }
  980. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  981. right: 33px;
  982. }
  983. /*=== STATISTICS */
  984. /*===============*/
  985. .stat {
  986. margin: 10px 0 20px;
  987. }
  988. .stat th,
  989. .stat td,
  990. .stat tr {
  991. border: none;
  992. }
  993. .stat > table td,
  994. .stat > table th {
  995. border-bottom: 1px solid #ccc;
  996. background: rgba(255,255,255,0.38);
  997. box-shadow: 0 1px #fff;
  998. }
  999. .stat > .horizontal-list {
  1000. margin: 0 0 5px;
  1001. }
  1002. .stat > .horizontal-list .item {
  1003. overflow: hidden;
  1004. white-space: nowrap;
  1005. text-overflow: ellipsis;
  1006. }
  1007. .stat > .horizontal-list .item:first-child {
  1008. width: 250px;
  1009. }
  1010. /*=== LOGS */
  1011. /*=========*/
  1012. .loglist {
  1013. border: 1px solid #aaa;
  1014. border-radius: 5px;
  1015. overflow: hidden;
  1016. }
  1017. .log {
  1018. padding: 5px 10px;
  1019. background: #fafafa;
  1020. color: #333;
  1021. font-size: 0.8rem;
  1022. }
  1023. .log+.log {
  1024. border-top: 1px solid #aaa;
  1025. }
  1026. .log .date {
  1027. display: block;
  1028. font-weight: bold;
  1029. }
  1030. .log.error {
  1031. background: #fdd;
  1032. color: #844;
  1033. }
  1034. .log.warning {
  1035. background: #ffe;
  1036. color: #c95;
  1037. }
  1038. .log.notice {
  1039. background: #f4f4f4;
  1040. color: #aaa;
  1041. }
  1042. .log.debug {
  1043. background: #333;
  1044. color: #eee;
  1045. }
  1046. #slider.active {
  1047. box-shadow: -4px 0 4px rgba(15, 15, 15, 0.55);
  1048. background: #F8F8F8;
  1049. }
  1050. #close-slider.active {
  1051. background: rgba(15, 15, 15, 0.35);
  1052. }
  1053. /*=== MOBILE */
  1054. /*===========*/
  1055. @media screen and (max-width: 840px) {
  1056. .header {
  1057. display: table;
  1058. }
  1059. .nav-login {
  1060. display: none;
  1061. }
  1062. .aside {
  1063. width: 0;
  1064. border-top: none;
  1065. box-shadow: 3px 0 3px #000;
  1066. transition: width 200ms linear;
  1067. -moz-transition: width 200ms linear;
  1068. -webkit-transition: width 200ms linear;
  1069. -o-transition: width 200ms linear;
  1070. -ms-transition: width 200ms linear;
  1071. }
  1072. .aside:target {
  1073. width: 235px;
  1074. }
  1075. .aside .toggle_aside,
  1076. #panel .close {
  1077. display: block;
  1078. width: 100%;
  1079. height: 40px;
  1080. line-height: 40px;
  1081. text-align: center;
  1082. background: #171717;
  1083. box-shadow: 0 1px rgba(255,255,255,0.08);
  1084. border-radius: 0 8px 0 8px;
  1085. }
  1086. .aside .btn-important {
  1087. display: inline-block;
  1088. margin: 20px 0 0;
  1089. }
  1090. .aside.aside_feed {
  1091. padding: 0;
  1092. }
  1093. .nav_menu .btn {
  1094. margin: 5px 10px;
  1095. }
  1096. .nav_menu .stick {
  1097. margin: 0 10px;
  1098. }
  1099. .nav_menu .stick .btn {
  1100. margin: 5px 0;
  1101. }
  1102. .nav_menu .search {
  1103. display: inline-block;
  1104. max-width: 97%;
  1105. }
  1106. .nav_menu .search input {
  1107. max-width: 97%;
  1108. width: 90px;
  1109. }
  1110. .nav_menu .search input:focus {
  1111. width: 400px;
  1112. }
  1113. .day .name {
  1114. display: none;
  1115. }
  1116. .pagination {
  1117. margin: 0 0 3.5em;
  1118. }
  1119. .notification a.close {
  1120. display: block;
  1121. left: 0;
  1122. background: transparent;
  1123. }
  1124. .notification a.close:hover {
  1125. opacity: 0.5;
  1126. }
  1127. .notification a.close .icon {
  1128. display: none;
  1129. }
  1130. .nav_menu .search {
  1131. display: none;
  1132. }
  1133. #nav_entries {
  1134. width: 100%;
  1135. }
  1136. }
  1137. @media (max-width: 700px) {
  1138. .header{
  1139. display: none;
  1140. }
  1141. .nav-login {
  1142. display: inline-block;
  1143. width: 100%;
  1144. }
  1145. .nav_menu .search {
  1146. display: inline-block;
  1147. }
  1148. .aside .btn-important {
  1149. display: none;
  1150. }
  1151. }