forked from projectcalico/calico
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
155 lines (131 loc) · 3.15 KB
/
style.scss
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
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
143
144
145
146
147
148
149
150
151
152
153
154
155
---
---
@import "../css/variables";
@import "../_sass/bootstrap/bootstrap";
@import "../css/sidebar";
// By default bootstrap doesn't apply many styles to table elements
// unless they have class .table and .table-bordered
// These lines here extend the table so it automatically gets those
// stylings and look like real tables without having to add
// that class to everything.
#content-main {
table {
@extend .table;
@extend .table-bordered;
}
img {
@extend .img-responsive;
}
}
// Default blockquotes are too big in Bootstrap.
// Shrink them down
blockquote {
font-size: inherit;
}
// Set height to prevent weird bug where sidebar is clipped at bottom.
html {
height: 100%;
}
body {
height: 100%;
-webkit-overflow-scrolling: touch;
}
h2,h3,h4,h5,h6 {
margin-top: 30px;
}
pre code {
white-space: pre;
}
div.alert-warning {
background-color: #FFFF7E;
color: #C7254E;
}
div.highlight {
position: relative;
}
// copy btn style
.btn-copy-code {
color: #FF7E00;
border: 0;
font-size: 16px;
position: absolute;
right: 10px;
&:hover {
cursor: pointer;
}
}
#toplevel-nav {
-webkit-box-shadow: 0px 0px 8px 1px #666;
-moz-box-shadow: 0px 0px 8px 1px #666;
box-shadow: 0px 0px 8px 1px #666;
}
// Fix conflicts between bootstrap theme and custom search theme.
.reset-box-sizing, .reset-box-sizing *, .reset-box-sizing *:before, .reset-box-sizing *:after, .gsc-inline-block {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
input.gsc-input, .gsc-input-box, .gsc-input-box-hover, .gsc-input-box-focus, .gsc-search-button {
box-sizing: content-box;
line-height: normal;
}
#tigera-navbar ul.nav li a {
@media (max-width: $screen-sm-min) {
padding: 10px 0;
}
@media (min-width: $screen-xs-max) {
padding: 0 0;
}
}
// BREADCRUMBS
.breadcrumb {
display: inline-block;
background: none;
border: none;
margin: 0;
padding: 0;
text-transform: capitalize;
}
// Submenu Navigation for Desktop
#tigera-navbar ul.nav li ul {
position: absolute;
display: none;
margin-top: 20px;
margin-left: -10px !important;
background: #004078;
z-index: 1000;
}
@media screen and (min-width: 999px) {
#tigera-navbar ul.nav {
li {
height: 44px;
ul {
margin: 24px 0 0 0;
padding: 0;
li {
min-height: 24px !important;
display: block;
padding: 8px 18px 8px 10px;
overflow: hidden;
width: 200px;
margin: 0;
border-top: 1px dashed #999;
a {
color: #fff;
font-size: 14px;
}
a:hover {
color: $navbar-default-link-hover-color !important;
text-decoration: none;
}
}
li:first-child {
border-top: none;
}
}
}
li:hover ul {
display: block;
}
}
}