1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00
freshrss_ynh/sources/p/themes/base-theme/base.css

765 lines
12 KiB
CSS
Raw Normal View History

2014-07-23 15:52:50 +02:00
@charset "UTF-8";
/*=== FONTS */
@font-face {
font-family: "OpenSans";
src: url("../fonts/openSans.woff") format("woff");
}
/*=== GENERAL */
/*============*/
html, body {
height: 100%;
font-family: "OpenSans", "Cantarell", "Helvetica", "Arial", sans-serif;
}
/*=== Links */
a {
outline: none;
}
/*=== Forms */
legend {
margin: 20px 0 5px;
padding: 5px 0;
font-size: 1.4em;
}
label {
min-height: 25px;
padding: 5px 0;
cursor: pointer;
}
textarea {
width: 360px;
height: 100px;
}
input, select, textarea {
min-height: 25px;
padding: 5px;
line-height: 25px;
vertical-align: middle;
}
option {
padding: 0 .5em;
}
input:focus, select:focus, textarea:focus {
}
input:invalid, select:invalid {
}
input:disabled, select:disabled {
}
input.extend {
transition: width 200ms linear;
-moz-transition: width 200ms linear;
-webkit-transition: width 200ms linear;
-o-transition: width 200ms linear;
-ms-transition: width 200ms linear;
}
/*=== Tables */
table {
border-collapse: collapse;
}
tr, th, td {
padding: 0.5em;
}
th {
}
form td,
form th {
font-weight: normal;
text-align: center;
}
/*=== COMPONENTS */
/*===============*/
/*=== Forms */
.form-group.form-actions {
padding: 5px 0;
}
.form-group.form-actions .btn {
margin: 0 10px;
}
.form-group .group-name {
padding: 10px 0;
text-align: right;
}
.form-group .group-controls {
min-height: 25px;
padding: 5px 0;
}
.form-group table {
margin: 10px 0 0 220px;
}
/*=== Buttons */
.stick {
vertical-align: middle;
font-size: 0;
}
.stick input,
.stick .btn {
}
.stick .btn:first-child,
.stick input:first-child {
}
.stick .btn-important:first-child {
}
.stick .btn:last-child,
.stick input:last-child {
}
.stick .btn + .btn,
.stick .btn + input,
.stick .btn + .dropdown > .btn,
.stick input + .btn,
.stick input + input,
.stick input + .dropdown > .btn,
.stick .dropdown + .btn,
.stick .dropdown + input,
.stick .dropdown + .dropdown > .btn {
}
.stick input + .btn {
}
.stick .btn + .dropdown > .btn {
}
.btn {
display: inline-block;
min-height: 37px;
min-width: 15px;
margin: 0;
padding: 5px 10px;
font-size: 0.9rem;
vertical-align: middle;
cursor: pointer;
overflow: hidden;
}
a.btn {
min-height: 25px;
line-height: 25px;
}
.btn:hover {
text-decoration: none;
}
.btn.active,
.btn:active,
.dropdown-target:target ~ .btn.dropdown-toggle {
}
.btn-important {
font-weight: normal;
}
.btn-important:hover {
}
.btn-important:active {
}
.btn-attention {
}
.btn-attention:hover {
}
.btn-attention:active {
}
/*=== Navigation */
.nav-list .nav-header,
.nav-list .item {
height: 2.5em;
line-height: 2.5em;
font-size: 0.9rem;
}
.nav-list .item:hover {
}
.nav-list .item:hover a {
}
.nav-list .item.active {
}
.nav-list .item.active a {
}
.nav-list .disable {
text-align: center;
}
.nav-list .item > a {
padding: 0 10px;
}
.nav-list a:hover {
text-decoration: none;
}
.nav-list .item.empty a {
}
.nav-list .item.active.empty a {
}
.nav-list .item.error a {
}
.nav-list .item.active.error a {
}
.nav-list .nav-header {
padding: 0 10px;
font-weight: bold;
}
.nav-list .nav-form {
padding: 3px;
text-align: center;
}
.nav-head {
margin: 0;
text-align: right;
}
.nav-head .item {
padding: 5px 10px;
font-size: 0.9rem;
line-height: 1.5rem;
}
/*=== Horizontal-list */
.horizontal-list {
margin: 0;
padding: 0;
}
.horizontal-list .item {
vertical-align: middle;
}
/*=== Dropdown */
.dropdown-menu {
margin: 5px 0 0;
padding: 5px 0;
font-size: 0.8rem;
text-align: left;
}
.dropdown-menu:after {
content: "";
position: absolute;
top: -6px;
right: 13px;
width: 10px;
height: 10px;
z-index: -10;
transform: rotate(45deg);
-moz-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
}
.dropdown-header {
padding: 0 5px 5px;
font-weight: bold;
text-align: left;
}
.dropdown-menu > .item {
}
.dropdown-menu > .item > a {
padding: 0 25px;
line-height: 2.5em;
}
.dropdown-menu > .item > span {
padding: 0 25px;
line-height: 2em;
}
.dropdown-menu > .item:hover {
}
.dropdown-menu > .item[aria-checked="true"] > a:before {
font-weight: bold;
margin: 0 0 0 -14px;
}
.dropdown-menu > .item:hover > a {
text-decoration: none;
}
.dropdown-menu .input select,
.dropdown-menu .input input {
margin: 0 auto 5px;
padding: 2px 5px;
}
.separator {
margin: 5px 0;
}
/*=== Alerts */
.alert {
margin: 15px auto;
padding: 10px 15px;
font-size: 0.9em;
}
.alert-head {
font-size: 1.15em;
}
.alert > a {
text-decoration: underline;
}
.alert-warn {
}
.alert-success {
}
.alert-error {
}
/*=== Pagination */
.pagination {
text-align: center;
font-size: 0.8em;
}
.content .pagination {
margin: 0;
padding: 0;
}
.pagination .item.pager-current {
font-weight: bold;
font-size: 1.5em;
}
.pagination .item a {
display: block;
font-style: italic;
line-height: 3em;
text-decoration: none;
}
.pagination .item a:hover {
}
.pagination:first-child .item {
}
.pagination:last-child .item {
}
.pagination .loading,
.pagination a:hover.loading {
font-size: 0;
}
/*=== STRUCTURE */
/*===============*/
/*=== Header */
.header {
height: 85px;
}
.header > .item {
padding: 10px;
vertical-align: middle;
text-align: center;
}
.header > .item.title{
width: 230px;
}
.header > .item.title h1 {
margin: 0.5em 0;
}
.header > .item.title h1 a {
text-decoration: none;
}
.header > .item.search input {
width: 230px;
}
.header .item.search input:focus {
width: 350px;
}
/*=== Body */
#global {
height: calc(100% - 85px);
}
.aside {
}
.aside.aside_flux {
padding: 10px 0 50px;
}
/*=== Aside main page (categories) */
.categories {
text-align: center;
}
.category {
width: 235px;
margin: 10px auto;
text-align: left;
}
.category .btn:first-child {
position: relative;
width: 213px;
}
.category.stick .btn:first-child {
width: 176px;
}
.category .btn:first-child:not([data-unread="0"]):after {
position: absolute;
top: 3px; right: 3px;
padding: 1px 5px;
}
/*=== Aside main page (feeds) */
.categories .feeds .item.active {
}
.categories .feeds .item.empty.active {
}
2014-09-21 12:12:35 +02:00
.categories .feeds .item.error.active {
}
.categories .feeds .item.empty .feed {
2014-07-23 15:52:50 +02:00
}
.categories .feeds .item.error .feed {
}
2014-09-21 12:12:35 +02:00
.categories .feeds .item.active .feed,
.categories .feeds .item.empty.active .feed,
.categories .feeds .item.error.active .feed {
}
2014-07-23 15:52:50 +02:00
.categories .feeds .item .feed {
margin: 0;
width: 165px;
line-height: 3em;
font-size: 0.8em;
text-align: left;
text-decoration: none;
}
.categories .feeds .feed:not([data-unread="0"]) {
font-weight: bold;
}
.categories .feeds .dropdown-menu:after {
left: 2px;
}
.categories .feeds .item .dropdown-target:target ~ .dropdown-toggle > .icon,
.categories .feeds .item:hover .dropdown-toggle > .icon,
.categories .feeds .item.active .dropdown-toggle > .icon {
vertical-align: middle;
}
/*=== Configuration pages */
.post {
padding: 10px 50px;
font-size: 0.9em;
}
.post form {
margin: 10px 0;
}
.post.content {
max-width: 550px;
}
/*=== Prompt (centered) */
.prompt {
text-align: center;
}
.prompt label {
text-align: left;
}
.prompt form {
margin: 10px auto 20px auto;
width: 180px;
}
.prompt input {
margin: 5px auto;
width: 100%;
}
.prompt p {
margin: 20px 0;
}
/*=== New article notification */
#new-article {
text-align: center;
font-size: 0.9em;
}
#new-article:hover {
}
#new-article > a {
line-height: 3em;
font-weight: bold;
}
#new-article > a:hover {
text-decoration: none;
}
/*=== Day indication */
.day {
padding: 0 10px;
font-weight: bold;
line-height: 3em;
}
#new-article + .day {
}
.day .name {
padding: 0 10px 0 0;
font-size: 1.8em;
opacity: 0.3;
font-style: italic;
text-align: right;
}
/*=== Index menu */
.nav_menu {
text-align: center;
padding: 5px 0;
}
/*=== Feed articles */
.flux {
}
.flux:hover {
}
.flux.current {
}
.flux.not_read {
}
.flux.not_read:not(.current):hover .item.title {
}
.flux.favorite {
}
.flux.favorite:not(.current):hover .item.title {
}
.flux.current {
}
.flux_header {
font-size: 0.8rem;
cursor: pointer;
}
.flux_header .title {
font-size: 0.9rem;
}
.flux .website .favicon {
padding: 5px;
}
.flux .date {
font-size: 0.7rem;
}
.flux:not(.current):hover .item.title {
}
.flux .bottom {
font-size: 0.8rem;
text-align: center;
}
/*=== Content of feed articles */
.content {
padding: 20px 10px;
}
.content > h1.title > a {
}
.content hr {
margin: 30px 10px;
height: 1px;
}
.content pre {
margin: 10px auto;
padding: 10px 20px;
overflow: auto;
font-size: 0.9rem;
}
.content code {
padding: 2px 5px;
}
.content pre code {
}
.content blockquote {
display: block;
margin: 0;
padding: 5px 20px;
}
.content blockquote p {
margin: 0;
}
/*=== Notification and actualize notification */
.notification {
padding: 0 0 0 5px;
text-align: center;
font-weight: bold;
font-size: 0.9em;
line-height: 3em;
z-index: 10;
vertical-align: middle;
}
.notification.good {
}
.notification.bad {
}
.notification a.close {
padding: 0 15px;
line-height: 3em;
}
.notification.good a.close:hover {
}
.notification.bad a.close:hover {
}
.notification#actualizeProgress {
line-height: 2em;
}
/*=== "Load more" part */
#bigMarkAsRead {
text-align: center;
text-decoration: none;
}
#bigMarkAsRead:hover {
}
#bigMarkAsRead:hover .bigTick {
}
/*=== Navigation menu (for articles) */
#nav_entries {
margin: 0;
text-align: center;
line-height: 3em;
table-layout: fixed;
}
/*=== READER VIEW */
/*================*/
#stream.reader .flux {
padding: 0 0 50px;
}
#stream.reader .flux .author {
margin: 0 0 10px;
font-size: 90%;
}
/*=== GLOBAL VIEW */
/*================*/
#stream.global .box-category {
text-align: left;
}
#stream.global .category {
margin: 0;
}
#stream.global .btn {
width: auto;
height: 2em;
margin: 0;
padding: 0 10px;
line-height: 2em;
font-size: 1.2rem;
}
#stream.global .btn:not([data-unread="0"]) {
font-weight: bold;
}
#stream.global .btn:first-child:not([data-unread="0"]):after {
top: 0; right: 5px;
font-weight: bold;
}
#stream.global .box-category .feeds {
max-height: 250px;
}
#stream.global .box-category .feeds .item {
padding: 2px 10px;
font-size: 0.9rem;
}
/*=== DIVERS */
/*===========*/
.aside.aside_feed .nav-form input,
.aside.aside_feed .nav-form select {
width: 140px;
}
.aside.aside_feed .nav-form .dropdown .dropdown-menu {
right: -20px;
}
.aside.aside_feed .nav-form .dropdown .dropdown-menu:after {
right: 33px;
}
/*=== STATISTICS */
/*===============*/
.stat {
margin: 10px 0 20px;
}
.stat th,
.stat td,
.stat tr {
}
.stat > table td,
.stat > table th {
text-align: center;
}
/*=== LOGS */
/*=========*/
.logs {
overflow: hidden;
}
.log {
padding: 5px 10px;
font-size: 0.8rem;
}
.log+.log {
}
.log .date {
display: block;
font-weight: bold;
}
.log.error {
}
.log.warning {
}
.log.notice {
}
.log.debug {
}
/*=== MOBILE */
/*===========*/
@media(max-width: 840px) {
.aside {
transition: width 200ms linear;
-moz-transition: width 200ms linear;
-webkit-transition: width 200ms linear;
-o-transition: width 200ms linear;
-ms-transition: width 200ms linear;
}
.aside .toggle_aside,
#panel .close {
position: absolute;
display: block;
top: 0; right: 0;
width: 30px;
height: 30px;
line-height: 30px;
text-align: center;
}
.nav_menu .btn {
margin: 5px 10px;
}
.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 {
max-width: 97%;
width: 90px;
}
.nav_menu .search input:focus {
width: 400px;
}
.day .name {
font-size: 1.1rem;
}
.pagination {
margin: 0 0 3.5em;
}
.notification a.close {
display: block;
left: 0;
}
.notification a.close:hover {
opacity: 0.5;
}
.notification a.close .icon {
display: none;
}
}