bootswatch.less 2.31 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
9
10
11
// Bootswatch
// -----------------------------------------------------

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

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

// Buttons ====================================================================

.btn {
Thomas Park's avatar
Thomas Park committed
12
  border: none;
Thomas Park's avatar
Thomas Park committed
13
14
15
16
}

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

17
18
.text-primary,
.text-primary:hover {
Thomas Park's avatar
Thomas Park committed
19
  color: @brand-primary;
Thomas Park's avatar
Thomas Park committed
20
21
}

22
23
.text-success,
.text-success:hover {
Thomas Park's avatar
Thomas Park committed
24
  color: @brand-success;
Thomas Park's avatar
Thomas Park committed
25
26
}

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

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

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

Thomas Park's avatar
Thomas Park committed
42
43
// Tables =====================================================================

Thomas Park's avatar
Thomas Park committed
44
table,
Thomas Park's avatar
Thomas Park committed
45
46
.table {

47
48
49
50
  a {
    text-decoration: underline;
  }

Thomas Park's avatar
Thomas Park committed
51
52
53
54
  .success,
  .warning,
  .danger,
  .info {
Thomas Park's avatar
Thomas Park committed
55
    color: #fff;
56
57
58
59

    a {
      color: #fff;
    }
Thomas Park's avatar
Thomas Park committed
60
  }
Thomas Park's avatar
Thomas Park committed
61
62
63
64
65
66
}

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


.has-warning {
Thomas Park's avatar
Thomas Park committed
67
68
69
70
  .help-block,
  .control-label {
    color: @brand-warning;
  }
Thomas Park's avatar
Thomas Park committed
71

Thomas Park's avatar
Thomas Park committed
72
73
74
75
  .form-control,
  .form-control:focus {
    border: 1px solid @brand-warning;
  }
Thomas Park's avatar
Thomas Park committed
76
77
78
}

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

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

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

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

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

.nav-pills {

Thomas Park's avatar
Thomas Park committed
106
107
108
  & > li > a {
    border-radius: 0;
  }
Thomas Park's avatar
Thomas Park committed
109
110
111
112
}

.dropdown-menu {

Thomas Park's avatar
Thomas Park committed
113
114
115
116
  & > li > a:hover,
  & > li > a:focus {
    background-image: none;
  }
Thomas Park's avatar
Thomas Park committed
117
118
119
120
121
}

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

.alert {
Thomas Park's avatar
Thomas Park committed
122
  border: none;
Thomas Park's avatar
Thomas Park committed
123

Thomas Park's avatar
Thomas Park committed
124
125
126
127
  .alert-link {
    text-decoration: underline;
    color: #fff;
  }
Thomas Park's avatar
Thomas Park committed
128
129
130
}

.label {
Thomas Park's avatar
Thomas Park committed
131
  border-radius: 0;
Thomas Park's avatar
Thomas Park committed
132
133
134
}

.close {
Thomas Park's avatar
Thomas Park committed
135
  opacity: 1;
Thomas Park's avatar
Thomas Park committed
136
137
138
139
140
}

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

.progress {
Thomas Park's avatar
Thomas Park committed
141
142
  height: 8px;
  .box-shadow(none);
Thomas Park's avatar
Thomas Park committed
143
144
}

145
146
147
// Containers =================================================================

.panel {
Thomas Park's avatar
Thomas Park committed
148
149
150
151
152
  &-heading,
  &-footer {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
  }
153
}