@import './mixins/mixins.scss'; @include themes-mixin { @include b(list) { @include once { font-size: 14px; transition: background-color .3s $--n-ease-in-out-cubic-bezier, color .3s $--n-ease-in-out-cubic-bezier, border-color .3s $--n-ease-in-out-cubic-bezier; padding: 0; list-style-type: none; } color: $--n-secondary-text-color; background-color: $--n-card-color; @include m(bordered) { @include once { border-radius: 6px; } border: 1px solid $--n-border-color; @include b(list-item) { @include once { padding: 12px 20px; } &:not(:last-child) { border-bottom: 1px solid $--n-border-color; } } @include e(header, footer) { @include once { padding: 12px 20px; } &:not(:last-child) { border-bottom: 1px solid $--n-border-color; } } } @include e(header, footer) { @include once { padding: 12px 0; box-sizing: border-box; transition: border-color .3s $--n-ease-in-out-cubic-bezier; } &:not(:last-child) { border-bottom: 1px solid $--n-border-color; } } @include b(list-item) { @include once { padding: 12px 0; box-sizing: border-box; display: flex; flex-wrap: nowrap; align-items: center; transition: border-color .3s $--n-ease-in-out-cubic-bezier; @include e(prefix) { margin-right: 20px; flex: 0; } @include e(suffix) { margin-left: 20px; flex: 0; } @include e(main) { flex: 1; } } &:not(:last-child) { border-bottom: 1px solid $--n-border-color; } } } }