Current Path : /var/www/mainsite/wp-content/themes/maxcoach/assets/scss/elementor/widgets/ |
Current File : /var/www/mainsite/wp-content/themes/maxcoach/assets/scss/elementor/widgets/_list.scss |
.maxcoach-list { font-size: 0; max-width: 100%; .item { font-size: 0; } .list-header { display: flex; align-items: center; } .link { display: inline-block; padding: 0; // Use transition of children. transition: none; } .icon { @extend %NormalTransition; flex-shrink: 0; font-size: 14px; margin-right: 10px; line-height: 1; } .text { @extend %NormalTransition; font-size: 14px; font-weight: 500; margin-bottom: 0; } .badge { display: inline-block; border-radius: 2px; padding: 4px 8px 3px; background: #333; color: #fff; font-size: 11px; line-height: 1; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 0 7px; } .icon { svg { width: 1em; height: 1em; *[stroke]:not([stroke='none']) { stroke: currentColor; } *[fill]:not([fill='none']) { fill: currentColor; } } } } .maxcoach-list-layout-block { .item + .item { margin-top: 11px; } } .maxcoach-list-layout-inline { .maxcoach-list { margin-left: -15px; margin-right: -15px; .item { display: inline-block; padding: 0 15px; margin-bottom: 12px; } } } .maxcoach-list-layout-columns { .maxcoach-list { position: relative; min-height: 1px; display: flex; flex-wrap: wrap; margin-left: -15px; margin-right: -15px; } .item { padding: 0 15px; flex-grow: 1; flex: 1 1 50%; &:nth-child(2) { ~ .item { margin-top: 11px; } } } } .maxcoach-list-style-icon-border { .maxcoach-icon { position: relative; border: 2px solid var(--icon-mark-color, currentColor); border-radius: 50%; padding: 0.813em; i, svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: inline-block; } } } .maxcoach-list-style-icon-fill { .maxcoach-icon { background: var(--icon-mark-color, #e4f5e1); position: relative; border-radius: 50%; padding: 1em; i, svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: inline-block; } } } .maxcoach-list-style-underline { .link { @extend %LinkTransition; &:after { background: $primary-color; } } } .maxcoach-list-separator-01 { .item { position: relative; + .item { &:before { content: ''; position: absolute; top: 50%; transform: translate(0, -50%); left: 0; width: 1px; height: 16px; background: var(--separator-color, #cdcdcd); } } } }