bootswatch.less 1.97 KB
Newer Older
Thomas Park's avatar
Thomas Park committed
1
2
// Bootswatch.less
// Swatch: Cerulean
Thomas Park's avatar
Thomas Park committed
3
// Version: 2.0.2
Thomas Park's avatar
Thomas Park committed
4
5
6
7
8
// -----------------------------------------------------

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

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

Thomas Park's avatar
Thomas Park committed
11
12
.navbar, .subnav {
	font-family: @headingsFontFamily;
Thomas Park's avatar
Thomas Park committed
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
}

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

32
33
// responsive menu colors

Thomas Park's avatar
Thomas Park committed
34
35
.navbar .nav-collapse.in > .nav > li .dropdown-menu a {
	color: @white;
36
37
38
39
40
41
	
	&:hover {
		color: @white;
	}
}

Thomas Park's avatar
Thomas Park committed
42
.navbar .nav-collapse.in .nav li > a {
43
44
45
46
47
48
49
50
51
	color: @white;
	
	&:hover {
		background-color: #2B7CAC;
	}
}

.btn-navbar:hover {
    background-color: darken(@white, 20%);
Thomas Park's avatar
Thomas Park committed
52
53
54
55
56
57
58
59
60
}

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

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

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

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

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

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

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

Thomas Park's avatar
Thomas Park committed
91
92
93
94
95
96
// ICONS
// -----------------------------------------------------

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