| 1 |
/* Tab style */ |
| 2 |
.tabs { |
| 3 |
-webkit-touch-callout: none; |
| 4 |
-webkit-user-select: none; |
| 5 |
-moz-user-select: none; |
| 6 |
-ms-user-select: none; |
| 7 |
user-select: none; |
| 8 |
} |
| 9 |
|
| 10 |
.tabs:not(:last-child) { |
| 11 |
margin-bottom: 1.5rem; |
| 12 |
} |
| 13 |
|
| 14 |
/* Bulma Components */ |
| 15 |
.tabs { |
| 16 |
-webkit-overflow-scrolling: touch; |
| 17 |
align-items: stretch; |
| 18 |
display: flex; |
| 19 |
font-size: 1rem; |
| 20 |
justify-content: space-between; |
| 21 |
overflow: hidden; |
| 22 |
overflow-x: auto; |
| 23 |
white-space: nowrap; |
| 24 |
} |
| 25 |
.tabs a { |
| 26 |
align-items: center; |
| 27 |
border-bottom-color: #dbdbdb; |
| 28 |
border-bottom-style: solid; |
| 29 |
border-bottom-width: 1px; |
| 30 |
color: #4a4a4a; |
| 31 |
display: flex; |
| 32 |
justify-content: left; |
| 33 |
margin-bottom: -1px; |
| 34 |
padding: 0.5em 1em; |
| 35 |
vertical-align: top; |
| 36 |
cursor: pointer; |
| 37 |
} |
| 38 |
.tabs a:hover { |
| 39 |
border-bottom-color: #363636; |
| 40 |
color: #363636; |
| 41 |
} |
| 42 |
.tabs li { |
| 43 |
display: block; |
| 44 |
} |
| 45 |
.tabs li.is-active a { |
| 46 |
border-bottom-color: #485fc7; |
| 47 |
color: #485fc7; |
| 48 |
} |
| 49 |
.tabs ul { |
| 50 |
align-items: center; |
| 51 |
display: flex; |
| 52 |
flex-grow: 1; |
| 53 |
flex-shrink: 0; |
| 54 |
justify-content: flex-start; |
| 55 |
} |
| 56 |
.tabs.is-vertical ul { |
| 57 |
align-items: flex-start; |
| 58 |
flex-direction: column; |
| 59 |
} |
| 60 |
.tabs.is-vertical ul li { |
| 61 |
width: 100%; |
| 62 |
} |
| 63 |
|
| 64 |
.tabs ul.is-left { |
| 65 |
padding-right: 0.75em; |
| 66 |
} |
| 67 |
.tabs ul.is-center { |
| 68 |
flex: none; |
| 69 |
justify-content: center; |
| 70 |
padding-left: 0.75em; |
| 71 |
padding-right: 0.75em; |
| 72 |
} |
| 73 |
.tabs ul.is-right { |
| 74 |
justify-content: flex-end; |
| 75 |
padding-left: 0.75em; |
| 76 |
} |
| 77 |
.tabs .icon:first-child { |
| 78 |
margin-right: 0.5em; |
| 79 |
} |
| 80 |
.tabs .icon:last-child { |
| 81 |
margin-left: 0.5em; |
| 82 |
} |
| 83 |
.tabs.is-centered ul { |
| 84 |
justify-content: center; |
| 85 |
} |
| 86 |
.tabs.is-right ul { |
| 87 |
justify-content: flex-end; |
| 88 |
} |
| 89 |
.tabs.is-boxed a { |
| 90 |
border: 1px solid transparent; |
| 91 |
border-radius: 4px 4px 0 0; |
| 92 |
} |
| 93 |
.tabs.is-boxed a:hover { |
| 94 |
background-color: whitesmoke; |
| 95 |
border-bottom-color: #dbdbdb; |
| 96 |
} |
| 97 |
.tabs.is-boxed li.is-active a { |
| 98 |
background-color: white; |
| 99 |
border-color: #dbdbdb; |
| 100 |
border-bottom-color: transparent !important; |
| 101 |
} |
| 102 |
.tabs.is-fullwidth li { |
| 103 |
flex-grow: 1; |
| 104 |
flex-shrink: 0; |
| 105 |
} |
| 106 |
.tabs.is-toggle a { |
| 107 |
border-color: #dbdbdb; |
| 108 |
border-style: solid; |
| 109 |
border-width: 1px; |
| 110 |
margin-bottom: 0; |
| 111 |
position: relative; |
| 112 |
} |
| 113 |
.tabs.is-toggle a:hover { |
| 114 |
background-color: whitesmoke; |
| 115 |
border-color: #b5b5b5; |
| 116 |
z-index: 2; |
| 117 |
} |
| 118 |
.tabs.is-toggle li + li { |
| 119 |
margin-left: -1px; |
| 120 |
} |
| 121 |
.tabs.is-toggle li:first-child a { |
| 122 |
border-top-left-radius: 4px; |
| 123 |
border-bottom-left-radius: 4px; |
| 124 |
} |
| 125 |
.tabs.is-toggle li:last-child a { |
| 126 |
border-top-right-radius: 4px; |
| 127 |
border-bottom-right-radius: 4px; |
| 128 |
} |
| 129 |
.tabs.is-toggle li.is-active a { |
| 130 |
background-color: #485fc7; |
| 131 |
border-color: #485fc7; |
| 132 |
color: #fff; |
| 133 |
z-index: 1; |
| 134 |
} |
| 135 |
.tabs.is-toggle ul { |
| 136 |
border-bottom: none; |
| 137 |
} |
| 138 |
.tabs.is-toggle.is-toggle-rounded li:first-child a { |
| 139 |
border-bottom-left-radius: 9999px; |
| 140 |
border-top-left-radius: 9999px; |
| 141 |
padding-left: 1.25em; |
| 142 |
} |
| 143 |
.tabs.is-toggle.is-toggle-rounded li:last-child a { |
| 144 |
border-bottom-right-radius: 9999px; |
| 145 |
border-top-right-radius: 9999px; |
| 146 |
padding-right: 1.25em; |
| 147 |
} |
| 148 |
.tabs.is-small { |
| 149 |
font-size: 0.75rem; |
| 150 |
} |
| 151 |
.tabs.is-medium { |
| 152 |
font-size: 1.25rem; |
| 153 |
} |
| 154 |
.tabs.is-large { |
| 155 |
font-size: 1.5rem; |
| 156 |
} |
| 157 |
|
| 158 |
.has-tabs { |
| 159 |
flex: none; |
| 160 |
padding-right: 0; |
| 161 |
border-right: 1px solid #b5b5b5; |
| 162 |
width: 150px; |
| 163 |
} |