.link { display: none; position: relative; flex-direction: column; z-index: var(--z-index-link); } .is-link-show .link { display: flex; } .is-link-area-alignment-left .link { align-items: flex-start; } .is-link-area-alignment-center .link { align-items: center; } .is-link-area-alignment-right .link { align-items: flex-end; } .is-layout-order-headerlink .link { margin-top: calc(-1 * calc(var(--layout-space) * var(--layout-padding))); } .is-layout-order-linkheader .link { margin-bottom: calc(-1 * calc(var(--layout-space) * var(--layout-padding))); } .is-layout-order-headerlink.is-header-border-bottom .link, .is-layout-order-headerlink.is-header-shade-style-always .link { margin-top: 0; } .is-layout-order-linkheader.is-header-border-top .link, .is-layout-order-linkheader.is-header-shade-style-always .link { margin-bottom: 0; } .link-item { font-size: 1em; position: relative; height: var(--link-item-height); display: block; transform: scale(1); transition: transform var(--layout-timing-extra-fast); z-index: 1; } .link-item:focus-within, .link-item:focus, .link-item:hover { z-index: 2; outline: 0; } .is-link-item-hoverscale .link-item:focus-within, .is-link-item-hoverscale .link-item:focus, .is-link-item-hoverscale .link-item:hover { transform: scale(1.05); } .is-link-item-hoverscale .link-item:active { transform: scale(1.04); transition: none; } .link-placeholder { background-color: rgba(var(--theme-accent), 0.2); border-radius: var(--theme-radius); width: 100%; height: 100%; position: relative; box-shadow: inset 0 0 0 var(--layout-line-width) rgb(var(--theme-accent)), inset 0 0 0 calc(var(--layout-line-width) * 4) rgba(var(--theme-accent), 0.1), inset 0 0 0 calc(var(--layout-line-width) * 8) rgba(var(--theme-accent), 0.1); pointer-events: none; } .link-panel-front { background-color: rgb(var(--theme-gray-02)); border-radius: var(--theme-radius); position: absolute; left: 0; width: 100%; height: 100%; display: flex; z-index: 3; overflow: hidden; user-select: none; transition: background-color var(--layout-timing-extra-fast), height var(--layout-timing-extra-fast), box-shadow var(--layout-timing-extra-fast); } .is-link-orientation-top .link-panel-front { top: inherit; bottom: 0; } .is-link-orientation-bottom .link-panel-front { top: 0; bottom: inherit; } .is-link-item-border .link-panel-front { border: calc(calc(var(--layout-line-width) / 2) * var(--link-item-border)) solid rgb(var(--theme-accent)); } .is-link-item-line-show .link-panel-front { height: calc(100% - var(--layout-line-width)); } .link-panel-front:hover, .link-panel-front:focus, .link-item:focus-within .link-panel-front, .link-item:focus .link-panel-front, .link-item:hover .link-panel-front { background-color: rgb(var(--theme-gray-03)); outline: none; text-decoration: none; } .is-link-item-shadow-show .link-item:focus .link-panel-front, .is-link-item-shadow-show .link-item:focus-within .link-panel-front, .is-link-item-shadow-show .link-item:hover .link-panel-front { box-shadow: var(--layout-shadow-large); } .is-link-style-block .link-panel-front { padding: 1em; flex-direction: column; } .is-link-style-block.is-link-display-alignment-topleft .link-panel-front { justify-content: flex-start; align-items: flex-start; } .is-link-style-block.is-link-display-alignment-topcenter .link-panel-front { justify-content: flex-start; align-items: center; } .is-link-style-block.is-link-display-alignment-topright .link-panel-front { justify-content: flex-start; align-items: flex-end; } .is-link-style-block.is-link-display-alignment-centerleft .link-panel-front { justify-content: center; align-items: flex-start; } .is-link-style-block.is-link-display-alignment-centercenter .link-panel-front { justify-content: center; align-items: center; } .is-link-style-block.is-link-display-alignment-centerright .link-panel-front { justify-content: center; align-items: flex-end; } .is-link-style-block.is-link-display-alignment-bottomleft .link-panel-front { justify-content: flex-end; align-items: flex-start; } .is-link-style-block.is-link-display-alignment-bottomcenter .link-panel-front { justify-content: flex-end; align-items: center; } .is-link-style-block.is-link-display-alignment-bottomright .link-panel-front { justify-content: flex-end; align-items: flex-end; } .is-link-style-list .link-panel-front { padding: 0.5em 1em; flex-direction: row; } .is-link-style-list.is-link-display-alignment-topleft .link-panel-front { justify-content: flex-start; align-items: flex-start; } .is-link-style-list.is-link-display-alignment-topcenter .link-panel-front { justify-content: center; align-items: flex-start; } .is-link-style-list.is-link-display-alignment-topright .link-panel-front { justify-content: flex-end; align-items: flex-start; } .is-link-style-list.is-link-display-alignment-centerleft .link-panel-front { justify-content: flex-start; align-items: center; } .is-link-style-list.is-link-display-alignment-centercenter .link-panel-front { justify-content: center; align-items: center; } .is-link-style-list.is-link-display-alignment-centerright .link-panel-front { justify-content: flex-end; align-items: center; } .is-link-style-list.is-link-display-alignment-bottomleft .link-panel-front { justify-content: flex-start; align-items: flex-end; } .is-link-style-list.is-link-display-alignment-bottomcenter .link-panel-front { justify-content: center; align-items: flex-end; } .is-link-style-list.is-link-display-alignment-bottomright .link-panel-front { justify-content: flex-end; align-items: flex-end; } .is-link-item-url-show .link-item:focus .link-panel-front, .is-link-item-url-show .link-item:focus-within .link-panel-front, .is-link-item-url-show .link-item:hover .link-panel-front { height: calc(100% - var(--link-item-url-height)); } .link-panel-back { background-color: rgb(var(--theme-accent)); border-radius: var(--theme-radius); width: calc(100% - calc(var(--layout-line-width) * 2)); height: calc(100% - calc(var(--layout-line-width) * 2)); position: absolute; top: var(--layout-line-width); left: var(--layout-line-width); display: flex; align-items: stretch; justify-content: flex-end; z-index: 2; transition: height var(--layout-timing-extra-fast), top var(--layout-timing-extra-fast), clip-path var(--layout-timing-extra-fast); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } .is-link-orientation-top .link-panel-back { flex-direction: column-reverse; } .is-link-orientation-bottom .link-panel-back { flex-direction: column; } .is-link-item-line-show .link-panel-back { height: calc(100% - var(--layout-line-width)); } .is-link-item-line-show.is-link-orientation-top .link-panel-back { top: 0; } .is-link-item-line-show.is-link-orientation-bottom .link-panel-back { top: var(--layout-line-width); } .is-link-orientation-top.is-link-edit .link-panel-back, .is-link-orientation-bottom.is-link-edit .link-panel-back { height: 100%; top: 0; } .link-item:focus .link-panel-back, .link-item:focus-within .link-panel-back, .link-item:hover .link-panel-back { height: 100%; top: 0; } .is-link-orientation-top.is-link-edit .link-panel-back, .is-link-orientation-top .link-item:focus .link-panel-back, .is-link-orientation-top .link-item:focus-within .link-panel-back, .is-link-orientation-top .link-item:hover .link-panel-back { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--layout-line-width)), 0 calc(100% - var(--layout-line-width))); } .is-link-orientation-bottom.is-link-edit .link-panel-back, .is-link-orientation-bottom .link-item:focus .link-panel-back, .is-link-orientation-bottom .link-item:focus-within .link-panel-back, .is-link-orientation-bottom .link-item:hover .link-panel-back { clip-path: polygon(0 var(--layout-line-width), 100% var(--layout-line-width), 100% 100%, 0 100%); } .link-control { margin: 0; padding: 0; height: 0; display: flex; overflow: hidden; flex-direction: row; align-items: stretch; justify-content: center; transition: all var(--layout-timing-extra-fast); } .is-link-orientation-top.is-link-style-list .link-control, .is-link-orientation-bottom.is-link-style-list .link-control { flex-wrap: nowrap; } .is-link-orientation-top.is-link-style-block .link-control { flex-wrap: wrap-reverse; } .is-link-orientation-bottom.is-link-style-block .link-control { flex-wrap: wrap; } .link-control-item { background-color: transparent; border-radius: 0; margin-bottom: 0; border: 0; padding: 0; color: rgb(var(--theme-gray-02)); flex-grow: 1; } .is-link-style-list .link-control-item { flex-basis: inherit; } .is-link-style-block .link-control-item { flex-basis: 30%; } .link-url-text-dark .link-control-item { color: rgb(var(--theme-black)); } .link-url-text-light .link-control-item { color: rgb(var(--theme-white)); } .is-link-orientation-top.is-link-style-list .link-control-item:nth-child(1) { border-top-left-radius: var(--theme-radius); } .is-link-orientation-top.is-link-style-list .link-control-item:nth-child(5) { border-top-right-radius: var(--theme-radius); } .is-link-orientation-bottom.is-link-style-list .link-control-item:nth-child(1) { border-bottom-left-radius: var(--theme-radius); } .is-link-orientation-bottom.is-link-style-list .link-control-item:nth-child(5) { border-bottom-right-radius: var(--theme-radius); } .is-link-orientation-top.is-link-style-block .link-control-item:nth-child(4) { border-top-left-radius: var(--theme-radius); } .is-link-orientation-top.is-link-style-block .link-control-item:nth-child(5) { border-top-right-radius: var(--theme-radius); } .is-link-orientation-bottom.is-link-style-block .link-control-item:nth-child(4) { border-bottom-left-radius: var(--theme-radius); } .is-link-orientation-bottom.is-link-style-block .link-control-item:nth-child(5) { border-bottom-right-radius: var(--theme-radius); } .link-url-text-dark .link-control-item:focus, .link-url-text-dark .link-control-item:hover { color: rgb(var(--theme-black)); background-color: rgba(0, 0, 0, 0.2); } .link-url-text-light .link-control-item:focus, .link-url-text-light .link-control-item:hover { color: rgb(var(--theme-white)); background-color: rgba(255, 255, 255, 0.2); } .link-url-text-dark .link-control-item:active { color: rgb(var(--theme-black)); background-color: rgba(0, 0, 0, 0.1); } .link-url-text-light .link-control-item:active { color: rgb(var(--theme-white)); background-color: rgba(255, 255, 255, 0.1); } .link-url { padding: 0 1em; width: 100%; height: 0; overflow: hidden; display: none; align-items: center; transition: all var(--layout-timing-extra-fast); } .is-link-item-url-show .link-url { display: flex; } .is-link-display-alignment-topleft .link-url, .is-link-display-alignment-centerleft .link-url, .is-link-display-alignment-bottomleft .link-url { justify-content: flex-start; } .is-link-display-alignment-topcenter .link-url, .is-link-display-alignment-centercenter .link-url, .is-link-display-alignment-bottomcenter .link-url { justify-content: center; } .is-link-display-alignment-topright .link-url, .is-link-display-alignment-centerright .link-url, .is-link-display-alignment-bottomright .link-url { justify-content: flex-end; } .is-link-item-url-show:not(.is-link-edit) .link-item:focus-within .link-url, .is-link-item-url-show:not(.is-link-edit) .link-item:focus .link-url, .is-link-item-url-show:not(.is-link-edit) .link-item:hover .link-url { height: var(--link-item-url-height); } .link-url-text { margin: 0; font-size: 0.7em; font-family: var(--font-regular); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .link-url-text-dark .link-url-text { color: rgb(var(--theme-black)); } .link-url-text-light .link-url-text { color: rgb(var(--theme-white)); } .link-display { font-size: 1em; display: none; transition: font-size var(--layout-timing-extra-fast), margin var(--layout-timing-extra-fast); } .is-link-edit.is-link-style-list .link-display { font-size: 0.5em; } .is-link-edit.is-link-style-block .link-display { font-size: 0.6em; } .is-link-display-item-show .link-display { display: flex; } .link-display-letter, .link-display-icon { margin: 0; text-align: center; } .link-display-letter { padding-top: 8%; font-family: var(--font-fjalla); color: rgb(var(--theme-accent)); line-height: 1; white-space: nowrap; transition: color var(--layout-timing-extra-fast); } .link-display-icon { color: rgb(var(--theme-accent)); transition: color var(--layout-timing-extra-fast); } .is-link-style-block .link-display-letter, .is-link-style-list .link-display-letter { font-size: var(--link-item-display-letter-size); } .is-link-style-block .link-display-icon, .is-link-style-list .link-display-icon { font-size: var(--link-item-display-icon-size); } .is-link-style-block.is-link-item-name-show.is-link-display-item-show .link-panel-front>*:not(:only-child):not(:last-child) { margin-bottom: 0.5em; } .is-link-style-list.is-link-item-name-show.is-link-display-item-show .link-panel-front>*:not(:only-child):not(:last-child) { margin-right: 0.5em } .link-item:hover .link-display-letter, .link-item:focus .link-display-letter, .link-item:hover .link-display-icon, .link-item:focus .link-display-icon { color: rgb(var(--theme-style-text)); } .link-panel-front:focus .link-display-letter, .link-panel-front:focus .link-display-icon { color: rgb(var(--theme-style-text)); } .link-name { margin: 0; font-size: var(--link-item-name-size); font-family: var(--font-regular); color: rgb(var(--theme-gray-12)); display: none; transition: color var(--layout-timing-extra-fast), font-size var(--layout-timing-extra-fast); } .is-link-edit .link-name { font-size: 0.6em; } .link-name, .link-name:not(:last-child) { margin-bottom: 0; } .is-link-display-alignment-topleft .link-name, .is-link-display-alignment-centerleft .link-name, .is-link-display-alignment-bottomleft .link-name { text-align: left; } .is-link-display-alignment-topcenter .link-name, .is-link-display-alignment-centercenter .link-name, .is-link-display-alignment-bottomcenter .link-name { text-align: center; } .is-link-display-alignment-topright .link-name, .is-link-display-alignment-centerright .link-name, .is-link-display-alignment-bottomright .link-name { text-align: right; } .is-link-item-name-show .link-name { display: block; } .link-item:hover .link-name, .link-item:focus .link-name { color: rgb(var(--theme-style-text)); } .link-panel-front:focus .link-name { color: rgb(var(--theme-style-text)); } .link-empty { background-color: rgba(var(--theme-gray-04), 0.2); padding: 1em 0; border-radius: var(--theme-radius); grid-column-start: 1; grid-column-end: -1; text-align: center; display: flex; flex-direction: column; justify-content: center; } .is-sorting-link .link-empty { display: none; } .is-link-style-list .link-name { white-space: nowrap; } .is-link-edit .link-panel-front, .is-link-edit .link-item:hover .link-panel-front, .is-link-edit .link-item:focus .link-panel-front { height: calc(100% - var(--link-item-edit-height)); } .is-link-item-shadow-show.is-link-edit .link-panel-front, .is-link-item-shadow-show.is-link-edit .link-item:hover .link-panel-front, .is-link-item-shadow-show.is-link-edit .link-item:focus .link-panel-front { box-shadow: var(--layout-shadow-medium); } .is-link-edit.is-link-item-url-show .link-item:focus .link-panel-front, .is-link-edit.is-link-item-url-show .link-item:focus-within .link-panel-front, .is-link-edit.is-link-item-url-show .link-item:hover .link-panel-front { height: calc(100% - var(--link-item-edit-height)); } .is-link-edit .link-control { height: var(--link-item-edit-height); } .is-link-edit .link-item:hover .link-url, .is-link-edit .link-item:focus .link-url { height: 0; } .is-link-edit .link-control-item { pointer-events: all; } .link-form-text-icon { position: relative; } .link-form-text-icon:empty:before { content: ""; background-color: rgb(var(--theme-gray-04)); top: 50%; left: 50%; position: absolute; width: 0.5em; height: 0.5em; border-radius: 50%; display: block; transform: translate(-50%, -50%); } .link-form-text-icon .link-form-icon { transform: scale(1) rotate(0deg); transition: transform var(--layout-timing-extra-fast); } .link-form-text-icon:not(.disabled):hover .link-form-icon { transform: scale(2) rotate(360deg); z-index: 1; } .link-form-text-icon:not(.disabled):active .link-form-icon { transform: scale(4) rotate(360deg); } .link-form-icon { font-size: 1.5em; }