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:
@@ -77,6 +77,7 @@ body {
|
|||||||
|
|
||||||
.right-sticky-section .tool-icon {
|
.right-sticky-section .tool-icon {
|
||||||
float: right;
|
float: right;
|
||||||
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.drawer {
|
.drawer {
|
||||||
@@ -99,36 +100,34 @@ body {
|
|||||||
right: 280px;
|
right: 280px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.right-sticky-section.expanded .tool-icon {
|
||||||
|
margin-right: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
.right-sticky-section .tool-icon.has-expanded-drawer {
|
.right-sticky-section .tool-icon.has-expanded-drawer {
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: #444;
|
background-color: #444;
|
||||||
|
margin-right: 0;
|
||||||
|
padding-right: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-sticky-section .tool-icon.has-expanded-drawer:before {
|
.settings-section {
|
||||||
content: " ";
|
margin: 10px 20px;
|
||||||
position: absolute;
|
font-size: 12px;
|
||||||
background-color: #444;
|
font-weight: bold;
|
||||||
top: 0;
|
color: #ccc;
|
||||||
bottom: 0;
|
text-shadow: 1px 1px #000;
|
||||||
right: -5px;
|
|
||||||
width: 10px;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-title {
|
.settings-title {
|
||||||
margin: 10px 20px;
|
margin-top: 20px;
|
||||||
|
margin-bottom: 10px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: 12px;
|
|
||||||
font-weight: bold;
|
|
||||||
color: #eee;
|
|
||||||
border-bottom: 1px #aaa solid;
|
border-bottom: 1px #aaa solid;
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-item {
|
.settings-item {
|
||||||
margin: 10px 20px;
|
|
||||||
color: #eee;
|
|
||||||
font-size: 13px;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
31
index.html
31
index.html
@@ -48,21 +48,22 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="drawer">
|
<div class="drawer">
|
||||||
<div class="drawer-content">
|
<div class="drawer-content">
|
||||||
<div class="settings-title">
|
<div class="settings-section">
|
||||||
Canvas settings:
|
<div class="settings-title">
|
||||||
</div>
|
Canvas settings:
|
||||||
<div class="settings-item">
|
</div>
|
||||||
<label>Background:</label>
|
<div class="settings-item">
|
||||||
<select id="canvas-picker">
|
<label>Background:</label>
|
||||||
<option value="light-canvas-background">Light</option>
|
<select id="canvas-picker">
|
||||||
<option value="lowcont-medium-canvas-background">Medium - low contrast</option>
|
<option value="light-canvas-background">Light</option>
|
||||||
<option value="medium-canvas-background" selected="selected">Medium - high contrast</option>
|
<option value="lowcont-medium-canvas-background">Medium - low contrast</option>
|
||||||
<option value="lowcont-dark-canvas-background">Dark - low constrast</option>
|
<option value="medium-canvas-background" selected="selected">Medium - high contrast</option>
|
||||||
</select>
|
<option value="lowcont-dark-canvas-background">Dark - low constrast</option>
|
||||||
</div>
|
</select>
|
||||||
|
</div>
|
||||||
<div class="settings-item">
|
<div class="settings-item">
|
||||||
<label for="show-grid">Show grid:</label> <input id="show-grid" type="checkbox"/>
|
<label for="show-grid">Show grid:</label> <input id="show-grid" type="checkbox"/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user