Files
Nitro-V3/src/css/nitrocard/NitroCardView.css
T
2026-04-13 16:58:14 +02:00

300 lines
7.2 KiB
CSS

.nitro-card {
resize: both;
@media (max-width: 991.98px) {
max-width: 100vw !important;
max-height: 100vh !important;
}
&.theme-primary {
border: 1px solid #283F5D;
.nitro-card-header {
min-height: 33px;
max-height: 33px;
background: #1E7295;
.nitro-card-header-text {
color: #FFF;
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
font-size: 1.35rem;
}
.nitro-card-header-close {
cursor: pointer;
padding: 2px 2px;
line-height: 1;
border-radius: .25rem;
box-shadow: 0 0 0 1.6px #FFF;
border: 2px solid #921911;
background: repeating-linear-gradient(
rgba(245, 80, 65, 1),
rgba(245, 80, 65, 1) 50%,
rgba(194, 48, 39, 1) 50%,
rgba(194, 48, 39, 1) 100%
);
&:hover {
filter: brightness(1.2);
}
&:active {
filter: brightness(0.8);
}
}
.nitro-card-header-report-camera {
cursor: pointer;
padding: 1px 3px;
line-height: 1;
border-radius: .25rem;
box-shadow: 0 0 0 1.6px #FFF;
border: 2px solid #921911;
background: repeating-linear-gradient(
rgba(245, 80, 65, 1),
rgba(245, 80, 65, 1) 50%,
rgba(194, 48, 39, 1) 50%,
rgba(194, 48, 39, 1) 100%
);
&:hover {
filter: brightness(1.2);
}
&:active {
filter: brightness(0.8);
}
}
}
.nitro-card-header-text {
color: #fff;
text-shadow: 1px 1px 1px #000;
font-family: UbuntuCondensed, Ubuntu, sans-serif;
font-size: 20px;
font-weight: 400;
line-height: 1;
min-height: auto;
}
.nitro-card-header-close {
cursor: pointer;
width: 20px;
height: 20px;
padding: 0;
line-height: 1;
border-radius: 4px;
border: 2px solid #000;
box-shadow: none;
background: #bf2c2c;
&:hover {
border-color: #fff;
filter: brightness(1.08);
}
&:active {
filter: brightness(0.96);
}
}
}
&.theme-primary-slim {
border: 1px solid #283F5D;
.nitro-card-header {
position: relative;
min-height: 28px;
max-height: 28px;
background: repeating-linear-gradient(#2DABC2, #2DABC2 50%, #2B91A7 50%, #2B91A7 100%);
border-bottom: 2px solid #267F93;
box-shadow: 0 2px white;
width: 100%;
margin: 0;
padding-top:2px;
&:before {
position: absolute;
content: ' ';
top: 0;
left: 0;
width: 100%;
height: 2px;
background-color: rgba(255, 255, 255, 0.3);
}
.nitro-card-header-text {
color: #FFF;
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
font-size: 1.125rem;
min-height: 21px;
}
.nitro-card-header-close {
cursor: pointer;
padding: 0px 2px;
line-height: 1;
font-size: 0.675rem;
border-radius: .25rem;
box-shadow: 0 0 0 1.6px #FFF;
border: 2px solid #921911;
background: repeating-linear-gradient(
rgba(245, 80, 65, 1),
rgba(245, 80, 65, 1) 50%,
rgba(194, 48, 39, 1) 50%,
rgba(194, 48, 39, 1) 100%
);
&:hover {
filter: brightness(1.2);
}
&:active {
filter: brightness(0.8);
}
}
.nitro-card-header-report-camera {
cursor: pointer;
padding: 0px 2px;
margin-right: 4px;
line-height: 1;
font-size: 0.675rem;
border-radius: .25rem;
box-shadow: 0 0 0 1.6px #FFF;
border: 2px solid #921911;
background: repeating-linear-gradient(
rgba(245, 80, 65, 1),
rgba(245, 80, 65, 1) 50%,
rgba(194, 48, 39, 1) 50%,
rgba(194, 48, 39, 1) 100%
);
&:hover {
filter: brightness(1.2);
}
&:active {
filter: brightness(0.8);
}
}
}
}
.content-area {
height: 100%;
overflow: auto;
padding: 10px;
background: #f2f2eb;
border: 0;
border-top: 0;
border-radius: 0 0 8px 8px;
font-family: Ubuntu, sans-serif;
color: #111;
}
}
.content-area {
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: Ubuntu, sans-serif;
font-weight: 700;
line-height: 1.15;
color: #111;
}
p,
span,
label,
li,
td,
th,
input,
textarea,
select,
button {
font-family: Ubuntu, sans-serif;
color: #111;
}
@media (max-width: 991.98px) {
.content-area {
height: 100% !important;
min-height: auto !important;
max-height: 100% !important;
}
}
.nitro-card-header {
position: relative;
height: 100%;
}
.nitro-card-accordion-set {
&.active {
height: 100%;
overflow: hidden;
background: rgba(255, 255, 255, 0.5);
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.nitro-card-accordion-set-header {
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
}
@include media-breakpoint-down(lg) {
.nitro-card {
resize: none !important;
max-width: calc(100vw - 16px) !important;
max-height: calc(100vh - 16px) !important;
}
.nitro-card {
.nitro-card-header {
min-height: 32px;
max-height: 32px;
padding: 4px;
.nitro-card-header-text {
font-size: 17px;
}
}
.nitro-card-tabs {
padding: 4px 6px 0;
gap: 3px;
.nav-item {
padding: 0.25rem 0.55rem;
font-size: 12px;
}
}
.content-area {
padding: 8px;
}
}
.content-area {
min-height: auto !important;
max-height: 100% !important;
p,
label,
li,
td,
th,
input,
textarea,
select,
button {
font-size: 11.5px;
}
}
}