kopia lustrzana https://github.com/FacilMap/facilmap
Move component css into own files
rodzic
e9f8bb2a50
commit
35eb839d08
|
@ -4,79 +4,10 @@ html,body {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
#map {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#map.fp-overFeature {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#map.fp-clickHandler {
|
||||
cursor: crosshair;
|
||||
}
|
||||
|
||||
.fp-map {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.fp-map-disabled-cover {
|
||||
background-color: #888;
|
||||
opacity: 0.7;
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
|
||||
filter: alpha(opacity=70);
|
||||
-moz-opacity: 0.7;
|
||||
-khtml-opacity: 0.7;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.fp-map-loading {
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
right:0;
|
||||
bottom:0;
|
||||
padding:10px;
|
||||
background: #fff;
|
||||
z-index:100000;
|
||||
font-size:1.5em;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.fp-toolbox {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
opacity: .5;
|
||||
transition: opacity .7s;
|
||||
}
|
||||
|
||||
.fp-toolbox:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@media print {
|
||||
.fp-toolbox {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.checkbox.disabled label {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
table th.sort-none,table th.sort-up {
|
||||
cursor: s-resize;
|
||||
}
|
||||
|
||||
table th.sort-down {
|
||||
cursor: n-resize;
|
||||
}
|
||||
|
||||
.td-buttons {
|
||||
white-space: nowrap;
|
||||
width: 1px;
|
||||
|
@ -86,170 +17,6 @@ table th.sort-down {
|
|||
width: 95%;
|
||||
}
|
||||
|
||||
.messages {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
width: 50%;
|
||||
left: 25%;
|
||||
}
|
||||
|
||||
textarea,textarea.form-control {
|
||||
height: 8em;
|
||||
}
|
||||
|
||||
.fp-popup {
|
||||
background: #fff;
|
||||
position:absolute;
|
||||
width: 350px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 10px #888;
|
||||
}
|
||||
|
||||
.fp-popup-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fp-popup .content {
|
||||
height: 200px;
|
||||
overflow: auto;
|
||||
padding-bottom: 1.5em;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.fp-popup:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
border: 0;
|
||||
border-style: solid;
|
||||
border-color: transparent #fff;
|
||||
display: block;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.fp-popup-bottom {
|
||||
margin-top: 51px;
|
||||
}
|
||||
|
||||
.fp-popup-bottom:before {
|
||||
top: -50px;
|
||||
border-top-width: 50px;
|
||||
}
|
||||
|
||||
.fp-popup-right {
|
||||
margin-left: -30px;
|
||||
}
|
||||
|
||||
.fp-popup-right:before {
|
||||
left: 30px;
|
||||
border-left-width: 15px;
|
||||
}
|
||||
|
||||
.fp-popup-top {
|
||||
margin-top: -264px;
|
||||
}
|
||||
|
||||
.fp-popup-top:before {
|
||||
bottom: -50px;
|
||||
border-bottom-width: 50px;
|
||||
}
|
||||
|
||||
.fp-popup-left {
|
||||
margin-left: -319px;
|
||||
}
|
||||
|
||||
.fp-popup-left:before {
|
||||
right: 30px;
|
||||
border-right-width: 15px;
|
||||
}
|
||||
|
||||
.fp-popup .buttons {
|
||||
position: absolute;
|
||||
background: #fff;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 15px;
|
||||
padding: 5px 10px;
|
||||
box-shadow: 0 0 10px #fff;
|
||||
border-bottom-left-radius: 10px;
|
||||
}
|
||||
|
||||
.fp-popup .close-button {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 20px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.pos,.distance {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
#colour-picker {
|
||||
background: #fafafa;
|
||||
width: 171px;
|
||||
padding: 5px;
|
||||
border: 1px solid #666;
|
||||
border-radius: 10px;
|
||||
box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#colour-picker li {
|
||||
display: inline-block;
|
||||
margin: 2px;
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
border: 1px solid #aaa;
|
||||
}
|
||||
|
||||
#colour-picker li:hover {
|
||||
border-color: #000;
|
||||
}
|
||||
|
||||
.olMap .fmControlLoading {
|
||||
top: auto;
|
||||
bottom: 7px;
|
||||
left: 102px;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
.fp-map-label {
|
||||
position: absolute;
|
||||
background-color: #fff;
|
||||
z-index: 1010;
|
||||
border: 1px solid #000;
|
||||
border-radius: 5px;
|
||||
padding: 3px 6px;
|
||||
opacity: .7;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
/********* z-index **************/
|
||||
|
||||
/* jQuery popup has a z-index of 100 */
|
||||
/* OpenLayers Controls have z-index: 1008 (inside the map viewport) */
|
||||
|
||||
.fp-map-disabled-cover {
|
||||
z-index: 10001;
|
||||
}
|
||||
|
||||
.messages {
|
||||
z-index: 10002;
|
||||
}
|
||||
|
||||
#colour-picker {
|
||||
z-index: 1500;
|
||||
}
|
||||
|
||||
#map .fp-popup {
|
||||
z-index: 1007;
|
||||
}
|
||||
|
||||
.fp-toolbox {
|
||||
z-index: 1020;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,60 @@
|
|||
#map {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#map.fp-overFeature {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#map.fp-clickHandler {
|
||||
cursor: crosshair;
|
||||
}
|
||||
|
||||
.fp-map {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.fp-map-disabled-cover {
|
||||
background-color: #888;
|
||||
opacity: 0.7;
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
|
||||
filter: alpha(opacity=70);
|
||||
-moz-opacity: 0.7;
|
||||
-khtml-opacity: 0.7;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.fp-map-loading {
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
right:0;
|
||||
bottom:0;
|
||||
padding:10px;
|
||||
background: #fff;
|
||||
z-index:100000;
|
||||
font-size:1.5em;
|
||||
font-weight:bold;
|
||||
}
|
||||
|
||||
.olMap .fmControlLoading {
|
||||
top: auto;
|
||||
bottom: 7px;
|
||||
left: 102px;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
.fp-map-label {
|
||||
position: absolute;
|
||||
background-color: #fff;
|
||||
z-index: 1010;
|
||||
border: 1px solid #000;
|
||||
border-radius: 5px;
|
||||
padding: 3px 6px;
|
||||
opacity: .7;
|
||||
font-weight: bold;
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
.messages {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
width: 50%;
|
||||
left: 25%;
|
||||
}
|
||||
|
||||
.messages .btn {
|
||||
margin-top: -6px;
|
||||
}
|
|
@ -0,0 +1,86 @@
|
|||
.fp-popup {
|
||||
background: #fff;
|
||||
position:absolute;
|
||||
width: 350px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 10px #888;
|
||||
}
|
||||
|
||||
.fp-popup-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.fp-popup .content {
|
||||
height: 200px;
|
||||
overflow: auto;
|
||||
padding-bottom: 1.5em;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.fp-popup:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
border: 0;
|
||||
border-style: solid;
|
||||
border-color: transparent #fff;
|
||||
display: block;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.fp-popup-bottom {
|
||||
margin-top: 51px;
|
||||
}
|
||||
|
||||
.fp-popup-bottom:before {
|
||||
top: -50px;
|
||||
border-top-width: 50px;
|
||||
}
|
||||
|
||||
.fp-popup-right {
|
||||
margin-left: -30px;
|
||||
}
|
||||
|
||||
.fp-popup-right:before {
|
||||
left: 30px;
|
||||
border-left-width: 15px;
|
||||
}
|
||||
|
||||
.fp-popup-top {
|
||||
margin-top: -264px;
|
||||
}
|
||||
|
||||
.fp-popup-top:before {
|
||||
bottom: -50px;
|
||||
border-bottom-width: 50px;
|
||||
}
|
||||
|
||||
.fp-popup-left {
|
||||
margin-left: -319px;
|
||||
}
|
||||
|
||||
.fp-popup-left:before {
|
||||
right: 30px;
|
||||
border-right-width: 15px;
|
||||
}
|
||||
|
||||
.fp-popup .buttons {
|
||||
position: absolute;
|
||||
background: #fff;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 15px;
|
||||
padding: 5px 10px;
|
||||
box-shadow: 0 0 10px #fff;
|
||||
border-bottom-left-radius: 10px;
|
||||
}
|
||||
|
||||
.fp-popup .close-button {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 20px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.pos,.distance {
|
||||
color: #888;
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
.fp-toolbox {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
opacity: .5;
|
||||
transition: opacity .7s;
|
||||
}
|
||||
|
||||
.fp-toolbox:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@media print {
|
||||
.fp-toolbox {
|
||||
display: none;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
table th.sort-none,table th.sort-up {
|
||||
cursor: s-resize;
|
||||
}
|
||||
|
||||
table th.sort-down {
|
||||
cursor: n-resize;
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
#colour-picker {
|
||||
background: #fafafa;
|
||||
width: 171px;
|
||||
padding: 5px;
|
||||
border: 1px solid #666;
|
||||
border-radius: 10px;
|
||||
box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#colour-picker li {
|
||||
display: inline-block;
|
||||
margin: 2px;
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
border: 1px solid #aaa;
|
||||
}
|
||||
|
||||
#colour-picker li:hover {
|
||||
border-color: #000;
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
/* bootstrap popups have a z-index of 1050 (1060, 1070... for overlaying popups) */
|
||||
/* OpenLayers Controls have z-index: 1008 (inside the map viewport) */
|
||||
|
||||
.fp-map-disabled-cover {
|
||||
z-index: 10001;
|
||||
}
|
||||
|
||||
.messages {
|
||||
z-index: 10002;
|
||||
}
|
||||
|
||||
#colour-picker {
|
||||
z-index: 1500;
|
||||
}
|
||||
|
||||
#map .fp-popup {
|
||||
z-index: 1007;
|
||||
}
|
||||
|
||||
.fp-toolbox {
|
||||
z-index: 1020;
|
||||
}
|
Ładowanie…
Reference in New Issue