Small settings button style refactoring

This commit is contained in:
peteruithoven 2013-11-22 17:45:43 +01:00
parent f98dc488d4
commit 3ff0eb921e
2 changed files with 20 additions and 13 deletions

View File

@ -64,23 +64,28 @@
border: 1px solid rgb(187, 187, 187); border: 1px solid rgb(187, 187, 187);
border-radius: 5px; border-radius: 5px;
} }
> .btnContainer { > .right {
width: 15%; width: 15%;
height: 100%; height: 100%;
float:right; float:right;
position:relative; position:relative;
right: 0; right: 0;
> .btnOK { > .btnContainer {
position: absolute; position: absolute;
bottom: 3%; bottom: 3%;
right: 7%; right: 7%;
max-width: 85px; width: 100%;
min-width: 42px;
width: 88%; > .btn {
height: auto; max-width: 85px;
margin: 0 2% 2% 0; min-width: 42px;
cursor: pointer; width: 88%;
height: auto;
margin: 8% 2% 2% 0;
cursor: pointer;
float:right;
}
} }
} }
} }

View File

@ -115,8 +115,10 @@
</div> </div>
<div class="bottompanel"> <div class="bottompanel">
<div class="settingsContainer"></div> <div class="settingsContainer"></div>
<div class="btnContainer"> <div class="right">
<img src="img/buttons/btnOk_settings.png" class="btnOK" alt="settings"/> <div class="btnContainer">
<img src="img/buttons/btnOk_settings.png" class="btn btnOK" alt="save"/>
</div>
</div> </div>
</div> </div>
</div> </div>