ytsm/app/YtManagerApp/static/YtManagerApp/css/style.scss

159 lines
2.9 KiB
SCSS

$accent-color: #007bff;
#main_body {
margin-bottom: 4rem;
margin-top: 0;
}
#main_footer {
position: fixed;
left: 0;
right: 0;
bottom: 0;
height: 2rem;
line-height: 2rem;
padding: 0rem 1rem;
display: flex;
align-content: center;
font-size: 10pt;
}
@mixin loading-dual-ring($scale : 1) {
display: inline-block;
width: $scale * 64px;
height: $scale * 64px;
&:after {
content: " ";
display: block;
width: $scale * 46px;
height: $scale * 46px;
margin: 1px;
border-radius: 50%;
border: ($scale * 5px) solid $accent-color;
border-color: $accent-color transparent $accent-color transparent;
animation: loading-dual-ring 1.2s linear infinite;
}
}
/* Loading animation */
.loading-dual-ring {
@include loading-dual-ring(1.0);
}
.loading-dual-ring-small {
@include loading-dual-ring(0.5);
}
@keyframes loading-dual-ring {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.loading-dual-ring-center-screen {
position: fixed;
top: 50%;
left: 50%;
margin-top: -32px;
margin-left: -32px;
}
.black-overlay {
position: fixed; /* Sit on top of the page content */
display: none; /* Hidden by default */
width: 100%; /* Full width (cover the whole page) */
height: 100%; /* Full height (cover the whole page) */
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0,0,0,0.5); /* Black background with opacity */
z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
cursor: pointer; /* Add a pointer on hover */
}
.video-gallery {
.card-wrapper {
padding: 0.4rem;
margin-bottom: .5rem;
}
.card {
.card-body {
padding: .75rem;
}
.card-text {
font-size: 10pt;
margin-bottom: .5rem;
}
.card-title {
font-size: 11pt;
margin-bottom: .5rem;
.badge {
font-size: 8pt;
}
}
.card-footer {
padding: .5rem .75rem;
}
.card-more {
margin-right: -0.25rem;
&:hover {
text-decoration: none;
}
}
.card-img-top {
}
.progress {
width: 100px;
}
}
.video-icon-yes {
color: $accent-color;
}
.video-icon-no {
color: #dddddd;
}
}
.alert-card {
max-width: 35rem;
margin: 2rem 0;
}
.no-asterisk {
.asteriskField {
display: none;
}
}
.modal-field-error {
margin: 0.5rem 0;
padding: 0.5rem 0;
ul {
margin: 0;
}
}
.star-rating {
display: inline-block;
margin-bottom: 0.5rem;
}
.btn-toolbar {
margin: .5rem 0;
.btn {
padding: 0.15rem 0.4rem;
font-size: 14pt;
}
}