summaryrefslogtreecommitdiff
path: root/cerulean/bootswatch.less
blob: 37110250326f2fb33b973fe5f2e0d52d96c2a4ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
// Bootswatch.less
// Swatch: Cerulean
// -----------------------------------------------------

// TYPOGRAPHY
// -----------------------------------------------------

@import url(http://fonts.googleapis.com/css?family=Telex);

h1,h2,h3,h4,h5,h6, .navbar, .subnav {
	font-family: 'Telex', sans-serif;
}

h1,h2,h3,h4,h5,h6 {
	color: #317EAC
}

// NAVBAR
// -----------------------------------------------------

.navbar-inner {
  #gradient > .vertical-three-colors(@navbarBackground, @navbarBackground, 90%, @navbarBackgroundHighlight);
}

.navbar .nav .active > a,
.navbar .nav .active > a:hover {
  background-color: @navbarBackground;
  background-color: rgba(0,0,0,.2);
}

.navbar .search-query {
	border: 1px solid darken(@linkColor, 10%);
}

// responsive menu colors

.navbar .nav-collapse > .nav > li .dropdown-menu a {
	color: @linkColor;
	
	&:hover {
		color: @white;
	}
}

.navbar .nav-collapse.collapse > .nav li > a {
	color: @white;
	
	&:hover {
		background-color: #2B7CAC;
	}
}

.btn-navbar:hover {
    background-color: darken(@white, 20%);
    background-position: 0 0;
}

// FORMS
// -----------------------------------------------------

// Warning
.control-group.warning {
  .formFieldState(@orange, @orange, @warningBackground);
}
// Error
.control-group.error {
  .formFieldState(@red, @red, @errorBackground);
}
// Success
.control-group.success {
  .formFieldState(darken(@green, 10%), darken(@green, 10%), @successBackground);
}

// BUTTONS
// -----------------------------------------------------

.btn {
  #gradient > .vertical-three-colors(@white, @white, 5%, darken(@white, 0%));
  @shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
  .box-shadow(@shadow);
}

.btn-warning {
  .caret {
    border-top-color: @white;
    .opacity(75);
  }
}

// Set the backgrounds
// -------------------------
.btn-primary {
  .buttonBackground(lighten(@linkColor, 5%), @linkColor);
}
// Warning appears are orange
.btn-warning {
  .buttonBackground(lighten(@orange, 5%), @orange);
}
// Danger and error appear as red
.btn-danger {
  .buttonBackground(lighten(@red, 5%), @red);
}
// Success appears as green
.btn-success {
  .buttonBackground(lighten(@green, 5%), @green);
}
// Info appears as a neutral blue
.btn-info {
  .buttonBackground(lighten(@purple, 5%), @purple);
}

// ICONS
// -----------------------------------------------------

// Make icons gray
i[class^="icon-"]{
	opacity: 0.8;
}