css update
This commit is contained in:
parent
2bca4ceb49
commit
2f4c52b344
|
|
@ -596,6 +596,10 @@ include 'static.php';
|
||||||
flex: 1;
|
flex: 1;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.panel {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ===== PASSWORD PAGE GLOBAL STYLES ===== */
|
/* ===== PASSWORD PAGE GLOBAL STYLES ===== */
|
||||||
|
|
@ -1068,31 +1072,39 @@ include 'static.php';
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ===== COLOR PANEL ADDON ===== */
|
/* ===== COLOR PANEL ADDON — COMPACT GRID VERSION ===== */
|
||||||
|
|
||||||
.panel {
|
.panel {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
padding: 22px 24px 26px;
|
padding: 20px 22px 22px;
|
||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
background: linear-gradient(180deg, #020617, #020617);
|
background: linear-gradient(180deg, #020617, #020617);
|
||||||
border: 1px solid var(--border);
|
border: 1px solid var(--border);
|
||||||
box-shadow:
|
box-shadow:
|
||||||
inset 0 0 25px rgba(99, 102, 241, .05),
|
inset 0 0 22px rgba(99, 102, 241, .05),
|
||||||
0 10px 30px rgba(0, 0, 0, .55);
|
0 10px 28px rgba(0, 0, 0, .55);
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
/* 2 controls per row */
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
gap: 18px 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* heading spans full width */
|
||||||
.panel h2 {
|
.panel h2 {
|
||||||
|
grid-column: 1/-1;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 17px;
|
font-size: 16px;
|
||||||
margin-bottom: 22px;
|
margin-bottom: 4px;
|
||||||
color: #f8fafc;
|
color: #f8fafc;
|
||||||
letter-spacing: .3px;
|
letter-spacing: .3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* each slider block */
|
/* each slider block */
|
||||||
.control {
|
.control {
|
||||||
margin-bottom: 22px;
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* label + value row */
|
/* label + value row */
|
||||||
|
|
@ -1100,27 +1112,28 @@ include 'static.php';
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 6px;
|
||||||
font-size: 14px;
|
font-size: 13px;
|
||||||
color: var(--muted);
|
color: var(--muted);
|
||||||
}
|
}
|
||||||
|
|
||||||
.control .row span:last-child {
|
.control .row span:last-child {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
min-width: 48px;
|
min-width: 42px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* slider track */
|
/* slider track */
|
||||||
.control input[type=range] {
|
.control input[type=range] {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 6px;
|
height: 5px;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
background: linear-gradient(90deg, #0f172a, #1e293b);
|
background: linear-gradient(90deg, #0f172a, #1e293b);
|
||||||
outline: none;
|
outline: none;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
border: 1px solid rgba(255, 255, 255, .06);
|
border: 1px solid rgba(255, 255, 255, .06);
|
||||||
|
transition: .2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* hover glow */
|
/* hover glow */
|
||||||
|
|
@ -1131,8 +1144,8 @@ include 'static.php';
|
||||||
/* slider thumb */
|
/* slider thumb */
|
||||||
.control input[type=range]::-webkit-slider-thumb {
|
.control input[type=range]::-webkit-slider-thumb {
|
||||||
appearance: none;
|
appearance: none;
|
||||||
width: 18px;
|
width: 15px;
|
||||||
height: 18px;
|
height: 15px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: linear-gradient(135deg, var(--accent), var(--accent2));
|
background: linear-gradient(135deg, var(--accent), var(--accent2));
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
@ -1140,11 +1153,12 @@ include 'static.php';
|
||||||
box-shadow:
|
box-shadow:
|
||||||
0 0 0 3px rgba(56, 189, 248, .15),
|
0 0 0 3px rgba(56, 189, 248, .15),
|
||||||
0 2px 8px rgba(0, 0, 0, .6);
|
0 2px 8px rgba(0, 0, 0, .6);
|
||||||
|
transition: .15s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.control input[type=range]::-moz-range-thumb {
|
.control input[type=range]::-moz-range-thumb {
|
||||||
width: 18px;
|
width: 15px;
|
||||||
height: 18px;
|
height: 15px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background: linear-gradient(135deg, var(--accent), var(--accent2));
|
background: linear-gradient(135deg, var(--accent), var(--accent2));
|
||||||
border: none;
|
border: none;
|
||||||
|
|
@ -1156,12 +1170,10 @@ include 'static.php';
|
||||||
transform: scale(1.15);
|
transform: scale(1.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* subtle divider between controls */
|
/* remove divider lines */
|
||||||
.control:not(:last-child) {
|
.control:not(:last-child) {
|
||||||
padding-bottom: 16px;
|
border: none;
|
||||||
border-bottom: 1px dashed rgba(255, 255, 255, .05);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue