jenkinsci/calendar-view-plugin

View on GitHub
src/main/css/index.css

Summary

Maintainability
Test Coverage
/*
 * The MIT License
 *
 * Copyright (c) 2018 Sven Schoenung
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

.fc-toolbar {
  background: #eee;
  height:2.6em;
  border-bottom: 1px solid #ddd;
  padding:3px;
}

.fc-center {
  line-height:2.2em;
}

.fc-toolbar.fc-header-toolbar {
  margin-bottom:0px;
}

.fc-toolbar .fc-clear {
  clear:none;
}

.fc-view-container {
  padding:5px;
}

.fc-event-container a,
.fc-event-container a:link,
.fc-event-container a:active,
.fc-event-container a:visited {
  color:white;
  text-decoration: none;
}

.fc-event-container a.event-state-scheduled,
.fc-event-container a.event-state-scheduled:link,
.fc-event-container a.event-state-scheduled:active,
.fc-event-container a.event-state-scheduled:visited {
  color:black;
}

.fc-event {
  background-color: #888888;
  border-color: #888888;
}

.fc-event.event-result-success {
  background-color: #3a87ad;
  border-color: #3a87ad;
}

.fc-event.event-result-failure {
  background-color: #ff0000;
  border-color: #ff0000;
}

.fc-event.event-result-unstable {
  background-color: #a6982b;
  border-color: #a6982b;
}

.fc-event.event-state-scheduled {
  background-color: #eee;
  border-color: gray;
  border-style: dashed;
}

.fc-event.event-state-running {
  border-color:white;
  border-style: dashed;
  animation: blink-animation 1.5s infinite;
  -webkit-animation: blink-animation 1.5s infinite;
}

@keyframes blink-animation {
  0%   { opacity:1; }
  30%  { opacity:0.8; }
  50%  { opacity:0; }
  70%  { opacity:0.8; }
  100% { opacity:1; }
}
@-o-keyframes blink-animation {
  0%   { opacity:1; }
  30%  { opacity:0.8; }
  50%  { opacity:0; }
  70%  { opacity:0.8; }
  100% { opacity:1; }
}
@-moz-keyframes blink-animation {
  0%   { opacity:1; }
  30%  { opacity:0.8; }
  50%  { opacity:0; }
  70%  { opacity:0.8; }
  100% { opacity:1; }
}
@-webkit-keyframes blink-animation {
  0%   { opacity:1; }
  30%  { opacity:0.8; }
  50%  { opacity:0; }
  70%  { opacity:0.8; }
  100% { opacity:1; }
}

.fc-event.event-selected {
  background:#aaa;
}
.fc-event.event-result-success.event-selected {
  background:#6ea5c0;
}
.fc-event.event-result-failure.event-selected {
  background:#ff8888;
}
.fc-event.event-result-unstable.event-selected {
  background:#cac06f;
}
.fc-event.event-state-scheduled.event-selected {
  background:#ddd;
}

.tippy-tooltip.jenkins-theme {
  background-color: white;
  border: 1px solid #ccc;
  color: black;
  padding:0px;
  font-size:100%;
  text-align:left;
}

.tippy-tooltip.jenkins-theme .tooltip-head {
  padding: 5px;
  background: #eee;
}

.tippy-tooltip.jenkins-theme .tooltip-head .tooltip-title {
   margin-left: 5px;
}

.tippy-tooltip.jenkins-theme .tooltip-head .tooltip-close {
  float: right;
  margin-right:3px;
  margin-left:5px;
  cursor: pointer;
}

.tippy-tooltip.jenkins-theme .tooltip-head .tooltip-title {
  margin-left: 5px;
}

.tippy-tooltip.jenkins-theme .tooltip-body {
  padding:10px;
}

.tippy-tooltip.jenkins-theme .tooltip-left {
  display:inline-block;
  vertical-align:top;
  padding-right:10px;
  border-right:1px solid #ddd;
  min-width:200px;
}

.tippy-tooltip.jenkins-theme .tooltip-right {
  display:inline-block;
  vertical-align:top;
  padding-left:10px;
  border-left:1px solid #ddd;
  margin-left:-1px;
  min-width:200px;
}

.tippy-tooltip.jenkins-theme .tooltip-right ul a {
  display:inline-block;
  min-width:3em;
}

.tippy-tooltip.jenkins-theme .tooltip-bottom {
  border-top:1px solid #ddd;
  margin-top:20px;
  padding-top:10px;
}

.tippy-tooltip.jenkins-theme .tooltip-bottom .previous {
  float:left;
}

.tippy-tooltip.jenkins-theme .tooltip-bottom .previous i:after {
  content:"\25C0";
  color:#ccc;
  font-size:80%;
  font-style:normal;
  margin-right:2px;
}

.tippy-tooltip.jenkins-theme .tooltip-bottom .next {
  float:right;
}

.tippy-tooltip.jenkins-theme .tooltip-bottom .next i:after {
  content:"\25B6";
  color:#ccc;
  font-size:80%;
  font-style:normal;
  margin-left:2px;
}

.tippy-tooltip.jenkins-theme .tooltip-body .time {
  color:gray;
  text-decoration:none;
}

.tippy-tooltip.jenkins-theme .tooltip-body .time:hover {
  color:gray;
  text-decoration:underline;
}

.tippy-tooltip.jenkins-theme .tooltip-body .nextBuild {
  color:gray;
}

.tippy-tooltip.jenkins-theme .tooltip-body ul {
  margin:0px;
  padding:0px;
  list-style-type:none;
}

.tippy-tooltip.jenkins-theme .tooltip-body ul {
}

.tippy-popper[x-placement^=top] .tippy-tooltip.jenkins-theme .tippy-arrow {
  border-top: 7px solid #ccc;
}

.tippy-popper[x-placement^=bottom] .tippy-tooltip.jenkins-theme .tippy-arrow {
  border-bottom: 7px solid #ccc;
}

.calendar-view-config-default {
  font-size:90%;
  color:gray;
}

.calendar-view-config-label {
  vertical-align:middle;
  padding:0px 10px 20px 10px;
}

.calendar-view-config-label.first-label {
  padding-left:0px;
}

.calendar-view-config-input  {
  width:30%;
}