piskel/css/settings.css

301 lines
4.9 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;
}
2013-12-24 15:57:03 +04:00
/*
* Settings icons
*/
.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;
}
.tool-icon.upload-cloud-icon {
background-image: url(../img/cloud_export.png);
background-position: 4px 0px;
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;
}
.upload-cloud-icon .label {
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
}
.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 {
margin-top: 20px;
margin-bottom: 10px;
text-transform: uppercase;
border-bottom: 1px #aaa solid;
padding-bottom: 5px;
}
2013-12-11 00:25:36 +04:00
.settings-form-section {
margin-bottom: 10px;
}
2013-09-07 19:50:43 +04:00
.background-picker-wrapper {
overflow: hidden;
padding: 10px 5px 20px 5px;
}
.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;
}
/* Gif Export Setting panel*/
.gif-upload-button,
.gif-render-button {
/*float : right;*/
2013-09-07 19:50:43 +04:00
margin-top : 10px;
margin-right : 10px;
2013-09-07 19:50:43 +04:00
}
.gif-export-radio-group {
margin:10px 0;
}
.gif-export-preview {
2013-09-07 19:50:43 +04:00
margin-top:20px;
max-width:240px;
position:relative;
}
.preview-upload-ongoing:before{
content: "Upload ongoing ...";
position: absolute;
display: block;
height: 100%;
width: 100%;
text-align: center;
padding-top: 45%;
box-sizing:border-box;
-moz-box-sizing:border-box;
background: rgba(0,0,0,0.5);
color: white;
2013-10-22 09:40:08 +04:00
}
/* Import panel */
2013-12-24 15:57:03 +04:00
.import-section,
.resize-section {
2013-10-22 09:40:08 +04:00
margin: 15px 0;
}
.import-section-title {
display : inline-block;
}
.import-section-title-small {
width: 35px;
}
.import-section-disabled {
color : #888;
}
.import-section-preview {
display : inline-block;
height : 60px;
width: 60px;
border : 1px dashed #999;
border-radius: 3px;
}
2013-12-24 15:57:03 +04:00
.import-size-field,
.resize-size-field {
width: 50px;
margin-right: 8px;
2013-10-22 09:40:08 +04:00
text-align: right;
}
2013-12-24 15:57:03 +04:00
.import-size-field:nth-of-type(2),
.resize-size-field:nth-of-type(2) {
margin-left: 5px;
}
2013-10-22 09:40:08 +04:00
.file-input-button {
margin-right: 8px;
2013-10-22 09:40:08 +04:00
border-radius: 2px;
}
.file-input-status {
display: inline-block;
width: 130px;
overflow: hidden;
height: 1.5rem;
word-break : break-all;
vertical-align: middle;
2013-10-22 09:40:08 +04:00
font-style: italic;
font-weight: normal;
text-shadow: none;
}
2013-12-19 02:22:25 +04:00
.save-field {
width: 100%;
}
#save-status {
2014-02-10 04:00:16 +04:00
margin-top: 10px;
2013-12-19 02:22:25 +04:00
}
.status {
height: 1.5rem;
vertical-align: middle;
font-weight: normal;
text-shadow: none;
}
[name=smooth-resize-checkbox] {
margin : 0 8px;
2013-12-19 02:22:25 +04:00
}
[name*=checkbox] {
vertical-align: middle;
2014-02-10 04:00:16 +04:00
}
.local-piskels-list {
width: 100%;
}
.local-piskel-item {
height: 3em;
}
.local-piskel-name {
width: 40%;
}
.local-piskel-save-date {
font-weight : normal;
}
.local-piskels-list a {
text-decoration: none;
}
.local-piskels-list a:hover {
text-decoration: underline;
}
.local-piskel-load-link {
color : gold;
}
.local-piskel-delete-link {
color : red;
2013-09-07 19:50:43 +04:00
}