mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Small settings panel styles update
This commit is contained in:
parent
453f77cdd6
commit
cc3bd72b86
@ -77,6 +77,7 @@ body {
|
||||
|
||||
.right-sticky-section .tool-icon {
|
||||
float: right;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.drawer {
|
||||
@ -99,36 +100,34 @@ body {
|
||||
right: 280px;
|
||||
}
|
||||
|
||||
.right-sticky-section.expanded .tool-icon {
|
||||
margin-right: 1px;
|
||||
}
|
||||
|
||||
.right-sticky-section .tool-icon.has-expanded-drawer {
|
||||
position: relative;
|
||||
background-color: #444;
|
||||
margin-right: 0;
|
||||
padding-right: 1px;
|
||||
}
|
||||
|
||||
.right-sticky-section .tool-icon.has-expanded-drawer:before {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
background-color: #444;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: -5px;
|
||||
width: 10px;
|
||||
z-index: -1;
|
||||
.settings-section {
|
||||
margin: 10px 20px;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
color: #ccc;
|
||||
text-shadow: 1px 1px #000;
|
||||
}
|
||||
|
||||
.settings-title {
|
||||
margin: 10px 20px;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 10px;
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
color: #eee;
|
||||
border-bottom: 1px #aaa solid;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.settings-item {
|
||||
margin: 10px 20px;
|
||||
color: #eee;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
31
index.html
31
index.html
@ -48,21 +48,22 @@
|
||||
</div>
|
||||
<div class="drawer">
|
||||
<div class="drawer-content">
|
||||
<div class="settings-title">
|
||||
Canvas settings:
|
||||
</div>
|
||||
<div class="settings-item">
|
||||
<label>Background:</label>
|
||||
<select id="canvas-picker">
|
||||
<option value="light-canvas-background">Light</option>
|
||||
<option value="lowcont-medium-canvas-background">Medium - low contrast</option>
|
||||
<option value="medium-canvas-background" selected="selected">Medium - high contrast</option>
|
||||
<option value="lowcont-dark-canvas-background">Dark - low constrast</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="settings-item">
|
||||
<label for="show-grid">Show grid:</label> <input id="show-grid" type="checkbox"/>
|
||||
<div class="settings-section">
|
||||
<div class="settings-title">
|
||||
Canvas settings:
|
||||
</div>
|
||||
<div class="settings-item">
|
||||
<label>Background:</label>
|
||||
<select id="canvas-picker">
|
||||
<option value="light-canvas-background">Light</option>
|
||||
<option value="lowcont-medium-canvas-background">Medium - low contrast</option>
|
||||
<option value="medium-canvas-background" selected="selected">Medium - high contrast</option>
|
||||
<option value="lowcont-dark-canvas-background">Dark - low constrast</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="settings-item">
|
||||
<label for="show-grid">Show grid:</label> <input id="show-grid" type="checkbox"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user