bootswatch.less 2.95 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
// -----------------------------------------------------

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

Thomas Park's avatar
Thomas Park committed
9
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
Thomas Park's avatar
Thomas Park committed
10
11
12
13
14
15
16
17
18
19

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;
}

Thomas Park's avatar
Thomas Park committed
20
21
22
23
24
25
26
27
28
29
30
// SCAFFOLDING
// -----------------------------------------------------

a {
	text-decoration: underline;
}

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

Thomas Park's avatar
Thomas Park committed
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// 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
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);
}

Thomas Park's avatar
Thomas Park committed
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
// MODALS
// -----------------------------------------------------


.modal {
 	.border-radius(0px);
	background: @bodyBackground;
}

.modal-header {
	border-bottom: none;
}

.modal-header .close {
	text-decoration: none;
}

.modal-body {

}

.modal-footer {
	background: transparent;
	.box-shadow(none);
	border-top: none;
}

Thomas Park's avatar
Thomas Park committed
143
144
145
146

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

Thomas Park's avatar
Thomas Park committed
147
code, pre, pre.prettyprint, .well, .form-actions {
Thomas Park's avatar
Thomas Park committed
148
149
	background-color: @grayLighter;
}
Thomas Park's avatar
Thomas Park committed
150

Thomas Park's avatar
Thomas Park committed
151
152
153
154
155
156
.hero-unit {
    .box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
	border: 1px solid rgba(0,0,0,.05);
	.border-radius(0);
}

Thomas Park's avatar
Thomas Park committed
157
158
159
.table-bordered, .well, .prettyprint {
	.border-radius(0);
}