bootswatch.less 2.51 KB
Newer Older
Thomas Park's avatar
Thomas Park committed
1
2
// Bootswatch.less
// Swatch: Journal
Thomas Park's avatar
Thomas Park committed
3
// Version: 2.0.2
Thomas Park's avatar
Thomas Park committed
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
// -----------------------------------------------------

// SCAFFOLDING
// -----------------------------------------------------

a {
	text-decoration: underline;
}

.nav a, .navbar .brand, .subnav a, a.btn {
	text-decoration: none;
}

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

@import url('http://fonts.googleapis.com/css?family=Open+Sans:400,700');

h1, h2, h3, h4, h5, h6, .brand, .navbar, .subnav a, blockquote > p {
	font-family: 'Open Sans', sans-serif;
	color: @textColor;
}

h1, h2, h3, h4, h5, h6, .brand {
	font-weight: 700;
}

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

.navbar .brand {
	color: @navbarLinkColor;
	text-shadow: none;
	font-weight: bold;
	
	&:hover {
		background-color: #EEEEEE;
	}
}

.navbar-inner {
	border-top: 1px solid #E5E5E5;
	@shadow: 0 2px 4px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1);
	.box-shadow(@shadow);
}

Thomas Park's avatar
Thomas Park committed
50
.navbar-inner, .navbar .dropdown-menu, div.subnav, 
Thomas Park's avatar
Thomas Park committed
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
div.subnav .nav > li:first-child > a, div.subnav .nav > li:first-child > a:hover {
	.border-radius(0);
}

.navbar .nav > li > a {
	text-shadow: none;
}

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

.navbar .nav .active > a:hover,
.navbar .nav > li > a:hover,
Thomas Park's avatar
Thomas Park committed
67
.navbar .nav-collapse.in .nav li > a:hover {
Thomas Park's avatar
Thomas Park committed
68
69
70
	background-color: #EEEEEE;
}

Thomas Park's avatar
Thomas Park committed
71
72
73
74
.dropdown.open .dropdown-toggle {
	color: @textColor;
}

Thomas Park's avatar
Thomas Park committed
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
.navbar .nav .dropdown-toggle .caret,
.navbar .nav .open.dropdown .caret {
	border-top-color: @navbarLinkColor;
	opacity: 1;
}

form.navbar-form, form.navbar-search {
	border-top: 0px solid #eee;
	border-bottom: 0px solid #eee;
}

.navbar-search .search-query,
.navbar-search .search-query:hover {
	border: 1px solid @grayLighter;
	color: @textColor;
	.placeholder(@gray);
}

div.subnav {
Thomas Park's avatar
Thomas Park committed
94
	background-color: @bodyBackground;
Thomas Park's avatar
Thomas Park committed
95
96
97
98
99
	background-image: none;
	@shadow: 0 1px 2px rgba(0,0,0,.25);
	.box-shadow(@shadow);
}

Thomas Park's avatar
Thomas Park committed
100
.navbar .nav-collapse.in .nav li > a,
Thomas Park's avatar
Thomas Park committed
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
div.subnav .nav > li > a:hover,
div.subnav .nav > .active > a,
div.subnav .nav > .active > a:hover {
	color: @textColor;
	text-decoration: none;
	font-weight: normal;
}

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

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


// MISC
// -----------------------------------------------------

Thomas Park's avatar
Thomas Park committed
120
code, pre, pre.prettyprint, .well, .form-actions {
Thomas Park's avatar
Thomas Park committed
121
122
	background-color: @grayLighter;
}
Thomas Park's avatar
Thomas Park committed
123
124
125
126

.table-bordered, .well, .prettyprint {
	.border-radius(0);
}