ga_additional.css
280 lines
| 1 | @-ms-viewport { |
| 2 | width: device-width; |
| 3 | } |
| 4 | |
| 5 | .ga-table { |
| 6 | border-collapse: collapse; |
| 7 | border-spacing: 0; |
| 8 | background-color: transparent; |
| 9 | width: 100%; |
| 10 | max-width: 100%; |
| 11 | margin-bottom: 20px; |
| 12 | border: 1px solid #dddddd; |
| 13 | } |
| 14 | |
| 15 | .ga-table > tbody > tr > th, |
| 16 | .ga-table > tbody > tr > td { |
| 17 | padding: 8px; |
| 18 | line-height: 1.42857143; |
| 19 | vertical-align: top; |
| 20 | border: 1px solid #dddddd; |
| 21 | } |
| 22 | |
| 23 | .ga-table col[class*="col-"] { |
| 24 | position: static; |
| 25 | float: none; |
| 26 | display: table-column; |
| 27 | } |
| 28 | |
| 29 | .ga-table td[class*="col-"], |
| 30 | .ga-table th[class*="col-"] { |
| 31 | position: static; |
| 32 | float: none; |
| 33 | display: table-cell; |
| 34 | } |
| 35 | |
| 36 | .progress { |
| 37 | overflow: hidden; |
| 38 | height: 20px; |
| 39 | margin-bottom: 20px; |
| 40 | background-color: #f5f5f5; |
| 41 | border-radius: 4px; |
| 42 | -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); |
| 43 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); |
| 44 | } |
| 45 | |
| 46 | .progress-bar { |
| 47 | float: left; |
| 48 | width: 0%; |
| 49 | height: 100%; |
| 50 | font-size: 12px; |
| 51 | line-height: 20px; |
| 52 | color: #ffffff; |
| 53 | text-align: center; |
| 54 | background-color: #337ab7; |
| 55 | -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); |
| 56 | box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); |
| 57 | -webkit-transition: width 0.6s ease; |
| 58 | -o-transition: width 0.6s ease; |
| 59 | transition: width 0.6s ease; |
| 60 | } |
| 61 | |
| 62 | .progress.active .progress-bar, |
| 63 | .progress-bar.active { |
| 64 | -webkit-animation: progress-bar-stripes 2s linear infinite; |
| 65 | -o-animation: progress-bar-stripes 2s linear infinite; |
| 66 | animation: progress-bar-stripes 2s linear infinite; |
| 67 | } |
| 68 | |
| 69 | .ga-panel { |
| 70 | margin-bottom: 20px; |
| 71 | background-color: #ffffff; |
| 72 | border: 1px solid transparent; |
| 73 | border-radius: 4px; |
| 74 | -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); |
| 75 | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); |
| 76 | } |
| 77 | |
| 78 | .ga-panel-body { |
| 79 | padding: 15px; |
| 80 | } |
| 81 | |
| 82 | .ga-panel-heading { |
| 83 | padding: 10px 15px; |
| 84 | border-bottom: 1px solid transparent; |
| 85 | border-top-right-radius: 3px; |
| 86 | border-top-left-radius: 3px; |
| 87 | } |
| 88 | |
| 89 | .ga-panel-heading > .dropdown .dropdown-toggle { |
| 90 | color: inherit; |
| 91 | } |
| 92 | |
| 93 | .ga-panel-heading > strong { |
| 94 | font-weight: bold; |
| 95 | } |
| 96 | |
| 97 | .ga-panel > .ga-panel-heading + .ga-panel-collapse > .list-group .list-group-item:first-child { |
| 98 | border-top-right-radius: 0; |
| 99 | border-top-left-radius: 0; |
| 100 | } |
| 101 | |
| 102 | .ga-panel > .ga-table { |
| 103 | margin-bottom: 0; |
| 104 | } |
| 105 | |
| 106 | .ga-panel > .ga-table:first-child { |
| 107 | border-top-right-radius: 3px; |
| 108 | border-top-left-radius: 3px; |
| 109 | } |
| 110 | |
| 111 | .ga-panel > .ga-table:first-child > tbody:first-child > tr:first-child { |
| 112 | border-top-left-radius: 3px; |
| 113 | border-top-right-radius: 3px; |
| 114 | } |
| 115 | |
| 116 | .ga-panel > .ga-table:first-child > tbody:first-child > tr:first-child td:first-child { |
| 117 | border-top-left-radius: 3px; |
| 118 | border-top-right-radius: 3px; |
| 119 | } |
| 120 | |
| 121 | .ga-panel > .ga-table:last-child { |
| 122 | border-bottom-right-radius: 3px; |
| 123 | border-bottom-left-radius: 3px; |
| 124 | } |
| 125 | |
| 126 | .ga-panel > .ga-table:last-child > tbody:last-child > tr:last-child { |
| 127 | border-bottom-left-radius: 3px; |
| 128 | border-bottom-right-radius: 3px; |
| 129 | } |
| 130 | |
| 131 | .ga-panel > .ga-table:last-child > tbody:last-child > tr:last-child td:first-child, |
| 132 | .ga-panel > .ga-table:last-child > tbody:last-child > tr:last-child th:first-child { |
| 133 | border-bottom-left-radius: 3px; |
| 134 | border-bottom-right-radius: 3px; |
| 135 | } |
| 136 | |
| 137 | .ga-panel > .ga-panel-body + .ga-table, |
| 138 | .ga-panel > .ga-table + .ga-panel-body { |
| 139 | border-top: 1px solid #dddddd; |
| 140 | } |
| 141 | |
| 142 | .ga-panel > .ga-table > tbody:first-child > tr:first-child th, |
| 143 | .ga-panel > .ga-table > tbody:first-child > tr:first-child td { |
| 144 | border-top: 0; |
| 145 | } |
| 146 | |
| 147 | .ga-panel > .ga-table { |
| 148 | border: 0; |
| 149 | } |
| 150 | |
| 151 | .ga-panel-default { |
| 152 | border-color: #dddddd; |
| 153 | } |
| 154 | |
| 155 | .ga-panel-default > .ga-panel-heading { |
| 156 | color: #333333; |
| 157 | background-color: #dcdcdc; |
| 158 | border-color: #dddddd; |
| 159 | } |
| 160 | |
| 161 | .ga-col-pageviews, .ga-box, .ga-col-progressbar { |
| 162 | position: relative; |
| 163 | min-height: 1px; |
| 164 | padding-left: 15px; |
| 165 | padding-right: 15px; |
| 166 | } |
| 167 | |
| 168 | .ga-col-name { |
| 169 | width: 20%; |
| 170 | overflow: hidden; |
| 171 | text-overflow: ellipsis; |
| 172 | word-wrap: break-word; |
| 173 | } |
| 174 | |
| 175 | .ga-row:before, |
| 176 | .ga-row:after, |
| 177 | .ga-panel-body:before, |
| 178 | .ga-panel-body:after { |
| 179 | content: " "; |
| 180 | display: table; |
| 181 | } |
| 182 | |
| 183 | .ga-row:after, |
| 184 | .ga-panel-body:after { |
| 185 | clear: both; |
| 186 | } |
| 187 | |
| 188 | .ga-row { |
| 189 | margin-left: -15px; |
| 190 | margin-right: -15px; |
| 191 | } |
| 192 | |
| 193 | .ga-col-pageviews, .ga-box, .ga-col-progressbar { |
| 194 | float: left; |
| 195 | } |
| 196 | |
| 197 | .ga-col-pageviews { |
| 198 | width: 16.66666667%; |
| 199 | } |
| 200 | |
| 201 | .ga-col-progressbar { |
| 202 | width: 41.66666667%; |
| 203 | } |
| 204 | |
| 205 | .ga-box-diff { |
| 206 | font-size: 16px; |
| 207 | } |
| 208 | |
| 209 | .ga-box-comparison { |
| 210 | color: grey; |
| 211 | font-size: 12px; |
| 212 | overflow: hidden; |
| 213 | text-overflow: ellipsis; |
| 214 | white-space: nowrap; |
| 215 | } |
| 216 | |
| 217 | .ga-box-label { |
| 218 | font-size: 14px; |
| 219 | overflow: hidden; |
| 220 | text-overflow: ellipsis; |
| 221 | white-space: nowrap; |
| 222 | } |
| 223 | |
| 224 | .ga-box { |
| 225 | width: 140px; |
| 226 | box-sizing: border-box; |
| 227 | } |
| 228 | |
| 229 | @media (min-width: 600px) { |
| 230 | .ga-box { |
| 231 | width: 25%; |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | @media (min-width: 760px) { |
| 236 | .ga-box-diff { |
| 237 | font-size: 24px; |
| 238 | } |
| 239 | |
| 240 | .ga-box-comparison { |
| 241 | font-size: 16px |
| 242 | } |
| 243 | |
| 244 | .ga-box-label { |
| 245 | font-size: 16px |
| 246 | } |
| 247 | |
| 248 | } |
| 249 | |
| 250 | @media screen and (orientation: portrait) and (-webkit-device-pixel-ratio: 3) { |
| 251 | .ga-col-name { |
| 252 | max-width: 100px; |
| 253 | } |
| 254 | |
| 255 | .ga-chart { |
| 256 | width: 300px; |
| 257 | overflow: hidden; |
| 258 | text-overflow: ellipsis; |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | .ga-source-name { |
| 263 | color: #337ab7; |
| 264 | text-decoration: none; |
| 265 | word-wrap: break-word; |
| 266 | } |
| 267 | |
| 268 | .ga-alert { |
| 269 | padding: 15px; |
| 270 | margin-bottom: 20px; |
| 271 | border: 1px solid transparent; |
| 272 | border-radius: 4px; |
| 273 | } |
| 274 | |
| 275 | .ga-alert-warning { |
| 276 | color: #8a6d3b; |
| 277 | background-color: #fcf8e3; |
| 278 | border-color: #faebcc; |
| 279 | max-width: 95%; |
| 280 | } |