screwdriver.css 23 KB

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