mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
72 lines
1.6 KiB
Text
72 lines
1.6 KiB
Text
// Copyright (C) 2017-2024 Smart code 203358507
|
|
|
|
@import (reference) '~@stremio/stremio-colors/less/stremio-colors.less';
|
|
@import (reference) '~stremio/common/screen-sizes.less';
|
|
|
|
.warning-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
background-color: @color-accent5-dark3;
|
|
padding: 1rem;
|
|
border-radius: 0.5rem 0.5rem 0 0;
|
|
margin: 0rem 0.5rem;
|
|
box-shadow: var(--outer-glow);
|
|
|
|
.warning-statement {
|
|
flex: 1;
|
|
margin-right: 1rem;
|
|
font-size: 1.2rem;
|
|
max-height: 2.4em;
|
|
color: @color-surface-light5-90;
|
|
}
|
|
|
|
.warning-button {
|
|
flex: none;
|
|
color: @color-surface-light5-90;
|
|
background-color: rgba(0, 0, 0, 0.24);
|
|
padding: 0.5rem 1rem;
|
|
margin-left: 1.5rem;
|
|
border-radius: 0.5rem;
|
|
line-height: 1.2rem;
|
|
|
|
&:first-child {
|
|
margin-left: 0;
|
|
}
|
|
|
|
&:hover {
|
|
.warning-label {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.warning-label {
|
|
font-size: 1.2rem;
|
|
max-height: 1.2em;
|
|
color: @color-surface-light5-90;
|
|
overflow: visible;
|
|
}
|
|
}
|
|
|
|
.warning-button:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: @minimum) {
|
|
.warning-container {
|
|
display: block;
|
|
height: auto !important;
|
|
text-align: center;
|
|
border-radius: 0.5rem;
|
|
|
|
.warning-statement {
|
|
margin-bottom: 1rem;
|
|
margin-right: 0;
|
|
}
|
|
|
|
.warning-button {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
}
|