| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035 |
- @charset "UTF-8";
- /*=== GENERAL */
- /*============*/
- html, body {
- background: #fafafa;
- color: black;
- font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif;
- }
- /*=== Links */
- a, button.as-link {
- color: #2980b9;
- outline: none;
- }
- /*=== Forms */
- legend {
- margin: 20px 0 5px;
- padding: 5px 20px;
- background: #ecf0f1;
- display: inline-block;
- width: auto;
- font-size: 1.4em;
- border-radius: 20px;
- clear: both;
- }
- label {
- min-height: 25px;
- padding: 5px 0;
- cursor: pointer;
- color: #444;
- }
- input, select, textarea {
- padding: 5px;
- background: #fff;
- color: #666;
- border: none;
- border-bottom: 3px solid #ddd;
- border-right-color: #ddd;
- border-radius: 5px;
- min-height: 25px;
- line-height: 1;
- }
- option {
- padding: 0 .5em;
- }
- input:focus, select:focus, textarea:focus {
- color: #333;
- border-color: #2980b9;
- }
- input:invalid, select:invalid {
- color: #f00;
- border-color: #f00;
- box-shadow: none;
- }
- input:disabled, select:disabled {
- background: #eee;
- }
- /*=== Tables */
- table {
- border-collapse: collapse;
- }
- th, td {
- border: 1px solid #ddd;
- }
- th {
- background: #f6f6f6;
- }
- .config-articleicons td,
- .config-articleicons th {
- font-weight: normal;
- text-align: center;
- }
- /*=== COMPONENTS */
- /*===============*/
- /*=== Forms */
- .form-group {
- padding: 5px;
- border: 1px solid transparent;
- border-radius: 3px;
- }
- .form-group::after {
- display: block;
- clear: both;
- }
- .form-group:hover {
- background: #fff;
- border: 1px solid #eee;
- border-radius: 3px;
- }
- .form-group.form-actions {
- margin: 15px 0 25px;
- padding: 5px 0;
- background-color: #e6ecedaa;
- border-top: 3px solid #bdc3c7;
- border-radius: 5px 5px 0 0;
- }
- .form-group.form-actions .btn {
- margin: 0 10px;
- }
- .form-group .group-name {
- padding: 10px 0;
- }
- .form-group .group-controls {
- min-height: 25px;
- padding: 5px 0;
- }
- .form-group .group-controls .control {
- line-height: 2.0em;
- }
- /*=== Buttons */
- .stick input,
- .stick .btn,
- .group .btn {
- border-radius: 0;
- }
- .stick .btn:first-child,
- .group .btn:first-child,
- .stick input:first-child {
- border-radius: 0 5px 5px 0;
- }
- .stick .btn:last-child,
- .group .btn:last-child,
- .stick input:last-child,
- .stick .dropdown:last-child > .btn,
- .group .dropdown:last-child > .btn {
- border-radius: 5px 0 0 5px;
- }
- .stick .btn + .btn,
- .group .btn + .btn,
- .stick .btn + input,
- .stick .btn + .dropdown > .btn,
- .group .btn + .dropdown > .btn,
- .stick input + .btn,
- .stick input + input,
- .stick input + .dropdown > .btn,
- .stick .dropdown + .btn,
- .group .dropdown + .btn,
- .stick .dropdown + input,
- .stick .dropdown + .dropdown > .btn,
- .group .dropdown + .dropdown > .btn {
- border-right-width: 1px;
- border-right-style: solid;
- }
- .btn {
- margin: 0;
- padding: 0.25rem 0.5rem;
- background: #3498db;
- color: #fff;
- font-size: 0.9rem;
- border: none;
- border-bottom: 3px solid #2980b9;
- border-right-color: #2980b9;
- border-radius: 5px;
- min-height: 25px;
- min-width: 15px;
- line-height: 25px;
- vertical-align: middle;
- }
- .btn:hover {
- text-decoration: none;
- }
- .btn.active,
- .btn:active,
- .btn:hover,
- .dropdown-target:target ~ .btn.dropdown-toggle {
- background: #2980b9;
- }
- .btn .icon {
- filter: brightness(5);
- }
- #toggle-unread .icon,
- #toggle-starred .icon {
- filter: none;
- }
- .btn-important {
- font-weight: normal;
- background: #e67e22;
- color: #fff;
- border-bottom: 3px solid #d35400;
- border-right-color: #d35400;
- }
- .btn-important:hover,
- .btn-important:active {
- background: #d35400;
- }
- .btn-important .icon {
- filter: brightness(3);
- }
- .btn-attention {
- background: #e74c3c;
- color: #fff;
- border-bottom: 3px solid #c0392b;
- border-right-color: #c0392b;
- }
- .btn-attention:hover,
- .btn-attention:active {
- background: #c0392b;
- }
- .switch.active {
- background-color: #2980b9;
- }
- .switch.active:hover {
- background-image: url('./icons/disabled-light.svg');
- }
- /*=== Navigation */
- .nav-list {
- font-size: 0.9rem;
- }
- .nav-list .item,
- .nav-list .item.nav-header {
- min-height: 2.5em;
- line-height: 2.5;
- }
- .nav-list .item a:hover,
- .nav-list .item .as-link:hover,
- .nav-list .item.active {
- background: #2980b9;
- color: #fff;
- }
- .nav-list .item.active a,
- .nav-list .item.active .as-link {
- color: #fff;
- }
- .nav-list .item > a,
- .nav-list .item > .as-link {
- padding: 0 1rem;
- }
- .nav-list a:hover {
- text-decoration: none;
- }
- .nav-list .nav-header {
- padding: 0 1rem;
- font-weight: bold;
- background: #34495e;
- color: #fff;
- }
- .nav-list .nav-form {
- padding: 3px;
- text-align: center;
- }
- /*=== Dropdown */
- .dropdown-menu {
- margin: 0.5rem 0 0;
- padding: 0.5rem 0 0.25rem 0;
- background: #fafafa;
- font-size: 0.8rem;
- border: 1px solid #95a5a6;
- border-radius: 3px;
- text-align: right;
- }
- .dropdown-menu::after {
- border-color: #95a5a6;
- left: 12px;
- }
- .dropdown-header,
- .dropdown-section .dropdown-section-title {
- padding: 0 0.5rem 0.5rem;
- font-weight: bold;
- text-align: right;
- color: #34495e;
- }
- .dropdown-header a {
- position: absolute;
- left: 0.5rem;
- }
- .dropdown-menu .item > a,
- .dropdown-menu .item > span,
- .dropdown-menu .item > .as-link {
- padding: 0 22px;
- line-height: 2.5em;
- font-size: inherit;
- }
- .dropdown-menu .dropdown-section .item > a,
- .dropdown-menu .dropdown-section .item > span,
- .dropdown-menu .dropdown-section .item > .as-link {
- padding-right: 2rem;
- }
- .dropdown-menu .dropdown-section .item:last-child {
- margin-bottom: 0.5rem;
- }
- .dropdown-menu .item > a:focus,
- .dropdown-menu .item > a:hover,
- .dropdown-menu .item > button:focus:not([disabled]),
- .dropdown-menu .item > button:hover:not([disabled]),
- .dropdown-menu .item > label:focus:not(.noHover),
- .dropdown-menu .item > label:hover:not(.noHover) {
- background: #2980b9;
- color: #fff;
- }
- .dropdown-menu > .item a:hover .icon,
- .nav-list.aside .item a:hover .icon {
- filter: brightness(3);
- }
- .dropdown-menu > .item[aria-checked="true"] > a::before {
- font-weight: bold;
- margin: 0 -14px 0 0;
- }
- .dropdown-menu .input select,
- .dropdown-menu .input input {
- margin: 0 auto 5px;
- padding: 2px 5px;
- border-radius: 3px;
- }
- .item ~ .dropdown-header,
- .dropdown-section ~ .dropdown-section,
- .item.separator {
- border-top-color: #ddd;
- }
- /*=== Alerts */
- .alert {
- background: #f4f4f4;
- color: #aaa;
- font-size: 0.9em;
- border: 1px solid #ccc;
- border-left: 1px solid #aaa;
- border-bottom: 1px solid #aaa;
- border-radius: 5px;
- text-shadow: 0 0 1px #eee;
- }
- .alert-head {
- font-size: 1.15em;
- }
- .alert > a {
- text-decoration: underline;
- color: inherit;
- }
- .alert-warn {
- background: #ffe;
- color: #c95;
- border: 1px solid #eeb;
- }
- .alert-success {
- background: #dfd;
- color: #484;
- border: 1px solid #cec;
- }
- .alert-error {
- background: #fdd;
- color: #844;
- border: 1px solid #ecc;
- }
- /*=== Pagination */
- .pagination {
- background: #ecf0f1;
- color: #000;
- }
- .pagination .item a {
- color: #000;
- }
- #load_more.loading,
- #load_more.loading:hover {
- background: url("loader.gif") center center no-repeat #34495e;
- }
- /*=== Boxes */
- .box {
- border: 1px solid #ddd;
- border-radius: 5px;
- }
- .box .box-title {
- background: #ecf0f1;
- color: #333;
- border-bottom: 1px solid #ddd;
- border-radius: 5px 5px 0 0;
- }
- .box .box-title .configure {
- margin-left: 4px;
- }
- .box .box-content {
- padding-right: 30px;
- max-height: 260px;
- }
- .box .box-content .item {
- font-size: 0.9rem;
- }
- .box .box-title .configure .icon,
- .box .box-content .item .configure .icon {
- vertical-align: middle;
- background-color: #95a5a6;
- border-radius: 3px;
- }
- /*=== Tree */
- .tree {
- margin: 10px 0;
- }
- .tree-folder-title {
- position: relative;
- padding: 0 10px;
- background: #34495e;
- line-height: 2.5rem;
- font-size: 1rem;
- }
- .tree-folder-title .title {
- background: inherit;
- color: #fff;
- }
- .tree-folder-title .title:hover {
- text-decoration: none;
- }
- .tree-folder.active .tree-folder-title {
- background: #2980b9;
- font-weight: bold;
- }
- .tree-folder-items {
- background: #2c3e50;
- }
- .tree-folder-items > .item {
- font-size: 0.8rem;
- }
- .tree-folder-items > .item.active {
- background: #2980b9;
- }
- .tree-folder-items > .item > a {
- text-decoration: none;
- color: #fff;
- }
- /*=== Scrollbar */
- @supports (scrollbar-width: thin) {
- #sidebar {
- scrollbar-color: rgba(255, 255, 255, 0.05) rgba(0, 0, 0, 0.0);
- }
- #sidebar:hover {
- scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.0);
- }
- }
- @supports not (scrollbar-width: thin) {
- #sidebar::-webkit-scrollbar-thumb {
- background: rgba(255, 255, 255, 0.1);
- }
- #sidebar:hover::-webkit-scrollbar-thumb {
- background: rgba(255, 255, 255, 0.3);
- }
- }
- /*=== STRUCTURE */
- /*===============*/
- /*=== Header */
- .header {
- background: #ecf0f1;
- }
- .header > .item {
- vertical-align: middle;
- text-align: center;
- }
- .header > .item.title a:hover .logo {
- filter: brightness(1.5);
- }
- .header > .item.title h1 {
- margin: 0.5em 0;
- }
- .header > .item.title h1 a {
- text-decoration: none;
- }
- .header > .item.search input {
- width: 350px;
- }
- .aside {
- background: #ecf0f1;
- }
- .aside.aside_feed {
- padding: 10px 0;
- text-align: center;
- background: #34495e;
- border-radius: 10px 0 0 0;
- }
- .aside.aside_feed .tree {
- margin: 10px 0 50px;
- }
- .aside.aside_feed .icon {
- filter: brightness(3);
- }
- /*=== Aside main page (categories) */
- .aside.aside_feed .category .title:not([data-unread="0"])::after {
- background-color: #2c3e50;
- }
- .aside.aside_feed .feed .item-title:not([data-unread="0"])::after {
- background-color: #34495e;
- }
- .aside .about {
- margin: 1rem;
- display: block;
- color: #ecf0f1;
- font-style: italic;
- }
- /*=== Aside main page (feeds) */
- .feed.item.empty.active {
- background: #f39c12;
- }
- .feed.item.error.active {
- background: #bd362f;
- }
- .feed.item.empty,
- .feed.item.empty > a {
- color: #e67e22;
- }
- .feed.item.error,
- .feed.item.error > a {
- color: #bd362f;
- }
- .feed.item.empty.active,
- .feed.item.error.active,
- .feed.item.empty.active > a,
- .feed.item.error.active > a {
- color: #fff;
- }
- .aside_feed .tree-folder-items .dropdown-menu::after {
- right: 2px;
- }
- .aside_feed .tree-folder-items .item .dropdown-target:target ~ .dropdown-toggle > .icon,
- .aside_feed .tree-folder-items .item:hover .dropdown-toggle > .icon,
- .aside_feed .tree-folder-items .item.active .dropdown-toggle > .icon {
- border-radius: 3px;
- }
- /*=== Prompt (centered) */
- .prompt .form-group {
- margin-bottom: 1rem;
- }
- .prompt .form-group::after {
- display: none;
- }
- .prompt .form-group.form-group-actions {
- display: flex;
- margin-top: 2rem;
- align-items: center;
- justify-content: space-between;
- }
- .prompt .btn.btn-important {
- padding-right: 1.5rem;
- padding-left: 1.5rem;
- font-size: 1.1rem;
- }
- /*=== New article notification */
- #new-article {
- background: #3498db;
- font-size: 0.9em;
- text-align: center;
- }
- #new-article > a {
- line-height: 3em;
- font-weight: bold;
- color: #fff;
- }
- #new-article > a:hover {
- text-decoration: none;
- background: #2980b9;
- }
- /*=== Transition indication, e.g. day */
- .transition {
- padding: 0 10px;
- font-weight: bold;
- line-height: 3em;
- border-right: 2px solid #ecf0f1;
- }
- .transition .name {
- padding: 0 0 0 10px;
- color: #aab;
- font-size: 1.8em;
- opacity: 0.3;
- font-style: italic;
- text-align: left;
- }
- /*=== Index menu */
- .nav_menu {
- text-align: center;
- padding: 5px 0;
- }
- .dropdown-menu .dropdown-header .icon {
- filter: invert(0.6);
- }
- .dropdown-menu .dropdown-header a:hover .icon {
- filter: invert(0.6) invert(77%) sepia(63%) saturate(4993%) hue-rotate(177deg) brightness(88%) contrast(96%);
- }
- /*=== Feed articles */
- .flux {
- border-right: 2px solid #ecf0f1;
- }
- .flux:not(.current):hover .flux_header .title,
- .flux .flux_header:hover {
- background: #fff;
- }
- .flux.current {
- background: #fff;
- border-right-color: #3498db;
- }
- .flux.not_read {
- border-right-color: #ff5300;
- }
- .flux.not_read:not(.current) {
- background: #fff3ed;
- }
- .flux.favorite {
- border-right-color: #ffc300;
- }
- .flux.favorite:not(.current) {
- background: #fff6da;
- }
- .flux_header {
- font-size: 0.8rem;
- cursor: pointer;
- border-top: 1px solid #ecf0f1;
- }
- .flux_header .title {
- font-size: 0.9rem;
- }
- .flux .flux_header .date,
- .flux .flux_content .bottom .date {
- color: #666;
- }
- .flux .bottom {
- font-size: 0.8rem;
- text-align: center;
- }
- /* stylelint-disable-next-line no-duplicate-selectors */
- .flux.current {
- border-right-width: 5px;
- border-right-style: double;
- }
- .flux.current > .flux_header {
- background: linear-gradient(to left, transparent 0, transparent 3px, #fff 3px);
- margin-right: -3px; /* Compensate increased border-left-width */
- }
- /*=== Content of feed articles */
- .content {
- padding: 20px 10px;
- }
- .content > h1.title > a {
- color: #000;
- }
- .content hr {
- margin: 30px 10px;
- background: #ddd;
- height: 1px;
- border: 0;
- box-shadow: 0 2px 5px #ccc;
- }
- .content pre {
- background: #222;
- color: #fff;
- border-radius: 3px;
- }
- .content code {
- background: #fafafa;
- color: #d14;
- border-color: #eee;
- border-radius: 3px;
- }
- .content pre code {
- background: transparent;
- color: #fff;
- border: none;
- }
- .content blockquote {
- margin: 0;
- padding: 5px 20px;
- background: #fafafa;
- display: block;
- color: #333;
- border-top: 1px solid #ddd;
- border-bottom: 1px solid #ddd;
- }
- .content blockquote p {
- margin: 0;
- }
- /*=== Notification and actualize notification */
- .notification {
- background: #ddd;
- color: #666;
- font-size: 0.9em;
- border: none;
- border-radius: 3px;
- text-align: center;
- font-weight: bold;
- vertical-align: middle;
- }
- .notification.good {
- background: #1abc9c;
- color: #fff;
- }
- .notification.bad {
- background: #e74c3c;
- color: #fff;
- }
- .notification a {
- color: #000;
- }
- .notification .close {
- border-radius: 3px 0 0 3px;
- }
- .notification.good .close:hover {
- background: #16a085;
- }
- .notification .close .icon {
- filter: brightness(2.5);
- }
- .notification.bad .close:hover {
- background: #c0392b;
- }
- .notification .close:hover .icon {
- filter: brightness(4);
- }
- /*=== "Load more" part */
- #bigMarkAsRead.big {
- text-align: center;
- text-decoration: none;
- background: #ecf0f1;
- }
- #bigMarkAsRead:hover {
- background: #34495e;
- color: #fff;
- }
- /*=== Navigation menu (for articles) */
- #nav_entries {
- background: #34495e;
- }
- /*=== READER VIEW */
- /*================*/
- #stream.reader .flux {
- background: #fafafa;
- color: #34495e;
- border: none;
- }
- #stream.reader .flux .flux_content {
- background-color: #fff;
- border-color: #ecf0f1;
- }
- #stream.reader .flux .author {
- color: #999;
- }
- /*=== GLOBAL VIEW */
- /*================*/
- .box.category .box-title .title {
- font-weight: normal;
- text-decoration: none;
- text-align: right;
- }
- .box.category:not([data-unread="0"]) .box-title {
- background: #3498db;
- }
- .box.category:not([data-unread="0"]) .box-title:active {
- background: #2980b9;
- }
- .box.category:not([data-unread="0"]) .box-title .title {
- font-weight: bold;
- color: #fff;
- }
- .box.category .title:not([data-unread="0"])::after {
- background: none;
- border: 0;
- position: absolute;
- top: 5px; left: 10px;
- font-weight: bold;
- box-shadow: none;
- text-shadow: none;
- }
- /*=== DIVERS */
- /*===========*/
- .aside.aside_feed .nav-form input,
- .aside.aside_feed .nav-form select {
- width: 140px;
- }
- .aside.aside_feed .nav-form .dropdown .dropdown-menu {
- left: -20px;
- }
- .aside.aside_feed .nav-form .dropdown .dropdown-menu::after {
- left: 33px;
- }
- /*=== STATISTICS */
- /*===============*/
- .stat {
- margin: 10px 0 20px;
- }
- .stat th,
- .stat td,
- .stat tr {
- border: none;
- }
- .stat > table td,
- .stat > table th {
- border-bottom: 1px solid #ddd;
- }
- /*=== MOBILE */
- /*===========*/
- @media (max-width: 840px) {
- .form-group .group-name {
- padding-bottom: 0;
- }
- .aside {
- transition: width 200ms linear;
- }
- .aside .toggle_aside,
- #overlay .close,
- .dropdown-menu .toggle_aside {
- background: #2c3e50;
- }
- .aside.aside_feed {
- padding: 0;
- }
- .nav_menu .btn {
- margin: 5px 10px;
- padding: 3px 5px;
- min-height: 0;
- }
- .nav_menu .stick {
- margin: 0 10px;
- }
- .nav_menu .stick .btn {
- margin: 5px 0;
- }
- .nav_menu .search {
- display: inline-block;
- max-width: 97%;
- }
- .nav_menu .search input {
- padding: 3px 5px;
- max-width: 97%;
- width: 90px;
- }
- .nav_menu .search input:focus {
- width: 400px;
- }
- .dropdown-target:target ~ .dropdown-toggle::after {
- background-color: #fafafa;
- border-top: 1px solid #95a5a6;
- border-right: 1px solid #95a5a6;
- }
- .dropdown-target:target ~ .btn.dropdown-toggle::after {
- bottom: -19px;
- }
- .transition .name {
- font-size: 1.1rem;
- }
- .notification {
- border-radius: 0;
- }
- .notification .close {
- background: transparent;
- display: block;
- right: 0;
- }
- .notification .close:hover {
- opacity: 0.5;
- }
- .notification .close .icon {
- display: none;
- }
- .post {
- padding-right: 15px;
- padding-left: 15px;
- }
- #close-slider.active {
- background: #2c3e50;
- }
- }
|