$color-gray: #c1c1c1; $color-bg: #535353; #dialog-section { overflow: hidden; height: 100%; position: relative; * { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } } #dialog-overlay-wrap { height: 100%; overflow: auto; } #dialog { user-select: text; position: relative; z-index: 10; display: inline-block; min-height: 0px; min-width: 48px; font-family: 'Source Sans Pro', sans-serif; font-size: 13px; line-height: 15px; font-weight: 400; letter-spacing: 0.026em; margin: 80px 55px; [contenteditable] { position: relative; z-index: 0; outline: none; &:focus { // background: #fff !important; // color: #000 !important; } &:hover { cursor: text; } } #dialog-title-bar { position: relative; overflow: hidden; text-align: center; border-top: 1px solid #f4f4f4; border-bottom: 1px solid #b6b6b6; color: #333333; height: 20px; line-height: 20px; background: linear-gradient(to bottom, #e5e5e5 0%,#d3d3d3 100%); border-radius: 6px 6px 0 0; /* padding: 0 13px; */ div { position: absolute; // Chrome was doing just fine with max-width: 100%, but I needed to add this to make it work in firefox. right: 13px; left: 13px; &:focus { right: unset; left: unset; width: 100%; } white-space: nowrap; overflow: hidden; text-overflow: ellipsis; // There's a javscript fix in the "assets/js/panels/dialog.js" file. Look for id: #5945573415 } div:focus { text-overflow: unset; // There's a javscript fix in the "assets/js/panels/dialog.js" file. Look for id: #5945573415 } } #dialog-container { overflow: hidden; border-radius: 6px; box-shadow: 0px 0px 2px rgba(0,0,0,.7), 0px 2px 30px 3px rgba(0,0,0,.4); > .padding-box { display: flex; white-space: nowrap; padding: 16px; background: $color-bg; min-height: 20px; color: #dadada; } } .pb-shrink { width: auto !important; height: auto !important; > .padding-box { flex-grow: 0 !important; justify-self: flex-start !important; align-self: flex-start !important; } } // .padding-box > div { // overflow: visible !important; // } .padding-box { > .divider-line { align-self: stretch; display: flex; > .padding-box { align-self: stretch; } } } .text-container { display: block; } // ORIENTATION ROW .orientation-row { display: flex; flex-direction: row; > div { display: flex; flex-direction: row; } // ALIGN CHILDREN &.align-children-vertical-top > div { align-items: flex-start; } &.align-children-vertical-center > div { align-items: center; } &.align-children-vertical-bottom > div { align-items: flex-end; } &.align-children-vertical-fill > div { align-items: stretch; } &.align-children-horizontal-left > div { justify-content: flex-start; } &.align-children-horizontal-center > div { justify-content: center; } &.align-children-horizontal-right > div { justify-content: flex-end; } &.align-children-horizontal-fill > div { justify-content: stretch; >div { flex: 1; } } // ALIGMENT > div > .alignment-vertical-top { justify-self: flex-start; margin-bottom: auto !important; } > div > .alignment-vertical-center { justify-self: center; margin-top: auto !important; margin-bottom: auto !important; } > div > .alignment-vertical-bottom { justify-self: flex-end; margin-top: auto !important; } > div > .alignment-vertical-fill { align-self: stretch; } } // ORIENTATION COLUMN .orientation-column { display: flex; flex-direction: column; > div { display: flex; flex-direction: column; } // ALIGN CHILDREN &.align-children-horizontal-left > div { align-items: flex-start; } &.align-children-horizontal-center > div { align-items: center; > .padding-box > div { text-align: center; .text-container { display: inline-block; } } } &.align-children-horizontal-right > div { align-items: flex-end; > .padding-box > div { text-align: right; .text-container { display: inline-block; } } } &.align-children-horizontal-fill > div { align-items: stretch; } &.align-children-vertical-top > div { justify-content: flex-start; } &.align-children-vertical-center > div { justify-content: center; } &.align-children-vertical-bottom > div { justify-content: flex-end; } &.align-children-vertical-fill > div { justify-content: stretch; > div { flex: 1; } } // ALIGMENT > div > .alignment-horizontal-left { align-self: flex-start; } > div > .alignment-horizontal-center { align-self: center; } > div > .alignment-horizontal-right { align-self: flex-end; } > div > .alignment-horizontal-fill { align-self: stretch; } } #dialog-container.orientation-row { flex-direction: column; > .padding-box { flex-direction: row; } } .group, .panel { /* display: inline-block; */ align-items: flex-start; align-items: center; } .panel.orientation-row > *, .group.orientation-row > * { line-height: 15px; min-height: 15px; } .panel.orientation-column > *, .group.orientation-column > * { line-height: 13px; min-height: 13px; } .button { line-height: 23px; min-height: 23px; } & > .orientation-column > .padding-box { display: flex; flex-direction: column; } & > .orientation-row > .padding-box { display: flex; flex-direction: row; } .panel { position: relative; .title { align-self: flex-start; color: #f0f0f0; background: $color-bg; min-height: 13px; line-height: 13px; padding: 0px 5px; margin: 0 0 -24px 5px !important; } > .padding-box { align-self: stretch; justify-self: stretch; flex-grow: 1; min-width: 30px; min-height: 0px; border: 1px solid #3e3e3e; border: 1px solid darken($color-bg,5); margin-top: 19px; padding: 16px 16px; } } .padding-box { align-self: stretch; justify-self: stretch; flex-grow: 1; overflow: hidden; } // .orientation-row > .padding-box > div > .title, .padding-box > .panel.orientation-row > { .title { position: absolute; // top: 17px; } .padding-box { margin-top: 8px; } } // Correction for spacing