homer/app.css

245 lines
7.2 KiB
CSS
Raw Normal View History

2018-11-13 06:14:38 +01:00
html {
height: 100%; }
2018-06-14 07:14:05 +02:00
body {
font-family: 'Raleway', sans-serif;
2019-10-02 06:35:51 +02:00
height: 100%; }
body #app {
min-height: 100%;
transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms;
background-color: #f5f5f5;
color: #363636; }
body #app .title {
color: #303030; }
body #app .subtitle {
color: #424242; }
body #app .card {
background-color: #ffffff;
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1); }
body #app .card:hover {
background-color: #ffffff; }
body #app .footer {
background-color: #ffffff;
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1); }
@media (prefers-color-scheme: light), (prefers-color-scheme: no-preference) {
body #app {
background-color: #f5f5f5;
color: #363636; }
body #app .title {
color: #303030; }
body #app .subtitle {
color: #424242; }
body #app .card {
background-color: #ffffff;
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1); }
body #app .card:hover {
background-color: #ffffff; }
body #app .footer {
background-color: #ffffff;
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1); } }
@media (prefers-color-scheme: dark) {
body #app {
background-color: #131313;
color: #eaeaea; }
body #app .title {
color: #fafafa; }
body #app .subtitle {
color: #f5f5f5; }
body #app .card {
background-color: #2b2b2b;
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.4); }
body #app .card:hover {
background-color: #2b2b2b; }
body #app .footer {
background-color: #2b2b2b;
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.4); } }
body #app.is-light {
background-color: #f5f5f5;
color: #363636; }
body #app.is-light .title {
color: #303030; }
body #app.is-light .subtitle {
color: #424242; }
body #app.is-light .card {
background-color: #ffffff;
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1); }
body #app.is-light .card:hover {
background-color: #ffffff; }
body #app.is-light .footer {
background-color: #ffffff;
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1); }
body #app.is-dark {
background-color: #131313;
color: #eaeaea; }
body #app.is-dark .title {
color: #fafafa; }
body #app.is-dark .subtitle {
color: #f5f5f5; }
body #app.is-dark .card {
background-color: #2b2b2b;
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.4); }
body #app.is-dark .card:hover {
background-color: #2b2b2b; }
body #app.is-dark .footer {
background-color: #2b2b2b;
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.4); }
2018-06-14 07:14:05 +02:00
body h1, body h2, body h3, body h4, body h5, body h6 {
font-family: 'Lato', sans-serif; }
body h1 {
font-size: 2rem; }
body h2 {
font-size: 1.7rem;
2019-02-20 07:20:46 +01:00
margin-top: 2rem;
2018-06-14 07:14:05 +02:00
margin-bottom: 1rem; }
2018-11-13 06:14:38 +01:00
body h2 .fas, body h2 .fab, body h2 .far {
margin-right: 10px; }
2018-06-14 07:14:05 +02:00
body h2 span {
font-weight: bold;
color: #4285f4; }
body [v-cloak] {
display: none; }
body #bighead {
color: #ffffff; }
body #bighead .dashboard-title {
padding: 6px 0 0 80px; }
body #bighead .first-line {
height: 100px;
vertical-align: center;
background-color: #3367d6; }
body #bighead .first-line h1 {
margin-top: -12px;
font-size: 2rem; }
body #bighead .first-line .headline {
margin-top: 5px;
font-size: 0.9rem; }
body #bighead .first-line .container {
height: 80px;
padding: 10px 0; }
2018-11-13 06:14:38 +01:00
body #bighead .first-line .logo {
float: left; }
body #bighead .first-line .logo i {
vertical-align: top;
padding: 8px 15px;
font-size: 50px; }
body #bighead .first-line .logo img {
padding: 10px;
max-height: 70px;
max-width: 70px; }
2018-06-14 07:14:05 +02:00
body #bighead .navbar {
background-color: #4285f4; }
body #bighead .navbar a {
2018-11-13 06:14:38 +01:00
color: #ffffff; }
2018-06-14 07:14:05 +02:00
body #bighead .navbar a:hover {
background-color: #5a95f5; }
body #main-section {
2019-10-02 06:35:51 +02:00
margin-bottom: 2rem;
2018-06-14 07:14:05 +02:00
padding: 0; }
body #main-section h2 {
border-bottom: 1px dashed #ccc;
padding-bottom: 10px; }
body #main-section .title {
font-size: 1.1em; }
body #main-section .subtitle {
2018-11-13 06:14:38 +01:00
font-size: .9em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis; }
2019-02-18 09:23:20 +01:00
body #main-section .container {
2018-06-14 07:14:05 +02:00
padding: 1.2rem .75rem; }
body #main-section .message {
margin-top: 45px;
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1); }
body #main-section .message .message-header {
font-weight: bold; }
body #main-section .message .message-body {
border: none; }
body .media-content {
overflow: inherit; }
body .tag {
color: #4285f4;
background-color: #4285f4;
position: absolute;
top: 1rem;
2019-02-18 09:23:20 +01:00
right: -0.2rem;
2018-06-14 07:14:05 +02:00
width: 3px;
overflow: hidden;
transition: all 0.2s ease-out;
padding: 0; }
2019-10-23 23:29:55 +02:00
body .tag .tag-text {
display: none; }
2018-06-14 07:14:05 +02:00
body .card {
border-radius: 5px;
border: none;
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1);
transition: cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; }
2019-02-20 07:20:46 +01:00
body .card a {
outline: none; }
2018-06-14 07:14:05 +02:00
body .card:hover {
transform: translate(0, -3px); }
body .card:hover .tag {
width: auto;
color: #ffffff;
padding: 0 0.75em; }
2019-10-23 23:29:55 +02:00
body .card:hover .tag .tag-text {
display: block; }
2018-06-14 07:14:05 +02:00
body .card-content {
2018-11-13 06:14:38 +01:00
height: 85px;
padding: 1.3rem; }
2019-02-20 07:20:46 +01:00
body .layout-vertical .card {
border-radius: 0; }
body .layout-vertical .column div:first-of-type .card {
border-radius: 5px 5px 0 0; }
body .layout-vertical .column div:last-child .card {
border-radius: 0 0 5px 5px; }
2018-06-14 07:14:05 +02:00
body .footer {
position: fixed;
left: 0;
right: 0;
bottom: 0;
2019-02-20 07:20:46 +01:00
padding: 0.5rem;
2018-06-14 07:14:05 +02:00
text-align: left;
2019-02-20 07:20:46 +01:00
color: #676767;
2019-10-02 06:35:51 +02:00
font-size: 0.85rem;
transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; }
2018-06-14 07:14:05 +02:00
body .search-bar {
2019-02-20 07:20:46 +01:00
position: relative;
display: inline-block; }
2018-06-14 07:14:05 +02:00
body .search-bar #search {
border: none;
background-color: #5f98f6;
border-radius: 5px;
padding: 2px 12px 2px 30px;
margin: 10px 0;
transition: all 100ms linear;
color: #ffffff;
height: 30px;
width: 100px; }
body .search-bar #search:focus {
color: #000000;
width: 250px;
background-color: #ffffff; }
body .search-bar .search-label::before {
2019-10-23 23:31:04 +02:00
font-family: 'Font Awesome 5 Free';
2018-06-14 07:14:05 +02:00
position: absolute;
top: 12px;
left: 8px;
content: "\f002";
2019-10-23 23:31:04 +02:00
font-weight: 900;
2018-06-14 07:14:05 +02:00
width: 20px;
height: 20px; }
body .search-bar:focus-within .search-label::before {
color: #4a4a4a; }
2019-02-20 07:20:46 +01:00
body .icon-button {
display: inline-block; }
2019-02-18 09:23:20 +01:00
body .offline-message {
text-align: center;
margin: 35px 0; }
body .offline-message i {
font-size: 2rem; }
body .offline-message i.fa-redo-alt {
font-size: 1.3rem;
line-height: 1rem;
vertical-align: middle;
cursor: pointer;
color: #3273dc; }