mirror of
https://github.com/haiwen/seahub.git
synced 2025-10-21 10:51:17 +00:00
Merge pull request #1106 from haiwen/focus
add 'focus' effect for checkbox, button, select
This commit is contained in:
@@ -192,7 +192,6 @@ textarea {
|
|||||||
textarea, input { border: 1px solid #ccc; }
|
textarea, input { border: 1px solid #ccc; }
|
||||||
input {
|
input {
|
||||||
margin:3px 0;
|
margin:3px 0;
|
||||||
outline:0;
|
|
||||||
}
|
}
|
||||||
input, button { display:inline-block;/*for ie*/ }
|
input, button { display:inline-block;/*for ie*/ }
|
||||||
input[type=text],
|
input[type=text],
|
||||||
@@ -213,9 +212,6 @@ select {
|
|||||||
border: 1px solid #c5c5c5;
|
border: 1px solid #c5c5c5;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
select {
|
|
||||||
outline:none;
|
|
||||||
}
|
|
||||||
.btn-link {
|
.btn-link {
|
||||||
display:inline-block;
|
display:inline-block;
|
||||||
color:#333;
|
color:#333;
|
||||||
@@ -237,10 +233,15 @@ input[type=radio] {
|
|||||||
border:0;/*for ie*/
|
border:0;/*for ie*/
|
||||||
}
|
}
|
||||||
input:focus,
|
input:focus,
|
||||||
|
button:focus,
|
||||||
|
select:focus,
|
||||||
textarea:focus {
|
textarea:focus {
|
||||||
border-color: #66afe9;
|
border-color: #66afe9;
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
input[type="checkbox"]:focus {
|
||||||
|
outline:#66afe9 auto 1px;
|
||||||
|
}
|
||||||
input::-webkit-outer-spin-button,
|
input::-webkit-outer-spin-button,
|
||||||
input::-webkit-inner-spin-button {/*for input type="number" in chrome: to hide up/download arrow*/
|
input::-webkit-inner-spin-button {/*for input type="number" in chrome: to hide up/download arrow*/
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
|
Reference in New Issue
Block a user