piskel/src/css/settings.css

211 lines
4.5 KiB
CSS
Raw Normal View History

2013-09-07 19:50:43 +04:00
/** Righty sticky drawer expanded state. */
.right-sticky-section.sticky-section {
right: 0;
width: 47px;
-webkit-transition: all 200ms ease-out;
-moz-transition: all 200ms ease-out;
-ms-transition: all 200ms ease-out;
2013-12-19 02:22:25 +04:00
-o-transition: all 200ms ease-out;
2013-09-07 19:50:43 +04:00
transition: all 200ms ease-out;
}
.right-sticky-section.expanded {
right: 280px;
}
.right-sticky-section .tool-icon {
float: right;
margin-right: 0;
}
2014-04-12 14:08:53 +04:00
/********************************************************** *j* j** j*j j j j** *****************/
/* Settings icons I I I I I\I \ */
/********************************************************** *** *** *** * * '** *****************/
2013-12-24 15:57:03 +04:00
.tool-icon.gallery-icon {
background-image: url(../img/gallery.png);
background-position: 3px 3px;
background-size: 39px 39px;
}
.tool-icon.resize-icon {
background-image: url(../img/resize-icon.png);
background-position: 10px 10px;
background-size: 26px 26px;
}
.tool-icon.save-icon {
background-image: url(../img/save.png);
background-position: 6px 6px;
background-size: 36px 36px;
}
.tool-icon.gear-icon {
background-image: url(../img/gear.png);
background-position: 6px 7px;
background-size: 32px 32px;
}
2014-07-12 23:14:07 +04:00
.tool-icon.export-icon {
background-image: url(../img/export.png);
background-position: 7px 5px;
2013-12-24 15:57:03 +04:00
background-size: 36px 36px;
position: relative;
}
2014-02-10 04:00:16 +04:00
.tool-icon.local-storage-icon {
background-image: url(../img/local-storage-icon.png);
background-position: 10px 12px;
background-size: 30px;
position: relative;
}
2013-12-24 15:57:03 +04:00
.tool-icon.import-icon {
background-image: url(../img/import-icon.png);
background-position: 10px 5px;
background-size: 26px;
position: relative;
}
.tool-icon .label {
2013-12-24 15:57:03 +04:00
position: absolute;
left: 0;
bottom: 4px;
right: 0;
font-size: 11px;
text-transform: uppercase;
color: #fff;
text-align: center;
}
2013-09-07 19:50:43 +04:00
.drawer-content {
overflow: hidden;
background-color: #444;
height: 550px;
max-height: 100%;
width: 280px;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
2013-12-06 01:12:48 +04:00
box-shadow: 0 0 5px 0 black;
2013-09-07 19:50:43 +04:00
}
.right-sticky-section.expanded .tool-icon {
padding-right: 1px;
2013-09-07 19:50:43 +04:00
}
.right-sticky-section .tool-icon.has-expanded-drawer {
position: relative;
background-color: #444;
margin-right: 0;
padding-right: 2px;
2013-12-06 01:12:48 +04:00
border-left : 3px solid gold;
2013-09-07 19:50:43 +04:00
}
2014-04-12 14:08:53 +04:00
/************************************************************************************************/
/* Common settings classes */
/************************************************************************************************/
2013-09-07 19:50:43 +04:00
.settings-section {
margin: 10px 20px;
font-size: 12px;
font-weight: bold;
color: #ccc;
text-shadow: 1px 1px #000;
}
2013-12-11 00:25:36 +04:00
.settings-section .button {
margin: 0;
}
2013-09-07 19:50:43 +04:00
.settings-title {
color : gold;
2013-09-07 19:50:43 +04:00
margin-top: 20px;
margin-bottom: 10px;
text-transform: uppercase;
border-bottom: 1px #aaa solid;
padding-bottom: 5px;
color: gold;
2013-09-07 19:50:43 +04:00
}
.settings-description {
margin : 0 0 10px 0;
display : inline-block;
}
2013-12-11 00:25:36 +04:00
.settings-form-section {
margin-bottom: 10px;
}
2013-09-07 19:50:43 +04:00
2014-05-08 03:41:14 +04:00
.settings-item {
margin : 10px 0;
}
[name*=checkbox] {
vertical-align: middle;
}
2014-04-12 14:08:53 +04:00
/************************************************************************************************/
/* Application settings */
/************************************************************************************************/
2013-09-07 19:50:43 +04:00
.background-picker-wrapper {
overflow: hidden;
2014-05-08 03:41:14 +04:00
padding: 5px;
2013-09-07 19:50:43 +04:00
}
.background-picker {
cursor: pointer;
float: left;
height: 35px;
width: 35px;
background-color: transparent;
margin-right: 15px;
padding: 1px;
position: relative;
}
.background-picker:after {
content: " ";
position: absolute;
top: -2px;
right: -2px;
bottom: -2px;
left: -2px;
2013-09-07 19:50:43 +04:00
}
.background-picker:hover:after {
border: #eee 1px solid;
}
.background-picker.selected:after {
border: gold 1px solid;
}
2014-04-12 14:08:53 +04:00
/************************************************************************************************/
/* Save panel */
/************************************************************************************************/
2013-12-19 02:22:25 +04:00
.save-field {
width: 100%;
}
.save-status {
2014-07-15 02:31:24 +04:00
margin-top: 10px;
margin-bottom: -10px;
2013-12-19 02:22:25 +04:00
vertical-align: middle;
font-weight: normal;
text-shadow: none;
font-style: italic;
2013-12-19 02:22:25 +04:00
}
2014-07-06 14:55:29 +04:00
.save-file-name {
white-space: nowrap;
font-weight: bold;
color: white;
font-style: normal;
2013-09-07 19:50:43 +04:00
}