flat.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023
  1. @charset "UTF-8";
  2. /*=== GENERAL */
  3. /*============*/
  4. html, body {
  5. background: #fafafa;
  6. color: black;
  7. font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", "PingFang SC", "Microsoft YaHei", sans-serif;
  8. }
  9. /*=== Links */
  10. a, button.as-link {
  11. color: #2980b9;
  12. outline: none;
  13. }
  14. /*=== Forms */
  15. legend {
  16. margin: 20px 0 5px;
  17. padding: 5px 20px;
  18. background: #ecf0f1;
  19. display: inline-block;
  20. width: auto;
  21. font-size: 1.4em;
  22. border-radius: 20px;
  23. clear: both;
  24. }
  25. label {
  26. min-height: 25px;
  27. padding: 5px 0;
  28. cursor: pointer;
  29. color: #444;
  30. }
  31. textarea {
  32. width: 360px;
  33. height: 100px;
  34. }
  35. input, select, textarea {
  36. padding: 5px;
  37. background: #fff;
  38. color: #666;
  39. border: none;
  40. border-bottom: 3px solid #ddd;
  41. border-left-color: #ddd;
  42. border-radius: 5px;
  43. min-height: 25px;
  44. line-height: 25px;
  45. vertical-align: middle;
  46. }
  47. option {
  48. padding: 0 .5em;
  49. }
  50. input:focus, select:focus, textarea:focus {
  51. color: #333;
  52. border-color: #2980b9;
  53. }
  54. input:invalid, select:invalid {
  55. color: #f00;
  56. border-color: #f00;
  57. box-shadow: none;
  58. }
  59. input:disabled, select:disabled {
  60. background: #eee;
  61. }
  62. /*=== Tables */
  63. table {
  64. border-collapse: collapse;
  65. }
  66. th, td {
  67. border: 1px solid #ddd;
  68. }
  69. th {
  70. background: #f6f6f6;
  71. }
  72. form td,
  73. form th {
  74. font-weight: normal;
  75. text-align: center;
  76. }
  77. /*=== COMPONENTS */
  78. /*===============*/
  79. /*=== Forms */
  80. .form-group {
  81. padding: 5px;
  82. border: 1px solid transparent;
  83. border-radius: 3px;
  84. }
  85. .form-group::after {
  86. display: block;
  87. clear: both;
  88. }
  89. .form-group:hover {
  90. background: #fff;
  91. border: 1px solid #eee;
  92. border-radius: 3px;
  93. }
  94. .form-group.form-actions {
  95. margin: 15px 0 25px;
  96. padding: 5px 0;
  97. background: #ecf0f1;
  98. border-top: 3px solid #bdc3c7;
  99. border-radius: 5px 5px 0 0;
  100. }
  101. .form-group.form-actions .btn {
  102. margin: 0 10px;
  103. }
  104. .form-group .group-name {
  105. padding: 10px 0;
  106. }
  107. .form-group .group-controls {
  108. min-height: 25px;
  109. padding: 5px 0;
  110. }
  111. .form-group .group-controls .control {
  112. line-height: 2.0em;
  113. }
  114. /*=== Buttons */
  115. .stick input,
  116. .stick .btn {
  117. border-radius: 0;
  118. }
  119. .stick .btn:first-child,
  120. .stick input:first-child {
  121. border-radius: 5px 0 0 5px;
  122. }
  123. .stick .btn:last-child,
  124. .stick input:last-child,
  125. .stick .dropdown:last-child > .btn {
  126. border-radius: 0 5px 5px 0;
  127. }
  128. .stick .btn + .btn,
  129. .stick .btn + input,
  130. .stick .btn + .dropdown > .btn,
  131. .stick input + .btn,
  132. .stick input + input,
  133. .stick input + .dropdown > .btn,
  134. .stick .dropdown + .btn,
  135. .stick .dropdown + input,
  136. .stick .dropdown + .dropdown > .btn {
  137. border-left-width: 1px;
  138. border-left-style: solid;
  139. }
  140. .btn {
  141. margin: 0;
  142. padding: 5px 10px;
  143. background: #3498db;
  144. display: inline-block;
  145. color: #fff;
  146. font-size: 0.9rem;
  147. border: none;
  148. border-bottom: 3px solid #2980b9;
  149. border-left-color: #2980b9;
  150. border-radius: 5px;
  151. min-height: 25px;
  152. min-width: 15px;
  153. line-height: 25px;
  154. vertical-align: middle;
  155. cursor: pointer;
  156. overflow: hidden;
  157. }
  158. .btn:hover {
  159. text-decoration: none;
  160. }
  161. .btn.active,
  162. .btn:active,
  163. .btn:hover,
  164. .dropdown-target:target ~ .btn.dropdown-toggle {
  165. background: #2980b9;
  166. }
  167. .btn .icon {
  168. filter: brightness(5);
  169. }
  170. #toggle-unread .icon,
  171. #toggle-starred .icon {
  172. filter: none;
  173. }
  174. .btn-important {
  175. font-weight: normal;
  176. background: #e67e22;
  177. color: #fff;
  178. border-bottom: 3px solid #d35400;
  179. border-left-color: #d35400;
  180. }
  181. .btn-important:hover,
  182. .btn-important:active {
  183. background: #d35400;
  184. }
  185. .btn-important .icon {
  186. filter: brightness(3);
  187. }
  188. .btn-attention {
  189. background: #e74c3c;
  190. color: #fff;
  191. border-bottom: 3px solid #c0392b;
  192. border-left-color: #c0392b;
  193. }
  194. .btn-attention:hover,
  195. .btn-attention:active {
  196. background: #c0392b;
  197. }
  198. .switch.active {
  199. background-color: #2980b9;
  200. }
  201. .switch.active:hover {
  202. background-image: url('./icons/disabled-light.svg');
  203. }
  204. /*=== Navigation */
  205. .nav-list {
  206. font-size: 0.9rem;
  207. }
  208. .nav-list .item,
  209. .nav-list .item.nav-header {
  210. min-height: 2.5em;
  211. line-height: 2.5;
  212. }
  213. .nav-list .item a:hover,
  214. .nav-list .item.active {
  215. background: #2980b9;
  216. color: #fff;
  217. }
  218. .nav-list .item.active a {
  219. color: #fff;
  220. }
  221. .nav-list .item > a {
  222. padding: 0 1rem;
  223. }
  224. .nav-list a:hover {
  225. text-decoration: none;
  226. }
  227. .nav-list .nav-header {
  228. padding: 0 1rem;
  229. font-weight: bold;
  230. background: #34495e;
  231. color: #fff;
  232. }
  233. .nav-list .nav-form {
  234. padding: 3px;
  235. text-align: center;
  236. }
  237. /*=== Dropdown */
  238. .dropdown-menu {
  239. margin: 0.5rem 0 0;
  240. padding: 0.5rem 0 0.25rem 0;
  241. background: #fafafa;
  242. font-size: 0.8rem;
  243. border: 1px solid #95a5a6;
  244. border-radius: 3px;
  245. text-align: left;
  246. }
  247. .dropdown-menu::after {
  248. border-color: #95a5a6;
  249. right: 12px;
  250. }
  251. .dropdown-header,
  252. .dropdown-section .dropdown-section-title {
  253. padding: 0 0.5rem 0.5rem;
  254. font-weight: bold;
  255. text-align: left;
  256. color: #34495e;
  257. }
  258. .dropdown-header a {
  259. position: absolute;
  260. right: 0.5rem;
  261. }
  262. .dropdown-menu .item > a,
  263. .dropdown-menu .item > span,
  264. .dropdown-menu .item > .as-link {
  265. padding: 0 22px;
  266. line-height: 2.5em;
  267. font-size: inherit;
  268. }
  269. .dropdown-menu .dropdown-section .item > a,
  270. .dropdown-menu .dropdown-section .item > span,
  271. .dropdown-menu .dropdown-section .item > .as-link {
  272. padding-left: 2rem;
  273. }
  274. .dropdown-menu .dropdown-section .item:last-child {
  275. margin-bottom: 0.5rem;
  276. }
  277. .dropdown-menu .item > a:hover,
  278. .dropdown-menu .item > button:hover:not([disabled]),
  279. .dropdown-menu .item > label:hover:not(.noHover) {
  280. background: #2980b9;
  281. color: #fff;
  282. }
  283. .dropdown-menu > .item a:hover .icon,
  284. .nav-list.aside .item a:hover .icon {
  285. filter: brightness(3);
  286. }
  287. .dropdown-menu > .item[aria-checked="true"] > a::before {
  288. font-weight: bold;
  289. margin: 0 0 0 -14px;
  290. }
  291. .dropdown-menu .input select,
  292. .dropdown-menu .input input {
  293. margin: 0 auto 5px;
  294. padding: 2px 5px;
  295. border-radius: 3px;
  296. }
  297. .item ~ .dropdown-header,
  298. .dropdown-section ~ .dropdown-section,
  299. .item.separator {
  300. border-top-color: #ddd;
  301. }
  302. /*=== Alerts */
  303. .alert {
  304. background: #f4f4f4;
  305. color: #aaa;
  306. font-size: 0.9em;
  307. border: 1px solid #ccc;
  308. border-right: 1px solid #aaa;
  309. border-bottom: 1px solid #aaa;
  310. border-radius: 5px;
  311. text-shadow: 0 0 1px #eee;
  312. }
  313. .alert-head {
  314. font-size: 1.15em;
  315. }
  316. .alert > a {
  317. text-decoration: underline;
  318. color: inherit;
  319. }
  320. .alert-warn {
  321. background: #ffe;
  322. color: #c95;
  323. border: 1px solid #eeb;
  324. }
  325. .alert-success {
  326. background: #dfd;
  327. color: #484;
  328. border: 1px solid #cec;
  329. }
  330. .alert-error {
  331. background: #fdd;
  332. color: #844;
  333. border: 1px solid #ecc;
  334. }
  335. /*=== Pagination */
  336. .pagination {
  337. background: #ecf0f1;
  338. color: #000;
  339. }
  340. .pagination .item a {
  341. color: #000;
  342. }
  343. #load_more.loading,
  344. #load_more.loading:hover {
  345. background: url("loader.gif") center center no-repeat #34495e;
  346. }
  347. /*=== Boxes */
  348. .box {
  349. border: 1px solid #ddd;
  350. border-radius: 5px;
  351. }
  352. .box .box-title {
  353. margin: 0;
  354. padding: 5px 10px;
  355. background: #ecf0f1;
  356. color: #333;
  357. border-bottom: 1px solid #ddd;
  358. border-radius: 5px 5px 0 0;
  359. }
  360. .box .box-title .configure {
  361. margin-right: 4px;
  362. }
  363. .box .box-content {
  364. padding-left: 30px;
  365. max-height: 260px;
  366. }
  367. .box .box-content .item {
  368. font-size: 0.9rem;
  369. }
  370. .box .box-title .configure .icon,
  371. .box .box-content .item .configure .icon {
  372. vertical-align: middle;
  373. background-color: #95a5a6;
  374. border-radius: 3px;
  375. }
  376. /*=== Tree */
  377. .tree {
  378. margin: 10px 0;
  379. }
  380. .tree-folder-title {
  381. position: relative;
  382. padding: 0 10px;
  383. background: #34495e;
  384. line-height: 2.5rem;
  385. font-size: 1rem;
  386. }
  387. .tree-folder-title .title {
  388. background: inherit;
  389. color: #fff;
  390. }
  391. .tree-folder-title .title:hover {
  392. text-decoration: none;
  393. }
  394. .tree-folder.active .tree-folder-title {
  395. background: #2980b9;
  396. font-weight: bold;
  397. }
  398. .tree-folder-items {
  399. background: #2c3e50;
  400. }
  401. .tree-folder-items > .item {
  402. font-size: 0.8rem;
  403. }
  404. .tree-folder-items > .item.active {
  405. background: #2980b9;
  406. }
  407. .tree-folder-items > .item > a {
  408. text-decoration: none;
  409. color: #fff;
  410. }
  411. /*=== Scrollbar */
  412. @supports (scrollbar-width: thin) {
  413. #sidebar {
  414. scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
  415. }
  416. #sidebar:hover {
  417. scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
  418. }
  419. }
  420. @supports not (scrollbar-width: thin) {
  421. #sidebar::-webkit-scrollbar-thumb {
  422. background: rgba(255, 255, 255, 0.1);
  423. }
  424. #sidebar:hover::-webkit-scrollbar-thumb {
  425. background: rgba(255, 255, 255, 0.3);
  426. }
  427. }
  428. /*=== STRUCTURE */
  429. /*===============*/
  430. /*=== Header */
  431. .header {
  432. background: #ecf0f1;
  433. }
  434. .header > .item {
  435. vertical-align: middle;
  436. text-align: center;
  437. }
  438. .header > .item.title a:hover .logo {
  439. filter: brightness(1.5);
  440. }
  441. .header > .item.title h1 {
  442. margin: 0.5em 0;
  443. }
  444. .header > .item.title h1 a {
  445. text-decoration: none;
  446. }
  447. .header > .item.search input {
  448. width: 350px;
  449. }
  450. .aside {
  451. background: #ecf0f1;
  452. }
  453. .aside.aside_feed {
  454. padding: 10px 0;
  455. text-align: center;
  456. background: #34495e;
  457. border-radius: 0 10px 0 0;
  458. }
  459. .aside.aside_feed .tree {
  460. margin: 10px 0 50px;
  461. }
  462. .aside.aside_feed .icon {
  463. filter: brightness(3);
  464. }
  465. /*=== Aside main page (categories) */
  466. .aside.aside_feed .category .title:not([data-unread="0"])::after {
  467. background-color: #2c3e50;
  468. }
  469. .aside.aside_feed .feed .item-title:not([data-unread="0"])::after {
  470. background-color: #34495e;
  471. }
  472. .aside .about {
  473. margin: 1rem;
  474. display: block;
  475. color: #ecf0f1;
  476. font-style: italic;
  477. }
  478. /*=== Aside main page (feeds) */
  479. .feed.item.empty.active {
  480. background: #f39c12;
  481. }
  482. .feed.item.error.active {
  483. background: #bd362f;
  484. }
  485. .feed.item.empty,
  486. .feed.item.empty > a {
  487. color: #e67e22;
  488. }
  489. .feed.item.error,
  490. .feed.item.error > a {
  491. color: #bd362f;
  492. }
  493. .feed.item.empty.active,
  494. .feed.item.error.active,
  495. .feed.item.empty.active > a,
  496. .feed.item.error.active > a {
  497. color: #fff;
  498. }
  499. .aside_feed .tree-folder-items .dropdown-menu::after {
  500. left: 2px;
  501. }
  502. .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
  503. .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
  504. .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
  505. border-radius: 3px;
  506. }
  507. /*=== Prompt (centered) */
  508. .prompt .form-group {
  509. margin-bottom: 1rem;
  510. }
  511. .prompt .form-group::after {
  512. display: none;
  513. }
  514. .prompt .form-group.form-group-actions {
  515. display: flex;
  516. margin-top: 2rem;
  517. align-items: center;
  518. justify-content: space-between;
  519. }
  520. .prompt .btn.btn-important {
  521. padding-left: 1.5rem;
  522. padding-right: 1.5rem;
  523. font-size: 1.1rem;
  524. }
  525. /*=== New article notification */
  526. #new-article {
  527. background: #3498db;
  528. font-size: 0.9em;
  529. text-align: center;
  530. }
  531. #new-article > a {
  532. line-height: 3em;
  533. font-weight: bold;
  534. color: #fff;
  535. }
  536. #new-article > a:hover {
  537. text-decoration: none;
  538. background: #2980b9;
  539. }
  540. /*=== Day indication */
  541. .day {
  542. padding: 0 10px;
  543. font-weight: bold;
  544. line-height: 3em;
  545. border-left: 2px solid #ecf0f1;
  546. }
  547. .day .name {
  548. padding: 0 10px 0 0;
  549. color: #aab;
  550. font-size: 1.8em;
  551. opacity: 0.3;
  552. font-style: italic;
  553. text-align: right;
  554. }
  555. /*=== Index menu */
  556. .nav_menu {
  557. text-align: center;
  558. padding: 5px 0;
  559. }
  560. .dropdown-menu .dropdown-header .icon {
  561. filter: invert(0.6);
  562. }
  563. .dropdown-menu .dropdown-header a:hover .icon {
  564. filter: invert(0.6) invert(77%) sepia(63%) saturate(4993%) hue-rotate(177deg) brightness(88%) contrast(96%);
  565. }
  566. /*=== Feed articles */
  567. .flux {
  568. border-left: 2px solid #ecf0f1;
  569. }
  570. .flux .flux_header:hover {
  571. background: #fff;
  572. }
  573. .flux.current {
  574. background: #fff;
  575. border-left-color: #3498db;
  576. }
  577. .flux.not_read {
  578. border-left-color: #ff5300;
  579. }
  580. .flux.not_read:not(.current) {
  581. background: #fff3ed;
  582. }
  583. .flux.favorite {
  584. border-left-color: #ffc300;
  585. }
  586. .flux.favorite:not(.current) {
  587. background: #fff6da;
  588. }
  589. .flux_header {
  590. font-size: 0.8rem;
  591. cursor: pointer;
  592. border-top: 1px solid #ecf0f1;
  593. }
  594. .flux_header .title {
  595. font-size: 0.9rem;
  596. }
  597. .flux .item.date {
  598. color: #666;
  599. font-size: 0.7rem;
  600. }
  601. .flux .bottom {
  602. font-size: 0.8rem;
  603. text-align: center;
  604. }
  605. /*=== Content of feed articles */
  606. .content {
  607. padding: 20px 10px;
  608. }
  609. .content > h1.title > a {
  610. color: #000;
  611. }
  612. .content hr {
  613. margin: 30px 10px;
  614. background: #ddd;
  615. height: 1px;
  616. border: 0;
  617. box-shadow: 0 2px 5px #ccc;
  618. }
  619. .content pre {
  620. margin: 10px auto;
  621. padding: 10px 20px;
  622. overflow: auto;
  623. background: #222;
  624. color: #fff;
  625. font-size: 0.9rem;
  626. border-radius: 3px;
  627. }
  628. .content code {
  629. padding: 2px 5px;
  630. background: #fafafa;
  631. color: #d14;
  632. border: 1px solid #eee;
  633. border-radius: 3px;
  634. }
  635. .content pre code {
  636. background: transparent;
  637. color: #fff;
  638. border: none;
  639. }
  640. .content blockquote {
  641. margin: 0;
  642. padding: 5px 20px;
  643. background: #fafafa;
  644. display: block;
  645. color: #333;
  646. border-top: 1px solid #ddd;
  647. border-bottom: 1px solid #ddd;
  648. }
  649. .content blockquote p {
  650. margin: 0;
  651. }
  652. /*=== Notification and actualize notification */
  653. .notification {
  654. background: #ddd;
  655. color: #666;
  656. font-size: 0.9em;
  657. border: none;
  658. border-radius: 3px;
  659. text-align: center;
  660. font-weight: bold;
  661. vertical-align: middle;
  662. }
  663. .notification.good {
  664. background: #1abc9c;
  665. color: #fff;
  666. }
  667. .notification.bad {
  668. background: #e74c3c;
  669. color: #fff;
  670. }
  671. .notification a {
  672. color: #000;
  673. }
  674. .notification a.close {
  675. border-radius: 0 3px 3px 0;
  676. }
  677. .notification.good a.close:hover {
  678. background: #16a085;
  679. }
  680. .notification.bad a.close:hover {
  681. background: #c0392b;
  682. }
  683. /*=== "Load more" part */
  684. #bigMarkAsRead {
  685. text-align: center;
  686. text-decoration: none;
  687. background: #ecf0f1;
  688. }
  689. #bigMarkAsRead:hover {
  690. background: #34495e;
  691. color: #fff;
  692. }
  693. /*=== Navigation menu (for articles) */
  694. #nav_entries {
  695. margin: 0;
  696. text-align: center;
  697. line-height: 3em;
  698. table-layout: fixed;
  699. background: #34495e;
  700. }
  701. /*=== READER VIEW */
  702. /*================*/
  703. #stream.reader .flux {
  704. background: #fafafa;
  705. color: #34495e;
  706. border: none;
  707. }
  708. #stream.reader .flux .content {
  709. background-color: #fff;
  710. border-color: #ecf0f1;
  711. }
  712. #stream.reader .flux .author {
  713. margin: 0 0 10px;
  714. color: #999;
  715. font-size: 90%;
  716. }
  717. /*=== GLOBAL VIEW */
  718. /*================*/
  719. .box.category .box-title .title {
  720. font-weight: normal;
  721. text-decoration: none;
  722. text-align: left;
  723. }
  724. .box.category:not([data-unread="0"]) .box-title {
  725. background: #3498db;
  726. }
  727. .box.category:not([data-unread="0"]) .box-title:active {
  728. background: #2980b9;
  729. }
  730. .box.category:not([data-unread="0"]) .box-title .title {
  731. font-weight: bold;
  732. color: #fff;
  733. }
  734. .box.category .title:not([data-unread="0"])::after {
  735. background: none;
  736. border: 0;
  737. position: absolute;
  738. top: 5px; right: 10px;
  739. font-weight: bold;
  740. box-shadow: none;
  741. text-shadow: none;
  742. }
  743. /*=== DIVERS */
  744. /*===========*/
  745. .aside.aside_feed .nav-form input,
  746. .aside.aside_feed .nav-form select {
  747. width: 140px;
  748. }
  749. .aside.aside_feed .nav-form .dropdown .dropdown-menu {
  750. right: -20px;
  751. }
  752. .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
  753. right: 33px;
  754. }
  755. /*=== STATISTICS */
  756. /*===============*/
  757. .stat {
  758. margin: 10px 0 20px;
  759. }
  760. .stat th,
  761. .stat td,
  762. .stat tr {
  763. border: none;
  764. }
  765. .stat > table td,
  766. .stat > table th {
  767. border-bottom: 1px solid #ddd;
  768. }
  769. /*=== MOBILE */
  770. /*===========*/
  771. @media (max-width: 840px) {
  772. .form-group .group-name {
  773. padding-bottom: 0;
  774. }
  775. .aside {
  776. transition: width 200ms linear;
  777. }
  778. .aside .toggle_aside,
  779. #overlay .close,
  780. .dropdown-menu .toggle_aside {
  781. background: #2c3e50;
  782. }
  783. .aside.aside_feed {
  784. padding: 0;
  785. }
  786. .nav_menu .btn {
  787. margin: 5px 10px;
  788. padding: 3px 5px;
  789. min-height: 0;
  790. }
  791. .nav_menu .stick {
  792. margin: 0 10px;
  793. }
  794. .nav_menu .stick .btn {
  795. margin: 5px 0;
  796. }
  797. .nav_menu .search {
  798. display: inline-block;
  799. max-width: 97%;
  800. }
  801. .nav_menu .search input {
  802. padding: 3px 5px;
  803. max-width: 97%;
  804. width: 90px;
  805. }
  806. .nav_menu .search input:focus {
  807. width: 400px;
  808. }
  809. .dropdown-target:target ~ .dropdown-toggle::after {
  810. background-color: #fafafa;
  811. border-top: 1px solid #95a5a6;
  812. border-left: 1px solid #95a5a6;
  813. }
  814. .dropdown-target:target ~ .btn.dropdown-toggle::after {
  815. bottom: -19px;
  816. }
  817. .day .name {
  818. font-size: 1.1rem;
  819. }
  820. .notification {
  821. border-radius: 0;
  822. }
  823. .notification a.close {
  824. background: transparent;
  825. display: block;
  826. left: 0;
  827. }
  828. .notification a.close:hover {
  829. opacity: 0.5;
  830. }
  831. .notification a.close .icon {
  832. display: none;
  833. }
  834. .post {
  835. padding-left: 15px;
  836. padding-right: 15px;
  837. }
  838. #close-slider.active {
  839. background: #2c3e50;
  840. }
  841. }