Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
/***
2
Customized Bootstrap Buttons
3
***/
4
 
5
/* Default buttons */
6
 
7
.btn {
8
	border-width: 0;
9
	padding: 7px 14px;
10
    font-size: 14px;
11
    outline: none !important;
12
    background-image: none !important;
13
    filter: none;
14
    -webkit-box-shadow: none;
15
    -moz-box-shadow: none;
16
    box-shadow: none;
17
    text-shadow: none;
18
 
19
    &.dropdown-toggle,
20
    .btn-group &.dropdown-toggle,
21
    &:hover,
22
    &:disabled,
23
    &[disabled],
24
    &:focus,
25
    &:active,
26
    &.active {
27
     outline: none !important;
28
     background-image: none !important;
29
     filter: none;
30
     -webkit-box-shadow: none;
31
     -moz-box-shadow: none;
32
     box-shadow: none;
33
     text-shadow: none;
34
 }
35
}
36
 
37
.btn-default {
38
  border-width: 1px;
39
  padding: 6px 13px;
40
}
41
 
42
.btn-block {
43
  display: block;
44
  width: 100%;
45
  padding-left: 0;
46
  padding-right: 0;
47
}
48
 
49
/* Bootstrap buttons */
50
 
51
.btn-default {
52
  @include button-variant($btn-default-color, $btn-default-bg, $btn-default-border);
53
 
54
  > i {
55
    color: #aaa;
56
  }
57
 
58
  > i[class^="icon-"],
59
  > i[class*="icon-"] {
60
    color: darken(#999, 5%);
61
  }
62
}
63
 
64
.btn-primary {
65
  @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border);
66
}
67
 
68
.btn-success {
69
  @include button-variant($btn-success-color, $btn-success-bg, $btn-success-border);
70
}
71
 
72
.btn-info {
73
  @include button-variant($btn-info-color, $btn-info-bg, $btn-info-border);
74
}
75
 
76
.btn-warning {
77
  @include button-variant($btn-warning-color, $btn-warning-bg, $btn-warning-border);
78
}
79
 
80
.btn-danger {
81
  @include button-variant($btn-danger-color, $btn-danger-bg, $btn-danger-border);
82
}
83
 
84
/* Button sizes */
85
.btn {
86
	> i {
87
		font-size: 14px;
88
	}
89
}
90
 
91
.btn-lg {
92
    padding: 10px 16px;
93
    font-size: 18px;
94
    line-height: 1.33;
95
    vertical-align: middle;
96
 
97
    > i {
98
        font-size: 18px;
99
    }
100
}
101
 
102
.btn-sm,
103
.btn-xs {
104
    padding: 4px 10px 5px 10px;
105
    font-size: 13px;
106
    line-height: 1.5;
107
 
108
    > i {
109
        font-size: 13px;
110
    }
111
}
112
 
113
.btn-xs {
114
    padding: 1px 5px;
115
 
116
 
117
    > i {
118
        font-size: 12px;
119
    }
120
}
121
 
122
/* Small button in button group */
123
 
124
.btn-group {
125
    .input-sm {
126
        .btn-default {
127
            padding-top: 3px;
128
            padding-bottom: 3px;
129
        }
130
    }
131
}
132
 
133
 
134
/* Arrow link */
135
 
136
.btn-arrow-link {
137
    vertical-align: middle;
138
    display: inline-block;
139
    font-size: 13px;
140
 
141
    > i {
142
       font-size: 14px;
143
       line-height: 14px;
144
       vertical-align: top;
145
       margin: 2px 3px 2px 3px;
146
       color: #999;
147
    }
148
 
149
    &.btn-arrow-link-lg {
150
      font-size: 14px;
151
 
152
      > i {
153
         font-size: 16px;
154
         line-height: 16px;
155
         margin: 2px 3px 1px 3px;
156
      }
157
    }
158
}
159
 
160
/* Circle Buttons */
161
 
162
.btn-circle {
163
  border-radius: 25px !important;
164
}
165
 
166
.btn-circle-right {
167
  border-radius:  0 25px 25px 0 !important;
168
}
169
 
170
.btn-circle-left {
171
  border-radius: 25px 0 0 25px !important;
172
}
173
 
174
.btn-circle-bottom {
175
  border-radius:  0 0 25px 25px !important;
176
}
177
 
178
.btn-circle-top {
179
  border-radius: 25px 25px 0 0 !important;
180
}
181
 
182
.btn-icon-only {
183
  height: 34px;
184
  width: 34px;
185
  text-align: center;
186
  padding-left: 0;
187
  padding-right: 0;
188
 
189
  > [class^="icon-"],
190
  > i {
191
    text-align: center;
192
    margin-top: 2px;
193
  }
194
}
195
 
196
.btn-sm {
197
  > [class^="glyphicon-"],
198
  > [class*=" glyphicon-"],
199
  > i {
200
    font-size: 13px;
201
  }
202
}
203
 
204
.btn-xs {
205
  > [class^="glyphicon-"],
206
  > [class*=" glyphicon-"],
207
  > i {
208
    font-size: 11px;
209
  }
210
}
211
 
212
.btn-group.btn-group-circle {
213
    > .btn {
214
        &:first-child {
215
            border-radius: 25px 0 0 25px !important;
216
        }
217
 
218
        &:last-child {
219
            border-radius: 0 25px 25px 0 !important;
220
        }
221
    }
222
}
223
 
224
.btn-group.btn-group-devided {
225
    > .btn {
226
        margin-right: 5px;
227
 
228
        &:last-child {
229
            margin-right: 0;
230
        }
231
    }
232
}
233
 
234
.btn-group-vertical.btn-group-vertical-circle {
235
     > .btn {
236
        &:first-child {
237
            border-radius: 25px 25px 0 0 !important;
238
        }
239
 
240
        &:last-child {
241
            border-radius: 0 0 25px 25px !important;
242
        }
243
    }
244
}