| 1 |
/* Botiga Dashboard Tabs Nav Items */ |
| 2 |
.merchant-tabs-nav { |
| 3 |
padding: 0 20px; |
| 4 |
margin-bottom: -100%; |
| 5 |
transform: translate3d(0, 100%, 0); |
| 6 |
|
| 7 |
ul { |
| 8 |
display: flex; |
| 9 |
padding: 0; |
| 10 |
} |
| 11 |
|
| 12 |
.merchant-tabs-nav-item { |
| 13 |
.merchant-tabs-nav-link { |
| 14 |
position: relative; |
| 15 |
font-size: 14px; |
| 16 |
line-height: 20px; |
| 17 |
padding: 16px; |
| 18 |
color: #6D7175; |
| 19 |
text-decoration: none; |
| 20 |
transition: ease color 300ms; |
| 21 |
outline: none; |
| 22 |
box-shadow: none; |
| 23 |
|
| 24 |
&:after { |
| 25 |
content: ''; |
| 26 |
position: absolute; |
| 27 |
bottom: 0; |
| 28 |
left: 0; |
| 29 |
width: 100%; |
| 30 |
height: 3px; |
| 31 |
background-color: transparent; |
| 32 |
border-radius: 4px 4px 0 0; |
| 33 |
} |
| 34 |
} |
| 35 |
|
| 36 |
&.active { |
| 37 |
.merchant-tabs-nav-link { |
| 38 |
color: #3858E9; |
| 39 |
font-weight: 500; |
| 40 |
|
| 41 |
&:after { |
| 42 |
background-color: #3858E9; |
| 43 |
} |
| 44 |
} |
| 45 |
} |
| 46 |
|
| 47 |
&:hover, |
| 48 |
&:focus, |
| 49 |
&:active { |
| 50 |
.merchant-tabs-nav-link { |
| 51 |
color: #3858E9; |
| 52 |
} |
| 53 |
} |
| 54 |
} |
| 55 |
|
| 56 |
&.merchant-tabs-nav-with-icons { |
| 57 |
.merchant-tabs-nav-item { |
| 58 |
.merchant-tabs-nav-link { |
| 59 |
position: relative; |
| 60 |
display: flex; |
| 61 |
align-items: center; |
| 62 |
font-size: 18px; |
| 63 |
font-weight: 600; |
| 64 |
line-height: 26px; |
| 65 |
padding: 9px 16px; |
| 66 |
border-bottom: 0; |
| 67 |
color: #1e1e1e; |
| 68 |
transition: ease color 200ms; |
| 69 |
|
| 70 |
svg { |
| 71 |
margin-right: 8px; |
| 72 |
path { |
| 73 |
transition: ease fill 200ms; |
| 74 |
} |
| 75 |
} |
| 76 |
|
| 77 |
&:after { |
| 78 |
content: none; |
| 79 |
} |
| 80 |
|
| 81 |
&:before { |
| 82 |
content: ''; |
| 83 |
position: absolute; |
| 84 |
top: 0; |
| 85 |
left: 0; |
| 86 |
background-color: transparent; |
| 87 |
width: 4px; |
| 88 |
height: 100%; |
| 89 |
border-radius: 0 4px 4px 0; |
| 90 |
opacity: 0; |
| 91 |
visibility: hidden; |
| 92 |
transition: ease opacity 200ms; |
| 93 |
} |
| 94 |
} |
| 95 |
|
| 96 |
&:hover, |
| 97 |
&:focus, |
| 98 |
&:active { |
| 99 |
.merchant-tabs-nav-link { |
| 100 |
color: #757575; |
| 101 |
|
| 102 |
svg { |
| 103 |
path { |
| 104 |
fill: #757575; |
| 105 |
} |
| 106 |
} |
| 107 |
|
| 108 |
&:before { |
| 109 |
background-color: #e1e1e1; |
| 110 |
opacity: 1; |
| 111 |
visibility: visible; |
| 112 |
} |
| 113 |
} |
| 114 |
} |
| 115 |
|
| 116 |
&.active { |
| 117 |
.merchant-tabs-nav-link { |
| 118 |
color: #3858E9; |
| 119 |
|
| 120 |
svg { |
| 121 |
path { |
| 122 |
fill: #3858E9; |
| 123 |
} |
| 124 |
} |
| 125 |
|
| 126 |
&:before { |
| 127 |
background-color: #3858E9; |
| 128 |
opacity: 1; |
| 129 |
visibility: visible; |
| 130 |
} |
| 131 |
} |
| 132 |
} |
| 133 |
} |
| 134 |
} |
| 135 |
|
| 136 |
&.merchant-tabs-nav-vertical { |
| 137 |
padding: 0; |
| 138 |
margin-left: -20px; |
| 139 |
|
| 140 |
ul { |
| 141 |
flex-direction: column; |
| 142 |
margin: 0; |
| 143 |
} |
| 144 |
} |
| 145 |
|
| 146 |
&.merchant-tabs-nav-no-negative-margin { |
| 147 |
margin-bottom: 0; |
| 148 |
transform: none; |
| 149 |
} |
| 150 |
} |
| 151 |
|
| 152 |
/* Botiga Tabs Content */ |
| 153 |
.merchant-tab-content { |
| 154 |
display: none; |
| 155 |
|
| 156 |
&.active { |
| 157 |
display: block; |
| 158 |
} |
| 159 |
} |