mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Made most things reachable with just a keyboard
This commit is contained in:
@ -42,7 +42,9 @@ a {
|
||||
text-decoration: none;
|
||||
cursor: pointer; /* for links without [href] */
|
||||
}
|
||||
|
||||
a:focus {
|
||||
outline: 2px solid #64C2ED;
|
||||
}
|
||||
a:hover {
|
||||
color: #34B2ED;
|
||||
}
|
||||
|
@ -129,7 +129,8 @@ input:not([type=button]):not(.tag-real-input):focus {
|
||||
|
||||
input[type=radio],
|
||||
input[type=checkbox] {
|
||||
display:none;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
}
|
||||
input[type=radio] + label,
|
||||
input[type=checkbox] + label {
|
||||
@ -158,10 +159,18 @@ input[type=checkbox] + label::before {
|
||||
input[type=checkbox]:checked + label::before {
|
||||
content: "\f046";
|
||||
}
|
||||
input[type=radio]:focus + label,
|
||||
input[type=checkbox]:focus + label {
|
||||
color: #64C2ED;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.file-handler::before {
|
||||
background: none;
|
||||
}
|
||||
.file-handler {
|
||||
box-shadow: none;
|
||||
border: 3px dashed #eee;
|
||||
padding: 0.3em 0.5em;
|
||||
line-height: 140% !important;
|
||||
@ -169,7 +178,7 @@ input[type=checkbox]:checked + label::before {
|
||||
cursor: pointer;
|
||||
}
|
||||
.file-handler.active {
|
||||
border-color: #6a2;
|
||||
border-color: #64C2ED;
|
||||
background-color: #eeffcc;
|
||||
}
|
||||
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
#post-upload-step1 .file-handler {
|
||||
padding: 3.5em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#post-upload-step1 .url-handler {
|
||||
|
Reference in New Issue
Block a user