Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
/***
2
Forms
3
***/
4
 
5
/* Input placeholder font color */
6
 
7
.form-control {
8
    @include placeholder($input-color-placeholder)
9
}
10
 
11
/* Form inputs */
12
 
13
.form-control {
14
    font-size: 14px;
15
    font-weight: normal;
16
    color: $input-color;
17
    background-color: $input-bg;
18
    border: 1px solid $input-border;
19
    -webkit-box-shadow: none;
20
    box-shadow: none;
21
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
22
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
23
 
24
    &:focus {
25
        border-color: $input-border-focus;
26
        outline: 0;
27
        -webkit-box-shadow: none;
28
        box-shadow: none;
29
    }
30
 
31
    &[disabled],
32
    &[readonly],
33
    fieldset[disabled] & {
34
        cursor: not-allowed;
35
        background-color: $input-bg-disabled;
36
    }
37
 
38
    &.height-auto {
39
        height: auto;
40
    }
41
 
42
    &.form-control-solid {
43
        background-color: #F1F3F8;
44
        border-color: #F1F3F8;
45
        color: #A6B2BA;
46
 
47
        &:focus {
48
            border-color: darken(#F1F3F8, 4%);
49
        }
50
 
51
        @include placeholder(lighten(#A6B2BA, 2%));
52
    }
53
}
54
 
55
/* Form uneditable input */
56
 
57
.uneditable-input {
58
    padding: 6px 12px;
59
    min-width: 206px;
60
    font-size: 14px;
61
    font-weight: normal;
62
    height: 34px;
63
    color: $input-color;
64
    background-color: $input-bg;
65
    border: 1px solid $input-border;
66
    -webkit-box-shadow: none;
67
    box-shadow: none;
68
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
69
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
70
}
71
 
72
/* Form input sizing */
73
 
74
.input-mini {
75
    width: 45px !important;
76
}
77
 
78
.input-xsmall {
79
    width: 80px !important;
80
}
81
 
82
.input-small {
83
    width: 145px !important;
84
}
85
 
86
.input-medium {
87
    width: 240px !important;
88
}
89
 
90
.input-large {
91
    width: 320px !important;
92
}
93
 
94
.input-xlarge {
95
    width: 420px !important;
96
}
97
 
98
.input-inline {
99
    display: inline-block;
100
    width: auto;
101
    vertical-align: middle;
102
}
103
 
104
.form-group {
105
    .input-inline  {
106
        margin-right: 5px;
107
    }
108
}
109
 
110
.input-sm {
111
    height: 28px;
112
    padding: 5px 10px;
113
    font-size: 13px;
114
}
115
 
116
select.input-sm {
117
    height: 28px;
118
    line-height: 28px;
119
    padding: 2px 10px;
120
}
121
 
122
@media (max-width: $screen-sm-min) { /* 768px */
123
 
124
    .input-large {
125
        width: 250px !important;
126
    }
127
 
128
    .input-xlarge {
129
        width: 300px !important;
130
    }
131
 
132
}
133
 
134
/* Input  groups */
135
 
136
.input-group {
137
    .btn-default {
138
        border-color: $input-border;
139
    }
140
 
141
    .input-group-addon {
142
        border-color: $input-border;
143
        background: $input-border;
144
        min-width: 39px;
145
 
146
        > i {
147
         color: $input-icon-color;
148
        }
149
    }
150
}
151
 
152
/* Input spinner */
153
 
154
input[type="text"].spinner,
155
input[type="password"].spinner,
156
input[type="datetime"].spinner,
157
input[type="datetime-local"].spinner,
158
input[type="date"].spinner,
159
input[type="month"].spinner,
160
input[type="time"].spinner,
161
input[type="week"].spinner,
162
input[type="number"].spinner,
163
input[type="email"].spinner,
164
input[type="url"].spinner,
165
input[type="search"].spinner,
166
input[type="tel"].spinner,
167
input[type="color"].spinner {
168
  background-image: url("../img/input-spinner.gif") !important;
169
  background-repeat: no-repeat;
170
  background-position: right 8px;
171
}
172
 
173
/* Form labels */
174
 
175
label {
176
 	font-weight: 400;
177
  	font-size: 14px;
178
}
179
 
180
/* Static form control */
181
 
182
.form-control-static {
183
    margin: 2px 0;
184
    display: inline-block;
185
}
186
 
187
/* Feedback states */
188
 
189
.has-success {
190
  @include form-control-validation($state-success-text, $state-success-border, $state-success-bg);
191
}
192
 
193
.has-warning {
194
  @include form-control-validation($state-warning-text, $state-warning-border, $state-warning-bg);
195
}
196
 
197
.has-error {
198
  @include form-control-validation($state-danger-text, $state-danger-border, $state-danger-bg);
199
}
200
 
201
/* Circle Inputs */
202
 
203
.input-circle {
204
  border-radius: 25px !important;
205
}
206
 
207
.input-circle-right {
208
  border-radius:  0 25px 25px 0 !important;
209
}
210
 
211
.input-circle-left {
212
  border-radius: 25px 0 0 25px !important;
213
}
214
 
215
.input-circle-bottom {
216
  border-radius:  0 0 25px 25px !important;
217
}
218
 
219
.input-circle-top {
220
  border-radius: 25px 25px 0 0 !important;
221
}