main.css 8.44 KB
Newer Older
joshiste committed
1
/** main classes **/
Thomas Bosch committed
2

joshiste committed
3 4
body {
  background-color: #f1f1f1;
5
  font-family: "Varela Round",sans-serif;
Thomas Bosch committed
6 7
}

8
.content {
joshiste committed
9 10
  margin-top: 50px;
  margin-bottom: 50px;
Joshi83 committed
11 12
}

joshiste committed
13 14 15 16
.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
Thomas Bosch committed
17 18
}

19
a {
20
  color: #5fa134;
21 22 23 24
}

a:hover,
a:active {
25
  color: #5fa134;
26 27
}

Johannes Stelzer committed
28
pre {
29
  white-space: pre;
Johannes Stelzer committed
30 31
}

joshiste committed
32 33 34 35 36
/** HEADER **/
.header--navbar {
  margin: 0;
}
.header--navbar .navbar-inner {
37
  font-family: Montserrat,sans-serif;
joshiste committed
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
  position: absolute;
  z-index: 999;
  background-image: none;
  filter: none;
  background-color: #34302d;
  border: none;
  border-top: 4px solid #6db33f;
  box-shadow: none;
  position: relative;
  border-radius: 0;
  padding: 0;
}
.header--navbar .navbar-inner .spring-logo--container {
  display: inline-block;
}
.header--navbar .navbar-inner .spring-logo--container .spring-logo {
  margin: 12px 0 6px;
  width: 160px;
  height: 46px;
  display: inline-block;
  text-decoration: none;
}
.header--navbar .navbar-inner .navbar-link.active a {
  background-color: #6db33f;
  box-shadow: none;
}
.header--navbar .navbar-inner .navbar-link a {
  color: #eeeeee;
  text-transform: uppercase;
  text-shadow: none;
  font-size: 14px;
  line-height: 14px;
  padding: 28px 20px;
  transition: all 0.15s;
  -webkit-transition: all 0.15s;
  -moz-transition: all 0.15s;
  -o-transition: all 0.15s;
  -ms-transition: all 0.15s;
}
77

joshiste committed
78 79 80 81 82
.header--navbar .navbar-inner .navbar-link:hover a {
  color: #eeeeee;
  background-color: #6db33f;
}

83 84 85 86 87
.navbar-inner .container-fluid {
  max-width: 1024px;
  margin: 0 auto;
}

joshiste committed
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
a.spring-logo {
  background: url("../img/spring-logo.png") -1px -1px no-repeat;
}

a.spring-logo span {
  display: block;
  width: 160px;
  height: 46px;
  background: url("../img/spring-logo.png") -1px -48px no-repeat;
  opacity: 0;
  -moz-transition: opacity 0.12s ease-in-out;
  -webkit-transition: opacity 0.12s ease-in-out;
  -o-transition: opacity 0.12s ease-in-out;
}

a:hover.spring-logo span {
  opacity: 1;
Thomas Bosch committed
105 106
}

107

joshiste committed
108 109 110 111 112 113 114 115
/** FOOTER **/
.footer {
  background-color: #34302d;
  color: #eeeeee;
  padding: 30px 0;
}
.footer a {
  color: #6db33f;
Thomas Bosch committed
116 117
}

joshiste committed
118
/** LOGOS **/
Thomas Bosch committed
119 120 121 122 123 124 125
a.spring-boot-logo {
  background: url("../img/platform-spring-boot.png") -1px -1px no-repeat;
}

a.spring-boot-logo span {
  display: block;
  width: 160px;
Thomas Bosch committed
126 127
  height: 50px;
  background: url("../img/platform-spring-boot.png") 20px -6px no-repeat;
Thomas Bosch committed
128 129 130 131
}

a:hover.spring-boot-logo span {
  opacity: 1;
Thomas Bosch committed
132 133
}

joshiste committed
134 135
/** Status in Application Overview-View **/

136
span.status-UP {
Thomas Bosch committed
137
	color: #00AA00;
138
	font-weight: bold;
Thomas Bosch committed
139
}
140

141 142
span.status-OFFLINE {
	color: #000000;
Thomas Bosch committed
143
	font-weight: bold;
Thomas Bosch committed
144
}
145

146 147 148
span.status-DOWN,
span.status-OUT_OF_SERVICE {
	color: #DD0000;
Thomas Bosch committed
149 150
	font-weight: bold;
}
151

152 153 154
span.status-UNKNOWN {
	font-weight: bold;
	color: #FF8800;
joshiste committed
155 156
}

157 158 159 160 161 162 163
span.refresh {
	display: block;
	width: 16px;
	height: 16px;
	background: url("../img/refresh.gif")  no-repeat;
}

joshiste committed
164 165 166 167 168
/** Headings and Tabs in Detail-View  **/
.accordion-heading ,
.accordion-heading > a,
.accordion-heading > a:hover,
.accordion-heading > a:focus,
169 170
.nav-tabs > .active > a,
.nav-tabs > .active > a:hover,
joshiste committed
171 172
.nav-tabs > .active > a:focus,
.table > thead > tr > th {
173 174 175
	background-color: #34302D;
	border-color: #34302D;
	color: #f1f1f1;
joshiste committed
176 177
}

178 179 180 181 182
.accordion-group,
.boxed {
  border: 1px solid #34302D;
}

183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
.sortable {
  cursor: pointer;
}

.sorted-ascending,
.sorted-descending {
  color: #6db33f;
}

.sorted-ascending::after {
    content: " \25b2";
}
.sorted-descending::after {
    content: " \25bc";
}

