Skip to content

Commit 6d254a8

Browse files
committed
Styles for dev mode
1 parent 4c41302 commit 6d254a8

1 file changed

Lines changed: 65 additions & 0 deletions

File tree

assets/style.css

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,11 @@ input:-webkit-autofill:active{
884884
font-weight: normal;
885885
font-size: 0.7rem;
886886
}
887+
.bike-list-element #content #bikeInfo #serialNum {
888+
color: var(--black);
889+
font-weight: normal;
890+
font-size: 0.7rem;
891+
}
887892
.bike-list-element #content #reserveBikeIcon {
888893
margin-left: auto;
889894
margin-right: 20px;
@@ -1497,6 +1502,66 @@ input:-webkit-autofill:active{
14971502
top: 35%;
14981503
}
14991504

1505+
.user-settings #settingsContainer #devMode {
1506+
width: calc(85vw - 2vh);
1507+
padding: 2vh;
1508+
color: var(--green);
1509+
border-radius: 25px;
1510+
display: flex;
1511+
justify-content: center;
1512+
position: relative;
1513+
/*outline: 1px solid var(--green);*/
1514+
box-shadow:
1515+
0px 1px 6px 0px var(--green),
1516+
0px 0px 5px 0px var(--shadow-green) inset;
1517+
justify-content: space-between;
1518+
}
1519+
1520+
.user-settings #settingsContainer #devMode input[type="checkbox"] {
1521+
/* Add if not using autoprefixer */
1522+
-webkit-appearance: none;
1523+
/* Remove most all native input styles */
1524+
appearance: none;
1525+
/* For iOS < 15 */
1526+
background-color: var(--form-background);
1527+
/* Not removed via appearance */
1528+
margin: 0;
1529+
1530+
font: inherit;
1531+
color: currentColor;
1532+
width: 1.5em;
1533+
height: 1.5em;
1534+
border: 0.15em solid currentColor;
1535+
border-radius: 0.15em;
1536+
1537+
display: grid;
1538+
place-content: center;
1539+
}
1540+
1541+
.user-settings #settingsContainer #devMode input[type="checkbox"]::before {
1542+
content: "";
1543+
width: 0.65em;
1544+
height: 0.65em;
1545+
clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
1546+
transform: scale(0);
1547+
transform-origin: bottom left;
1548+
transition: 120ms transform ease-in-out;
1549+
box-shadow: inset 1em 1em var(--green);
1550+
/* Windows High Contrast Mode */
1551+
background-color: CanvasText;
1552+
}
1553+
1554+
.user-settings #settingsContainer #devMode input[type="checkbox"]:checked::before {
1555+
transform: scale(1);
1556+
}
1557+
1558+
.user-settings #settingsContainer #devMode input[type="checkbox"]:disabled {
1559+
--form-control-color: var(--gray);
1560+
1561+
color: var(--gray);
1562+
cursor: not-allowed;
1563+
}
1564+
15001565
#bottom {
15011566
margin-top: 3vh;
15021567
display: flex;

0 commit comments

Comments
 (0)