screwdriver.css 23 KB

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