ytptube/ui/app/assets/css/style.css
2026-02-20 22:46:30 +03:00

374 lines
4.8 KiB
CSS

* {
unicode-bidi: plaintext;
}
.container {
padding: 1em;
margin-top: 1em;
}
.container,
.card,
.box,
.navbar {
border-radius: 15px;
}
.is-bordered-danger {
border: 1px solid red;
}
.is-bordered-info {
border: 1px solid #3e8ed0;
}
html {
background-color: #eaeaea;
}
.container {
background-color: #ffffff;
}
hr {
background-color: #000;
}
.is-unselectable {
user-select: none;
}
.is-text-overflow {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.has-tooltip {
cursor: help;
border-bottom: 1px dotted;
}
@media (prefers-color-scheme: light) {
.has-tooltip {
border-bottom-color: #000;
}
}
@media (prefers-color-scheme: dark) {
* {
unicode-bidi: plaintext;
}
.has-tooltip {
border-bottom-color: rgba(255, 255, 255, 0.3);
}
.container {
padding: 1em;
margin-top: 1em;
}
.container,
.card,
.box,
.navbar {
border-radius: 15px;
}
.is-bordered-danger {
border: 1px solid red;
}
.is-bordered-info {
border: 1px solid #3e8ed0;
}
hr {
background-color: #fff;
}
html {
background-color: #000000;
}
.container {
background-color: #0f1010;
}
.is-unselectable {
user-select: none;
}
.is-text-overflow {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.is-borderless {
border: none;
}
.is-marginless {
margin: 0 !important;
}
.is-paddingless {
padding: 0 !important;
}
.section {
padding: 3rem 3rem;
}
.section.is-medium {
padding: 9rem 4.5rem;
}
.section.is-large {
padding: 18rem 6rem;
}
.footer {
background-color: #fafafa;
padding: 3rem 1.5rem 6rem;
}
.progress-bar {
position: relative;
width: 100%;
height: 30px;
background-color: #f5f5f5;
}
.progress,
.progress-percentage {
border-radius: 15px;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
.progress-percentage {
text-align: center;
z-index: 2;
line-height: 30px;
}
.progress {
z-index: 1;
background-color: #00d1b2;
}
.button.is-purple {
background-color: #5f00d1;
border-color: transparent;
color: #fff;
}
.has-text-purple {
color: #5f00d1;
}
.progress,
.progress-percentage {
border-radius: unset !important;
}
@media (prefers-color-scheme: dark) {
.footer {
background-color: #121212;
}
.progress-bar {
border-radius: 15px;
position: relative;
width: 100%;
height: 30px;
background-color: #383636;
}
.progress,
.progress-percentage {
border-radius: 15px;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
.progress-percentage {
text-align: center;
z-index: 2;
line-height: 30px;
}
.progress {
z-index: 1;
background-color: #087363;
}
}
.vue-notification {
background: unset;
border-left: none;
}
.notification-title {
font-size: 1.5em;
font-weight: bold;
}
.notification-content {
font-size: 1.2em;
}
.vue-notification-wrapper {
cursor: pointer;
padding-top: 0.5em;
}
.play-overlay,
.is-pointer {
cursor: pointer;
}
.play-icon,
.embed-icon {
position: absolute;
z-index: 2;
width: 100px;
height: 100px;
background-image: url(/images/play-icon.png);
background-repeat: no-repeat;
background-size: 100% 100%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
cursor: pointer;
opacity: 0.4;
}
.embed-icon {
background-image: url(/images/embed-icon.png);
}
.play-icon:hover,
.play-icon:focus,
.play-active {
opacity: 1;
}
.image-portrait {
object-fit: cover;
object-position: top;
}
.is-pre {
white-space: pre;
}
.is-pre-wrap {
white-space: pre-wrap;
}
.is-pre-wrap-force {
white-space: pre-wrap !important;
}
.has-text-bold {
font-weight: bold;
}
.transparent-bg {
opacity: 0.9;
}
.bg-fanart {
background-size: cover;
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat;
background-blend-mode: darken;
}
.is-unbounded-model {
max-height: unset !important;
width: unset !important;
}
.is-auto {
unicode-bidi: embed;
}
.is-justify-self-end {
justify-self: end;
}
.is-full-height {
height: 100%;
}
.is-ellipsis {
max-width: calc(100% - 10px);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.is-max-width {
max-width: calc(100% - 10px);
}
.is-bold {
font-weight: bold;
}
.fa-spin-10 {
--fa-animation-iteration-count: 10;
}
.Vue-Toastification__toast-body {
user-select: none;
}
.is-word-break {
word-break: break-word;
text-wrap: auto;
}
table.is-fixed {
table-layout: fixed;
}
div.is-centered {
justify-content: center;
}
.is-overflow-visible {
overflow: visible !important;
}
.modal-content-max {
width: calc(100% - 20px);
max-width: 1344px;
min-width: 320px;
box-sizing: border-box;
padding: 0;
margin: 0 auto;
}
.is-rounded-less {
border-radius: 0px !important;
}