bootswatch.less 2.24 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 {

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

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


.has-warning {
Thomas Park's avatar
Thomas Park committed
58
59
60
61
  .help-block,
  .control-label {
    color: @brand-warning;
  }
Thomas Park's avatar
Thomas Park committed
62

Thomas Park's avatar
Thomas Park committed
63
64
65
66
  .form-control,
  .form-control:focus {
    border: 1px solid @brand-warning;
  }
Thomas Park's avatar
Thomas Park committed
67
68
69
}

.has-error {
Thomas Park's avatar
Thomas Park committed
70
71
72
73
  .help-block,
  .control-label {
    color: @brand-danger;
  }
Thomas Park's avatar
Thomas Park committed
74

Thomas Park's avatar
Thomas Park committed
75
76
77
78
  .form-control,
  .form-control:focus {
    border: 1px solid @brand-danger;
  }
Thomas Park's avatar
Thomas Park committed
79
80
81
}

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

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

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

.nav-pills {

Thomas Park's avatar
Thomas Park committed
97
98
99
  & > li > a {
    border-radius: 0;
  }
Thomas Park's avatar
Thomas Park committed
100
101
102
103
}

.dropdown-menu {

Thomas Park's avatar
Thomas Park committed
104
105
106
107
  & > li > a:hover,
  & > li > a:focus {
    background-image: none;
  }
Thomas Park's avatar
Thomas Park committed
108
109
110
111
112
}

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

.alert {
Thomas Park's avatar
Thomas Park committed
113
  border: none;
Thomas Park's avatar
Thomas Park committed
114

Thomas Park's avatar
Thomas Park committed
115
116
117
118
  .alert-link {
    text-decoration: underline;
    color: #fff;
  }
Thomas Park's avatar
Thomas Park committed
119
120
121
}

.label {
Thomas Park's avatar
Thomas Park committed
122
  border-radius: 0;
Thomas Park's avatar
Thomas Park committed
123
124
125
}

.close {
Thomas Park's avatar
Thomas Park committed
126
  opacity: 1;
Thomas Park's avatar
Thomas Park committed
127
128
129
130
131
}

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

.progress {
Thomas Park's avatar
Thomas Park committed
132
133
  height: 8px;
  .box-shadow(none);
Thomas Park's avatar
Thomas Park committed
134
135
}

136
137
138
// Containers =================================================================

.panel {
Thomas Park's avatar
Thomas Park committed
139
140
141
142
143
  &-heading,
  &-footer {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
  }
144
}