mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
301 lines
4.9 KiB
CSS
301 lines
4.9 KiB
CSS
|
|
/** 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;
|
|
-o-transition: all 200ms ease-out;
|
|
transition: all 200ms ease-out;
|
|
}
|
|
|
|
.right-sticky-section.expanded {
|
|
right: 280px;
|
|
}
|
|
|
|
.right-sticky-section .tool-icon {
|
|
float: right;
|
|
margin-right: 0;
|
|
}
|
|
|
|
/*
|
|
* 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;
|
|
}
|
|
|
|
.tool-icon.local-storage-icon {
|
|
background-image: url(../img/local-storage-icon.png);
|
|
background-position: 10px 12px;
|
|
background-size: 30px;
|
|
position: relative;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.drawer-content {
|
|
overflow: hidden;
|
|
background-color: #444;
|
|
height: 550px;
|
|
max-height: 100%;
|
|
width: 280px;
|
|
border-top-left-radius: 4px;
|
|
border-bottom-left-radius: 4px;
|
|
box-shadow: 0 0 5px 0 black;
|
|
}
|
|
|
|
.right-sticky-section.expanded .tool-icon {
|
|
padding-right: 1px;
|
|
}
|
|
|
|
.right-sticky-section .tool-icon.has-expanded-drawer {
|
|
position: relative;
|
|
background-color: #444;
|
|
margin-right: 0;
|
|
padding-right: 2px;
|
|
border-left : 3px solid gold;
|
|
}
|
|
|
|
.settings-section {
|
|
margin: 10px 20px;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
color: #ccc;
|
|
text-shadow: 1px 1px #000;
|
|
}
|
|
|
|
.settings-section .button {
|
|
margin: 0;
|
|
}
|
|
|
|
.settings-title {
|
|
margin-top: 20px;
|
|
margin-bottom: 10px;
|
|
text-transform: uppercase;
|
|
border-bottom: 1px #aaa solid;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.settings-form-section {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.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;*/
|
|
margin-top : 10px;
|
|
margin-right : 10px;
|
|
}
|
|
|
|
.gif-export-radio-group {
|
|
margin:10px 0;
|
|
}
|
|
|
|
.gif-export-preview {
|
|
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;
|
|
}
|
|
|
|
/* Import panel */
|
|
.import-section,
|
|
.resize-section {
|
|
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;
|
|
}
|
|
|
|
.import-size-field,
|
|
.resize-size-field {
|
|
width: 50px;
|
|
margin-right: 8px;
|
|
text-align: right;
|
|
}
|
|
|
|
.import-size-field:nth-of-type(2),
|
|
.resize-size-field:nth-of-type(2) {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.file-input-button {
|
|
margin-right: 8px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.file-input-status {
|
|
display: inline-block;
|
|
width: 130px;
|
|
overflow: hidden;
|
|
|
|
height: 1.5rem;
|
|
word-break : break-all;
|
|
vertical-align: middle;
|
|
font-style: italic;
|
|
font-weight: normal;
|
|
text-shadow: none;
|
|
}
|
|
|
|
.save-field {
|
|
width: 100%;
|
|
}
|
|
|
|
#save-status {
|
|
margin-top: 10px;
|
|
}
|
|
.status {
|
|
height: 1.5rem;
|
|
vertical-align: middle;
|
|
font-weight: normal;
|
|
text-shadow: none;
|
|
}
|
|
|
|
[name=smooth-resize-checkbox] {
|
|
margin : 0 8px;
|
|
}
|
|
|
|
[name*=checkbox] {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.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;
|
|
} |