UNPKG

@finsweet/fluid-design-generator

Version:

Fluid design generator tool for Webflow sites.

669 lines (599 loc) 13.6 kB
/* --------------------------------- Start Custom CSS - Do not Remove! --------------------------------- */ .fs-fdg_output pre::-webkit-scrollbar { opacity: 0; height: 0rem; } .fs-fdg_chart-wrapper::-webkit-scrollbar { width: 0.75rem; height: 0.75rem; } .fs-fdg_chart-wrapper::-webkit-scrollbar-track { background: rgba(255, 0, 0, 0); border-style: none; } .fs-fdg_chart-wrapper::-webkit-scrollbar-thumb { background: rgba(0, 53, 88, 0.1); border-style: none; border-radius: 10rem; } .fs-fdg_chart-wrapper::-webkit-scrollbar-thumb:active { background: #2d40ea; } .fs-fdg_chart-wrapper::-webkit-scrollbar-thumb:hover { background: #2d40ea; } .fs-fdg_breakpoint-input-field::-webkit-inner-spin-button, .fs-fdg_breakpoint-input-field::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } .fs-fdg_toggles-wrapper { gap: 1.5rem; } .fs-fdg_breakpoint-control:hover .fs-fdg_breakpoint-remove { display: flex; } .fs-fdg_switch-checkbox:checked ~ .fs-fdg_switch-bg { background-color: #2d40ea; } .fs-fdg_switch-checkbox:focus:not(:checked) ~ .fs-fdg_switch-bg { background-color: rgba(0, 53, 88, 0.25); } .fs-fdg_switch-checkbox:checked ~ .fs-fdg_switch { left: auto; right: 0.25rem; } .fs-fdg_breakpoint-add:hover .fs-fdg_breakpoint-add-text, .fs-fdg_breakpoint-warning:hover .fs-fdg_breakpoint-warning-text { opacity: 1; } .fs-fdg_breakpoint-add:hover .fs-fdg_breakpoint-button.is-add { background-color: #2d40ea; } .fs-fdg_switch-checkbox:disabled { cursor: not-allowed; } /* --------------------------------- End Custom CSS --------------------------------- */ .fs-fdg_output { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; overflow: auto; width: 100%; min-height: 4rem; margin-top: 2.5rem; margin-bottom: 1.25rem; padding: 1.1rem; -webkit-box-pack: start; -webkit-justify-content: flex-start; -ms-flex-pack: start; justify-content: flex-start; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; border-radius: 0.25rem; background-color: #000; color: #eff2f4; font-size: 0.875rem; } .fs-fdg_wrapper { position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; margin-bottom: 4rem; padding: 0rem 1.25rem 1.25rem; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: start; -webkit-align-items: flex-start; -ms-flex-align: start; align-items: flex-start; border-radius: 0.25rem; background-color: #eff2f4; } .fs-fdg_chart-wrapper { position: relative; overflow: auto; width: 100%; margin-bottom: 0.5rem; padding-top: 3.25rem; padding-bottom: 3.25rem; padding-left: 2.25rem; } .fs-fdg_chart { position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; width: 100%; height: 12rem; } .fs-fdg_breakpoint { position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; min-width: 8rem; -webkit-box-flex: 1; -webkit-flex: 1; -ms-flex: 1; flex: 1; border-right: 0.125rem solid #d7dcdf; border-bottom: 0.125rem solid #d7dcdf; border-left: 0.125rem solid #d7dcdf; } .fs-fdg_breakpoint.is-last { border-right-style: none; border-left-style: none; } .fs-fdg_breakpoint-graph { position: absolute; left: 0%; top: 0%; right: 0%; bottom: 0%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; color: #000; } .fs-fdg_breakpoint-dot { position: relative; z-index: 1; width: 0.75rem; height: 0.75rem; border-radius: 100%; background-color: #2d40ea; cursor: pointer; } .fs-fdg_breakpoint-dot:hover { box-shadow: 0 0 0 0.125rem #2d40ea; } .fs-fdg_breakpoint-input { position: relative; width: 3.75rem; height: 1.5rem; font-size: 0.625rem; line-height: 1; font-weight: 600; } .fs-fdg_breakpoint-input-field { position: absolute; width: 100%; height: 100%; margin-bottom: 0px; padding: 0rem 0rem 0em 0.25rem; border-style: solid; border-width: 0.125rem; border-color: #eff2f4; border-radius: 0.125rem; font-size: 0.625rem; font-weight: 600; } .fs-fdg_breakpoint-input-field:focus { border-style: solid; border-color: #2d40ea; } .fs-fdg_breakpoint-input-unit { position: absolute; top: 0.25rem; right: 0.25rem; bottom: 0.25rem; z-index: 1; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; max-width: 2rem; padding-right: 0.25rem; padding-left: 0.25rem; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; border-radius: 0.125rem; background-color: #fff; text-transform: uppercase; cursor: default; } .fs-fdg_breakpoint-input-unit:hover { background-color: #eff2f4; } .fs-fdg_axis-label { position: absolute; color: #b4bcc0; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; } .fs-fdg_axis-label.is-x { top: 100%; margin-top: 0.75rem; } .fs-fdg_axis-label.is-y { position: absolute; left: -0.75rem; top: auto; right: auto; bottom: 0%; -webkit-transform: rotate(-90deg); -ms-transform: rotate(-90deg); transform: rotate(-90deg); -webkit-transform-origin: 0% 100%; -ms-transform-origin: 0% 100%; transform-origin: 0% 100%; } .fs-fdg_breakpoint-control { position: absolute; left: -0.75rem; top: 100%; right: auto; bottom: auto; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; margin-top: 0.5rem; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-transform: translate(-50%, 0px); -ms-transform: translate(-50%, 0px); transform: translate(-50%, 0px); } .fs-fdg_breakpoint-font-size { position: absolute; bottom: 0%; padding-bottom: 1.25rem; } .fs-fdg_breakpoint-remove { position: absolute; left: 100%; display: none; height: 100%; padding-left: 0.5rem; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; cursor: pointer; } .fs-fdg_breakpoint-remove:active { -webkit-transform: translate(0px, 1px); -ms-transform: translate(0px, 1px); transform: translate(0px, 1px); } .fs-fdg_breakpoint-button { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; width: 1rem; height: 1rem; padding: 0.25rem; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; border-radius: 100%; background-color: #d7dcdf; color: #fff; cursor: pointer; } .fs-fdg_breakpoint-button.is-remove { background-color: #ea2d49; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); } .fs-fdg_breakpoint-button.is-add { margin-top: 0.25rem; } .fs-fdg_breakpoint-button.is-warning { margin-bottom: 0.25rem; background-color: #ea2d49; cursor: auto; } .fs-fdg_breakpoint-add { position: absolute; left: 50%; top: auto; right: auto; bottom: -0.5rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-transform: translate(-50%, 0%); -ms-transform: translate(-50%, 0%); transform: translate(-50%, 0%); font-size: 0.625rem; line-height: 1; font-weight: 600; text-align: center; text-transform: uppercase; cursor: pointer; } .fs-fdg_breakpoint-add:active { -webkit-transform: translate(-50%, 1px); -ms-transform: translate(-50%, 1px); transform: translate(-50%, 1px); } .fs-fdg_breakpoint-handle { position: absolute; z-index: 1; } .fs-fdg_button { position: relative; display: inline-block; padding: 0.5rem 1rem; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; border-radius: 0.25rem; background-color: #2d40ea; -webkit-transition: background-color 250ms ease; transition: background-color 250ms ease; color: #fff; font-size: 0.875rem; line-height: 1.6; font-weight: 600; text-align: center; text-decoration: none; } .fs-fdg_button:hover { background-color: #1224c2; } .fs-fdg_button:active { -webkit-transform: translate(0px, 1px); -ms-transform: translate(0px, 1px); transform: translate(0px, 1px); } .fs-fdg_button.is-secondary { background-color: transparent; box-shadow: inset 0 0 0rem 0.125rem #2d40ea; -webkit-transition-property: none; transition-property: none; color: #2d40ea; } .fs-fdg_button.is-secondary:hover { background-color: #2d40ea; color: #fff; } .fs-fdg_switch-icons { position: relative; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; width: 100%; height: 100%; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; } .fs-fdg_switch-wrapper { position: relative; display: block; height: 2rem; min-width: 4rem; margin-right: 1rem; margin-bottom: 0rem; padding: 0.25rem; } .fs-fdg_switch-checkbox { position: absolute; left: 0%; top: 0%; right: 0%; bottom: 0%; z-index: 2; width: 100%; height: 100%; margin-top: 0rem; margin-left: 0rem; opacity: 0; cursor: pointer; } .hidden { display: none; } .fs-fdg_switch-icon { position: absolute; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; width: 1rem; height: 1rem; padding: 0.25rem; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; color: #fff; line-height: 0; } .fs-fdg_switch-icon.is-off { right: 0%; color: #2d40ea; } .fs-fdg_switch-bg { position: absolute; left: 0%; top: 0%; right: 0%; bottom: 0%; display: inline-block; border-radius: 10rem; background-color: rgba(0, 53, 88, 0.1); } .fs-fdg_switch { position: absolute; left: 0.25rem; z-index: 1; width: 1.5rem; height: 1.5rem; border-radius: 100%; background-color: #fff; } .fs-fdg_toggle { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; font-size: 0.875rem; cursor: pointer; } .fs-fdg_toggle.disabled { opacity: 0.5; cursor: not-allowed; } .fs-fdg_breakpoint-add-text { opacity: 0; } .fs-fdg_breakpoint-input-dropdown { position: absolute; left: auto; top: -0.5rem; right: 0%; bottom: auto; z-index: 100; overflow: hidden; border-radius: 0.25rem; background-color: #d7dee4; box-shadow: 0 4px 0.5rem 0 rgba(47, 47, 47, 0.1); font-size: 0.625rem; line-height: 1; cursor: default; } .fs-fdg_breakpoint-input-dropdown-item { padding: 0.5rem; text-align: center; } .fs-fdg_breakpoint-input-dropdown-item:hover { background-color: #fff; } .fs-fdg_breakpoint-gap { width: 1.5rem; -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; border-bottom: 0.125rem solid #d7dcdf; } .fs-fdg_toggles-wrapper { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; margin-bottom: 1.25rem; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } .fs-fdg_breakpoint-warning { position: absolute; left: 50%; top: 0%; right: auto; bottom: auto; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; margin-top: -2.5rem; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-transform: translate(-50%, 0px); -ms-transform: translate(-50%, 0px); transform: translate(-50%, 0px); font-size: 0.8125rem; line-height: 1.2; text-align: center; cursor: default; } .fs-fdg_breakpoint-warning-text { opacity: 0; white-space: nowrap; } .fs-fdg_disclaimer { margin-bottom: 1.25rem; font-size: 0.875rem; } .fs-fdg_inline-link { color: #2d40ea; text-decoration: none; } .fs-fdg_inline-link:hover { text-decoration: underline; }