bootswatch.less 2.94 KB
Newer Older
Thomas Park's avatar
Thomas Park committed
1
// Cosmo 3.3.0
Thomas Park's avatar
Thomas Park committed
2
3
4
// Bootswatch
// -----------------------------------------------------

5
@import url("//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700");
Thomas Park's avatar
Thomas Park committed
6
7
8

// Navbar =====================================================================

9
10
11
12
13
14
15
16
17
18
19
.navbar {

  &-inverse {

    .badge {
      background-color: #fff;
      color: @brand-primary;
    }
  }
}

Thomas Park's avatar
Thomas Park committed
20
21
22
23
// Buttons ====================================================================

// Typography =================================================================

24
25
26
27
body {
  -webkit-font-smoothing: antialiased;
}

28
29
.text-primary,
.text-primary:hover {
Thomas Park's avatar
Thomas Park committed
30
  color: @brand-primary;
Thomas Park's avatar
Thomas Park committed
31
32
}

33
34
.text-success,
.text-success:hover {
Thomas Park's avatar
Thomas Park committed
35
  color: @brand-success;
Thomas Park's avatar
Thomas Park committed
36
37
}

38
39
.text-danger,
.text-danger:hover {
Thomas Park's avatar
Thomas Park committed
40
  color: @brand-danger;
Thomas Park's avatar
Thomas Park committed
41
42
}

43
44
.text-warning,
.text-warning:hover {
Thomas Park's avatar
Thomas Park committed
45
  color: @brand-warning;
Thomas Park's avatar
Thomas Park committed
46
47
}

48
49
.text-info,
.text-info:hover {
Thomas Park's avatar
Thomas Park committed
50
  color: @brand-info;
51
52
}

Thomas Park's avatar
Thomas Park committed
53
54
// Tables =====================================================================

Thomas Park's avatar
Thomas Park committed
55
table,
Thomas Park's avatar
Thomas Park committed
56
57
.table {

58
  a:not(.btn): {
59
60
61
    text-decoration: underline;
  }

62
63
64
65
  .dropdown-menu a {
    text-decoration: none;
  }

Thomas Park's avatar
Thomas Park committed
66
67
68
69
  .success,
  .warning,
  .danger,
  .info {
Thomas Park's avatar
Thomas Park committed
70
    color: #fff;
71
72
73
74

    a {
      color: #fff;
    }
Thomas Park's avatar
Thomas Park committed
75
  }
Thomas Park's avatar
Thomas Park committed
76
77
78
79
80
81
}

// Forms ======================================================================


.has-warning {
Thomas Park's avatar
Thomas Park committed
82
  .help-block,
83
84
  .control-label,
  .form-control-feedback {
Thomas Park's avatar
Thomas Park committed
85
86
    color: @brand-warning;
  }
Thomas Park's avatar
Thomas Park committed
87

Thomas Park's avatar
Thomas Park committed
88
  .form-control,
89
90
  .form-control:focus,
  .input-group-addon {
Thomas Park's avatar
Thomas Park committed
91
92
    border: 1px solid @brand-warning;
  }
Thomas Park's avatar
Thomas Park committed
93
94
95
}

.has-error {
Thomas Park's avatar
Thomas Park committed
96
  .help-block,
97
98
  .control-label,
  .form-control-feedback {
Thomas Park's avatar
Thomas Park committed
99
100
    color: @brand-danger;
  }
Thomas Park's avatar
Thomas Park committed
101

Thomas Park's avatar
Thomas Park committed
102
  .form-control,
103
104
  .form-control:focus,
  .input-group-addon {
Thomas Park's avatar
Thomas Park committed
105
106
    border: 1px solid @brand-danger;
  }
Thomas Park's avatar
Thomas Park committed
107
108
109
}

.has-success {
Thomas Park's avatar
Thomas Park committed
110
  .help-block,
111
112
  .control-label,
  .form-control-feedback {
Thomas Park's avatar
Thomas Park committed
113
114
    color: @brand-success;
  }
Thomas Park's avatar
Thomas Park committed
115

Thomas Park's avatar
Thomas Park committed
116
  .form-control,
117
118
  .form-control:focus,
  .input-group-addon {
Thomas Park's avatar
Thomas Park committed
119
120
    border: 1px solid @brand-success;
  }
Thomas Park's avatar
Thomas Park committed
121
122
123
124
125
126
}

// Navs =======================================================================

.nav-pills {

Thomas Park's avatar
Thomas Park committed
127
128
129
  & > li > a {
    border-radius: 0;
  }
Thomas Park's avatar
Thomas Park committed
130
131
132
133
}

.dropdown-menu {

Thomas Park's avatar
Thomas Park committed
134
135
136
137
  & > li > a:hover,
  & > li > a:focus {
    background-image: none;
  }
Thomas Park's avatar
Thomas Park committed
138
139
140
141
}

// Indicators =================================================================

142
143
.close {
  text-decoration: none;
144
  text-shadow: none;
145
  opacity: 0.4;
146

147
148
149
  &:hover,
  &:focus {
    opacity: 1;
150
  }
Thomas Park's avatar
Thomas Park committed
151
152
}

153
154
155
156
157
158
159
160
161
.alert {
  border: none;

  .alert-link {
    text-decoration: underline;
    color: #fff;
  }
}

Thomas Park's avatar
Thomas Park committed
162
.label {
Thomas Park's avatar
Thomas Park committed
163
  border-radius: 0;
Thomas Park's avatar
Thomas Park committed
164
165
166
167
168
}

// Progress bars ==============================================================

.progress {
Thomas Park's avatar
Thomas Park committed
169
170
  height: 8px;
  .box-shadow(none);
171
172
173
174
  .progress-bar {
    font-size: 8px;
    line-height: 8px;
  }
Thomas Park's avatar
Thomas Park committed
175
176
}

177
178
179
// Containers =================================================================

.panel {
Thomas Park's avatar
Thomas Park committed
180
181
182
183
184
  &-heading,
  &-footer {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
  }
185
186
187
188
189
190
191
192
193

  &-default {
    .close {
      color: @text-color;
    }
  }
}

.modal {
194
195
  .close {
    color: @text-color;
196
  }
197
}
198
199
200
201

.popover {
  color: @text-color;
}