summaryrefslogtreecommitdiff
path: root/cerulean/bootswatch.less
blob: c552dcfe8f5330803766f0e609f9ad935bc6132d (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
// Bootswatch.less
// Swatch: Cerulean
// Version: 2.0.4
// -----------------------------------------------------

// IMPORTS
// -----------------------------------------------------

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

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

.navbar {

	font-family: @headingsFontFamily;

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

	.nav li.dropdown.active > .dropdown-toggle,
	.nav li.dropdown.active.open > .dropdown-toggle {
		background-color: @navbarLinkBackgroundActive;
	}

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

	.nav-collapse.in > .nav > li .dropdown-menu a {
		color: @white;

		&:hover {
			color: @white;
		}
	}

	.nav-collapse.in .nav li > a {
		color: @white;

		&:hover {
			background-color: #2B7CAC;
		}
	}

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

div.subnav {
	font-family: @headingsFontFamily;
}

// 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);

  &:hover {
  	background-position: 0 0;
  }
}

.btn-primary {
  .buttonBackground(lighten(@btnPrimaryBackground, 5%), @btnPrimaryBackground);
}

.btn-info {
  .buttonBackground(lighten(@btnInfoBackground, 5%), @btnInfoBackground);
}

.btn-success {
  .buttonBackground(lighten(@btnSuccessBackground, 5%), @btnSuccessBackground);
}

.btn-warning {
  .buttonBackground(lighten(@btnWarningBackground, 5%), @btnWarningBackground);
}

.btn-danger {
  .buttonBackground(lighten(@btnDangerBackground, 5%), @btnDangerBackground);
}

.btn-inverse {
  .buttonBackground(lighten(@btnInverseBackground, 5%), @btnInverseBackground);
}

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

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