Select Git revision
image.css
Andrew Cohen authored
image.css 7.90 KiB
/*****************************************************************************
Copyright 2015 Andrew Cohen
This file is part of CloneView - the tool for displaying stem cell lineaging in a webpage.
CloneView is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
CloneView is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with CloneView in file "gnu gpl v3.txt". If not, see
<http://www.gnu.org/licenses/>.
//*****************************************************************************/
body
{
touch-action: none;
}
.container{
width:255px;
height:305px;
margin:0 auto;
position: relative;
background-color:#666666;
}
.container canvas{
position: absolute;
top: 0;
left: 0;
}
#sidebar{
position:fixed;
top:0;
right:0;
height:100%;
width:300px;
overflow:auto;
color: white;
background-color:#666666;
z-index:5;
padding:0.5em;
display: block;
font-size: 14px;
font-family: Arial;
color: white;
border-left-style:solid;
border-color:#999999;
background-image: url(srcImages/sidebarBackground.png);
background-size:cover;
}
#toolbar{
position:fixed;
top:20%;
left:5px;
width:50px;
}
#hoverControls{
background-image: url(srcImages/question.png);
background-position: 50% 50%;
background-position: center;
background-size: contain;
height:40px;
width:50px;
}
#hoverInfo{
background-image: url(srcImages/help.png);
background-position: 50% 50%;
background-position: center;
background-size: contain;
height:40px;
width:50px;
}
#zoomIn{
background-image: url(srcImages/plus.png);
background-position: 50% 50%;
background-position: center;
background-size: contain;
height:40px;
width:50px;
}
#zoomOut{
background-image: url(srcImages/minus.png);
background-position: 50% 50%;
background-position: center;
background-size: contain;
height:40px;
width:50px;
}
#X{
background-image: url(srcImages/hideSidebar.png);
background-position: 50% 50%;
background-position: center;
background-size: contain;
height:40px;
width:50px;
}
#L{
background-image: url(srcImages/labels.png);
background-position: 50% 50%;
background-position: center;
background-size: contain;
height:40px;
width:50px;
}
#C{
background-image: url(srcImages/center.png);
background-position: 50% 50%;
background-position: center;
background-size: contain;
height:40px;
width:50px;
}
#IDs{
background-image: url(srcImages/ID.png);
background-position: 50% 50%;
background-position: center;
background-size: contain;
height:40px;
width:50px;
}
#previousMitosis{
background-image: url(srcImages/pageUp.png);
background-position: 50% 50%;
background-position: center;
background-size: contain;
height:40px;
width:50px;
}
#nextMitosis{
background-image: url(srcImages/pageDown.png);
background-position: 50% 50%;
background-position: center;
background-size: contain;
height:40px;
width:50px;
}
#playPause{
background-image: url(srcImages/play.png);
background-position: 50% 50%;
background-position: center;
background-size: contain;
height:40px;
width:50px;
}
#nextClone{
background-image: url(srcImages/nextClone.png);
background-position: 50% 50%;
background-position: center;
background-size: contain;
height:35px;
width:35px;
}
#previousClone{
background-image: url(srcImages/previousClone.png);
background-position: 50% 50%;
background-position: center;
background-size: contain;
height:35px;
width:35px;
}
button {
background-color:#4FABE8;
border:1px solid #4FABE8;
color:#fff;
font-family:Arial;
font-size:12px;
font-weight:bold;
font-style:normal;
line-height:30px;
text-align:center;
text-shadow:1px 1px 0px #4FABE8;
}
button:hover {
background-color: #1b7bdf;
cursor: pointer;
}
#sidebar a{
color: #FFFFFF;
background-color:#999999;
}
#info{
background-color:#999999;
padding-top:1px;
padding-bottom:1px;
padding-right:5px;
padding-left:5px;
}
#controls{
background-color:#999999;
padding-top:1px;
padding-bottom:1px;
padding-right:5px;
padding-left:5px;
}
#clones{
text-align: center;
line-height: 80%;
background-color:#999999;
border: solid #000;
border-width: 0 2px;
border-color:#999999;
padding-top:1px;
padding-bottom:10px;
padding-right:5px;
padding-left:5px;
width:125px;
margin-left: auto;
margin-right: auto;
display: block;
font-family:Arial;
font-size:15px;
}
#sbDataset{
padding-left: 5;
padding-right: 5;
margin-bottom: 5px;
margin-left: auto;
margin-right: auto;
display: block;
}
#sbUsage{
background-color:#999999;
font-size: 12px;
}
#sbDataset{
font-size: 16px;
margin-bottom: 5px;
}
#openLineage{
padding-left: 5;
padding-right: 5;
margin-bottom: 15px;
margin-top: 5px;
margin-left: auto;
margin-right: auto;
display: block;
}
#CloneViewImg{
padding-left: 5;
padding-right: 5;
margin-bottom: 15px;
margin-top: 5px;
margin-left: auto;
margin-right: auto;
display: block;
border-style:solid;
border-color:#999999;
}
#CloneViewImg:hover{
cursor: pointer;
}
#miniMap{
padding-left: 0;
padding-right: 0;
margin-bottom: 10px;
margin-top: 15px;
margin-left: auto;
margin-right: auto;
display: block;
border-style:solid;
border-color:#999999;
}
#combinedMinis{
border-style:solid;
margin-top: 10px;
margin-bottom: 5px;
border-color:#999999;
}
#miniCloneView{
margin-bottom: 15px;
}
#infoToolTip {
border-color: #999999;
position: fixed;
top: 20%;
left: 50px;
font-size: 12px;
font-family: "Arial";
color: white;
padding: 0.5em;
opacity: 0.7;
background-color: #666666;
padding-top: 1px;
padding-bottom: 1px;
padding-right: 5px;
padding-left: 5px;
}
#controlsToolTip {
border-color: #999999;
position: fixed;
top: 20%;
left: 50px;
font-size: 12px;
font-family: "Arial";
color: white;
padding: 0.5em;
opacity: 0.7;
background-color: #666666;
padding-top: 1px;
padding-bottom: 1px;
padding-right: 5px;
padding-left: 5px;
}
#progressButtons{
display: table;
margin: 0 auto;
}
#toolbar button{
width: 40px;
opacity: .8;
}
#switchButtons{
width:200px;
padding-top: 3px;
padding-bottom: 5px;
display: table-cell;
text-align: center;
padding-left: 42px;
Float: left;
}
#openButtons{
width:200px;
padding-top: 3px;
padding-bottom: 5px;
text-align: center;
padding-left: 42px;
display: table-cell;
Clear: Both;
}
select{
margin-top: 10px;
font-size: 11px;
font-family: "Arial";
width: 275px;
height: 35px;
margin-left: auto;
margin-right: auto;
display: block;
color: #ffffff;
outline: none;
cursor: pointer;
font-weight: bold;
overflow: hidden;
background: #666666;
border: 2px solid #999999;
}
:focus {outline:none;}
div#channelButtons a:link{
font-size:12pt;
font-weight:bold;
padding-top: 5px;
padding-bottom: 5px;
padding-right: 12px;
padding-left: 12px;
}
a#phase{
text-decoration:none;
}
a#channel2{
color:green;
}
a#channel3{
color:red;
}