Made most things reachable with just a keyboard

This commit is contained in:
Marcin Kurczewski
2014-10-11 23:24:03 +02:00
parent 33b205b574
commit 765d553a84
10 changed files with 38 additions and 34 deletions

View File

@ -42,7 +42,9 @@ a {
text-decoration: none;
cursor: pointer; /* for links without [href] */
}
a:focus {
outline: 2px solid #64C2ED;
}
a:hover {
color: #34B2ED;
}

View File

@ -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;
}

View File

@ -6,6 +6,7 @@
#post-upload-step1 .file-handler {
padding: 3.5em;
width: 100%;
}
#post-upload-step1 .url-handler {