Vulcan/client/sass/modules/_forms.scss

70 lines
1.3 KiB
SCSS
Raw Normal View History

form, .accounts-dialog{
2012-08-31 18:58:12 +09:00
// @extend .grid-block;
2012-08-25 11:20:17 +09:00
.control-group{
margin-bottom:$grid-padding;
label{
float:left;
}
.controls{
margin-left:100px;
2012-09-07 18:17:19 +09:00
position:relative;
.get-title-link{
position:absolute;
display:block;
top:2px;
right:8px;
&.loading{
background:url(/img/loading.gif) center center no-repeat;
height:22px;
width:18px;
@include hide-text2;
}
}
2012-08-25 11:20:17 +09:00
}
}
.form-actions{
@include cf;
}
input[type="text"], input[type="password"], textarea, .login-form input{
2012-08-25 11:20:17 +09:00
display:block;
padding:5px 6px;
width:100%;
font-size:14px;
@include border-box;
2012-08-31 18:58:12 +09:00
border:1px solid $grey;
2012-09-13 10:55:05 +09:00
@include single-transition(border-color, 500ms);
2012-08-31 18:58:12 +09:00
// @include box-shadow(inset 0px 0px 0px 1px black(0.2));
2012-08-25 11:20:17 +09:00
&:focus{
outline: none;
2012-08-31 18:58:12 +09:00
border-color:$red;
@include box-shadow(0px 0px 5px 0px rgba($red,0.3));
2012-08-25 11:20:17 +09:00
}
}
input[type="text"], input[type="password"], .login-form input{
2012-08-25 11:20:17 +09:00
height:30px;
line-height:20px;
}
textarea{
min-height:100px;
line-height:1.4;
}
2012-09-07 10:57:57 +09:00
.delete-link{
float:left;
}
input[type="submit"], button, .button, .btn{
float:right;
}
2012-08-31 18:58:12 +09:00
}
input[type="submit"], button, .button, .btn{
-webkit-appearance: none;
@include border-radius(0px);
background:$red;
color:white;
display:block;
padding:0px 10px;
border:none;
font-size:16px;
cursor:pointer;
margin:0;
2012-09-07 10:57:57 +09:00
2012-08-25 11:20:17 +09:00
}