.theme-preset-item, .theme-custom-item { width: var(--theme-preview-size); height: var(--theme-preview-size); border-radius: var(--theme-radius); padding: 0; margin: 0.5em; position: relative; overflow: hidden; } .theme-preset-button, .theme-custom-button { padding: 0; border-radius: 0; width: var(--theme-preview-size); height: var(--theme-preview-size); line-height: 1.6; position: absolute; top: 0; left: 0; display: block; overflow: hidden; z-index: 2; transition: height var(--layout-timing-extra-fast), box-shadow var(--layout-timing-extra-fast); } .theme-preset-button:after, .theme-custom-button::after { content: none; } .theme-custom-control { width: var(--theme-preview-size); height: 0; position: absolute; bottom: 0; display: flex; justify-content: flex-start; align-items: stretch; z-index: 1; transition: height var(--layout-timing-extra-fast); } .theme-custom-control-item { padding: 0; border-radius: 0; flex: 1 1 auto; } .theme-custom-control-item:after { border-radius: 0; } .is-theme-custom-edit .theme-custom-button { height: calc(var(--theme-preview-size) - var(--theme-custom-edit-height)); box-shadow: var(--theme-shadow-bottom-medium); } .is-theme-custom-edit .theme-custom-control { height: var(--theme-custom-edit-height); } .theme-preset-preview, .theme-custom-preview { width: var(--theme-preview-size); height: var(--theme-preview-size); position: absolute; top: 0; left: 0; } .theme-preset-background-01, .theme-preset-background-02, .theme-preset-background-03, .theme-preset-background-04, .theme-preset-accent, .theme-custom-background-01, .theme-custom-background-02, .theme-custom-background-03, .theme-custom-background-04, .theme-custom-accent { width: 100%; height: 100%; position: absolute; top: 0; left: 0; display: block; transition: clip-path var(--layout-timing-extra-fast); } .theme-preset-background-01, .theme-custom-background-01 { z-index: 1; } .theme-preset-background-02, .theme-custom-background-02 { z-index: 2; clip-path: polygon(70% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 70%); transition-delay: var(--layout-duration-03); } .theme-preset-background-03, .theme-custom-background-03 { z-index: 3; clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 100%); transition-delay: var(--layout-duration-02); } .theme-preset-background-04, .theme-custom-background-04 { z-index: 4; clip-path: polygon(100% 30%, 100% 100%, 30% 100%); transition-delay: var(--layout-duration-01); } .theme-preset-accent, .theme-custom-accent { z-index: 5; clip-path: circle(30% at 100% 100%); } .is-theme-custom-edit .theme-custom-accent { clip-path: circle(30% at 100% 60%); } .theme-preset-name, .theme-custom-name { color: rgb(var(--theme-style-text)); font-style: normal; font-size: 0.8em; text-align: left; display: block; max-width: calc(100% - 2em); max-height: calc(100% - 2em); position: absolute; top: 1em; left: 1em; z-index: 6; overflow: hidden; text-overflow: ellipsis; white-space: initial; transform: scale(1); transition: transform var(--layout-timing-extra-fast); } .theme-preset-button:focus .theme-preset-background-02, .theme-preset-button:hover .theme-preset-background-02, .theme-custom-button:focus .theme-custom-background-02, .theme-custom-button:hover .theme-custom-background-02 { clip-path: polygon(60% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 60%); } .theme-preset-button:focus .theme-preset-background-03, .theme-preset-button:hover .theme-preset-background-03, .theme-custom-button:focus .theme-custom-background-03, .theme-custom-button:hover .theme-custom-background-03 { clip-path: polygon(90% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 90%); } .theme-preset-button:focus .theme-preset-background-04, .theme-preset-button:hover .theme-preset-background-04, .theme-custom-button:focus .theme-custom-background-04, .theme-custom-button:hover .theme-custom-background-04 { clip-path: polygon(100% 20%, 100% 100%, 20% 100%); } .theme-preset-button:focus .theme-preset-accent, .theme-preset-button:hover .theme-preset-accent, .theme-custom-button:focus .theme-custom-accent, .theme-custom-button:hover .theme-custom-accent { clip-path: circle(40% at 100% 100%); } .is-theme-custom-edit .theme-custom-button:focus .theme-custom-accent, .is-theme-custom-edit .theme-custom-button:hover .theme-custom-accent { clip-path: circle(40% at 100% 60%); } .theme-color-box { width: 100%; height: 100%; } .theme-color-neg-10 { background-color: rgb(var(--theme-color-01)); } .theme-color-neg-09 { background-color: rgb(var(--theme-color-02)); } .theme-color-neg-08 { background-color: rgb(var(--theme-color-03)); } .theme-color-neg-07 { background-color: rgb(var(--theme-color-04)); } .theme-color-neg-06 { background-color: rgb(var(--theme-color-05)); } .theme-color-neg-05 { background-color: rgb(var(--theme-color-06)); } .theme-color-neg-04 { background-color: rgb(var(--theme-color-07)); } .theme-color-neg-03 { background-color: rgb(var(--theme-color-08)); } .theme-color-neg-02 { background-color: rgb(var(--theme-color-09)); } .theme-color-neg-01 { background-color: rgb(var(--theme-color-10)); } .theme-color { background-color: rgb(var(--theme-color)); } .theme-color-pos-01 { background-color: rgb(var(--theme-color-11)); } .theme-color-pos-02 { background-color: rgb(var(--theme-color-12)); } .theme-color-pos-03 { background-color: rgb(var(--theme-color-13)); } .theme-color-pos-04 { background-color: rgb(var(--theme-color-14)); } .theme-color-pos-05 { background-color: rgb(var(--theme-color-15)); } .theme-color-pos-06 { background-color: rgb(var(--theme-color-16)); } .theme-color-pos-07 { background-color: rgb(var(--theme-color-17)); } .theme-color-pos-08 { background-color: rgb(var(--theme-color-18)); } .theme-color-pos-09 { background-color: rgb(var(--theme-color-19)); } .theme-color-pos-10 { background-color: rgb(var(--theme-color-20)); } .theme-shadow-box { background-color: rgb(var(--theme-color-02)); border-radius: var(--theme-radius); margin: 0; padding: 0.5em; width: 5em; height: 5em; display: flex; justify-content: center; align-items: center; text-align: center; white-space: normal; } .theme-shadow-box-small { box-shadow: var(--theme-shadow-bottom-small); } .theme-shadow-box-medium { box-shadow: var(--theme-shadow-bottom-medium); } .theme-shadow-box-large { box-shadow: var(--theme-shadow-bottom-large); }