UNPKG

amis-theme-editor

Version:

amis主题编辑器

1,546 lines (1,516 loc) 35.4 kB
@charset "UTF-8"; .Theme-PaddingAndMargin-title { margin-bottom: 0.625rem; color: #5c5f66; font-size: 12px; } .Theme-PaddingAndMargin-inner { display: flex; justify-content: space-between; } .Theme-PaddingAndMargin-inner .theme-select { width: 100%; } .Theme-PaddingAndMargin-input { flex-direction: column; align-items: center; flex: 1; margin-left: 0.25rem; min-width: 0; } .Theme-PaddingAndMargin-input-label { font-size: 12px; color: #5c5f66; text-align: center; } .Theme-PaddingAndMargin-label { border-radius: 4px; overflow: hidden; height: 2rem; width: 2rem; flex-shrink: 0; flex-grow: 0; display: flex; cursor: pointer; } .Theme-PaddingAndMargin-label-all { background: #f7f7f9; height: 2rem; display: inline-flex; align-items: center; justify-content: center; width: 2rem; } .Theme-PaddingAndMargin-label-all:before { content: ""; height: 0.875rem; width: 0.875rem; display: block; border: 2px solid #5c5f66; border-radius: 2px; } .Theme-PaddingAndMargin-label-custom { background: #f7f7f9; height: 2rem; width: 2rem; position: relative; border-left: 1px solid #e8e9eb; } .Theme-PaddingAndMargin-label-custom > div { height: 0.875rem; width: 0.875rem; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } .Theme-PaddingAndMargin-label-custom > div:before, .Theme-PaddingAndMargin-label-custom > div:after { position: absolute; content: ""; display: block; background: #5c5f66; height: 0.125rem; width: 0.125rem; border-radius: 0.0625rem; } .Theme-PaddingAndMargin-label-custom > div:first-child:before { width: 0.5rem; top: 0; left: 0.1875rem; } .Theme-PaddingAndMargin-label-custom > div:first-child:after { height: 0.5rem; top: 0.1875rem; left: 0; } .Theme-PaddingAndMargin-label-custom > div:last-child:before { width: 0.5rem; bottom: 0; left: 0.1875rem; } .Theme-PaddingAndMargin-label-custom > div:last-child:after { height: 0.5rem; bottom: 0.1875rem; right: 0; } .Theme-PaddingAndMargin-label-all--active:before { border-color: #2468f2; } .Theme-PaddingAndMargin-label-custom--active > div:before, .Theme-PaddingAndMargin-label-custom--active > div:after { background-color: #2468f2; } .Theme-PaddingAndMargin-label--custom { width: 4rem; } .Theme-PaddingAndMargin .cxd-Form-item { margin-bottom: 0; } .Theme-PaddingAndMargin-custom { height: 8.25rem; width: 16rem; margin: 0 auto; margin-top: 0.5rem; background: url("data:image/svg+xml;base64,Cjxzdmcgd2lkdGg9IjI1NnB4IiBoZWlnaHQ9IjEzMnB4IiB2aWV3Qm94PSIwIDAgMjU2IDEzMiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgZmlsbD0iI0VFRjNGRSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI1NiIgaGVpZ2h0PSIxMzIiIHJ4PSI0Ij48L3JlY3Q+CiAgICAgICAgPHBhdGggZD0iTTEuNTgwNzA5MDIsMC44MTQyODgxMyBMMTI4LDY2IEwxLjU4MDcwOTAyLDEzMS4xODU3MTIgQzAuNjIwMTMxOTM0LDEzMC40NTUxMDUgMS41OTIwMDcxMWUtMTYsMTI5LjI5OTk3MiAwLDEyOCBMMCw0IEMtMS41OTIwMDcxMWUtMTYsMi43MDAwMjc1NCAwLjYyMDEzMTkzNCwxLjU0NDg5NDY2IDEuNTgwNzA5MDIsMC44MTQyODgxMyBaIE0yNTYsNCBMMjU2LDEyOCBDMjU2LDEyOS4yOTk1MiAyNTUuMzgwMywxMzAuNDU0MzAxIDI1NC40MjAyOTQsMTMxLjE4NDk0OSBMMTI4LDY2IEwyNTQuNDE5MjkxLDAuODE0Mjg4MTMgQzI1NS4zNzk4NjgsMS41NDQ4OTQ2NiAyNTYsMi43MDAwMjc1NCAyNTYsNCBaIiBpZD0i5b2i54q257uT5ZCIIiBmaWxsPSIjRTNFRUZGIj48L3BhdGg+CiAgICAgICAgPHBhdGggZD0iTTIxMSwyMyBMMjExLDEwOSBMNDQsMTA5IEw0NCwyMyBMMjExLDIzIFogTTE5OSwyOSBMNTYsMjkgTDU2LDEwMyBMMTk5LDEwMyBMMTk5LDI5IFoiIGlkPSLlvaLnirbnu5PlkIgiIGZpbGw9IiNGRkZGRkYiPjwvcGF0aD4KICAgICAgICA8cmVjdCBpZD0i55+p5b2iIiBmaWxsPSIjRkZGRkZGIiB4PSIxMTEiIHk9IjU3IiB3aWR0aD0iMzQiIGhlaWdodD0iMTgiPjwvcmVjdD4KICAgIDwvZz4KPC9zdmc+"); position: relative; } .Theme-PaddingAndMargin-custom::before, .Theme-PaddingAndMargin-custom::after { font-size: 10px; color: #b8babf; font-weight: 400; position: absolute; transform: scale(0.8); } .Theme-PaddingAndMargin-custom > div { font-size: 12px; color: #5c5f66; position: absolute; display: flex; align-items: center; justify-content: center; padding: 0.125rem; cursor: pointer; word-wrap: break-word; line-height: 0.8; min-width: 2.5rem; min-height: 0.875rem; border: 1px solid transparent; } .Theme-PaddingAndMargin-custom > div div { transform: scale(0.8); transform-origin: left; } .Theme-PaddingAndMargin-custom > div:hover { color: #2468f2; border-color: #2468f2; border-radius: 0.125rem; } .Theme-PaddingAndMargin-custom-marginTop { top: 0.25rem; left: 50%; transform: translateX(-50%); } .Theme-PaddingAndMargin-custom-marginBottom { bottom: 0.25rem; left: 50%; transform: translateX(-50%); } .Theme-PaddingAndMargin-custom-marginLeft { left: 0.25rem; top: 50%; transform: translateY(-50%); width: 2.5rem; } .Theme-PaddingAndMargin-custom-marginRight { right: 0.25rem; top: 50%; transform: translateY(-50%); width: 2.5rem; } .Theme-PaddingAndMargin-custom-paddingTop { top: 2.125rem; left: 50%; transform: translateX(-50%); } .Theme-PaddingAndMargin-custom-paddingBottom { bottom: 2.125rem; left: 50%; transform: translateX(-50%); } .Theme-PaddingAndMargin-custom-paddingLeft { left: 3.75rem; top: 50%; transform: translateY(-50%); width: 2.5rem; } .Theme-PaddingAndMargin-custom-paddingRight { right: 3.75rem; top: 50%; transform: translateY(-50%); width: 2.5rem; } .Theme-PaddingAndMargin-custom-popover { padding: 1rem 0.75rem; } .Theme-PaddingAndMargin-custom-popover .cxd-Form-item { margin-bottom: 0; } .Theme-PaddingAndMargin-custom--padding::after { content: "Padding"; top: 1.75rem; left: 3.5rem; } .Theme-PaddingAndMargin-custom--margin::before { content: "Margin"; top: 0; left: 0.125rem; } .Theme-Border-label { margin-bottom: 0.625rem; color: #5c5f66; font-size: 12px; } .Theme-Border-content { display: flex; justify-content: space-between; } .Theme-Border-all { background: #f7f7f9; border-radius: 4px; height: 2rem; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 2rem; } .Theme-Border-all:after { content: ""; height: 0.875rem; width: 0.875rem; display: block; border: 2px solid #2468f2; } .Theme-Border-items { position: relative; width: 4.5rem; height: 4.5rem; background: #f7f7f9; border-radius: 0.25rem; } .Theme-Border-items .Theme-Border-item { position: absolute; cursor: pointer; height: 0.875rem; width: 0.875rem; } .Theme-Border-items .Theme-Border-item--all { left: 50%; top: 50%; transform: translate(-50%, -50%); border: 2px solid #5c5f66; } .Theme-Border-items .Theme-Border-item--right { right: 0.4375rem; top: 50%; transform: translateY(-50%); border: 2px solid #d4d6d9; } .Theme-Border-items .Theme-Border-item--right:after { content: ""; display: block; height: 0.875rem; width: 2px; background: #5c5f66; position: absolute; right: -2px; top: -2px; } .Theme-Border-items .Theme-Border-item--left { left: 0.4375rem; top: 50%; transform: translateY(-50%); border: 2px solid #d4d6d9; } .Theme-Border-items .Theme-Border-item--left:after { content: ""; display: block; height: 0.875rem; width: 2px; background: #5c5f66; position: absolute; left: -2px; top: -2px; } .Theme-Border-items .Theme-Border-item--top { top: 0.4375rem; left: 50%; transform: translate(-50%); border: 2px solid #d4d6d9; } .Theme-Border-items .Theme-Border-item--top:after { content: ""; display: block; width: 0.875rem; height: 2px; background: #5c5f66; position: absolute; right: -2px; top: -2px; } .Theme-Border-items .Theme-Border-item--bottom { bottom: 0.4375rem; left: 50%; transform: translate(-50%); border: 2px solid #d4d6d9; } .Theme-Border-items .Theme-Border-item--bottom:after { content: ""; display: block; width: 0.875rem; height: 2px; background: #5c5f66; position: absolute; right: -2px; bottom: -2px; } .Theme-Border-items .Theme-Border-item--active.Theme-Border-item--all { border: 2px solid #2468f2; } .Theme-Border-items .Theme-Border-item--active:after { background: #2468f2; } .Theme-Border-settings { flex: 1; margin-left: 1rem; } .Theme-Border-settings .cxd-Form-item { margin-bottom: 0; } .Theme-Border-settings .theme-select { margin-bottom: 0.5rem; } .Theme-Border-settings-style-color { display: flex; justify-content: space-between; } .Theme-Border-settings-style-color .cxd-Select { flex: 1; margin-right: 0.25rem; } .Theme-Border-settings-width { width: 100%; margin-bottom: 0.5rem; } .Theme-Border-settings--all { margin-left: 0.3125rem; display: flex; justify-content: space-between; } .Theme-Border-settings--all .theme-select { margin-bottom: 0; margin-right: 0.3125rem; width: 5rem; flex: 1 0; } .Theme-Border-settings--all .Theme-Border-settings-style-color { display: flex; justify-content: space-between; flex: 1; } .Theme-Border-settings--all .Theme-Border-settings-style-color .cxd-Select { width: 6rem; height: 2rem; margin-left: 0.25rem; } .Theme-Border-style { display: flex; width: 100%; align-items: center; } .Theme-Border-style-line { border: 1px solid #000000; height: 1px; flex: 1; margin-right: 0.875rem; } .Theme-Border .is-active .Theme-Border-style-line { border-color: #2468f2; } .Theme-Radius-label { margin-bottom: 0.625rem; color: #5c5f66; font-size: 12px; } .Theme-Radius .cxd-Form-item { margin-bottom: 0; } .Theme-Radius-inner { display: flex; } .Theme-Radius-item { margin-right: 0.25rem; border-radius: 4px; overflow: hidden; height: 2rem; width: 2rem; flex-shrink: 0; flex-grow: 0; display: flex; cursor: pointer; } .Theme-Radius-item-all { background: #f7f7f9; height: 2rem; display: inline-flex; align-items: center; justify-content: center; width: 2rem; } .Theme-Radius-item-all:before { content: ""; height: 0.875rem; width: 0.875rem; display: block; border: 2px solid #5c5f66; border-radius: 2px; } .Theme-Radius-item-custom { background: #f7f7f9; height: 2rem; position: relative; width: 2rem; border-left: 1px solid #e8e9eb; } .Theme-Radius-item-custom:before { content: ""; height: 0.875rem; width: 0.875rem; display: block; border: 2px solid #5c5f66; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 2px; } .Theme-Radius-item-custom:after { content: "+"; color: #f7f7f9; display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 1.875rem; font-weight: 900; } .Theme-Radius-item-all--active:before, .Theme-Radius-item-custom--active:before { border-color: #2468f2; } .Theme-Radius-item--custom { width: 4rem; } .Theme-Radius-settings { flex: 1; } .Theme-Radius-settings-custom { display: flex; justify-content: space-between; margin-top: 0.5rem; } .Theme-Radius-settings-custom .arrow-icon { display: none; } .Theme-Radius-settings-custom input { padding: 0 !important; } .Theme-Radius-settings-custom .theme-select { padding: 0 0.25rem !important; } .Theme-Radius-settings-custom-item:last-child { margin-right: 0; } .Theme-Radius-settings-custom-item { flex: 1; min-width: 0; margin-right: 0.25rem; } .Theme-Radius-settings-custom-item-label { height: 0.625rem; width: 0.625rem; border: 0 solid #5c5f66; margin: 0.5rem auto; border-radius: 2px; } .Theme-Radius-settings-custom-item-top-left { border-top-width: 2px; border-left-width: 2px; } .Theme-Radius-settings-custom-item-top-right { border-top-width: 2px; border-right-width: 2px; } .Theme-Radius-settings-custom-item-bottom-left { border-bottom-width: 2px; border-left-width: 2px; } .Theme-Radius-settings-custom-item-bottom-right { border-bottom-width: 2px; border-right-width: 2px; } .Theme-ColorPicker-label-out { height: 2rem; width: 2rem; border-radius: 0.25rem; cursor: pointer; overflow: hidden; } .Theme-ColorPicker-label { height: 2rem; width: 2rem; } .Theme-ColorPicker.is-disabled { color: #b8babf; border-color: #e8e9eb; background: #f7f8fa; } .Theme-ColorPicker.is-readOnly { pointer-events: none; } .Theme-ColorPicker-title { margin-bottom: 0.625rem; color: #5c5f66; font-size: 12px; } .Theme-ColorPicker--input { display: flex; height: 2rem; border: 1px solid #e8e9eb; border-radius: 0.25rem; padding: 0px 0.625rem; align-items: center; cursor: pointer; } .Theme-ColorPicker--input .Theme-ColorPicker-label-out { height: 1.375rem; width: 1.375rem; border-radius: 0.25rem; overflow: hidden; flex-shrink: 0; } .Theme-ColorPicker--input .Theme-ColorPicker-label { height: 1.375rem; width: 1.375rem; } .Theme-ColorPicker--input .Theme-ColorPicker-input { margin-left: 0.375rem; overflow: hidden; flex-grow: 1; width: auto; max-width: 100%; } .Theme-ColorPicker--input .Theme-ColorPicker-input > div { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; } .Theme-ColorPicker--input .Theme-ColorPicker-input--placeholder { color: var(--Form-select-placeholderColor); } .Theme-ColorPicker--input .Theme-ColorPicker-arrow { width: 1rem; text-align: center; display: flex; align-items: center; justify-content: center; line-height: 1; transform: rotate(90deg); transition: transform 0.2s; } .Theme-ColorPicker--input .Theme-ColorPicker-arrow > svg { width: 0.625rem; height: 0.625rem; top: 0; color: var(--default-icon-color); } .Theme-ColorPicker--input .Theme-ColorPicker-arrow--active { transform: rotate(270deg); } .Theme-ColorSelect { width: 15rem; } .Theme-ColorSelect-tab { display: flex; padding: 0.875rem 0.75rem; border: 1px solid #e8e9eb; } .Theme-ColorSelect-tab > div { height: 1rem; width: 1rem; border-radius: 50%; margin-right: 0.75rem; cursor: pointer; } .Theme-ColorSelect-tab > div > svg { height: 1rem; width: 1rem; } .Theme-ColorSelect-tab-color { background-color: #e8e9eb; } .Theme-ColorSelect-tab-color--active { background: #d4e5ff; border: 1px solid #2468f2; } .Theme-ColorSelect-tab-gradient { background-image: linear-gradient(180deg, #f4f4f4 0%, #b8babf 100%); } .Theme-ColorSelect-tab-gradient--active { background-image: linear-gradient(180deg, #ffffff 0%, #6296ff 99%); border: 1px solid #2468f2; } .Theme-ColorSelect-tab-img--active > svg { border: 1px solid #2468f2; border-radius: 50%; } .Theme-ColorSelect-tab-sub { display: flex; font-size: 12px; color: #5c5f66; padding: 0.75rem 0; margin: 0 0.875rem; border-bottom: 1px solid #e8e9eb; } .Theme-ColorSelect-tab-sub-item { margin-right: 1.875rem; cursor: pointer; } .Theme-ColorSelect-tab-sub--active { color: #2468f2; } .Theme-ColorSelect-content { padding: 0.75rem; } .Theme-ColorSelect-PresetColors { margin-top: 0.625rem; padding-top: 0.625rem; border-top: 1px solid #e8e9eb; } .Theme-ColorSelect-PresetColors-header { font-size: 12px; color: #5c5f66; } .Theme-ColorSelect-PresetColors-edit { float: right; cursor: pointer; } .Theme-ColorSelect-PresetColors-edit:hover { color: #2468f2; } .Theme-ColorSelect-PresetColors-editing { color: #2468f2; } .Theme-ColorSelect-PresetColors-content { margin: 0 -0.25rem; margin-top: 0.25rem; display: flex; flex-wrap: wrap; } .Theme-ColorSelect-PresetColors-content > div { cursor: pointer; height: 1.25rem; width: 1.25rem; border-radius: 0.125rem; margin: 0 0.25rem; display: flex; align-items: center; justify-content: center; position: relative; } .Theme-ColorSelect-PresetColors-content > div > div { height: 1.25rem; width: 1.25rem; } .Theme-ColorSelect-PresetColors-content-placeholder { font-size: 12px; color: #b8babf; } .Theme-ColorSelect-PresetColors-content-editing > div:hover::before { content: ""; display: block; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background-color: rgba(0, 0, 0, 0.4); } .Theme-ColorSelect-PresetColors-content-editing > div:hover::after { font-family: "Font Awesome 5 Free"; content: "\f2ed"; color: #fff; position: absolute; font-size: 12px; } .ThemeColorList { max-height: 19.375rem; width: 13.5rem; overflow: auto; } .ThemeColorList-title { font-size: 12px; color: #151b26; } .ThemeColorList-content { display: flex; margin: 0.75rem 0; } .ThemeColorList-content-title { font-size: 12px; color: #5c5f66; font-weight: 400; margin-right: 0.75rem; flex: 2.25rem 0 0; line-height: 1.5rem; } .ThemeColorList-content-label { height: 1.5rem; width: 1.5rem; border-radius: 0.125rem; margin-right: 0.5rem; cursor: pointer; display: inline-flex; justify-content: center; align-items: center; } .ThemeColorList-content-label-inner { height: 1.25rem; width: 1.25rem; border-radius: 0.125rem; } .ThemeColorList-content-label--border { border: 1px solid #f7f7f9; } .ThemeColorList-content-label--active { border: 1px solid #2468f2; border-radius: 2px; } .ThemeColorList-content--top { margin-top: 0; position: relative; } .ThemeColorList-content--search { position: absolute; right: 0; } .ThemeColorList-content--search input { font-size: 12px; } .ThemeColorList-content--search .cxd-SearchBox.is-active { width: 13.5rem; } .Theme-GradientColor-slider { display: flex; align-items: center; margin-bottom: 0.625rem; } .Theme-GradientColor-slider-inner { margin: 0 0.4375rem; height: 0.5rem; position: relative; display: flex; align-items: center; cursor: copy; flex: 1 1 auto; margin-right: 0.625rem; border: 1px solid #a5a5a5; border-radius: 0.25rem; } .Theme-GradientColor-slider-inner-item { position: absolute; height: 0.875rem; width: 0.875rem; border-radius: 50%; border: 2px solid #ffffff; cursor: pointer; box-shadow: 0px 0px 2px 1px #a5a5a5; } .Theme-GradientColor-slider-inner-item--active { box-shadow: 0px 0px 2px 1px #2468f2; } .Theme-GradientColor-range { width: 2.5rem; position: relative; } .Theme-GradientColor-range .cxd-Number { height: 1.625rem; } .Theme-GradientColor-range .cxd-Number-handler-wrap { display: none !important; } .Theme-GradientColor-range .cxd-Number-input { padding: 0 0.25rem; font-size: 12px; } .Theme-GradientColor-range-panel { width: 4.375rem; background: #fff; padding: 0.25rem; } .Theme-GradientColor-range-panel-title { font-size: 12px; color: #5c5f66; transform: scale(0.9); margin-bottom: 0.25rem; } .Theme-GradientColor-range-panel-content { height: 50px; width: 50px; margin: 0 auto; border-radius: 50%; background: #d0d0d0; position: relative; } .Theme-GradientColor-range-panel-content-handler { height: 8px; width: 8px; border-radius: 50%; background: #5c5f66; position: absolute; cursor: pointer; left: 12px; } .Theme-ImageInput .resourceManager-background, .Theme-ImageInput .cxd-ImageControl-addBtn, .Theme-ImageInput .cxd-ImageControl-item, .Theme-ImageInput .cxd-Image-thumb, .Theme-ImageInput .cxd-Image--thumb { width: 100%; } .Theme-ImageInput .cxd-Form-item { margin-bottom: 0.5rem; } .Theme-ImageInput-func { display: grid; grid-column-gap: 0.625rem; grid-template-columns: auto 2rem 2rem; } .Theme-ImageInput-position { height: 2rem; width: 2rem; overflow: hidden; cursor: pointer; border: 1px solid #e8e9eb; border-radius: 0.25rem; display: grid; grid-template-columns: repeat(3, 33.33%); grid-template-rows: repeat(3, 33.33%); } .Theme-ImageInput-position-item { border: 1px solid #e8e9eb; } .Theme-ImageInput-position-item:nth-child(1) { border-top: none; border-left: none; } .Theme-ImageInput-position-item:nth-child(2) { border-top: none; border-left: none; border-right: none; } .Theme-ImageInput-position-item:nth-child(3) { border-top: none; border-right: none; } .Theme-ImageInput-position-item:nth-child(4) { border-top: none; border-left: none; border-bottom: none; } .Theme-ImageInput-position-item:nth-child(5) { border: none; } .Theme-ImageInput-position-item:nth-child(6) { border-top: none; border-right: none; border-bottom: none; } .Theme-ImageInput-position-item:nth-child(7) { border-left: none; border-bottom: none; } .Theme-ImageInput-position-item:nth-child(8) { border-left: none; border-right: none; border-bottom: none; } .Theme-ImageInput-position-item:nth-child(9) { border-right: none; border-bottom: none; } .Theme-ImageInput-position-item--active { background: #2468f2; } .Theme-ImageInput-position-container { padding: 1rem; padding-top: 0.625rem; } .Theme-ImageInput-position-container .Theme-ImageInput-position-title { font-size: 12px; margin-bottom: 0.625rem; } .Theme-ImageInput-position-content { width: 100px; height: 100px; cursor: pointer; overflow: hidden; border: 1px solid #e8e9eb; border-radius: 0.25rem; display: grid; grid-template-columns: repeat(3, 33.33%); grid-template-rows: repeat(3, 33.33%); } .Theme-ImageInput-position-content-item--active { background: #2468f2; } .Theme-ImageInput-position-content-item { border: 1px solid #e8e9eb; } .Theme-ImageInput-position-content-item:nth-child(1) { border-top: none; border-left: none; } .Theme-ImageInput-position-content-item:nth-child(2) { border-top: none; border-left: none; border-right: none; } .Theme-ImageInput-position-content-item:nth-child(3) { border-top: none; border-right: none; } .Theme-ImageInput-position-content-item:nth-child(4) { border-top: none; border-left: none; border-bottom: none; } .Theme-ImageInput-position-content-item:nth-child(5) { border: none; } .Theme-ImageInput-position-content-item:nth-child(6) { border-top: none; border-right: none; border-bottom: none; } .Theme-ImageInput-position-content-item:nth-child(7) { border-left: none; border-bottom: none; } .Theme-ImageInput-position-content-item:nth-child(8) { border-left: none; border-right: none; border-bottom: none; } .Theme-ImageInput-position-content-item:nth-child(9) { border-right: none; border-bottom: none; } .Theme-ImageInput-position-content-item:hover { background: #e6f0ff; } .Theme-ImageInput-color { width: 2rem; height: 2rem; cursor: pointer; border-radius: 0.25rem; background-image: linear-gradient(45deg, #f7f8fa 25%, transparent 25%, transparent 75%, #f7f8fa 75%, #f7f8fa), linear-gradient(45deg, #f7f8fa 25%, transparent 25%, transparent 75%, #f7f8fa 75%, #f7f8fa); background-size: 10px 10px; background-position: 0 0, 5px 5px; border: 1px solid #f7f7f9; } .Theme-ImageInput-color-container { padding: 16px; } .Theme-ImageInput-color-content-tab { display: flex; font-size: 12px; color: #5c5f66; padding-bottom: 0.875rem; margin-bottom: 0.875rem; border-bottom: 1px solid #e8e9eb; } .Theme-ImageInput-color-content-tab-item { margin-right: 1.875rem; cursor: pointer; } .Theme-ImageInput-color-content-tab-item--active { color: #2468f2; } .Theme-CustomColor .sketch-picker, .Theme-GradientColor .sketch-picker { box-shadow: none !important; padding: 0 !important; } .ThemeColor--transparent { background-color: #fff !important; background-image: linear-gradient(45deg, #f7f8fa 25%, transparent 25%, transparent 75%, #f7f8fa 75%, #f7f8fa), linear-gradient(45deg, #f7f8fa 25%, transparent 25%, transparent 75%, #f7f8fa 75%, #f7f8fa) !important; background-size: 10px 10px !important; background-position: 0 0, 5px 5px !important; border: 1px solid #f7f7f9; } .ThemeColor--delete { border: 1px solid #f7f7f9; width: 100%; height: 100%; background: #fff; } .ThemeColor--delete::before { content: ""; height: 2px; width: 100%; display: block; transform: rotate(-45deg) translateY(-50%); background-color: #f23d3d; margin-top: 50%; } [color-tooltip] { position: relative; } [color-tooltip]:hover:before { display: block; } [color-tooltip]:before { content: attr(color-tooltip); width: max-content; padding: 0.375rem; display: none; position: absolute; font-size: 12px; bottom: -2.1875rem; left: 50%; transform: scale(0.9) translateX(-50%); box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); border-radius: 0.125rem; background: #fff; z-index: 1500; } .Theme-SizeEditor-label { margin-bottom: 0.625rem; color: #5c5f66; font-size: 12px; } .Theme-SizeEditor-line { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; } .Theme-SizeEditor-line .cxd-Button { padding: 0.375rem 0.5rem; width: 2rem; } .Theme-SizeEditor-line-no-hide .Theme-SizeEditor-item { width: 13.125rem; max-width: 13.125rem; } .Theme-SizeEditor-line-no-hide .Theme-SizeEditor-item .theme-select { width: 10.875rem; max-width: 10.875rem; } .Theme-SizeEditor-line .Theme-SizeEditor-item-label { width: 2.25rem; } .Theme-SizeEditor-line .Theme-SizeEditor-item:not(:last-child) { margin-bottom: 0.5rem; } .Theme-SizeEditor-lock { position: relative; } .Theme-SizeEditor-lock::before { content: ""; display: block; position: absolute; top: -0.625rem; left: -0.625rem; width: 1.625rem; height: 0.625rem; border: none; border-top: 1px solid #b8babf; border-right: 1px solid #b8babf; } .Theme-SizeEditor-lock::after { content: ""; display: block; position: absolute; bottom: -0.625rem; left: -0.625rem; width: 1.625rem; height: 0.625rem; border: none; border-bottom: 1px solid #b8babf; border-right: 1px solid #b8babf; } .Theme-SizeEditor-item { display: flex; flex: 1; align-items: center; } .Theme-SizeEditor-item-label { padding: 0.375rem 0.75rem; font-size: 12px; color: #b8babf; line-height: 18px; border: 0.0625rem solid #e8e9eb; border-right: 0; border-top-left-radius: 0.25rem; border-bottom-left-radius: 0.25rem; } .Theme-SizeEditor-item .cxd-Form-item { margin: 0; } .Theme-SizeEditor-item .cxd-TextControl-input { border-top-left-radius: 0; border-bottom-left-radius: 0; font-size: 12px; } .Theme-SizeEditor-item .cxd-TextControl-sugs { min-width: 9.375rem !important; } .Theme-SizeEditor-item-sigle { display: block; } .Theme-SizeEditor-item-sigle .cxd-Form-item { width: auto; } .Theme-SizeEditor-item-sigle .Theme-SizeEditor-item div { flex-grow: 1; } .Theme-SizeEditor-item-sigle .Theme-SizeEditor-item .Theme-SizeEditor-item-label { width: auto; flex-grow: 0; } .theme-select { position: relative; flex: 1 0 2rem; border: 1px solid #e8e9eb; border-radius: 4px; height: 2rem; padding: 0 0.5rem; display: flex; align-items: center; } .theme-select .ThemeSelectContent-theme { background-color: #f7f8fa; border-radius: 2px; padding: 0 0.25rem; width: fit-content; height: 1.5rem; display: flex; align-items: center; cursor: pointer; overflow: hidden; } .theme-select .ThemeSelectContent-theme > div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .theme-select .ThemeSelectContent-theme > .icon-close { color: #b8babf; margin-left: 0.25rem; top: 0; flex: 1 0 1em; } .theme-select .ThemeSelectContent-theme > .icon-close:hover { color: #2468f2; } .theme-select .ThemeSelectContent-input { border: none; outline: none; width: 100%; } .theme-select .ThemeSelectContent-input::placeholder { color: #b8babf; } .theme-select:hover, .theme-select--active { border-color: #2468f2; } .theme-select--disabled { background-color: #f7f8fa; cursor: not-allowed; } .theme-select--disabled .ThemeSelectContent-theme { cursor: not-allowed; } .ThemeSelectContent-input-select { max-height: 12.5rem; max-width: 12.5rem; overflow: scroll; } .ThemeSelectContent-input-select > div { height: 2rem; line-height: 2rem; padding: 0 0.5rem; cursor: pointer; } .ThemeSelectContent-input-select > div:hover { background-color: #e6f0ff; } .ThemeSelectContent-input-select-item--active { color: #2468f2; } .arrow-icon { width: 0.625rem; height: 0.625rem; color: #84868c; transform: rotate(90deg); transition: transform 0.2s ease; } .arrow-icon-reverse { transform: rotate(270deg); } .Theme-FontEditor .common-icon { width: 1rem; height: 1rem; cursor: pointer; color: #5c5f66; } .Theme-FontEditor-line { display: flex; justify-content: space-between; margin-bottom: 0.75rem; } .Theme-FontEditor-line .cxd-Button { padding: 0.375rem 0.5rem; } .Theme-FontEditor-item { display: flex; flex: 1; margin-right: 0.25rem; align-items: top; flex-direction: column; min-width: 0; } .Theme-FontEditor-item:last-child { margin-right: 0; } .Theme-FontEditor-item-label { font-size: 12px; color: #5c5f66; line-height: 1.25rem; margin-top: 0.25rem; text-align: center; } .Theme-FontEditor-item .cxd-Form-item { flex: 1; margin: 0; } .Theme-FontEditor-item .cxd-Select { font-size: 12px; } .Theme-FontEditor-item .cxd-Select-popover { min-width: 9.375rem !important; } .Theme-FontEditor-item .color-picker { background: #151b26; border-radius: 4px; width: 2rem; height: 2rem; } .Theme-FontEditor-item-color-picker { width: 2rem; flex: 0 1 2rem; } .Theme-FontEditor-font-line { margin: 0; } .Theme-FontEditor-font-style { display: flex; justify-content: stretch; background: #f7f7f9; margin-bottom: 0.75rem; margin-top: 0.5rem; } .Theme-FontEditor-font-style-icon { flex: 1; display: flex; justify-content: center; align-items: center; height: 2rem; cursor: pointer; } .Theme-FontEditor-font-style .right-line { border-right: 1px solid #d8d8d8; } .Theme-FontEditor-font-style-selected .common-icon { color: #2468f2; } .Theme-Wrapper .common-icon { width: 1rem; height: 1rem; cursor: pointer; color: #5c5f66; } .Theme-Wrapper-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; } .Theme-Wrapper-header-left { font-size: 12px; color: #070c14; line-height: 1.25rem; font-weight: 400; } .Theme-Wrapper-header-right { display: flex; align-items: center; } .Theme-Wrapper-header-right .arrow-icon { width: 0.625rem; height: 0.625rem; color: #84868c; transform: rotate(90deg); transition: transform 0.2s ease; margin-left: 0.5rem; cursor: pointer; } .Theme-Wrapper-header-right .arrow-icon-reverse { transform: rotate(270deg); } .Theme-Wrapper-body .cxd-Form-item { margin-bottom: 1rem; } .Theme-Wrapper-body .theme-select .cxd-Form-item { margin-bottom: 0; } .Theme-Wrapper-body .theme-select, .Theme-Wrapper-body .cxd-IconSelectControl-input { border-radius: 0 0.25rem 0.25rem 0; height: 2rem; } .Theme-Wrapper-body .cxd-Form-label { border: 1px solid #e8e9eb; border-right: none; border-radius: 0.25rem 0 0 0.25rem; padding: 0 0.75rem; width: auto !important; flex-grow: 0; height: 2rem; } .cxd-PopOver { z-index: 1400 !important; } .Theme-ShadowEditor .cxd-Theme-ShadowEditor-add { color: #5c5f66; width: 0.75rem; height: 0.75rem; padding: 0; } .Theme-ShadowEditor .cxd-Theme-ShadowEditor-add:not(:disabled):not(.is-disabled):hover { color: #5c5f66; } .Theme-ShadowEditor-customContent { background-color: #f7f7f9; border-radius: 4px; padding: 0.625rem; margin-top: 0.625rem; } .Theme-ShadowEditor-sub-header { margin-bottom: 0; } .Theme-ShadowEditor-sub-header .Theme-Wrapper-header-left { color: #5c5f66; } .Theme-ShadowEditor-line { display: flex; justify-content: space-between; margin-top: 0.75rem; } .Theme-ShadowEditor-line .cxd-Button { padding: 0.375rem 0.5rem; } .Theme-ShadowEditor-item { display: flex; flex: 1; margin-right: 0.25rem; align-items: top; flex-direction: column; } .Theme-ShadowEditor-item:last-child { margin-right: 0; } .Theme-ShadowEditor-item-label { font-size: 12px; color: #5c5f66; line-height: 0.75rem; margin: 0.25rem 0 0.5rem; text-align: center; } .Theme-ShadowEditor-item .cxd-Form-item { flex: 1; margin: 0; } .Theme-ShadowEditor-item .cxd-Select { font-size: 12px; } .Theme-ShadowEditor-item .cxd-Select-popover { min-width: 9.375rem !important; } .Theme-ShadowEditor-item .Theme-ShadowEditor-color-picker { background: #fff; border: 1px solid rgba(151, 151, 151, 0.1); border-radius: 0.25rem; padding: 0.375rem 0.75rem; height: 2rem; display: flex; justify-content: center; align-items: center; } .Theme-ShadowEditor-item .Theme-ShadowEditor-color-picker .Theme-ColorPicker-arrow { display: none; } .Theme-ShadowEditor-item .Theme-ShadowEditor-color-picker .Theme-ColorPicker-label-out, .Theme-ShadowEditor-item .Theme-ShadowEditor-color-picker .Theme-ColorPicker-label { height: 1.25rem; } .Theme-ShadowEditor-item .cxd-Number .cxd-Select { display: none; } .Theme-ShadowEditor-item .cxd-Number .cxd-Number-handler-wrap { display: none !important; } .Theme-ShadowEditor-item .cxd-Number input { padding: 0 0.25rem !important; } .Theme-ShadowEditor .trash-icon { font-size: 1rem; align-items: center; margin-left: 0.25rem; flex-basis: 1rem; flex-grow: initial; } .Theme-ShadowEditor .trash-icon .common-icon { margin-top: 0.5rem; cursor: pointer; } .Theme-ShadowEditor .trash-icon .common-icon path { fill: var(--colors-neutral-text-2); } .Theme-ShadowEditor .trash-icon .common-icon:hover path { fill: var(--colors-brand-5); } .Theme-ShadowEditor .trash-icon .disabled-icon { cursor: not-allowed; } .Theme-ShadowEditor .trash-icon .disabled-icon path { fill: var(--colors-neutral-text-5); } .Theme-ShadowEditor .trash-icon .disabled-icon:hover path { fill: var(--colors-neutral-text-5); } .Theme-ShadowEditor-view { width: 2.625rem; height: 2rem; border: 1px solid rgba(151, 151, 151, 0.1); border-radius: 0.25rem; margin-right: 0.25rem; background-color: #fff; background-image: linear-gradient(45deg, #f7f8fa 25%, transparent 25%, transparent 75%, #f7f8fa 75%, #f7f8fa), linear-gradient(45deg, #f7f8fa 25%, transparent 25%, transparent 75%, #f7f8fa 75%, #f7f8fa); background-size: 10px 10px; background-position: 0 0, 5px 5px; overflow: hidden; display: flex; justify-content: center; align-items: center; } .Theme-ShadowEditor-view-inner { width: 1.75rem; height: 1.25rem; background: #fff; } .Theme-ShadowView { width: 18.75rem; font-size: 12px; padding: 0.75rem; } .Theme-ShadowView-header { color: #050a10; line-height: 1.25rem; font-weight: 500; margin-bottom: 0.5rem; } .Theme-ShadowView-body { border: 1px solid #e8e9eb; border-radius: 0.25rem; padding: 0.75rem; } .Theme-ShadowView-body-shadow { width: 100%; height: 6.25rem; background-color: #fff; background-image: linear-gradient(45deg, #f7f8fa 25%, transparent 25%, transparent 75%, #f7f8fa 75%, #f7f8fa), linear-gradient(45deg, #f7f8fa 25%, transparent 25%, transparent 75%, #f7f8fa 75%, #f7f8fa); background-size: 20px 20px; background-position: 0 0, 10px 10px; overflow: hidden; display: flex; justify-content: center; align-items: center; } .Theme-ShadowView-body-shadow-square { width: 10.25rem; height: 4.375rem; background: #fff; } .Theme-ShadowView-body-title { font-size: 12px; color: #050a10; line-height: 1.25rem; font-weight: 500; margin: 0.5rem 0 0; } .Theme-ShadowView-body-value { color: #83868c; line-height: 1.25rem; }