// TABS .nav-pills, .nav-tabs { margin-bottom: $spacer; } .nav-link { font-weight: bold; &:hover { cursor: pointer; } } .nav-tabs { .nav-link { &:hover { color: $primary !important; } &.active { color: $primary; } } } .nav-pills { .nav-link { &:hover { color: $primary !important; } &.active { background: $primary; &:hover { color: $white !important; } } } } // Fancy Tabs .RRT__container { position: relative; } .RRT__tabs { display: flex; flex-wrap: wrap; position: relative; } .RRT__accordion { flex-direction: column; } .RRT__tab { cursor: pointer; z-index: 1; white-space: nowrap; padding: $nav-link-padding-y $nav-link-padding-x; transition: all .2s; &:hover { color: $primary; } &:focus { outline: 0; } } .RRT__tab--selected { color: $primary; } .RRT__tab--disabled { opacity: 0.5; cursor: not-allowed; } .RRT__tab:focus { z-index: 2; } .RRT__tab--selected .RRT__removable { position: relative; } .RRT__tab--selected .RRT__removable-text { margin-inline-end: 10px; } .RRT__tab--selected .RRT__removable-icon { position: absolute; font-size: 18px; right: 0.5em; top: 0.2em; } // Alternate Style .body-tabs.body-tabs-layout { &.body-tabs-big { display: flex; flex-direction: row; align-items: stretch; @extend .container; margin: 0 auto; padding: 10px; @include border-radius(50px); border: $gray-200 solid 1px; z-index: 7; .RRT__tab { margin: 0; font-size: 1rem; font-weight: 300; padding: 0; height: 50px; line-height: 50px; flex: 1; text-align: center; position: relative; color: $primary; &:hover { color: $gray-900; } &.RRT__tab--selected { color: $white; &:hover { color: $white; } } } & + .RRT__inkbar-wrapper { height: 70px !important; top: -70px !important; @extend .container; margin: 0 auto -3.4rem; position: relative; padding: 0 10px; &::before { position: absolute; content: ''; background: $white; width: 100%; height: 100%; left: 0; top: -11px; @include border-radius(50px); } .RRT__inkbar { height: 50px !important; margin-top: 10px; @include border-radius(50px); box-shadow: 0 0 0 transparent; } & + .RRT__panel { margin-top: -1rem; } } } } // Panels .RRT__panel { margin-top: $spacer; } .RRT__accordion .RRT__panel { } // Show More .RRT__showmore { @include border-radius($border-radius); background: $primary; cursor: pointer; z-index: 1; white-space: nowrap; font-weight: bold; width: 36px; text-align: center; height: 36px; display: block; margin-inline-start: 15px; position: absolute; right: $grid-gutter-width; top: 50%; margin-top: -18px; font-size: 1.4rem; &:focus { outline: none; } } .RRT__showmore-label { position: relative; z-index: 1; color: $white; width: 36px; text-align: center; height: 36px; line-height: 24px; } .RRT__showmore--selected { box-shadow: 0 16px 26px -10px rgba($primary, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba($primary, 0.2); } .RRT__showmore-list { position: absolute; right: -1px; top: 100%; display: none; min-width: $dropdown-min-width; padding: $dropdown-padding-y 0; margin: $dropdown-spacer 0 0; // override default ul font-size: $font-size-base; // Redeclare because nesting can cause inheritance issues color: $body-color; text-align: start; // Ensures proper alignment if parent has it changed (e.g., modal footer) list-style: none; background-color: $dropdown-bg; background-clip: padding-box; border: $dropdown-border-width solid $dropdown-border-color; @include border-radius($dropdown-border-radius); box-shadow: $box-shadow-default; .RRT__tab { display: block; width: 100%; // For `