mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 15:06:20 +00:00
465 lines
13 KiB
CSS
465 lines
13 KiB
CSS
.nitro-alert {
|
|
min-height: 150px;
|
|
max-height: 350px;
|
|
|
|
.notification-frank {
|
|
background-image: url('@/assets/images/notifications/frank.gif');
|
|
width:47px;
|
|
height: 85px;
|
|
}
|
|
|
|
.notification-text {
|
|
min-width: 250px;
|
|
}
|
|
|
|
&.nitro-alert-default,
|
|
&.nitro-alert-motd {
|
|
width: 350px;
|
|
.notification-text {
|
|
min-width: auto;
|
|
}
|
|
}
|
|
|
|
&.nitro-alert-command-list {
|
|
width: min(430px, calc(100vw - 18px));
|
|
min-height: 210px;
|
|
max-height: min(520px, calc(100vh - 24px));
|
|
|
|
.content-area {
|
|
padding: 9px 10px 8px;
|
|
}
|
|
|
|
.notification-text {
|
|
min-width: 0;
|
|
padding-right: 3px;
|
|
font-family: Ubuntu, sans-serif;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.notification-command-template {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
padding-bottom: 2px;
|
|
}
|
|
|
|
.notification-command-heading {
|
|
font-weight: 700;
|
|
color: #101010;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.notification-command-copy {
|
|
color: #262626;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.notification-command-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 2px;
|
|
min-height: 34px;
|
|
padding: 5px 8px;
|
|
color: #123b4c;
|
|
background: linear-gradient(180deg, #ffffff 0%, #dceaf0 100%);
|
|
border: 1px solid #8ca6b1;
|
|
border-radius: 4px;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
|
|
text-align: left;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.notification-command-row:hover {
|
|
background: linear-gradient(180deg, #ffffff 0%, #cfe2eb 100%);
|
|
border-color: #4f879b;
|
|
}
|
|
|
|
.notification-command-name {
|
|
font-weight: 700;
|
|
color: #123b4c;
|
|
}
|
|
|
|
.notification-command-description {
|
|
font-size: 11px;
|
|
line-height: 1.2;
|
|
color: #3d4a50;
|
|
}
|
|
|
|
.notification-command-spacer {
|
|
height: 3px;
|
|
}
|
|
}
|
|
|
|
&.nitro-alert-credits {
|
|
width: 370px;
|
|
.notification-text {
|
|
min-width: auto;
|
|
}
|
|
}
|
|
|
|
&.nitro-alert-moderation,
|
|
&.nitro-alert-alert {
|
|
width: 250px;
|
|
.notification-text {
|
|
min-width: 225px;
|
|
}
|
|
}
|
|
|
|
&.nitro-alert-system {
|
|
width: auto;
|
|
min-width: 260px;
|
|
max-width: 90vw;
|
|
min-height: auto;
|
|
max-height: none;
|
|
height: auto;
|
|
|
|
.notification-text {
|
|
min-width: auto;
|
|
}
|
|
}
|
|
|
|
&.nitro-alert-nitro-info {
|
|
width: 460px;
|
|
min-height: 320px;
|
|
max-height: 640px;
|
|
animation: nitroInfoPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
|
|
.nitro-info-hero {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin: -8px -8px 6px -8px;
|
|
padding: 14px 10px 18px 10px;
|
|
background:
|
|
radial-gradient(ellipse at top, rgba(255, 220, 120, 0.45) 0%, transparent 60%),
|
|
linear-gradient(135deg, #4a72b8 0%, #2d4a82 45%, #5a3d9a 100%);
|
|
border-bottom: 2px solid #1c2a4a;
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.25),
|
|
inset 0 -3px 0 rgba(0, 0, 0, 0.25);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.nitro-info-hero-stars {
|
|
position: absolute;
|
|
inset: 0;
|
|
background-image:
|
|
radial-gradient(2px 2px at 18% 28%, rgba(255, 255, 255, 0.85), transparent 60%),
|
|
radial-gradient(1.5px 1.5px at 72% 18%, rgba(255, 255, 255, 0.7), transparent 60%),
|
|
radial-gradient(1px 1px at 42% 65%, rgba(255, 255, 255, 0.9), transparent 60%),
|
|
radial-gradient(1.5px 1.5px at 88% 78%, rgba(255, 255, 255, 0.75), transparent 60%),
|
|
radial-gradient(1px 1px at 12% 80%, rgba(255, 255, 255, 0.8), transparent 60%);
|
|
opacity: 0.85;
|
|
animation: nitroInfoTwinkle 2.6s ease-in-out infinite alternate;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.nitro-info-version-badge {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
margin: 0 auto;
|
|
padding: 6px 18px;
|
|
background: linear-gradient(180deg, #ffeb8a 0%, #ffd54d 50%, #f0a318 100%);
|
|
border: 2px solid #8a5b00;
|
|
border-radius: 18px;
|
|
color: #4a2b00;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
letter-spacing: 0.4px;
|
|
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.7),
|
|
inset 0 -2px 0 rgba(140, 75, 0, 0.4),
|
|
0 3px 0 rgba(0, 0, 0, 0.25),
|
|
0 0 18px rgba(255, 200, 80, 0.55);
|
|
width: max-content;
|
|
max-width: 90%;
|
|
}
|
|
|
|
.nitro-info-version-spark {
|
|
color: #fff;
|
|
text-shadow: 0 0 6px rgba(255, 255, 200, 0.9);
|
|
animation: nitroInfoSpin 3s linear infinite;
|
|
display: inline-block;
|
|
}
|
|
|
|
.nitro-info-version-spark:last-child {
|
|
animation-direction: reverse;
|
|
}
|
|
|
|
.nitro-info-content {
|
|
padding: 0 2px;
|
|
}
|
|
|
|
.nitro-info-avatar-wrap {
|
|
position: relative;
|
|
width: 90px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
padding-top: 2px;
|
|
}
|
|
|
|
.nitro-info-avatar {
|
|
filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.35));
|
|
animation: nitroInfoBob 2.6s ease-in-out infinite;
|
|
}
|
|
|
|
.nitro-info-avatar-shadow {
|
|
width: 60px;
|
|
height: 8px;
|
|
margin-top: -4px;
|
|
background: radial-gradient(ellipse, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
|
|
animation: nitroInfoShadowPulse 2.6s ease-in-out infinite;
|
|
}
|
|
|
|
.nitro-info-body {
|
|
font-family: Volter, Volter_Goldfish, "Ubuntu", sans-serif;
|
|
color: #2f2f2f;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.nitro-info-section {
|
|
background: linear-gradient(to bottom, #ffffff 0%, #eaf1fb 100%);
|
|
border: 1px solid #6f8db5;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.8),
|
|
0 2px 0 rgba(0, 0, 0, 0.12);
|
|
transition: transform 0.18s ease, box-shadow 0.18s ease;
|
|
}
|
|
|
|
.nitro-info-section:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.8),
|
|
0 3px 0 rgba(0, 0, 0, 0.18),
|
|
0 0 0 1px rgba(110, 160, 230, 0.4);
|
|
}
|
|
|
|
.nitro-info-section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: #ffffff;
|
|
font-weight: bold;
|
|
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.45);
|
|
padding: 4px 10px;
|
|
letter-spacing: 0.3px;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.25);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
|
|
}
|
|
|
|
.nitro-info-section-icon {
|
|
font-size: 14px;
|
|
filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.4));
|
|
}
|
|
|
|
.nitro-info-section-hotel .nitro-info-section-header {
|
|
background: linear-gradient(180deg, #4fb3ff 0%, #1f6dc7 100%);
|
|
}
|
|
|
|
.nitro-info-section-server .nitro-info-section-header {
|
|
background: linear-gradient(180deg, #6bd66b 0%, #2a8a2a 100%);
|
|
}
|
|
|
|
.nitro-info-section-credits .nitro-info-section-header {
|
|
background: linear-gradient(180deg, #ff9a44 0%, #d9591a 100%);
|
|
}
|
|
|
|
.nitro-info-section-generic .nitro-info-section-header {
|
|
background: linear-gradient(180deg, #8da0bc 0%, #4b5d7a 100%);
|
|
}
|
|
|
|
.nitro-info-section-body {
|
|
padding: 6px 10px;
|
|
color: #1f2f4a;
|
|
}
|
|
|
|
.nitro-info-stats-list,
|
|
.nitro-info-credits-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.nitro-info-stats-list li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 2px 4px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.nitro-info-stats-list li:nth-child(odd) {
|
|
background: rgba(110, 160, 230, 0.08);
|
|
}
|
|
|
|
.nitro-info-stat-label {
|
|
font-size: 12px;
|
|
color: #4a5a76;
|
|
font-weight: 500;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.nitro-info-stat-value {
|
|
font-size: 12px;
|
|
color: #1a3a6b;
|
|
font-weight: 700;
|
|
background: linear-gradient(180deg, #ffffff 0%, #e6efff 100%);
|
|
border: 1px solid #b8cce6;
|
|
border-radius: 4px;
|
|
padding: 1px 8px;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
|
text-align: right;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.nitro-info-credits-list li {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 6px;
|
|
padding: 3px 4px;
|
|
font-size: 12px;
|
|
color: #4a2b00;
|
|
border-radius: 3px;
|
|
transition: background 0.15s ease;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.nitro-info-credits-list li:hover {
|
|
background: rgba(255, 180, 80, 0.15);
|
|
}
|
|
|
|
.nitro-info-credit-star {
|
|
color: #f0a318;
|
|
text-shadow: 0 0 4px rgba(240, 163, 24, 0.6);
|
|
font-size: 13px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.nitro-info-footer {
|
|
margin-top: 6px;
|
|
padding-top: 8px;
|
|
border-top: 1px dashed #b0b0b0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.nitro-info-actions {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.nitro-info-report-btn {
|
|
position: relative;
|
|
overflow: hidden;
|
|
background: linear-gradient(180deg, #ff6b6b 0%, #c92a2a 100%) !important;
|
|
border-color: #8a1a1a !important;
|
|
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.3),
|
|
inset 0 -2px 0 rgba(0, 0, 0, 0.25),
|
|
0 0 12px rgba(255, 100, 100, 0.4);
|
|
transition: transform 0.12s ease, box-shadow 0.12s ease;
|
|
}
|
|
|
|
.nitro-info-report-btn:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.4),
|
|
inset 0 -2px 0 rgba(0, 0, 0, 0.25),
|
|
0 2px 0 rgba(0, 0, 0, 0.2),
|
|
0 0 18px rgba(255, 100, 100, 0.7);
|
|
}
|
|
|
|
.nitro-info-report-btn:active {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
.nitro-info-report-btn::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -120%;
|
|
width: 60%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
|
|
transform: skewX(-20deg);
|
|
animation: nitroInfoShine 2.8s ease-in-out infinite;
|
|
}
|
|
}
|
|
}
|
|
|
|
@keyframes nitroInfoPop {
|
|
0% { transform: scale(0.85); opacity: 0; }
|
|
60% { transform: scale(1.04); opacity: 1; }
|
|
100% { transform: scale(1); opacity: 1; }
|
|
}
|
|
|
|
@keyframes nitroInfoTwinkle {
|
|
0% { opacity: 0.4; }
|
|
100% { opacity: 1; }
|
|
}
|
|
|
|
@keyframes nitroInfoSpin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
@keyframes nitroInfoBob {
|
|
0%, 100% { transform: translateY(0); }
|
|
50% { transform: translateY(-3px); }
|
|
}
|
|
|
|
@keyframes nitroInfoShadowPulse {
|
|
0%, 100% { transform: scaleX(1); opacity: 0.55; }
|
|
50% { transform: scaleX(0.8); opacity: 0.35; }
|
|
}
|
|
|
|
@keyframes nitroInfoShine {
|
|
0% { left: -120%; }
|
|
60%, 100% { left: 140%; }
|
|
}
|
|
|
|
.nitro-notification-bubble {
|
|
pointer-events: all;
|
|
padding: 6px 5px;
|
|
pointer-events: all;
|
|
padding: 10px;
|
|
background-color: #262626;
|
|
box-shadow: inset 0 5px rgba(38,38,57,.6), inset 0 -4px rgba(25,25,37,.6);
|
|
font-size: .7875rem;
|
|
border-radius: 0.5rem;
|
|
font-size: 0.7875rem;
|
|
color: white;
|
|
|
|
.bubble-image-container {
|
|
width: 50px;
|
|
height: 50px;
|
|
}
|
|
}
|
|
.topnotifications{
|
|
margin-top: -6px;
|
|
}
|
|
|
|
.alertView_nitro-coolui-logo {
|
|
width: 150px;
|
|
height: 73px;
|
|
position: relative;
|
|
background-image: url("@/assets/images/notifications/nitro_v3.png");
|
|
background-repeat: no-repeat;
|
|
}
|