bootswatch.less 2.6 KB
Newer Older
Thomas Park's avatar
Thomas Park committed
1
// Cosmo 3.1.1
Thomas Park's avatar
Thomas Park committed
2
3
4
5
6
7
8
// Bootswatch
// -----------------------------------------------------

@import url("//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700");

// 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
// Buttons ====================================================================

.btn {
Thomas Park's avatar
Thomas Park committed
23
  border: none;
Thomas Park's avatar
Thomas Park committed
24
25
26
27
}

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

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
59
60
61
  a {
    text-decoration: underline;
  }

Thomas Park's avatar
Thomas Park committed
62
63
64
65
  .success,
  .warning,
  .danger,
  .info {
Thomas Park's avatar
Thomas Park committed
66
    color: #fff;
67
68
69
70

    a {
      color: #fff;
    }
Thomas Park's avatar
Thomas Park committed
71
  }
Thomas Park's avatar
Thomas Park committed
72
73
74
75
76
77
}

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


.has-warning {
Thomas Park's avatar
Thomas Park committed
78
79
80
81
  .help-block,
  .control-label {
    color: @brand-warning;
  }
Thomas Park's avatar
Thomas Park committed
82

Thomas Park's avatar
Thomas Park committed
83
84
85
86
  .form-control,
  .form-control:focus {
    border: 1px solid @brand-warning;
  }
Thomas Park's avatar
Thomas Park committed
87
88
89
}

.has-error {
Thomas Park's avatar
Thomas Park committed
90
91
92
93
  .help-block,
  .control-label {
    color: @brand-danger;
  }
Thomas Park's avatar
Thomas Park committed
94

Thomas Park's avatar
Thomas Park committed
95
96
97
98
  .form-control,
  .form-control:focus {
    border: 1px solid @brand-danger;
  }
Thomas Park's avatar
Thomas Park committed
99
100
101
}

.has-success {
Thomas Park's avatar
Thomas Park committed
102
103
104
105
  .help-block,
  .control-label {
    color: @brand-success;
  }
Thomas Park's avatar
Thomas Park committed
106

Thomas Park's avatar
Thomas Park committed
107
108
109
110
  .form-control,
  .form-control:focus {
    border: 1px solid @brand-success;
  }
Thomas Park's avatar
Thomas Park committed
111
112
113
114
115
116
}

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

.nav-pills {

Thomas Park's avatar
Thomas Park committed
117
118
119
  & > li > a {
    border-radius: 0;
  }
Thomas Park's avatar
Thomas Park committed
120
121
122
123
}

.dropdown-menu {

Thomas Park's avatar
Thomas Park committed
124
125
126
127
  & > li > a:hover,
  & > li > a:focus {
    background-image: none;
  }
Thomas Park's avatar
Thomas Park committed
128
129
130
131
132
}

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

.alert {
Thomas Park's avatar
Thomas Park committed
133
  border: none;
Thomas Park's avatar
Thomas Park committed
134

Thomas Park's avatar
Thomas Park committed
135
136
137
138
  .alert-link {
    text-decoration: underline;
    color: #fff;
  }
139
140
141
142
143
144
145
146
147
148
149
150

  .close {
    color: #fff;
    text-decoration: none;
    opacity: 0.4;

    &:hover,
    &:focus {
      color: #fff;
      opacity: 1;
    }
  }
Thomas Park's avatar
Thomas Park committed
151
152
153
}

.label {
Thomas Park's avatar
Thomas Park committed
154
  border-radius: 0;
Thomas Park's avatar
Thomas Park committed
155
156
157
158
159
}

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

.progress {
Thomas Park's avatar
Thomas Park committed
160
161
  height: 8px;
  .box-shadow(none);
162
163
164
165
  .progress-bar {
    font-size: 8px;
    line-height: 8px;
  }
Thomas Park's avatar
Thomas Park committed
166
167
}

168
169
170
// Containers =================================================================

.panel {
Thomas Park's avatar
Thomas Park committed
171
172
173
174
175
  &-heading,
  &-footer {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
  }
176
}