1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-16 06:15:08 -05:00

[ux] remove focus for buttons and validity selectors for forms

This commit is contained in:
karolinaszczur 2013-10-23 15:35:36 +02:00
parent 70a8c93dcc
commit 170429290d
6 changed files with 16 additions and 16 deletions

View File

@ -184,11 +184,6 @@ textarea
vertical-align: top vertical-align: top
resize: vertical resize: vertical
input:valid, textarea:valid
input:invalid, textarea:invalid
background-color: #f0dddd
table table
border-collapse: collapse border-collapse: collapse
border-spacing: 0 border-spacing: 0

View File

@ -64,7 +64,6 @@
line-height: 25px line-height: 25px
min-width: 60px min-width: 60px
text-transform: capitalize text-transform: capitalize
cursor: pointer
.activeCall .activeCall
transition(height 250ms) transition(height 250ms)

View File

@ -4,7 +4,7 @@ input[type=text], input[type=email], input[type=search], input[type=password], t
-webkit-appearance: none -webkit-appearance: none
roundall(3px) roundall(3px)
padding: 0 10px padding: 0 10px
background: white background-color: white
border: 1px solid $grayOutline border: 1px solid $grayOutline
font-size: $fontSmall font-size: $fontSmall
color: $baseText color: $baseText
@ -58,6 +58,9 @@ button, a.button
text-align: center text-align: center
cursor: pointer cursor: pointer
&:focus
outline: none
&:hover &:hover
background: darken($activeBlue, 30%) background: darken($activeBlue, 30%)

View File

@ -24,6 +24,8 @@
input input
width: 100% width: 100%
padding: 5px
borderbox()
img img
margin: 10px 0 margin: 10px 0

View File

@ -219,12 +219,6 @@ textarea {
vertical-align: top; vertical-align: top;
resize: vertical; resize: vertical;
} }
input:valid,
textarea:valid,
input:invalid,
textarea:invalid {
background-color: #f0dddd;
}
table { table {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
@ -718,7 +712,6 @@ h3 {
line-height: 25px; line-height: 25px;
min-width: 60px; min-width: 60px;
text-transform: capitalize; text-transform: capitalize;
cursor: pointer;
} }
.conversation header .activeCall { .conversation header .activeCall {
-webkit-transition: height 250ms; -webkit-transition: height 250ms;
@ -920,6 +913,10 @@ h3 {
} }
.uploadRegion input { .uploadRegion input {
width: 100%; width: 100%;
padding: 5px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
} }
.uploadRegion img { .uploadRegion img {
margin: 10px 0; margin: 10px 0;
@ -1000,7 +997,7 @@ textarea,
-border-radius: 3px; -border-radius: 3px;
border-radius: 3px; border-radius: 3px;
padding: 0 10px; padding: 0 10px;
background: #fff; background-color: #fff;
border: 1px solid #e4e4e4; border: 1px solid #e4e4e4;
font-size: 12px; font-size: 12px;
color: #565656; color: #565656;
@ -1070,6 +1067,10 @@ a.button {
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
} }
button:focus,
a.button:focus {
outline: none;
}
button:hover, button:hover,
a.button:hover { a.button:hover {
background: #007aa7; background: #007aa7;

View File

@ -1,5 +1,5 @@
CACHE MANIFEST CACHE MANIFEST
# 0.0.1 1382533384141 # 0.0.1 1382535083157
CACHE: CACHE:
/app.js /app.js