summaryrefslogtreecommitdiff
path: root/united/bootswatch.less
blob: fb014a1b94be0820ca698aea7f525fdd336cacf2 (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
// Bootswatch.less
// Swatch: United
// -----------------------------------------------------

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

// Ubuntu web font
@import url(http://fonts.googleapis.com/css?family=Ubuntu);

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

// Added dividers to items
.navbar .nav > li > a {
	border-right: 1px solid #C03D14;
	border-left: 1px solid #E6633A;
}

// Lightened color of active item
.navbar .nav .active > a,
.navbar .nav .active > a:hover {
  background-color: rgba(0,0,0,.2);
}

// Styled item divider
.navbar .divider-vertical {
	background-color: inherit;
	border-right: 0px solid #CE4213;
}

.navbar-search .search-query {
	border: 1px solid darken(@navbarBackground, 15%);
}

.navbar .nav-collapse > .nav > li .dropdown-menu a {
	color: @linkColor;
	
	&:hover {
		color: @white;
	}
}

.navbar .nav-collapse.collapse > .nav li > a {
	color: @white;
	border-left: 0px solid @orange;
	border-right: 0px solid @orange;
	
	&:hover {
		background-color: #2B7CAC;
	}
}

.navbar .nav-collapse .navbar-form,
.navbar .nav-collapse .navbar-search {
	border-top: 0px solid @orange;
	border-bottom: 0px solid @orange;
	.box-shadow(none);
}

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

// Reversed gradient on primary button
.btn-primary {
  .buttonBackground(lighten(@primaryButtonBackground, 15%), @primaryButtonBackground);
}

// Made warning button yellow since orange is taken
.btn-warning {
  .buttonBackground(lighten(@yellow, 15%), @yellow);
  
  .caret {
    border-top-color: @white;
    .opacity(75);
  }
}



// ALERTS
// -----------------------------------------------------

// Removed text-shadow
.alert {
	text-shadow: none !important;
}