555 lines
15 KiB
CSS
555 lines
15 KiB
CSS
|
.ye {
|
||
|
display: flex;
|
||
|
min-height: 500px;
|
||
|
border-bottom: 1px solid #ddd;
|
||
|
margin: -1px;
|
||
|
}
|
||
|
|
||
|
.ye-sidebar {
|
||
|
flex: 0 0 auto;
|
||
|
min-width: 250px;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
.ye-sidebar-buttons {
|
||
|
flex: 0 0 auto;
|
||
|
display: flex;
|
||
|
background-color: #eee;
|
||
|
border-bottom: 1px solid #ddd;
|
||
|
justify-content: flex-start;
|
||
|
align-items: center;
|
||
|
height: 28px;
|
||
|
}
|
||
|
.ye-sidebar-buttons-separator {
|
||
|
width: 1px;
|
||
|
height: 22px;
|
||
|
margin: 1px;
|
||
|
background-color: #ddd;
|
||
|
}
|
||
|
.ye-sidebar-buttons-button {
|
||
|
margin: 1px;
|
||
|
width: 24px;
|
||
|
height: 24px;
|
||
|
cursor: pointer;
|
||
|
background-size: 16px 16px;
|
||
|
background-repeat: no-repeat;
|
||
|
background-position: center center;
|
||
|
background-image: url('page_white.png');
|
||
|
}
|
||
|
.ye-sidebar-buttons-button:hover,
|
||
|
.ye-sidebar-buttons-button:focus {
|
||
|
border: 1px solid #7ca1cd;
|
||
|
background-color: #deecfd;
|
||
|
}
|
||
|
.ye-sidebar-buttons-button:active {
|
||
|
background-color: #f1f7fe;
|
||
|
}
|
||
|
.ye-sidebar-buttons-button--save { background-image: url('accept.png'); }
|
||
|
.ye-sidebar-buttons-button--cancel { background-image: url('cancel.png'); }
|
||
|
.ye-sidebar-buttons-button--add { background-image: url('add.png'); }
|
||
|
.ye-sidebar-buttons-button--preview { background-image: url('page_white_magnify.png'); }
|
||
|
.ye-sidebar-buttons-button--edit { background-image: url('page_white_edit.png'); }
|
||
|
.ye-sidebar-buttons-button--live { background-image: url('page_white_link.png'); }
|
||
|
.ye-sidebar-buttons-button--reset { background-image: url('arrow_refresh.png'); }
|
||
|
|
||
|
.ye-sidebar-effects {
|
||
|
flex: 1 1 auto;
|
||
|
}
|
||
|
.ye-sidebar-effects-empty {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
}
|
||
|
.ye-sidebar-effects-effect {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
border-bottom: 1px solid #ddd;
|
||
|
padding: 5px;
|
||
|
}
|
||
|
.ye-sidebar-effects-effect-name {
|
||
|
padding: 0 5px;
|
||
|
}
|
||
|
.ye-sidebar-effects-effect-actions {
|
||
|
flex: 0 0 auto;
|
||
|
display: flex;
|
||
|
justify-content: flex-end;
|
||
|
align-items: center;
|
||
|
}
|
||
|
.ye-sidebar-effects-effect-actions-action {
|
||
|
margin: 1px;
|
||
|
width: 20px;
|
||
|
height: 20px;
|
||
|
cursor: pointer;
|
||
|
background-size: 16px 16px;
|
||
|
background-repeat: no-repeat;
|
||
|
background-position: center center;
|
||
|
background-image: url('page_white.png');
|
||
|
}
|
||
|
.ye-sidebar-effects-effect-actions-action--edit { background-image: url('pencil.png'); }
|
||
|
.ye-sidebar-effects-effect-actions-action--delete { background-image: url('delete.png'); }
|
||
|
|
||
|
.ye-main {
|
||
|
flex: 1 1 auto;
|
||
|
border-left: 1px solid #ddd;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
|
||
|
.ye-main-title {
|
||
|
flex: 0 0 auto;
|
||
|
border-left: 1px solid #ddd;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
background-color: #eee;
|
||
|
border-bottom: 1px solid #ddd;
|
||
|
height: 28px;
|
||
|
font-size: 1.2em;
|
||
|
padding: 0 6px;
|
||
|
}
|
||
|
|
||
|
.ye-main-container {
|
||
|
flex: 1 1 auto;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: stretch;
|
||
|
}
|
||
|
|
||
|
.ye-main-welcome {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
.ye-main-effect-delete-confirm {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
.ye-main-effect-delete-confirm-text {
|
||
|
font-size: 1.2em;
|
||
|
line-height: 1.5em;
|
||
|
}
|
||
|
.ye-main-effect-delete-confirm-actions {
|
||
|
display: flex;
|
||
|
margin: 5px;
|
||
|
}
|
||
|
.ye-main-effect-delete-confirm-actions-action {
|
||
|
cursor: pointer;
|
||
|
margin: 0 5px;
|
||
|
padding: 5px 10px;
|
||
|
font-size: 1.1em;
|
||
|
border-radius: 5px;
|
||
|
min-width: 100px;
|
||
|
text-align: center;
|
||
|
color: #fff;
|
||
|
transition: background-color .1s;
|
||
|
}
|
||
|
.ye-main-effect-delete-confirm-actions-action--accept { background-color: #28a745; }
|
||
|
.ye-main-effect-delete-confirm-actions-action--accept:hover,
|
||
|
.ye-main-effect-delete-confirm-actions-action--accept:focus { background-color: #218838; }
|
||
|
.ye-main-effect-delete-confirm-actions-action--accept:active { background-color: #1e7e34; }
|
||
|
.ye-main-effect-delete-confirm-actions-action--deny { background-color: #dc3545; }
|
||
|
.ye-main-effect-delete-confirm-actions-action--deny:hover,
|
||
|
.ye-main-effect-delete-confirm-actions-action--deny:focus { background-color: #c82333; }
|
||
|
.ye-main-effect-delete-confirm-actions-action--deny:active { background-color: #bc2130; }
|
||
|
|
||
|
.ye-main-details {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
max-width: 400px;
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
.ye-main-details-fields {
|
||
|
width: 100%;
|
||
|
}
|
||
|
.ye-main-details-fields-field {
|
||
|
display: flex;
|
||
|
margin: 5px 0;
|
||
|
}
|
||
|
.ye-main-details-fields-field-name {
|
||
|
min-width: 100px;
|
||
|
}
|
||
|
.ye-main-details-fields-field-wrap {
|
||
|
border: 1px solid #000;
|
||
|
min-width: 300px;
|
||
|
height: 22px;
|
||
|
display: flex;
|
||
|
padding: 0 2px;
|
||
|
background-color: #eee;
|
||
|
color: #444;
|
||
|
}
|
||
|
.ye-main-details-fields-field-input {
|
||
|
border-width: 0;
|
||
|
flex-grow: 1;
|
||
|
font: 12px/20px Tahoma, Geneva, 'Dejavu Sans', Arial, Helvetica, sans-serif;
|
||
|
background-color: #eee;
|
||
|
color: #000;
|
||
|
}
|
||
|
.ye-main-details-fields-field--readonly .ye-main-details-fields-field-wrap,
|
||
|
.ye-main-details-fields-field--readonly .ye-main-details-fields-field-input {
|
||
|
color: #666;
|
||
|
}
|
||
|
|
||
|
.ye-applet-effects-list {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
.ye-applet-effects-list-item {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
padding: 5px;
|
||
|
border-bottom: 1px solid #ddd;
|
||
|
}
|
||
|
.ye-applet-effects-list-item--used {
|
||
|
opacity: .5;
|
||
|
}
|
||
|
.ye-applet-effects-list-item-name {
|
||
|
padding: 1px 5px;
|
||
|
}
|
||
|
.ye-applet-effects-list-item-actions {
|
||
|
flex: 0 0 auto;
|
||
|
display: flex;
|
||
|
justify-content: flex-end;
|
||
|
align-items: center;
|
||
|
}
|
||
|
.ye-applet-effects-list-item-actions-action {
|
||
|
margin: 1px;
|
||
|
width: 20px;
|
||
|
height: 20px;
|
||
|
cursor: pointer;
|
||
|
background-size: 16px 16px;
|
||
|
background-repeat: no-repeat;
|
||
|
background-position: center center;
|
||
|
background-image: url('page_white.png');
|
||
|
}
|
||
|
.ye-applet-effects-list-item-actions-action--add { background-image: url('add.png'); }
|
||
|
|
||
|
.ye-applet-uploads {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
.ye-applet-uploads-progress {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
flex: 1 1 auto;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
padding: 10px;
|
||
|
}
|
||
|
.ye-applet-uploads-progress-bar {
|
||
|
height: 24px;
|
||
|
width: 100%;
|
||
|
flex: 0 0 auto;
|
||
|
}
|
||
|
.ye-applet-uploads-cancel {
|
||
|
margin: 5px;
|
||
|
margin-top: 0;
|
||
|
font-size: 1.2em;
|
||
|
padding: 5px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
.ye-applet-uploads-dropzone {
|
||
|
flex: 1 1 auto;
|
||
|
min-height: 200px;
|
||
|
padding: 5px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
.ye-applet-uploads-dropzone-inner {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
background-color: #ccc;
|
||
|
background-image: radial-gradient(circle at center, #eee, #bbb);
|
||
|
border: 5px dashed #888;
|
||
|
border-radius: 5px;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
font-size: 1.5em;
|
||
|
line-height: 1.5em;
|
||
|
transition: border-color .2s;
|
||
|
}
|
||
|
.ye-applet-uploads-dropzone--active .ye-applet-uploads-dropzone-inner {
|
||
|
border-color: #444;
|
||
|
}
|
||
|
.ye-applet-uploads-hidden {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.ye-applet-editor {
|
||
|
}
|
||
|
.ye-applet-editor--fill {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
.ye-applet-editor-empty {
|
||
|
font-size: 1.2em;
|
||
|
line-height: 1.5em;
|
||
|
}
|
||
|
.ye-applet-editor-properties {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
border-bottom: 1px solid #ddd;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-title {
|
||
|
font-size: 1.1em;
|
||
|
line-height: 1.5em;
|
||
|
padding: 2px 5px;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-wrap {
|
||
|
display: flex;
|
||
|
flex: 1 1 auto;
|
||
|
justify-content: space-between;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-none {
|
||
|
font-size: .9em;
|
||
|
padding: 2px 10px;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-reset {
|
||
|
flex: 0 0 auto;
|
||
|
width: 20px;
|
||
|
height: 20px;
|
||
|
margin: 4px;
|
||
|
background-image: url('bomb.png');
|
||
|
background-size: 16px 16px;
|
||
|
background-position: center center;
|
||
|
background-repeat: no-repeat;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-bool {
|
||
|
display: block;
|
||
|
width: 100%;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-bool-toggle {
|
||
|
margin: 7px;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-int {
|
||
|
display: block;
|
||
|
width: 100%;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-int-input {
|
||
|
margin: 2px 5px;
|
||
|
padding: 2px;
|
||
|
border: 1px solid #aaa;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-int-input:focus {
|
||
|
border-color: #f78f2e;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-upload {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-upload-id {
|
||
|
font-size: .9em;
|
||
|
padding: 2px 10px;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-upload-select {
|
||
|
flex: 0 0 auto;
|
||
|
width: 20px;
|
||
|
height: 20px;
|
||
|
margin: 4px;
|
||
|
background-image: url('drive_add.png');
|
||
|
background-size: 16px 16px;
|
||
|
background-position: center center;
|
||
|
background-repeat: no-repeat;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-select {
|
||
|
display: block;
|
||
|
width: 100%;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-select-input {
|
||
|
margin: 5px;
|
||
|
padding: 2px;
|
||
|
border: 1px solid #aaa;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-select-input:focus {
|
||
|
border-color: #f78f2e;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-colour {
|
||
|
display: block;
|
||
|
width: 100%;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-colour-input {
|
||
|
margin: 5px;
|
||
|
padding: 2px;
|
||
|
border: 1px solid #aaa;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-colour-input:focus {
|
||
|
border-color: #f78f2e;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-string {
|
||
|
display: flex;
|
||
|
width: 100%;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-string-input {
|
||
|
margin: 5px;
|
||
|
padding: 2px;
|
||
|
border: 1px solid #aaa;
|
||
|
flex: 1 1 auto;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-string-input:focus {
|
||
|
border-color: #f78f2e;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient {
|
||
|
flex-grow: 1;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-preview {
|
||
|
margin: 0 5px;
|
||
|
height: 50px;
|
||
|
border: 1px solid #aaa;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-direction {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-direction-circle {
|
||
|
margin: 6px;
|
||
|
width: 34px;
|
||
|
height: 34px;
|
||
|
border-radius: 100%;
|
||
|
border: 1px solid #8c8c8c;
|
||
|
padding: 1px;
|
||
|
background: #fefefe linear-gradient(0deg, #fdfdfd, #d9d9d9);
|
||
|
box-shadow: inset 0 0 0 1px #fff;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-direction-circle:active {
|
||
|
border-color: #f78f2e;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-direction-circle-value {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: flex-start;
|
||
|
pointer-events: none;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-direction-circle-indicator {
|
||
|
background: #999;
|
||
|
width: 2px;
|
||
|
height: 50%;
|
||
|
border-radius: 1px;
|
||
|
pointer-events: none;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-direction-input {
|
||
|
margin: 5px;
|
||
|
margin-left: 0;
|
||
|
padding: 2px;
|
||
|
border: 1px solid #aaa;
|
||
|
width: 60px;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-direction-input:focus {
|
||
|
border-color: #f78f2e;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-points-add {
|
||
|
margin: 1px;
|
||
|
margin-left: auto;
|
||
|
border: 1px solid #707070;
|
||
|
border-radius: 2px;
|
||
|
background: linear-gradient(180deg, #fcfcfc 0%, #ebebeb 50%, #dbdbdb 50%) #ebebeb;
|
||
|
cursor: pointer;
|
||
|
padding: 0 5px;
|
||
|
font: 12px/20px Tahoma, Geneva, 'Dejavu Sans', Arial, Helvetica, sans-serif;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
color: #000;
|
||
|
text-decoration: none;
|
||
|
transition: border-color .2s;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-points-add:hover,
|
||
|
.ye-applet-editor-properties-property-gradient-points-add:focus {
|
||
|
border-color: #f78f2e;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-points-add:active {
|
||
|
background: linear-gradient(0deg, #fcfcfc 0%, #ebebeb 50%, #dbdbdb 50%) #ebebeb;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-points-add-icon {
|
||
|
width: 16px;
|
||
|
height: 16px;
|
||
|
background-image: url('add.png');
|
||
|
background-size: 16px 16px;
|
||
|
background-position: center center;
|
||
|
background-repeat: no-repeat;
|
||
|
margin-right: 4px;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-points {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
max-height: 400px;
|
||
|
overflow: auto;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-points-point {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-points-point-actions {
|
||
|
flex: 0 0 auto;
|
||
|
display: flex;
|
||
|
justify-content: flex-end;
|
||
|
align-items: center;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-points-point-actions-action {
|
||
|
margin: 1px;
|
||
|
width: 20px;
|
||
|
height: 20px;
|
||
|
cursor: pointer;
|
||
|
background-size: 16px 16px;
|
||
|
background-repeat: no-repeat;
|
||
|
background-position: center center;
|
||
|
background-image: url('page_white.png');
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-points-point-actions-action--delete { background-image: url('delete.png'); }
|
||
|
.ye-applet-editor-properties-property-gradient-points-point-colour {
|
||
|
margin: 2px 5px;
|
||
|
display: block;
|
||
|
overflow: hidden;
|
||
|
width: 41px;
|
||
|
height: 21px;
|
||
|
border: 1px solid #aaa;
|
||
|
box-shadow: inset 0 0 0 1px #fff;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-points-point-colour:active,
|
||
|
.ye-applet-editor-properties-property-gradient-points-point-colour:focus-within {
|
||
|
border-color: #f78f2e;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-points-point-colour-value {
|
||
|
position: relative;
|
||
|
top: -500px;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-points-point-offset-range {
|
||
|
flex: 1 1 auto;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-points-point-offset-numeric {
|
||
|
margin: 5px;
|
||
|
padding: 2px;
|
||
|
border: 1px solid #aaa;
|
||
|
width: 60px;
|
||
|
}
|
||
|
.ye-applet-editor-properties-property-gradient-points-point-offset-numeric:focus {
|
||
|
border-color: #f78f2e;
|
||
|
}
|