Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/resources/scripts/components/elements/inputs/styles.module.css
10263 views
1
.checkbox_input {
2
@apply w-4 h-4 rounded-sm border-neutral-500 bg-neutral-600 text-primary-500;
3
4
&:focus, &:active {
5
@apply ring-2 ring-primary-500 ring-offset-2 ring-offset-neutral-700;
6
}
7
8
&.indeterminate:checked {
9
@apply text-primary-500/50 border border-primary-500;
10
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M5 10a1 1 0 011-1h8a1 1 0 110 2H6a1 1 0 01-1-1z' clip-rule='evenodd' /%3E%3C/svg%3E");
11
}
12
}
13
14
.text_input {
15
@apply transition-shadow duration-75;
16
@apply w-full bg-neutral-800 rounded px-4 py-2 outline-none border-0;
17
18
&:focus, &:active {
19
@apply ring-4 ring-blue-300 ring-opacity-75;
20
}
21
22
&.loose {
23
@apply px-6 py-3;
24
}
25
}
26
27