::-webkit-scrollbar-track { background: #343434; } ::-webkit-scrollbar-thumb { background: #5d5d5d; border-radius: 0; } ::-webkit-scrollbar-thumb:hover { background: #5d5d5d; } ::-webkit-scrollbar { width: 8px; height: 10px; } iframe{ width: 100%; height: 100%; border: 0; display: block; } #js-hura-edit-container { overflow-x: hidden; } .hura-scroll { &::-webkit-scrollbar-track { background: transparent; } &::-webkit-scrollbar-thumb { background: #D9D9D9; border-radius: 5px; } &::-webkit-scrollbar-thumb:hover { background: #5d5d5d; } &::-webkit-scrollbar { width: 10px; height: 10px; } } .hura-hide{ display: none; } .hura-style-italic { font-style: italic !important; } .hura-style-under { text-decoration: underline !important; } .hura-style-line-through { text-decoration: line-through !important; } .hura-edit-body { display: flex; flex-wrap: wrap; justify-content: space-between; background: #444; .hura-toolbar-top { width: 100%; background: #24375C; height: 40px; border: 1px solid rgba(0, 0, 0, 0.15); } .hura-toolbar-right { @extend .hura-scroll; background: #24375C; width: 320px; height: calc(100% - 40px); overflow: auto; position: relative; padding: 0 10px 10px; color: #fff; } .hura-main-content { width: calc(100% - 320px); height: calc(100% - 40px); overflow: auto; transition: .3s all; margin: auto; border: 0; &::-webkit-scrollbar-track { background: #343434; } &::-webkit-scrollbar-thumb { background: #5d5d5d; border-radius: 0; } &::-webkit-scrollbar-thumb:hover { background: #5d5d5d; } &::-webkit-scrollbar { width: 8px; height: 10px; } } .hura-toolbar-holder { width: calc(100% - 320px); height: 100%; display: flex; align-items: center; justify-content: center; a{ margin: 0 10px; &:hover{ *{ fill: #4AC9FF; } } } } .hura-btn-tab { position: absolute; top: 8px; right: 16px; } .hura-panel-options { border: 1px solid #374868; background: #1E3053; .hura-group-title { padding: 0 10px; line-height: 40px; margin: 0; color: #7D8FB1; font-size: 16px; } } .hura-option-list { border-top: 1px solid #374868; padding: 16px 10px; a { display: table; font-size: 14px; margin-bottom: 10px; line-height: 18px; position: relative; padding-left: 30px; color: #fff !important; &::before { content: ''; border-radius: 2px; border: 1px solid #7D8FB1; width: 18px; height: 18px; background: #1E3053; position: absolute; left: 0; } } .current { &::before { background: #2989F9; border-color: transparent; } &::after{ content: ""; width: 11px; height: 8px; border: 2px solid #fff; border-top: 0; border-right: 0; position: absolute; left: 4px; transform: rotate(-45deg); margin-top: 2px; } } } } .hura-toolbar-list { background: #2989F9; box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.15); line-height: 30px; display: flex; align-items: center; justify-content: center; position: absolute; right: 0; z-index: 9; a { width: 30px; height: 30px; text-align: center; display: flex; align-items: center; justify-content: center; cursor: pointer; outline: unset !important; } } .hura-toolbar-table { border: 1px solid #374868; padding: 18px 10px; margin-bottom: 10px; table{ width: 100%; *{ color: #fff; } } td{ padding: 6px 0; &:nth-child(1){ font-size: 13px; font-weight: 300; min-width: 75px; } } select, input{ display: block; width: 100%; border-radius: 4px; background: #07132B; height: 36px; color: #fff; border: 0; padding: 0 10px; } } .js-hura-edit{ outline: 2px solid transparent; &:hover{ outline: 2px solid #2989F9; } *:hover{ outline: 2px solid #2989F9; } img{ &:hover{ outline: 2px solid #2989F9; } } } .hura-selected { outline: 2px solid #2989F9; position: relative; } .hura-edit-popup-container { table{ width: 100%; } .hura-popup-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.50); z-index: 999; } .hura-edit-popup-group{ @extend .hura-scroll; position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #fff; z-index: 1000; max-width: 930px; width: 100%; height: 600px; overflow: auto; border-radius: 12px; } .hura-popup-title{ display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 12px; border-bottom: 1px solid #F5F5F5; line-height: 24px; font-size: 20px; font-weight: 500; margin-bottom: 10px; } .hura-popup-btn { border-top: 1px solid #F5F5F5; padding: 10px; display: flex; align-items: center; justify-content: center; line-height: 36px; margin-top: 10px; a{ color: #2989F9; border-radius: 4px; padding: 0 24px; margin: 0 5px; font-size: 14px; &:last-child{ color: #fff; background: #2989F9; } } } .hura-edit-content { @extend .hura-scroll; height: calc(100% - 130px); overflow: auto; padding: 0 20px; thead { background: #F5F5F5; font-weight: 600; } td { font-size: 14px; text-align: center; border: 1px solid #ECECEC; padding: 8px; &:nth-child(1){ min-width: 50px; } &:nth-child(2){ min-width: 65px; } &:nth-child(3){ min-width: 150px; } &:nth-child(5), &:nth-child(6){ input { width: 100px; text-align: center; } } &:nth-child(7){ min-width: 90px; } } input, select { display: block; border-radius: 4px; border: 1px solid #E7E7E7; background: #FFF; height: 36px; padding: 0 8px; max-width: 250px; } select{ padding: 0; width: 100%; } img{ display: block; margin: auto auto 4px; width: 42px; } } } .hura-sectors-container { border: 1px solid #374868; background: #1E3053; .hura-sectors-title { background: #162541; border-bottom: 1px solid #374868; line-height: 20px; padding: 10px; color: #7D8FB1; font-size: 16px; display: flex; align-items: center; cursor: pointer; svg { margin-right: 10px; } p{ margin: 0; } } .hura-properties-list { padding: 12px 10px; display: flex; flex-wrap: wrap; justify-content: space-between; } .hura-style-item { margin-bottom: 15px; width: calc(50% - 15px); input, select { width: 100%; height: 36px; display: block; color: #FFF; border-radius: 4px; background: #07132B; border: 0; padding: 0 5px; } input{ padding: 0 10px; } select { -webkit-appearance: none; background: #07132B url(../images/hura-icon-down.png) no-repeat right 10px center; } } .hura-style-title { font-size: 14px; margin: 0 0 8px; } input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; background: transparent url(../images/hura-icon-direction.png) no-repeat center center; width: 8px; position: absolute; top: 0; right: 10px; bottom: 0; opacity: 1; } .hura-text-align { display: flex; align-items: center; text-align: center; border-radius: 4px; overflow: hidden; label { margin: 0; width: calc(100% / 4); text-align: center; background: #07132B; border-right: 1px solid #000; position: relative; height: 36px; input { -webkit-appearance: none; height: 36px; width: 100%; display: block; cursor: pointer; &:checked{ background: #475E8A; ~svg { background: #475E8A; } } } svg { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); cursor: pointer; } } button { margin: 0; width: calc(100% / 4); text-align: center; background: #07132B; border: 0; border-right: 1px solid #000; position: relative; height: 36px; line-height: 36px; color: #fff; cursor: pointer; svg{ *{ fill: #fff; } } } .current { background: #475E8A; } } .hura-color-holder{ input { background-position: right top, right top !important; } } .hura-input-number { position: relative; input { padding-right: 45px; } span { line-height: 36px; font-size: 14px; position: absolute; top: 0; right: 27px; } } .hura-button { height: 36px; line-height: 36px; color: #fff; border-radius: 4px; border: 0; background: #334566; padding: 0 20px; margin: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; svg{ margin-right: 5px; } } .hura-rotation-button { text-align: center; padding: 10px 10px 18px; button { color: #4AC9FF; background: transparent; border: 0; padding: 0; margin: 0; cursor: pointer; height: 20px; } } } .hura-show-preview{ display: block; .hura-toolbar-right, .hura-toolbar-list, .hura-btn-tab { display: none; } .hura-main-content { transition: unset; width: 100% !important; height: 100%; } .hura-toolbar-top { position: fixed; top: 0; left: 0; z-index: 1; width: auto; } .hura-toolbar-holder{ width: auto; a{ display: none; } } .hura-selected, .js-hura-edit, .js-hura-edit *:hover { outline: none !important; } } .hura-rotation-list { font-size: 14px; line-height: 16px; padding: 10px 10px 0; p{ margin: 0; } summary { font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: space-between; cursor: pointer; padding: 10px; &::marker{ content: none; } } .hura-rotation { border: 1px solid #374868; } .hura-rotation-detail { padding: 0 10px 10px; } .hura-rotation-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 13px; img{ margin-top: 7px; max-height: 58px; } p{ width: 100%; } } }