forked from SebKrantz/shiny-data-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
144 lines (126 loc) · 3.02 KB
/
style.css
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
/*
CSS Stylesheet for the App
Learn CSS at: https://www.w3schools.com/css/
*/
/* This is the Navigation bar itself */
.navbar-default {
background-color: #262626;
margin-top: 0;
margin-bottom: 0;
border: 0;
font-size: 13px;
}
/* This regulates colour of navigation bar items and hovering effect over */
.navbar-default .navbar-nav > li > a {
color: #999999
}
.navbar-default .navbar-nav > li > a:hover {
color: #ffffff
}
/* This is the tab panel on the top bar, when selected or clicked on */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
color: #ffffff;
background: #666666;
}
/* This is the Title of the Website */
.navbar-default .navbar-brand,
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
color: #f2f2f2
}
/* Tabs in Main or side panel */
.tabbable > .nav > li > a {
background-color: transparent;
color:#0067e6;
border: 0
}
.tabbable > .nav > li[class=active] > a {
background-color: #0067e6;
color:white;
border: 0
}
/* Main Panels */
#side {
background-color: #404040;
color: #d9d9d9;
zoom: 1;
padding: 1%;
right: auto;
width: 20%;
min-height: 100%;
height: auto;
/* position: absolute; Already inserted by absolutepanel. */
overflow-y: auto;
}
#main {
padding: 1%;
left: 20%;
width: 80%;
height: 100%;
}
/* Tables */
table, td {
margin-top: 10px;
caption-side: bottom;
}
.summarytable {
margin-top: 10px;
caption-side: bottom;
white-space: nowrap;
height: 90vh;
overflow-y: auto /* scroll */
}
.indicatortable {
margin-top: 10px;
caption-side: bottom;
white-space: nowrap;
height: 90vh;
overflow-x: hidden; /* scrolling already enabled on server ... */
overflow-y: auto /*scroll */
}
#DATAtable th {
font-weight: normal;
}
/* headers */
h1, h2, h3, h4, h5, h6 {
color: #FF6600;
padding-top: 10px; /* 10px */
}
/* Text output */
.shiny-text-output {
width: 100%;
height: 90vh;
overflow-x: auto;
overflow-y: auto;
}
/* plot output: https://stackoverflow.com/questions/26782041/scaling-shiny-plots-to-window-height */
.shiny-plot-output {
height: 90vh !important;
}
/* Correct line-wrapping or radio buttons: https://stackoverflow.com/questions/25730961/bootstrap-radio-inline-line-wrapping-and-stacked-radio-buttons/25732098 */
.radio-inline+.radio-inline {
margin-left: 0;
}
.radio-inline {
margin-right: 10px;
}
/* min and max displayed on top of sliders: https://github.com/rstudio/shiny/blob/master/inst/www/shared/ionrangeslider/css/ion.rangeSlider.skinHTML5.css */
.irs--shiny .irs-min, .irs--shiny .irs-max, .irs--shiny .irs-grid-text {
color: #d9d9d9;
}
/* This is for the 'About' page: Restricting content width and styling the footer with the copyright */
.AboutContent {
max-width: 1250px;
margin: auto;
border: none;
padding: 30px;
background-size: cover;
margin-top: 0;
}
footer {
color: #999;
text-align: center;
padding: 20px;
}