joshiste committed
199 200 201 202 203 204 205 206 207 208
.nav > li > a {
  color: #838789;
}

.nav {
  margin-bottom: 0;
}

/** Tabs-list in domain-section in JMX-View **/
.tabs-left > ul {
209
	max-width: 30%;
joshiste committed
210 211
	overflow: hidden;
}
212

Johannes Stelzer committed
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234
/** health status**/
dl.health-status > dt {
    border-bottom: 1px solid #ddd;
    background-color: #f9f9f9;
    line-height: 20px;
    padding: 8px;
}

dl.health-status {
    margin-top: 0px;
}

dl.health-status dl.health-status {
    margin-top: 20px !important;
}

dl.health-status td {
    border-top: none;
    border-bottom: 1px solid #ddd;
}


235 236
/** Metric Bars **/
.bar-offset {
237 238
    float: left;
    box-sizing: border-box;
239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270
    height: 100%;
}

.with-marks {
    position: relative;
}

.bar-scale {
    position: relative;
    margin-top: -20px;
    margin-bottom: 40px;
}

.pitch-line {
    position: absolute;
    width: 1px;
    background-image: linear-gradient(to bottom, #333333 5px, transparent 5px);
    background-repeat: repeat-x;
}

.value-mark {
    position: absolute;
    border-left: 1px solid #ee5f5b;
    font-size: 12px;
    color: #fff;
    text-align: center;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
}

.mark-current {
    width: 1px;
    height: 20px;
271
    position: absolute;
272 273 274 275
    background-color: #dd514c;
    background-image: linear-gradient(to bottom, #ee5f5b, #c43c35);
    background-repeat: repeat-x;
}
276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346

/** Timeline **/
.timeline {
  position: relative;
  padding: 1em 0;
  list-style-type: none;
  padding-left: 120px;
}

.timeline:before {
  position: absolute;
  top: 0;
  content: ' ';
  display: block;
  width: 6px;
  height: 100%;
  margin-left: 0px;
  background: rgb(80,80,80);
  background: -moz-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -webkit-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -o-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: -ms-linear-gradient(top, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  background: linear-gradient(to bottom, rgba(80,80,80,0) 0%, rgb(80,80,80) 8%, rgb(80,80,80) 92%, rgba(80,80,80,0) 100%);
  z-index: 5;
}

.timeline li {
  padding: 1em 0;
}

.timeline li:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.timeline .event {
  position: relative;
  width: 100%;
  display: inline-block;
  left: 15px;
  padding-left: 5px;
  cursor:pointer;
}

.timeline .event .time {
  position: absolute;
  left: -120px;
  margin-left: -25px;
  display: inline-block;
  vertical-align: middle;
  text-align:right;
  width: 120px;
}

.timeline .event:before {
  content: ' ';
  display: block;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 10px;
  border: 4px solid #6db33f;
  z-index: 10;
  position: absolute;
  left: -6px;
  margin-left: -15px;
}

347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374
.event.warn:before {
  border-color: #e0ba2d;
}
.event.warn > .title > .status {
  color: #e0ba2d;
}

.event.error:before {
  border-color: #b30000;
}
.event.error > .title > .status {
  color: #b30000;
}

.event.ok:before {
  border-color: #6db33f;
}
.event.ok > .title > .status {
  color: #6db33f;
}

.event.unknown:before {
  border-color: #999999;
}
.event.unknown  > .title > .status {
  color: #999999;
}

375 376 377
.timeline .event:hover:before {
  background: #ccc;
}
378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453

/** Application-Header **/
.header--application .navbar-inner,
.header--application-urls .navbar-inner {
  font-family: Montserrat,sans-serif;
  position: absolute;
  z-index: 999;
  background-image: none;
  filter: none;
  background-color: #666;
  border: none;
  border-bottom: 1px solid #34302D;
  box-shadow: none;
  position: relative;
  border-radius: 0;
  padding: 0;
}

.header--application .application--name {
  font-family: "Montserrat",sans-serif;
  font-size: 24px;
  line-height: 24px;
  color: #ebf1e7;
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 10px;
}

.header--application .navbar-inner .navbar-link a {
  color: #eeeeee;
  text-transform: uppercase;
  text-shadow: none;
  font-size: 14px;
  line-height: 14px;
  padding: 16px 10px;
  transition: all 0.15s;
  -webkit-transition: all 0.15s;
  -moz-transition: all 0.15s;
  -o-transition: all 0.15s;
  -ms-transition: all 0.15s;
}

.header--application .navbar-inner .navbar-link:hover a ,
.header--application .navbar-inner .navbar-link.active a {
  color: #ebf1e7;
  background-color: #666;
  box-shadow: none;
}

.header--application .navbar-inner .navbar-link a>span {
  transition: color 0.15s;
  -webkit-transition: color 0.15s;
  -moz-transition: color 0.15s;
  -o-transition: color 0.15s;
  -ms-transition: color 0.15s;
}

.header--application .navbar-inner .navbar-link:hover a>span,
.header--application .navbar-inner .navbar-link.active a>span {
  border-top: 2px solid #6db33f;
  border-bottom: 2px solid #6db33f;
}

.header--application-urls .navbar-inner {
  background-color: #dedede;
}

.header--application-urls .navbar-inner li>a,
.header--application-urls .navbar-inner li>a:hover {
  text-shadow: none;
  color: #34302D;
}

.header--application-urls .navbar-inner li>a:hover {
  text-decoration:underline;
}