/
ggvis.css
129 lines (118 loc) · 2.32 KB
/
ggvis.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
.vega {
-webkit-user-select: none;
}
.plots>div {
float: left;
}
/* Containers for plots shouldn't allow overflow */
.ggvis-output-container {
overflow: hidden;
/* So that gear can be positioned absolutely inside. */
position: relative;
}
/* Outline box when resizing a plot */
.ui-resizable-helper {
border: 1px dotted #999;
}
/* Tooltip box */
.ggvis-tooltip {
position: absolute;
float: left;
border-radius: 3px;
border: 1px solid #999;
padding: 5px;
opacity: 0.85;
background-color: #fff;
box-shadow: 2px 2px 6px #888888;
}
/* Sidebar that goes to the bottom on small devices */
.sidebar-bottom {
float:left;
margin-left:0;
}
/* Main content that goes to top on small devices */
.main-top {
float:right !important;
margin-left:auto;
}
@media (max-width: 767px) {
/* Bootstrap-responsive adds padding, but we don't want it */
body {
padding-right: 0px;
padding-left: 0px;
}
.sidebar-bottom {
display: inline-block;
width: 100%;
}
.main-top {
float:none !important;
margin-left:0;
}
.ggvis-input-container {
width: 45%;
padding-left: 2.5%;
padding-right: 2.5%;
float: left;
}
}
/* For items in a dropdown menu that aren't links, make sure they display
same as links. */
.ggvis-dropdown-menu .ggvis-dropdown-item {
display: block;
padding: 3px 20px;
clear: both;
font-weight: normal;
line-height: 20px;
color: #333;
white-space: nowrap;
}
/* For the gear icon on the right of the plot */
.plot-gear-icon {
position: absolute;
width: 15px;
height: 15px;
top: 0px;
right: 5px;
}
nav.ggvis-control {
position: relative;
float: right;
}
a.ggvis-dropdown-toggle {
background: url(gear.png) no-repeat;
background-size: 14px;
width: 14px;
height: 14px;
opacity: 0.3;
padding-left: 14px;
cursor: pointer;
}
ul.ggvis-dropdown {
display: none;
text-align: right;
position: absolute;
margin-top: .5em;
border-radius: 3px;
border: 1px solid #999;
padding: 4px;
opacity: 0.85;
background-color: #fff;
box-shadow: 2px 2px 6px #888888;
width: 200px;
margin-left: -200px;
}
ul.ggvis-dropdown li {
list-style-type: none;
padding: 5px 2px;
}
ul.ggvis-dropdown li a {
color: #00f;
text-decoration: none;
padding: 2px 2px;
cursor: pointer;
}
ul.ggvis-dropdown li a.inactive {
color: black;
cursor: initial;
}