screwdriver.css 23 KB

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