Move the styles to the pandora.css

This commit is contained in:
mdtrooper 2016-03-09 11:45:48 +01:00
parent aefff3041f
commit 9ee921f9c1
2 changed files with 136 additions and 133 deletions

View File

@ -374,141 +374,8 @@ abstract class Map {
$this->writeJSGraph();
?>
<style type="text/css">
.title_bar {
border-bottom: 1px solid black;
}
.title_bar .title {
font-weight: bolder;
}
.title_bar .open_click {
float: right;
display: table-cell;
font-weight: bolder;
font-size: 20px;
background: blue none repeat scroll 0% 0%;
color: white;
width: 17px;
height: 17px;
cursor: pointer;
text-align: center;
vertical-align: middle;
margin: 1px;
}
.title_bar .close_click {
float: right;
display: table-cell;
font-weight: bolder;
font-size: 20px;
background: blue none repeat scroll 0% 0%;
color: white;
width: 17px;
height: 17px;
cursor: pointer;
text-align: center;
vertical-align: middle;
margin: 1px;
}
</style>
<div id="map" data-id="<?php echo $this->id;?>" style="border: 1px red solid;">
<div class="zoom_box" style="position: absolute;">
<style type="text/css">
.zoom_controller {
width: 30px;
height: 210px;
background: blue;
border-radius: 15px;
top: 50px;
left: 10px;
position: absolute;
}
.vertical_range {
padding: 0;
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
transform: rotate(270deg);
width: 200px;
height: 20px;
position: relative;
background: transparent !important;
border: 0px !important;
}
.vertical_range {
left: -92px;
top: 93px;
}
@media screen and (-webkit-min-device-pixel-ratio:0)
{
/* Only for chrome */
.vertical_range {
left: -87px;
top: 93px;
}
}
.home_zoom {
top: 310px;
left: 10px;
display: table-cell;
position: absolute;
font-weight: bolder;
font-size: 20px;
background: blue;
color: white;
border-radius: 15px;
width: 30px;
height: 30px;
cursor:pointer;
text-align: center;
vertical-align: middle;
}
.zoom_in {
top: 10px;
left: 10px;
display: table-cell;
position: absolute;
font-weight: bolder;
font-size: 20px;
background: blue;
color: white;
border-radius: 15px;
width: 30px;
height: 30px;
cursor:pointer;
text-align: center;
vertical-align: middle;
}
.zoom_out {
top: 270px;
left: 10px;
display: table-cell;
position: absolute;
font-weight: bolder;
font-size: 20px;
background: blue;
color: white;
border-radius: 15px;
width: 30px;
height: 30px;
cursor:pointer;
text-align: center;
vertical-align: middle;
}
</style>
<div class="zoom_controller">
<input class="vertical_range" type="range" name="range" min="-666" max="666" step="1" value="666" />
</div>

View File

@ -3123,3 +3123,139 @@ table#policy_modules td * {
transform: rotate(359deg);
}
}
/*
* ---------------------------------------------------------------------
* - Styles for the new networkmap -
* ---------------------------------------------------------------------
*/
.zoom_controller {
width: 30px;
height: 210px;
background: blue;
border-radius: 15px;
top: 50px;
left: 10px;
position: absolute;
}
.vertical_range {
padding: 0;
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
transform: rotate(270deg);
width: 200px;
height: 20px;
position: relative;
background: transparent !important;
border: 0px !important;
}
.vertical_range {
left: -92px;
top: 93px;
}
@media screen and (-webkit-min-device-pixel-ratio:0)
{
/* Only for chrome */
.vertical_range {
left: -87px;
top: 93px;
}
}
.home_zoom {
top: 310px;
left: 10px;
display: table-cell;
position: absolute;
font-weight: bolder;
font-size: 20px;
background: blue;
color: white;
border-radius: 15px;
width: 30px;
height: 30px;
cursor:pointer;
text-align: center;
vertical-align: middle;
}
.zoom_in {
top: 10px;
left: 10px;
display: table-cell;
position: absolute;
font-weight: bolder;
font-size: 20px;
background: blue;
color: white;
border-radius: 15px;
width: 30px;
height: 30px;
cursor:pointer;
text-align: center;
vertical-align: middle;
}
.zoom_out {
top: 270px;
left: 10px;
display: table-cell;
position: absolute;
font-weight: bolder;
font-size: 20px;
background: blue;
color: white;
border-radius: 15px;
width: 30px;
height: 30px;
cursor:pointer;
text-align: center;
vertical-align: middle;
}
.title_bar {
border-bottom: 1px solid black;
}
.title_bar .title {
font-weight: bolder;
}
.title_bar .open_click {
float: right;
display: table-cell;
font-weight: bolder;
font-size: 20px;
background: blue none repeat scroll 0% 0%;
color: white;
width: 17px;
height: 17px;
cursor: pointer;
text-align: center;
vertical-align: middle;
margin: 1px;
}
.title_bar .close_click {
float: right;
display: table-cell;
font-weight: bolder;
font-size: 20px;
background: blue none repeat scroll 0% 0%;
color: white;
width: 17px;
height: 17px;
cursor: pointer;
text-align: center;
vertical-align: middle;
margin: 1px;
}