181 lines
3.6 KiB
CSS
181 lines
3.6 KiB
CSS
/* stylesheet for PanelServlet */
|
|
|
|
body {
|
|
font-family: sans-serif;
|
|
}
|
|
/* setting the transform origin breaks the rotation in some cases */
|
|
.rotatable{
|
|
-webkit-transform-origin: 0% 0%;
|
|
-moz-transform-origin: 0% 0%;
|
|
-ms-transform-origin: 0% 0%;
|
|
-o-transform-origin: 0% 0%;
|
|
transform-origin: 0% 0%;
|
|
}
|
|
|
|
.clickable:hover {
|
|
margin: -1px;
|
|
border: solid 1px lightGray;
|
|
cursor: pointer;
|
|
}
|
|
.clickable a {
|
|
text-decoration: none;
|
|
}
|
|
.clickable :link{
|
|
color: inherit;
|
|
font-weight: normal;
|
|
}
|
|
.clickable :link:hover, .clickable :visited:hover {
|
|
color: inherit;
|
|
}
|
|
.positionablelabel.text {
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
cursor: default;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.positionablelabel.text.hidden,
|
|
.sensoricon.hidden,
|
|
.signalheadicon.hidden,
|
|
.beanswitch.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.locoicon, .trainicon {
|
|
padding-left: 6px;
|
|
min-width: 60px;
|
|
min-height: 20px;
|
|
width: 60px;
|
|
background-repeat:no-repeat;
|
|
/* vertical-align: middle; */
|
|
/* text-align: center; */
|
|
line-height: 20px;
|
|
}
|
|
|
|
.beanswitch { /* SwitchBoard (Panel) interactive button/symbols */
|
|
position: static;
|
|
float: left;
|
|
margin: 2px;
|
|
padding: 1px;
|
|
border: 1px solid lightGray;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.beanswitch.button { /* SwitchBoard (Panel) interactive button default */
|
|
border: 2px solid white; /* border changes colors with state */
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 10px; /* mimick JButtons */
|
|
box-shadow: 1px 1px gray;
|
|
}
|
|
.beanswitch.button.connected {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.beanswitch:hover { /* on Switchboard */
|
|
margin: 2px;
|
|
}
|
|
|
|
.bscanvas { /* Switchboard beanswitch */
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.bscanvas:hover {
|
|
margin: -1px;
|
|
}
|
|
|
|
span.lightswitch { /* All On/All Off on Switchboard */
|
|
border: 1px solid black;
|
|
border-radius: 5px;
|
|
padding: 1px;
|
|
background-color: white;
|
|
box-shadow: 1px 1px gray;
|
|
}
|
|
|
|
span.lightswitch:hover { /* Switchboard */
|
|
background-color: yellow;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#panel-area {
|
|
border: solid 1px #888;
|
|
margin: auto;
|
|
position: relative;
|
|
}
|
|
|
|
div#panelFooter {
|
|
margin: 8px;
|
|
}
|
|
|
|
div#panelFooter a {
|
|
padding: 8px 8px 4px 8px;
|
|
text-decoration: none;
|
|
font-style: italic;
|
|
}
|
|
|
|
div#panelFooter a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
div#panelFooter span.info {
|
|
font-style: italic;
|
|
font-size: 80%;
|
|
}
|
|
|
|
div.MemoryInputIconXml, div.MemorySpinnerIconXml {
|
|
padding: 1px 1em 1px 1em;
|
|
min-width: 4em;
|
|
border: solid black 1px;
|
|
text-align: center;
|
|
}
|
|
|
|
div.fastclock>div.clocktext {
|
|
position: relative;
|
|
top: 55%;
|
|
margin-right: auto;
|
|
margin-left: auto;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
font-family: serif;
|
|
}
|
|
div.fastclock>img.clockface {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: -1;
|
|
width: 100%; /*so it will grow with scale */
|
|
}
|
|
div.fastclock>img.clockhourhand, div.fastclock>img.clockminutehand {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%; /*so they will grow with scale */
|
|
}
|
|
div.fastclock>img.clockminutehand {
|
|
z-index: 2;
|
|
}
|
|
div.fastclock>img.clockhourhand {
|
|
z-index: 1;
|
|
}
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1000;
|
|
padding: 50px;
|
|
background: rgba( 255, 255, 255, .90 );
|
|
}
|
|
|
|
#workingMessage {
|
|
margin: auto;
|
|
width: 60%;
|
|
position: absolute;
|
|
top: 0; left: 0; bottom: 0; right: 0;
|
|
}
|