bootswatch.less 2.23 KB
Newer Older
Thomas Park's avatar
Thomas Park committed
1
// Cosmo 3.1.0
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
48
49
50
  tr.success,
  tr.warning,
  tr.danger {
    color: #fff;
  }
Thomas Park's avatar
Thomas Park committed
51
52
53
54
55
56
}

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


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

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

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

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

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

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

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

.nav-pills {

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

.dropdown-menu {

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

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

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

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

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

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

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

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

135
136
137
// Containers =================================================================

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