wishthis/semantic/dist/components/tab.css

85 lines
1.5 KiB
CSS
Raw Normal View History

2022-04-05 18:01:56 +00:00
/*!
2023-12-19 14:45:49 +00:00
* # Fomantic-UI 2.9.3 - Tab
2023-08-17 09:47:40 +00:00
* https://github.com/fomantic/Fomantic-UI/
2022-04-05 18:01:56 +00:00
*
*
* Released under the MIT license
2023-08-17 09:47:40 +00:00
* https://opensource.org/licenses/MIT
2022-04-05 18:01:56 +00:00
*
*/
/*******************************
UI Tabs
*******************************/
.ui.tab {
display: none;
}
/*******************************
States
*******************************/
2023-08-17 09:47:40 +00:00
/* --------------------
2022-04-05 18:01:56 +00:00
Active
2023-08-17 09:47:40 +00:00
--------------------- */
2022-04-05 18:01:56 +00:00
.ui.tab.active,
.ui.tab.open {
display: block;
}
2023-08-17 09:47:40 +00:00
/* --------------------
Loading
--------------------- */
2022-04-05 18:01:56 +00:00
.ui.tab.loading {
position: relative;
overflow: hidden;
display: block;
min-height: 250px;
}
.ui.tab.loading * {
position: relative !important;
left: -10000px !important;
}
2022-08-05 09:25:53 +00:00
.ui.tab.loading::before,
.ui.tab.loading.segment::before {
2022-04-05 18:01:56 +00:00
position: absolute;
2023-08-17 09:47:40 +00:00
content: "";
2022-04-05 18:01:56 +00:00
top: 50%;
left: 50%;
margin: -1.25em 0 0 -1.25em;
width: 2.5em;
height: 2.5em;
border-radius: 500rem;
border: 0.2em solid rgba(0, 0, 0, 0.1);
}
2022-08-05 09:25:53 +00:00
.ui.tab.loading::after,
.ui.tab.loading.segment::after {
2022-04-05 18:01:56 +00:00
position: absolute;
2023-08-17 09:47:40 +00:00
content: "";
2022-04-05 18:01:56 +00:00
top: 50%;
left: 50%;
margin: -1.25em 0 0 -1.25em;
width: 2.5em;
height: 2.5em;
2023-08-17 09:47:40 +00:00
animation: loader 0.6s infinite linear;
2022-04-05 18:01:56 +00:00
border: 0.2em solid #767676;
border-radius: 500rem;
2023-08-17 09:47:40 +00:00
box-shadow: 0 0 0 1px transparent;
2022-04-05 18:01:56 +00:00
}
/*******************************
Tab Overrides
*******************************/
/*******************************
User Overrides
*******************************/