summaryrefslogtreecommitdiff
path: root/simplex/bootswatch.less
blob: c882bd65d1681b9daa1da6a8027b9e3fa943eade (plain)
1
2
3
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
50
51
52
53
54
55
56
57
58
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
// Bootswatch.less
// Swatch: Simplex
// -----------------------------------------------------

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

// Make headers black
h1, h2, h3, h4, h5, h6 {
	color: @black;
}

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

// Gray text color
.navbar .brand, .subnav a {
	color: @navbarText;
}

// Make active item white
.navbar .nav .active > a,
.navbar .nav .active > a:hover {
	background-color: @grayDarker;
	color: @white;
}

// Remove text-shadow and make white on hover
.navbar .nav > li > a {
	text-shadow: none;
	&:hover {
		color: @white;
		background-color: rgba(256, 256, 256, 0.2);
	}
}

// Remove menu item dividers on subnav
.subnav .nav > li > a {
	border-left: 0px solid white !important;
	border-right: 0px solid white !important;
	color: @grayDark;
}

// FORMS
// -----------------------------------------------------

// Style search input 
.search-query {
	border: 1px solid #CCC;
	.border-radius(2px);
	background-color: @white;
}

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

// Make buttons boxier and flatter
.btn {
  .border-radius(2px);
  #gradient > .vertical-three-colors(@white, @white, 25%, darken(@white, 10%));
}

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

.btn-warning {
  .buttonBackground(lighten(@orange, 5%), @orange);
}

.btn-danger {
  .buttonBackground(lighten(@red, 5%), @red);
}

.btn-success {
  .buttonBackground(lighten(@green, 5%), @green);
}

.btn-info {
  .buttonBackground(lighten(#5bc0de, 5%), #5bc0de);
}

// ICONS
// -----------------------------------------------------

// Make icons gray
i[class^="icon-"]{
	opacity: 0.6;
}