bootswatch.less 1.99 KB
Newer Older
Thomas Park's avatar
Thomas Park committed
1
2
// Bootswatch.less
// Swatch: Cerulean
3
// Version: 2.0.3
Thomas Park's avatar
Thomas Park committed
4
5
// -----------------------------------------------------

Thomas Park's avatar
Thomas Park committed
6
// IMPORTS
Thomas Park's avatar
Thomas Park committed
7
8
// -----------------------------------------------------

Thomas Park's avatar
Thomas Park committed
9
@import url(https://fonts.googleapis.com/css?family=Telex);
Thomas Park's avatar
Thomas Park committed
10
11
12
13

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

Thomas Park's avatar
Thomas Park committed
14
15
16
17
18
19
20
21
.navbar {
	
	font-family: @headingsFontFamily;
	
	.navbar-inner {
		#gradient > .vertical-three-colors(@navbarBackground, @navbarBackground, 90%, @navbarBackgroundHighlight);
	}
	
22
23
24
25
	.nav li.dropdown.active > .dropdown-toggle,
	.nav li.dropdown.active.open > .dropdown-toggle {
		background-color: @navbarLinkBackgroundActive;
	}
Thomas Park's avatar
Thomas Park committed
26
27
28
29
	
	.search-query {
		border: 1px solid darken(@linkColor, 10%);
	}
Thomas Park's avatar
Thomas Park committed
30

Thomas Park's avatar
Thomas Park committed
31
32
	.nav-collapse.in > .nav > li .dropdown-menu a {
		color: @white;
Thomas Park's avatar
Thomas Park committed
33

Thomas Park's avatar
Thomas Park committed
34
35
36
37
		&:hover {
			color: @white;
		}
	}
38

Thomas Park's avatar
Thomas Park committed
39
	.nav-collapse.in .nav li > a {
40
		color: @white;
Thomas Park's avatar
Thomas Park committed
41
42
43
44

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

Thomas Park's avatar
Thomas Park committed
47
48
	.btn-navbar:hover {
	    background-color: darken(@white, 20%);
49
50
51
	}
}

Thomas Park's avatar
Thomas Park committed
52
53
div.subnav {
	font-family: @headingsFontFamily;
Thomas Park's avatar
Thomas Park committed
54
55
56
57
58
59
60
61
62
}

// 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);
Thomas Park's avatar
Thomas Park committed
63
64
65
  
  &:hover {
  	background-position: 0 0;
Thomas Park's avatar
Thomas Park committed
66
67
68
  }
}

Thomas Park's avatar
Thomas Park committed
69
.btn-primary {
Thomas Park's avatar
Thomas Park committed
70
  .buttonBackground(lighten(@btnPrimaryBackground, 5%), @btnPrimaryBackground);
Thomas Park's avatar
Thomas Park committed
71
}
Thomas Park's avatar
Thomas Park committed
72

Thomas Park's avatar
Thomas Park committed
73
74
.btn-info {
  .buttonBackground(lighten(@btnInfoBackground, 5%), @btnInfoBackground);
Thomas Park's avatar
Thomas Park committed
75
}
Thomas Park's avatar
Thomas Park committed
76

Thomas Park's avatar
Thomas Park committed
77
78
.btn-success {
  .buttonBackground(lighten(@btnSuccessBackground, 5%), @btnSuccessBackground);
Thomas Park's avatar
Thomas Park committed
79
}
Thomas Park's avatar
Thomas Park committed
80

Thomas Park's avatar
Thomas Park committed
81
82
.btn-warning {
  .buttonBackground(lighten(@btnWarningBackground, 5%), @btnWarningBackground);
Thomas Park's avatar
Thomas Park committed
83
}
Thomas Park's avatar
Thomas Park committed
84

Thomas Park's avatar
Thomas Park committed
85
86
.btn-danger {
  .buttonBackground(lighten(@btnDangerBackground, 5%), @btnDangerBackground);
Thomas Park's avatar
Thomas Park committed
87
88
}

Thomas Park's avatar
Thomas Park committed
89
.btn-inverse {
Thomas Park's avatar
Thomas Park committed
90
  .buttonBackground(lighten(@btnInverseBackground, 5%), @btnInverseBackground);
Thomas Park's avatar
Thomas Park committed
91
92
}

Thomas Park's avatar
Thomas Park committed
93
94
95
96
97
98
// ICONS
// -----------------------------------------------------

// Make icons gray
i[class^="icon-"]{
	opacity: 0.8;
Thomas Park's avatar
Thomas Park committed
99
}