FIX ошибки и недочёты в вёрстке правого блока control

This commit is contained in:
Krivchikov Dmitry 2015-11-18 22:49:31 +03:00
parent 0d73306319
commit 55222b4a6c
4 changed files with 6 additions and 3 deletions

View File

@ -7,7 +7,7 @@ if (App::$user) {
<div id="map"></div>
<div id="control">
<div class="glyphicon _t glyphicon-info-sign boxButtonInfo" title="Информация" onclick="openBox('Info')"></div>
<div class="glyphicon _b glyphicon-font boxButtonInfo" title="Лента статей" onclick="location.href='/feed/'"></div>
<div class="glyphicon _b glyphicon-font boxButtonArticles" title="Лента статей" onclick="location.href='/feed/'"></div>
<div class="glyphicon glyphicon-plus big _t" title="Приблизить" onclick="myMap.zoomIn()"></div>
<div class="glyphicon glyphicon-minus big _b" title="Отдалить" onclick="myMap.zoomOut()"></div>

View File

@ -8,7 +8,7 @@ if (App::$user && App::$user->id) {
}
?>
<div id="control" style="z-index: 1000; position: fixed;">
<div id="control">
<div class="glyphicon _t glyphicon-info-sign boxButtonInfo" title="Информация" onclick="openBox('Info')"></div>
<div class="glyphicon _b glyphicon-font" title="Лента статей" onclick="location.href='/feed/'"></div>

View File

@ -9,6 +9,8 @@ div.pointsWall .point span.header {font-size: 22px; color: white; font-weight: b
.test-ulm-row .test-ulm {text-align: center;width: 16.5%;float: right;display: inline-block;}
.test-ulm-row .test-ulm nobr {font-size: 1.2em;}
div#control {position: fixed; z-index: 1000;}
/* -------------------------------------------*/
/* ------------- ADAPTIVE --------------------*/
/* -------------------------------------------*/
@ -17,6 +19,7 @@ div.pointsWall .point span.header {font-size: 22px; color: white; font-weight: b
@media screen and (max-width:1200px) {
.pagePoinsNearCards {display: inline-block; width: 153px; height: 114px; overflow: hidden;}
.pagePoinsNearCardsImg {width: 153px; height: 114px;}
div#control {position: absolute;}
}
@media screen and (max-width:1000px) {

View File

@ -81,7 +81,7 @@ div#control div._t2 {background-color: rgba(200, 200, 200, 0.65); border-radius:
div#control div#notify {position: absolute; background-color: red;color: white;border-radius: 50%; width: 20px;height: 20px;margin: 0;padding: 0;padding-top: 2px;text-align: center;font-weight: bolder;font-size: 15px;vertical-align: middle;font-family: sans-serif;top: 18px;left: -7px;}
/*BOX*/
body.openBox div#box {display: block; z-index: 100;}
body.openBox div#box {display: block; z-index: 100; overflow-y: scroll;overflow-x: hidden;}
div#box {width: 250px; display: none; position: absolute; top: 0; right: 0;bottom: 0px; border-left: 2px solid rgba(45, 45, 45, 0.8); padding: 0 7px;}
div#box #boxClose {position: absolute; right: 7px; top: 7px; color: #999; font-size: 18px; font-weight: bolder; cursor: pointer;}
div#box div {display: none;}