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
44
45
// Tables =====================================================================

.table {

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

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

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

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


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

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

.has-error {
Thomas Park's avatar
Thomas Park committed
78
79
80
81
  .help-block,
  .control-label {
    color: @brand-danger;
  }
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-danger;
  }
Thomas Park's avatar
Thomas Park committed
87
88
89
}

.has-success {
Thomas Park's avatar
Thomas Park committed
90
91
92
93
  .help-block,
  .control-label {
    color: @brand-success;
  }
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-success;
  }
Thomas Park's avatar
Thomas Park committed
99
100
101
102
103
104
}

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

.nav-pills {

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

.dropdown-menu {

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

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

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

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

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

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

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

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

144
145
146
// Containers =================================================================

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