fix theme...
This commit is contained in:
50
themes/anzhiyu/source/css/_third-party/snackbar.styl
vendored
Normal file
50
themes/anzhiyu/source/css/_third-party/snackbar.styl
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
body
|
||||
.snackbar-container
|
||||
background: var(--anzhiyu-main) !important;
|
||||
color: var(--anzhiyu-white) !important;
|
||||
border-radius: 0 !important;
|
||||
display: flex !important;
|
||||
justify-content: center !important;
|
||||
max-width: none !important;
|
||||
min-width: 100% !important;
|
||||
margin: 0 !important;
|
||||
left: 0 !important;
|
||||
height: 61px !important;
|
||||
transform: none !important;
|
||||
margin: 0 !important;
|
||||
z-index: 99999;
|
||||
.snackbar-container p
|
||||
font-weight: 700 !important;
|
||||
text-align: center !important;
|
||||
font-size: 1.1rem !important;
|
||||
.snackbar-container .action
|
||||
color: var(--anzhiyu-white) !important;
|
||||
padding: 4px 6px !important;
|
||||
font-weight: 700;
|
||||
border-radius: 8px;
|
||||
transition: 0.3s;
|
||||
border: var(--style-border) !important;
|
||||
.snackbar-container .action:hover
|
||||
color: var(--anzhiyu-main) !important;
|
||||
background: var(--anzhiyu-white);
|
||||
.snackbar-container::after
|
||||
position: absolute;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
background: var(--anzhiyu-white);
|
||||
opacity: 0.1;
|
||||
content: "";
|
||||
animation: snackbar-progress var(--anzhiyu-snackbar-time) linear forwards;
|
||||
pointer-events: none;
|
||||
will-change: transform;
|
||||
transform-origin: left
|
||||
@keyframes snackbar-progress {
|
||||
from {
|
||||
transform: scaleX(0);
|
||||
}
|
||||
to {
|
||||
transform: scaleX(1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user