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

Thomas Park's avatar
Thomas Park committed
11
12
13
14
15
16
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 {
Thomas Park's avatar
Thomas Park committed
17
18
19
	font-weight: 700;
}

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

a {
	text-decoration: underline;
}

Thomas Park's avatar
Thomas Park committed
27
.nav a, .navbar .brand, .subnav a, a.btn {
Thomas Park's avatar
Thomas Park committed
28
29
30
	text-decoration: none;
}

Thomas Park's avatar
Thomas Park committed
31
32
33
// NAVBAR
// -----------------------------------------------------

Thomas Park's avatar
Thomas Park committed
34
35
36
37
.navbar .brand {
	color: @navbarLinkColor;
	text-shadow: none;
	font-weight: bold;
Thomas Park's avatar
Thomas Park committed
38
	
Thomas Park's avatar
Thomas Park committed
39
40
	&:hover {
		background-color: #EEEEEE;
Thomas Park's avatar
Thomas Park committed
41
	}
Thomas Park's avatar
Thomas Park committed
42
}
Thomas Park's avatar
Thomas Park committed
43

Thomas Park's avatar
Thomas Park committed
44
45
46
47
48
.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
49

Thomas Park's avatar
Thomas Park committed
50
51
52
53
.navbar-inner, .navbar .dropdown-menu, div.subnav, 
div.subnav .nav > li:first-child > a, div.subnav .nav > li:first-child > a:hover {
	.border-radius(0);
}
Thomas Park's avatar
Thomas Park committed
54

Thomas Park's avatar
Thomas Park committed
55
56
57
.navbar .nav > li > a {
	text-shadow: none;
}
Thomas Park's avatar
Thomas Park committed
58

Thomas Park's avatar
Thomas Park committed
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
.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,
.navbar .nav-collapse.in .nav li > a:hover {
	background-color: #EEEEEE;
}

.dropdown.open .dropdown-toggle {
	color: @textColor;
}

.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);
Thomas Park's avatar
Thomas Park committed
91
92
93
}

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

Thomas Park's avatar
Thomas Park committed
100
101
102
103
104
105
106
.navbar .nav-collapse.in .nav li > a,
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;
Thomas Park's avatar
Thomas Park committed
107
108
109
110
111
112
113
114
115
}

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

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

Thomas Park's avatar
Thomas Park committed
116
117
118
// MODALS
// -----------------------------------------------------

Thomas Park's avatar
Thomas Park committed
119

Thomas Park's avatar
Thomas Park committed
120
121
122
123
124
125
126
127
128
129
130
131
132
.modal {
 	.border-radius(0px);
	background: @bodyBackground;
}

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

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

Thomas Park's avatar
Thomas Park committed
133
134
135
136
.modal-body {

}

Thomas Park's avatar
Thomas Park committed
137
138
139
140
141
142
.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);
}