blob: 69adfe1929896cbef319018ddb80b1ed2844873d [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* CSS Stylesheet for Scheduler Knobs.
*
* author: hearnden@google.com (David Hearnden)
*/
.knob {
margin: 0.5em;
width: 12em;
float: left;
text-align: center;
position: relative;
}
.knobLabel {
padding: 0.2em;
display: inline;
cursor: pointer;
}
/**
* details box is positioned within knob container, and on top of everything
*/
.knobDetails {
position:absolute;
z-index: 1000;
top: 2em;
border: 1px solid black;
background: yellow;
text-align: left;
}
.knobDetails * {
padding: 2px;
}
.currentTitle, .oldTitle {
font-weight: bold;
background: black;
}
.currentTitle {
color: #00e800;
}
.oldTitle {
color: red;
}
/* A bright green. */
.enabled {
background-color: rgb(100,240,50);
}
/* Disabled is red. */
.disabled {
background-color: red;
}
.knobPanel, .knobContainer, .knobContainer>button {
float: left;
}
.knobContainer>button {
margin: 0.5em;
}