HummingBirdAnimeClient/public/css/base.css

1120 lines
19 KiB
CSS
Raw Normal View History

@import "./marx.css";
:root {
2018-08-10 20:09:28 -04:00
--blue-link: rgb(18, 113, 219);
--link-shadow: 1px 1px 1px #000;
2018-08-10 20:09:28 -04:00
--white-link-shadow: 1px 1px 1px #fff;
--shadow: 2px 2px 2px #000;
--title-overlay: rgba(0, 0, 0, 0.45);
--title-overlay-fallback: #000;
--text-color: #ffffff;
--normal-padding: 0.25em 0.125em;
--link-hover-color: #7d12db;
--edit-link-hover-color: #db7d12;
--edit-link-color: #12db18;
--radius: 5px;
}
2018-08-10 20:09:28 -04:00
template, [hidden="hidden"], .media[hidden] {
display: none
}
2018-08-10 20:09:28 -04:00
body {
margin: 0.5em;
}
2016-02-01 09:49:18 -05:00
button {
2018-08-10 20:09:28 -04:00
background: rgba(255, 255, 255, 0.65);
margin: 0;
2016-01-04 10:53:03 -05:00
}
table {
2018-08-13 15:13:20 -04:00
/* min-width: 85%; */
2018-11-01 22:01:09 -04:00
box-shadow: 0 48px 80px -32px rgba(0, 0, 0, 0.3);
margin: 0 auto;
}
2016-02-01 09:49:18 -05:00
td {
2018-08-10 20:09:28 -04:00
padding: 1em;
padding: 1rem;
}
thead td, thead th {
2018-08-10 20:09:28 -04:00
padding: 0.5em;
padding: 0.5rem;
}
2016-01-04 10:53:03 -05:00
input[type=number] {
width: 4em;
2016-01-04 10:53:03 -05:00
}
2016-02-01 09:49:18 -05:00
tbody > tr:nth-child(odd) {
background: #ddd;
2016-01-04 10:53:03 -05:00
}
a:hover, a:active {
color: var(--link-hover-color)
2016-01-04 10:53:03 -05:00
}
2016-02-01 09:49:18 -05:00
/* -----------------------------------------------------------------------------
Utility classes
------------------------------------------------------------------------------*/
2016-01-04 10:53:03 -05:00
2016-02-01 09:49:18 -05:00
.bracketed {
2018-08-10 20:09:28 -04:00
color: var(--edit-link-color);
}
2018-08-10 20:09:28 -04:00
.bracketed, #main-nav a {
text-shadow: var(--link-shadow);
}
2018-08-10 20:09:28 -04:00
.bracketed:before {
content: '[\00a0'
}
.bracketed:after {
content: '\00a0]'
}
.bracketed:hover, .bracketed:active {
color: var(--edit-link-hover-color)
2015-06-26 16:39:10 -04:00
}
2018-08-10 20:09:28 -04:00
.grow-1 {
flex-grow: 1
}
.flex-wrap {
flex-wrap: wrap
}
.flex-no-wrap {
flex-wrap: nowrap
}
.flex-align-start {
align-content: flex-start;
}
2018-08-10 20:09:28 -04:00
.flex-align-end {
align-items: flex-end
}
.flex-align-space-around {
align-content: space-around
}
.flex-justify-start {
justify-content: flex-start;
}
2018-08-10 20:09:28 -04:00
.flex-justify-space-around {
justify-content: space-around
}
2018-10-30 13:05:49 -04:00
.flex-center {
justify-content: center;
}
2018-08-10 20:09:28 -04:00
.flex-self-center {
align-self: center
}
.flex-space-evenly {
justify-content: space-evenly;
}
2018-08-10 20:09:28 -04:00
.flex {
2018-11-01 22:01:09 -04:00
display: inline-block;
2018-08-10 20:09:28 -04:00
display: flex
}
.small-font {
2018-08-10 20:09:28 -04:00
font-size: 1.6rem;
2016-02-01 09:49:18 -05:00
}
2018-08-10 20:09:28 -04:00
.justify {
text-align: justify
}
.align_center {
text-align: center !important
}
.align_left {
text-align: left !important
}
.align_right {
text-align: right !important
}
2018-08-10 20:09:28 -04:00
.valign_top {
vertical-align: top
}
2018-08-10 20:09:28 -04:00
.no_border {
border: none
}
2016-02-01 09:49:18 -05:00
.media-wrap {
2018-11-01 22:01:09 -04:00
text-align: center;
2018-08-10 20:09:28 -04:00
margin: 0 auto;
position: relative;
}
2018-10-30 13:05:49 -04:00
.media-wrap-flex {
2018-11-01 22:01:09 -04:00
display: inline-block;
2018-10-30 13:05:49 -04:00
display: flex;
flex-wrap: wrap;
align-content: space-evenly;
justify-content: space-between;
position:relative;
}
td .media-wrap-flex {
justify-content: center;
}
.danger {
background-color: #ff4136;
border-color: #924949;
2018-08-10 20:09:28 -04:00
color: #fff;
}
.danger:hover, .danger:active {
background-color: #924949;
border-color: #ff4136;
2018-08-10 20:09:28 -04:00
color: #fff;
}
2016-04-21 11:14:21 -04:00
.user-btn {
border-color: var(--edit-link-color);
color: var(--edit-link-color);
text-shadow: var(--link-shadow);
2018-08-10 20:09:28 -04:00
padding: 0 0.5em;
padding: 0 0.5rem;
2016-04-21 11:14:21 -04:00
}
2018-08-10 20:09:28 -04:00
.user-btn:hover, .user-btn:active {
border-color: var(--edit-link-hover-color);
background-color: var(--edit-link-hover-color);
2016-04-21 11:14:21 -04:00
}
2017-01-13 16:49:46 -05:00
.full_width {
width: 100%;
}
2018-11-01 22:01:09 -04:00
.full-height {
max-height: none;
}
.toph {
margin-top: 0;
}
2018-08-10 20:09:28 -04:00
/* -----------------------------------------------------------------------------
Main Nav
------------------------------------------------------------------------------*/
#main-nav {
font-family: var(--default-font-list);
margin: 2em 0 1.6em;
margin: 2rem 0 1.6rem;
border-bottom: .1rem solid rgba(0, 0, 0, 0.2);
font-size: 3.6em;
font-size: 3.6rem;
font-style: normal;
font-weight: 500;
}
2016-02-01 09:49:18 -05:00
/* -----------------------------------------------------------------------------
CSS loading icon
------------------------------------------------------------------------------*/
.cssload-loader {
position: relative;
left: calc(50% - 31px);
width: 62px;
height: 62px;
border-radius: 50%;
perspective: 780px;
2016-02-01 09:49:18 -05:00
}
.cssload-inner {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
border-radius: 50%;
2016-02-01 09:49:18 -05:00
}
.cssload-inner.cssload-one {
left: 0%;
top: 0%;
animation: cssload-rotate-one 1.15s linear infinite;
2018-08-10 20:09:28 -04:00
border-bottom: 3px solid rgb(0, 0, 0);
2016-02-01 09:49:18 -05:00
}
.cssload-inner.cssload-two {
right: 0%;
top: 0%;
animation: cssload-rotate-two 1.15s linear infinite;
2018-08-10 20:09:28 -04:00
border-right: 3px solid rgb(0, 0, 0);
2016-02-01 09:49:18 -05:00
}
.cssload-inner.cssload-three {
right: 0%;
bottom: 0%;
animation: cssload-rotate-three 1.15s linear infinite;
2018-08-10 20:09:28 -04:00
border-top: 3px solid rgb(0, 0, 0);
2016-02-01 09:49:18 -05:00
}
@keyframes cssload-rotate-one {
0% {
transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
}
100% {
transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
}
2016-02-01 09:49:18 -05:00
}
@keyframes cssload-rotate-two {
0% {
transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
}
100% {
transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
}
2016-02-01 09:49:18 -05:00
}
@keyframes cssload-rotate-three {
0% {
transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
}
100% {
transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
}
2016-02-01 09:49:18 -05:00
}
/* -----------------------------------------------------------------------------
Table sorting and form styles
------------------------------------------------------------------------------*/
.sorting,
.sorting_asc,
.sorting_desc {
2018-08-10 20:09:28 -04:00
vertical-align: text-bottom;
2016-02-01 09:49:18 -05:00
}
2018-08-10 20:09:28 -04:00
2016-02-01 09:49:18 -05:00
.sorting::before {
content: " ↕\00a0";
2016-02-01 09:49:18 -05:00
}
2018-08-10 20:09:28 -04:00
2016-02-01 09:49:18 -05:00
.sorting_asc::before {
content: " ↑\00a0";
2016-02-01 09:49:18 -05:00
}
2018-08-10 20:09:28 -04:00
2016-02-01 09:49:18 -05:00
.sorting_desc::before {
content: " ↓\00a0";
2016-02-01 09:49:18 -05:00
}
2018-08-10 20:09:28 -04:00
.form {
2018-08-13 15:13:20 -04:00
/* width: 100%; */
2018-08-10 20:09:28 -04:00
}
2016-02-01 09:49:18 -05:00
.form thead th, .form thead tr {
background: inherit;
2018-08-10 20:09:28 -04:00
border: 0;
2016-02-01 09:49:18 -05:00
}
.form tr > td:nth-child(odd) {
2018-08-10 20:09:28 -04:00
text-align: right;
min-width: 25px;
max-width: 30%;
2016-02-01 09:49:18 -05:00
}
2018-08-10 20:09:28 -04:00
2016-02-01 09:49:18 -05:00
.form tr > td:nth-child(even) {
2018-08-10 20:09:28 -04:00
text-align: left;
2018-08-13 15:13:20 -04:00
/* width: 70%; */
2016-02-01 09:49:18 -05:00
}
.invisible tbody > tr:nth-child(odd) {
background: inherit;
2016-02-01 09:49:18 -05:00
}
2018-08-10 20:09:28 -04:00
2018-11-01 22:01:09 -04:00
.borderless,
.borderless tr,
.borderless td,
.borderless th,
.invisible tr,
.invisible td,
.invisible th {
box-shadow: none;
2018-08-10 20:09:28 -04:00
border: 0;
2016-02-01 09:49:18 -05:00
}
2018-11-01 22:01:09 -04:00
2016-02-01 09:49:18 -05:00
/* -----------------------------------------------------------------------------
Message boxes
------------------------------------------------------------------------------*/
.message, .static-message {
2018-08-10 20:09:28 -04:00
position: relative;
margin: 0.5em auto;
padding: 0.5em;
width: 95%;
2016-02-01 09:49:18 -05:00
}
2018-08-10 20:09:28 -04:00
.message .close {
width: 1em;
height: 1em;
position: absolute;
right: 0.5em;
top: 0.5em;
text-align: center;
vertical-align: middle;
line-height: 1em;
2016-02-01 09:49:18 -05:00
}
.message:hover .close:after {
content: '☒';
2016-02-01 09:49:18 -05:00
}
.message:hover {
2018-08-10 20:09:28 -04:00
cursor: pointer;
2016-02-01 09:49:18 -05:00
}
2018-08-10 20:09:28 -04:00
.message .icon {
left: 0.5em;
top: 0.5em;
margin-right: 1em;
2016-02-01 09:49:18 -05:00
}
.message.error, .static-message.error {
2018-08-10 20:09:28 -04:00
border: 1px solid #924949;
background: #f3e6e6;
2016-02-01 09:49:18 -05:00
}
2018-08-10 20:09:28 -04:00
.message.error .icon::after {
content: '✘';
}
2016-02-01 09:49:18 -05:00
.message.success, .static-message.success {
2018-08-10 20:09:28 -04:00
border: 1px solid #1f8454;
background: #70dda9;
2016-02-01 09:49:18 -05:00
}
2018-08-10 20:09:28 -04:00
.message.success .icon::after {
content: '✔'
}
.message.info, .static-message.info {
2018-08-10 20:09:28 -04:00
border: 1px solid #bfbe3a;
background: #FFFFCC;
2016-02-01 09:49:18 -05:00
}
2018-08-10 20:09:28 -04:00
.message.info .icon::after {
content: '⚠';
}
2016-02-01 09:49:18 -05:00
/* -----------------------------------------------------------------------------
Base list styles
------------------------------------------------------------------------------*/
.media, .character, .small_character {
2018-08-10 20:09:28 -04:00
position: relative;
vertical-align: top;
display: inline-block;
text-align: center;
width: 220px;
height: 311px;
margin: var(--normal-padding);
2018-08-10 20:09:28 -04:00
z-index: 0;
2018-11-01 22:01:09 -04:00
background: rgba(0,0,0,0.15);
}
.details picture.cover,
picture.cover {
display: initial;
width: 100%;
}
.media > img,
.character > img,
.small_character > img {
width: 100%;
}
.media .edit_buttons > button {
2018-08-10 20:09:28 -04:00
margin: 0.5em auto;
}
2018-08-10 20:09:28 -04:00
.name,
.media_metadata > div,
.medium_metadata > div,
.row {
text-shadow: var(--shadow);
color: var(--text-color);
padding: var(--normal-padding);
text-align: right;
z-index: 2;
}
2018-08-10 20:09:28 -04:00
.media_type, .age_rating {
text-align: left;
}
2018-08-10 20:09:28 -04:00
.media > .media_metadata {
position: absolute;
bottom: 0;
right: 0;
}
2018-08-10 20:09:28 -04:00
.media > .medium_metadata {
position: absolute;
bottom: 0;
left: 0;
}
.media > .name {
position: absolute;
top: 0;
}
.media > .name a {
2018-10-30 13:05:49 -04:00
display: inline-block;
2018-08-10 20:09:28 -04:00
transition: none;
}
.media .name a::before {
/* background: var(--title-overlay-fallback);
background: var(--title-overlay); */
content: '';
display: block;
height: 311px;
left: 0;
position: absolute;
top: 0;
width: 220px;
z-index: -1; /* Put the pseudo-element behind its parent */
}
.media-list .media:hover .name a::before {
/* transition: .25s ease; */
background: rgba(0, 0, 0, 0.75);
}
.media > .name span.canonical {
font-weight: bold;
}
2018-08-10 20:09:28 -04:00
.media > .name small {
font-weight: normal;
}
2018-08-10 20:09:28 -04:00
.media:hover .name {
background: rgba(0, 0, 0, 0.75);
}
.media-list .media > .name a:hover,
.media-list .media > .name a:hover small {
color: var(--blue-link);
}
.media:hover > button[hidden],
.media:hover > .edit_buttons[hidden] {
transition: .25s ease;
display: block;
}
.media:hover {
transition: .25s ease;
}
.small_character > .name a,
.small_character > .name a small,
.character > .name a,
.character > .name a small,
.media > .name a,
.media > .name a small {
background: none;
color: #fff;
text-shadow: var(--shadow);
}
/* -----------------------------------------------------------------------------
Anime-list-specific styles
------------------------------------------------------------------------------*/
.anime .name, .manga .name {
2018-08-10 20:09:28 -04:00
background: var(--title-overlay-fallback);
background: var(--title-overlay);
text-align: center;
width: 100%;
padding: 0.5em 0.25em;
}
.anime .media_type,
.anime .airing_status,
.anime .user_rating,
.anime .completion,
.anime .age_rating,
.anime .edit,
.anime .delete {
background: none;
2018-08-10 20:09:28 -04:00
text-align: center;
}
.anime .table, .manga .table {
2018-08-10 20:09:28 -04:00
position: absolute;
bottom: 0;
left: 0;
width: 100%;
}
.anime .row, .manga .row {
2018-08-10 20:09:28 -04:00
width: 100%;
2018-11-01 22:01:09 -04:00
display: inline-block;
display: flex;
align-content: space-around;
justify-content: space-around;
2018-08-10 20:09:28 -04:00
text-align: center;
padding: 0 inherit;
}
.anime .row > span, .manga .row > span {
2018-08-10 20:09:28 -04:00
text-align: left;
z-index: 2;
}
.anime .row > div, .manga .row > div {
2018-08-10 20:09:28 -04:00
font-size: 0.8em;
2018-11-01 22:01:09 -04:00
display: inline-block;
2018-08-10 20:09:28 -04:00
display: flex-item;
align-self: center;
text-align: center;
vertical-align: middle;
z-index: 2;
}
.anime .media > button.plus_one {
2018-08-10 20:09:28 -04:00
border-color: hsla(0, 0%, 100%, .65);
position: absolute;
top: 138px;
top: calc(50% - 21.5px);
left: 44px;
left: calc(50% - 66.5px);
2018-08-10 20:09:28 -04:00
z-index: 50;
}
.anime .media > button.plus_one:hover {
color: hsla(0, 0%, 100%, .65);
background: #888;
}
.anime .media > button.plus_one:active {
background: #444;
}
/* -----------------------------------------------------------------------------
Manga-list-specific styles
------------------------------------------------------------------------------*/
2016-01-06 11:08:56 -05:00
.manga .row {
2018-08-10 20:09:28 -04:00
padding: 1px;
2016-01-06 11:08:56 -05:00
}
.manga .media {
2018-08-13 15:13:20 -04:00
/* border: 1px solid #ddd; */
2018-08-10 20:09:28 -04:00
height: 310px;
margin: 0.25em;
}
.manga .media > .edit_buttons {
2018-08-10 20:09:28 -04:00
position: absolute;
top: 86px;
2018-08-10 20:09:28 -04:00
/* top: calc(50% - 58.5px); */
top: calc(50% - 22.4px);
left: 43.5px;
left: calc(50% - 66.5px);
2018-08-13 15:13:20 -04:00
z-index: 40;
2018-08-10 20:09:28 -04:00
}
.manga .media > .edit_buttons button {
border-color: hsla(0, 0%, 100%, .65);
}
.manga .media > .edit_buttons:hover button {
color: hsla(0, 0%, 100%, .65);
background: #888;
2016-02-01 09:49:18 -05:00
}
2018-08-10 20:09:28 -04:00
.manga .media > .edit_buttons button:active {
background: #444;
}
2016-02-01 09:49:18 -05:00
/* -----------------------------------------------------------------------------
Search page styles
2016-02-01 09:49:18 -05:00
------------------------------------------------------------------------------*/
.media.search > .name {
2018-08-10 20:09:28 -04:00
background-color: #555;
background-color: rgba(000, 000, 000, 0.35);
background-size: cover;
background-size: contain;
background-repeat: no-repeat;
2016-02-01 09:49:18 -05:00
}
.media.search > .row {
z-index: 6;
}
.big-check, .mal-check {
2018-08-10 20:09:28 -04:00
display: none;
2016-02-01 09:49:18 -05:00
}
.big-check:checked + label {
transition: .25s ease;
2018-08-10 20:09:28 -04:00
background: rgba(0, 0, 0, 0.75);
2016-02-01 09:49:18 -05:00
}
.big-check:checked + label:after {
content: '✓';
font-size: 15em;
font-size: 15rem;
2018-08-10 20:09:28 -04:00
text-align: center;
color: greenyellow;
2018-08-10 20:09:28 -04:00
position: absolute;
top: 147px;
left: 0;
height: 100%;
width: 100%;
z-index: 5;
2016-02-01 09:49:18 -05:00
}
#series_list article.media {
2018-08-10 20:09:28 -04:00
position: relative;
2016-02-01 09:49:18 -05:00
}
2018-08-10 20:09:28 -04:00
#series_list .name, #series_list .name label {
2018-08-10 20:09:28 -04:00
position: absolute;
display: block;
top: 0;
left: 0;
height: 100%;
width: 100%;
vertical-align: middle;
2017-01-10 21:13:44 -05:00
line-height: 1.25em;
}
2018-08-10 20:09:28 -04:00
#series_list .name small {
color: #fff;
}
/* ----------------------------------------------------------------------------
Details page styles
-----------------------------------------------------------------------------*/
.details {
margin: 1.5rem auto 0 auto;
2018-08-10 20:09:28 -04:00
padding: 1rem;
font-size: inherit;
}
2017-04-05 13:02:48 -04:00
.description {
2018-08-10 20:09:28 -04:00
max-width: 80rem;
2017-04-05 13:02:48 -04:00
}
.fixed {
max-width: 100rem;
/* max-width: 80%; */
margin: 0 auto;
}
.fixed .text {
max-width: 600px;
2017-03-31 13:37:53 -04:00
}
.details .cover {
2017-01-13 16:49:46 -05:00
display: block;
}
.details .flex > * {
margin: 1rem;
}
2018-08-10 20:09:28 -04:00
.details .media_details td {
padding: 0 1.5rem;
}
.details p {
2018-08-10 20:09:28 -04:00
text-align: justify;
}
2017-01-13 16:49:46 -05:00
.details .media_details td:nth-child(odd) {
2018-08-10 20:09:28 -04:00
width: 1%;
white-space: nowrap;
text-align: right;
}
2018-08-10 20:09:28 -04:00
2017-01-13 16:49:46 -05:00
.details .media_details td:nth-child(even) {
2018-08-10 20:09:28 -04:00
text-align: left;
}
2018-11-01 22:01:09 -04:00
.details a h1,
.details a h2 {
margin-top: 0;
}
.character,
.small_character,
.person {
2018-08-10 20:09:28 -04:00
/* background: rgba(0,0,0,0.5); */
width: 225px;
height: 350px;
vertical-align: middle;
white-space: nowrap;
position: relative;
}
.person {
width: 225px;
height: 338px;
}
2018-11-01 22:01:09 -04:00
.small_person {
width: 200px;
height: 300px;
}
.character a {
height: 350px;
}
2018-08-10 20:09:28 -04:00
.character:hover .name,
.small_character:hover .name {
background: rgba(0, 0, 0, 0.8);
}
2018-08-10 20:09:28 -04:00
.small_character a {
display: inline-block;
width: 100%;
height: 100%;
}
.small_character .name,
.character .name {
position: absolute;
bottom: 0;
left: 0;
z-index: 10;
}
.small_character img,
.character img,
.small_character picture,
.character picture,
.person img,
.person picture {
position: absolute;
2018-08-10 20:09:28 -04:00
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
2018-08-10 20:09:28 -04:00
z-index: 5;
max-height: 350px;
max-width: 225px;
}
.person img,
.person picture {
max-height: 338px;
2018-08-10 20:09:28 -04:00
}
2018-11-01 22:01:09 -04:00
.small_person img,
.small_person picture {
max-height: 300px;
max-width: 200px;
}
2017-04-05 13:02:48 -04:00
.min-table {
min-width: 0;
margin-left: 0;
}
2018-11-01 22:01:09 -04:00
.max-table {
min-width:100%;
margin: 0;
}
aside.info {
max-width: 390px;
}
aside.info picture, aside.info img {
display: block;
margin: 0 auto;
}
2017-03-31 13:37:53 -04:00
/* ----------------------------------------------------------------------------
User page styles
-----------------------------------------------------------------------------*/
.small_character {
width: 160px;
height: 250px;
}
.small_character img,
.small_character picture {
max-height: 250px;
max-width: 160px;
}
.user-page .media-wrap {
text-align: left;
}
.media a {
display: inline-block;
width: 100%;
height: 100%;
2017-03-31 13:37:53 -04:00
}
/* ----------------------------------------------------------------------------
Viewport-based styles
-----------------------------------------------------------------------------*/
@media screen and (max-width: 40em) {
nav a {
2018-08-10 20:09:28 -04:00
line-height: 4em;
line-height: 4rem;
}
.media {
2018-08-10 20:09:28 -04:00
margin: 2px 0;
}
main {
2018-08-10 20:09:28 -04:00
padding: 0 0, 5em 0.5em;
padding: 0 0.5rem 0.5rem;
}
2017-01-27 12:35:28 -05:00
}
/* ----------------------------------------------------------------------------
Images / Logos
-----------------------------------------------------------------------------*/
.streaming-logo {
width: 50px;
height: 50px;
2018-08-10 20:09:28 -04:00
vertical-align: middle;
}
.cover_streaming_link {
display:none;
}
.media:hover .cover_streaming_link {
display: block;
2017-01-31 12:52:43 -05:00
}
.cover_streaming_link .streaming-logo {
width: 20px;
height: 20px;
2018-08-10 20:09:28 -04:00
-webkit-filter: drop-shadow(0 -1px 4px #fff);
filter: drop-shadow(0 -1px 4px #fff);
}
/* ----------------------------------------------------------------------------
Loading overlay
-----------------------------------------------------------------------------*/
#loading-shadow {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
2018-08-10 20:09:28 -04:00
background: rgba(0, 0, 0, 0.8);
z-index: 500;
}
2018-08-10 20:09:28 -04:00
#loading-shadow .loading-wrapper {
position: fixed;
z-index: 501;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
2018-08-10 20:09:28 -04:00
#loading-shadow .loading-content {
position: relative;
color: #fff
}
2018-08-10 20:09:28 -04:00
.loading-content .cssload-inner.cssload-one,
.loading-content .cssload-inner.cssload-two,
.loading-content .cssload-inner.cssload-three {
border-color: #fff
}
2018-08-08 17:04:35 -04:00
/* ----------------------------------------------------------------------------
CSS Tabs
-----------------------------------------------------------------------------*/
.tabs {
2018-11-01 22:01:09 -04:00
display: inline-block;
2018-08-08 17:04:35 -04:00
display: flex;
flex-wrap: wrap;
background: #efefef;
2018-08-10 20:09:28 -04:00
box-shadow: 0 48px 80px -32px rgba(0, 0, 0, 0.3);
2018-08-08 17:04:35 -04:00
margin-top: 1.5em;
}
2018-10-08 16:38:08 -04:00
.tabs > label {
2018-08-08 17:04:35 -04:00
border: 1px solid #e5e5e5;
width: 100%;
padding: 20px 30px;
background: #e5e5e5;
cursor: pointer;
font-weight: bold;
font-size: 18px;
color: #7f7f7f;
transition: background 0.1s, color 0.1s;
/* margin-left: 4em; */
}
2018-10-08 16:38:08 -04:00
.tabs > label:hover {
2018-08-08 17:04:35 -04:00
background: #d8d8d8;
}
2018-10-08 16:38:08 -04:00
.tabs > label:active {
2018-08-08 17:04:35 -04:00
background: #ccc;
}
2018-10-08 16:38:08 -04:00
.tabs > [type=radio]:focus + label {
2018-08-08 17:04:35 -04:00
box-shadow: inset 0px 0px 0px 3px #2aa1c0;
z-index: 1;
}
2018-10-08 16:38:08 -04:00
.tabs > [type=radio] {
2018-08-08 17:04:35 -04:00
position: absolute;
opacity: 0;
}
2018-10-08 16:38:08 -04:00
.tabs > [type=radio]:checked + label {
2018-08-08 17:04:35 -04:00
border-bottom: 1px solid #fff;
background: #fff;
color: #000;
}
2018-10-08 16:38:08 -04:00
.tabs > [type=radio]:checked + label + .content {
2018-08-08 17:04:35 -04:00
border: 1px solid #e5e5e5;
border-top: 0;
display: block;
2018-11-01 22:01:09 -04:00
padding: 15px;
2018-08-08 17:04:35 -04:00
background: #fff;
width: 100%;
2018-11-01 22:01:09 -04:00
margin: 0 auto;
overflow: auto;
/* text-align: center; */
2018-08-08 17:04:35 -04:00
}
.tabs .content {
display: none;
2018-11-01 22:01:09 -04:00
max-height: 950px;
}
.tabs .content.full-height {
max-height: none;
2018-08-08 17:04:35 -04:00
}
@media (min-width: 600px) {
2018-10-08 16:38:08 -04:00
.tabs > label {
2018-08-08 17:04:35 -04:00
width: auto;
}
.tabs .content {
order: 99;
}
}
2018-11-01 22:01:09 -04:00
/* ---------------------------------------------------------------------------
Vertical Tabs
----------------------------------------------------------------------------*/
.vertical-tabs {
border: 1px solid #e5e5e5;
box-shadow: 0 48px 80px -32px rgba(0, 0, 0, 0.3);
margin: 0 auto;
position: relative;
width: 100%;
}
.vertical-tabs input[type="radio"] {
display: none;
}
.vertical-tabs .tab {
align-items: center;
display: inline-block;
display: flex;
flex-wrap: nowrap;
}
.vertical-tabs .tab label {
align-items: center;
background: #e5e5e5;
border: 1px solid #e5e5e5;
color: #7f7f7f;
cursor: pointer;
font-size: 18px;
font-weight: bold;
padding: 0 20px;
width: 28%;
}
.vertical-tabs .tab label:hover {
background: #d8d8d8;
}
.vertical-tabs .tab label:active {
background: #ccc;
}
.vertical-tabs .tab .content {
display: none;
border: 1px solid #e5e5e5;
border-left: 0;
border-right: 0;
max-height: 950px;
overflow: auto;
}
.vertical-tabs .tab .content.full-height {
max-height: none;
}
.vertical-tabs [type=radio]:checked + label {
border: 0;
background: #fff;
color: #000;
width: 38%;
}
.vertical-tabs [type=radio]:focus + label {
box-shadow: inset 0px 0px 0px 3px #2aa1c0;
z-index: 1;
}
.vertical-tabs [type=radio]:checked ~ .content {
display: block;
}
/* ----------------------------------------------------------------------------
Settings Form
-----------------------------------------------------------------------------*/
.settings.form .content article {
margin: 1em;
display: inline-block;
width: auto;
}