mirror of
https://github.com/EyeTrackVR/EyeTrackVR-Docs.git
synced 2025-11-04 14:49:44 +08:00
move global css into custom.css folder to prevent website breaking on non-darkmode enabled computers
This commit is contained in:
parent
ea0ef90dd1
commit
79a576b65d
@ -92,65 +92,3 @@ ul>li>a {
|
|||||||
#main-content .octicon-alert>path {
|
#main-content .octicon-alert>path {
|
||||||
fill: $color-accent-fg-warning;
|
fill: $color-accent-fg-warning;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Custom Checkboxes */
|
|
||||||
input[type=checkbox] {
|
|
||||||
cursor: pointer;
|
|
||||||
width: 10px;
|
|
||||||
height: 10px;
|
|
||||||
margin: 10px;
|
|
||||||
-webkit-appearance: none;
|
|
||||||
-moz-appearance: none;
|
|
||||||
-o-appearance: none;
|
|
||||||
appearance: none;
|
|
||||||
outline: 1px solid lightblue;
|
|
||||||
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
|
|
||||||
background-clip: content-box;
|
|
||||||
padding: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
input,
|
|
||||||
input:focus {
|
|
||||||
border: none;
|
|
||||||
border-radius: 2pt;
|
|
||||||
box-shadow: 0 0 0 1pt grey;
|
|
||||||
outline: none;
|
|
||||||
transition: .1s;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type=checkbox]:checked {
|
|
||||||
background-color: #3899ff;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type=checkbox]:focus {
|
|
||||||
box-shadow: 0 0 3pt 2pt cornflowerblue;
|
|
||||||
}
|
|
||||||
|
|
||||||
#main-content .task-list-item-checkbox {}
|
|
||||||
|
|
||||||
body {
|
|
||||||
cursor: default
|
|
||||||
}
|
|
||||||
|
|
||||||
/* width */
|
|
||||||
::-webkit-scrollbar {
|
|
||||||
width: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Track */
|
|
||||||
::-webkit-scrollbar-track {
|
|
||||||
box-shadow: inset 0 0 5px grey;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Handle */
|
|
||||||
::-webkit-scrollbar-thumb {
|
|
||||||
background: #6d7faeb4;
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Handle on hover */
|
|
||||||
::-webkit-scrollbar-thumb:hover {
|
|
||||||
background: #6d7fae;
|
|
||||||
}
|
|
||||||
@ -496,4 +496,66 @@ a[href^="https://"]:after {
|
|||||||
a.no_icon:after {
|
a.no_icon:after {
|
||||||
content: "" !important;
|
content: "" !important;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
} */
|
} */
|
||||||
|
|
||||||
|
/* Custom Checkboxes */
|
||||||
|
input[type=checkbox] {
|
||||||
|
cursor: pointer;
|
||||||
|
width: 10px;
|
||||||
|
height: 10px;
|
||||||
|
margin: 10px;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
-moz-appearance: none;
|
||||||
|
-o-appearance: none;
|
||||||
|
appearance: none;
|
||||||
|
outline: 1px solid lightblue;
|
||||||
|
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
|
||||||
|
background-clip: content-box;
|
||||||
|
padding: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
input,
|
||||||
|
input:focus {
|
||||||
|
border: none;
|
||||||
|
border-radius: 2pt;
|
||||||
|
box-shadow: 0 0 0 1pt grey;
|
||||||
|
outline: none;
|
||||||
|
transition: .1s;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type=checkbox]:checked {
|
||||||
|
background-color: #3899ff;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type=checkbox]:focus {
|
||||||
|
box-shadow: 0 0 3pt 2pt cornflowerblue;
|
||||||
|
}
|
||||||
|
|
||||||
|
#main-content .task-list-item-checkbox {}
|
||||||
|
|
||||||
|
body {
|
||||||
|
cursor: default
|
||||||
|
}
|
||||||
|
|
||||||
|
/* width */
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Track */
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
box-shadow: inset 0 0 5px grey;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Handle */
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background: #6d7faeb4;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Handle on hover */
|
||||||
|
::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: #6d7fae;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user