wishthis/semantic/dist/components/segment.css

926 lines
20 KiB
CSS
Raw Normal View History

2022-01-13 13:00:31 +00:00
/*!
2023-12-19 14:45:49 +00:00
* # Fomantic-UI 2.9.3 - Segment
2023-08-17 09:47:40 +00:00
* https://github.com/fomantic/Fomantic-UI/
2022-01-13 13:00:31 +00:00
*
*
* Released under the MIT license
2023-08-17 09:47:40 +00:00
* https://opensource.org/licenses/MIT
2022-01-13 13:00:31 +00:00
*
*/
/*******************************
Segment
*******************************/
.ui.segment {
position: relative;
2023-08-17 09:47:40 +00:00
background: #fff;
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15);
2022-01-13 13:00:31 +00:00
margin: 1rem 0;
padding: 1em 1em;
2022-08-05 09:25:53 +00:00
border-radius: 0.28571429rem;
2022-01-13 13:00:31 +00:00
border: 1px solid rgba(34, 36, 38, 0.15);
}
.ui.segment:first-child {
margin-top: 0;
}
.ui.segment:last-child {
margin-bottom: 0;
}
/* Vertical */
.ui.vertical.segment {
margin: 0;
padding-left: 0;
padding-right: 0;
background: none transparent;
border-radius: 0;
2023-08-17 09:47:40 +00:00
box-shadow: none;
2022-01-13 13:00:31 +00:00
border: none;
2022-08-05 09:25:53 +00:00
border-top: 1px solid rgba(34, 36, 38, 0.15);
2022-01-13 13:00:31 +00:00
}
2022-08-05 09:25:53 +00:00
.ui.vertical.segment:first-child {
border-top: none;
2022-01-13 13:00:31 +00:00
}
2023-08-17 09:47:40 +00:00
/* -------------------
2022-01-13 13:00:31 +00:00
Loose Coupling
2023-08-17 09:47:40 +00:00
-------------------- */
2022-01-13 13:00:31 +00:00
/* Header */
.ui.inverted.segments .segment > .ui.header .sub.header,
.ui.inverted.segments .segment > .ui.header,
.ui.inverted.segment > .ui.header .sub.header,
.ui.inverted.segment > .ui.header {
2023-08-17 09:47:40 +00:00
color: #fff;
2022-01-13 13:00:31 +00:00
}
/* Label */
.ui[class*="bottom attached"].segment > [class*="top attached"].label {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.ui[class*="top attached"].segment > [class*="bottom attached"].label {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.ui.attached.segment:not(.top):not(.bottom) > [class*="top attached"].label {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.ui.attached.segment:not(.top):not(.bottom) > [class*="bottom attached"].label {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
/* Grid */
.ui.page.grid.segment,
.ui.grid > .row > .ui.segment.column,
.ui.grid > .ui.segment.column {
padding-top: 2em;
padding-bottom: 2em;
}
.ui.grid.segment {
margin: 1rem 0;
2022-08-05 09:25:53 +00:00
border-radius: 0.28571429rem;
2022-01-13 13:00:31 +00:00
}
/* Table */
.ui.basic.table.segment {
2023-08-17 09:47:40 +00:00
background: #fff;
2022-01-13 13:00:31 +00:00
border: 1px solid rgba(34, 36, 38, 0.15);
2023-08-17 09:47:40 +00:00
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15);
2022-01-13 13:00:31 +00:00
}
.ui[class*="very basic"].table.segment {
padding: 1em 1em;
}
/* Tab */
.ui.segment.tab:last-child {
margin-bottom: 1rem;
}
/*******************************
Types
*******************************/
2023-08-17 09:47:40 +00:00
/* -------------------
Placeholder
-------------------- */
2022-01-13 13:00:31 +00:00
.ui.placeholder.segment {
display: flex;
2023-08-17 09:47:40 +00:00
flex-direction: column;
justify-content: center;
align-items: stretch;
2022-01-13 13:00:31 +00:00
max-width: initial;
2023-08-17 09:47:40 +00:00
animation: none;
2022-01-13 13:00:31 +00:00
overflow: visible;
padding: 1em 1em;
min-height: 18rem;
2023-08-17 09:47:40 +00:00
background: #f9fafb;
2022-01-13 13:00:31 +00:00
border-color: rgba(34, 36, 38, 0.15);
2023-08-17 09:47:40 +00:00
box-shadow: 0 2px 25px 0 rgba(34, 36, 38, 0.05) inset;
2022-01-13 13:00:31 +00:00
}
.ui.placeholder.segment.tab {
display: none;
}
.ui.placeholder.segment.tab.active {
display: flex;
}
.ui.placeholder.segment .button,
.ui.placeholder.segment textarea {
display: block;
}
.ui.placeholder.segment .field,
.ui.placeholder.segment textarea,
.ui.placeholder.segment > .ui.input,
.ui.placeholder.segment .button {
max-width: 15rem;
margin-left: auto;
margin-right: auto;
}
.ui.placeholder.segment .column .button,
.ui.placeholder.segment .column .field,
.ui.placeholder.segment .column textarea,
.ui.placeholder.segment .column > .ui.input {
max-width: 15rem;
margin-left: auto;
margin-right: auto;
}
.ui.placeholder.segment > .inline {
2023-08-17 09:47:40 +00:00
align-self: center;
2022-01-13 13:00:31 +00:00
}
.ui.placeholder.segment > .inline > .button {
display: inline-block;
width: auto;
2022-08-05 09:25:53 +00:00
margin: 0 0.35714286rem 0 0;
2022-01-13 13:00:31 +00:00
}
.ui.placeholder.segment > .inline > .button:last-child {
margin-right: 0;
}
2023-08-17 09:47:40 +00:00
/* -------------------
Piled
-------------------- */
2022-01-13 13:00:31 +00:00
.ui.piled.segments,
.ui.piled.segment {
margin: 3em 0;
2023-08-17 09:47:40 +00:00
box-shadow: "";
2022-01-13 13:00:31 +00:00
z-index: auto;
}
.ui.piled.segment:first-child {
margin-top: 0;
}
.ui.piled.segment:last-child {
margin-bottom: 0;
}
2022-08-05 09:25:53 +00:00
.ui.piled.segments::after,
.ui.piled.segments::before,
.ui.piled.segment::after,
.ui.piled.segment::before {
2023-08-17 09:47:40 +00:00
background-color: #fff;
2022-01-13 13:00:31 +00:00
visibility: visible;
2023-08-17 09:47:40 +00:00
content: "";
2022-01-13 13:00:31 +00:00
display: block;
height: 100%;
left: 0;
position: absolute;
width: 100%;
border: 1px solid rgba(34, 36, 38, 0.15);
2023-08-17 09:47:40 +00:00
box-shadow: "";
2022-01-13 13:00:31 +00:00
}
2022-08-05 09:25:53 +00:00
.ui.piled.segments::before,
.ui.piled.segment::before {
2023-08-17 09:47:40 +00:00
transform: rotate(-1.2deg);
2022-01-13 13:00:31 +00:00
top: 0;
z-index: -2;
}
2022-08-05 09:25:53 +00:00
.ui.piled.segments::after,
.ui.piled.segment::after {
2023-08-17 09:47:40 +00:00
transform: rotate(1.2deg);
2022-01-13 13:00:31 +00:00
top: 0;
z-index: -1;
}
/* Piled Attached */
.ui[class*="top attached"].piled.segment {
margin-top: 3em;
margin-bottom: 0;
}
.ui.piled.segment[class*="top attached"]:first-child {
margin-top: 0;
}
.ui.piled.segment[class*="bottom attached"] {
margin-top: 0;
margin-bottom: 3em;
}
.ui.piled.segment[class*="bottom attached"]:last-child {
margin-bottom: 0;
}
2023-08-17 09:47:40 +00:00
/* -------------------
Stacked
-------------------- */
2022-01-13 13:00:31 +00:00
.ui.stacked.segment {
padding-bottom: 1.4em;
}
2022-08-05 09:25:53 +00:00
.ui.stacked.segments::before,
.ui.stacked.segments::after,
.ui.stacked.segment::before,
.ui.stacked.segment::after {
2023-08-17 09:47:40 +00:00
content: "";
2022-01-13 13:00:31 +00:00
position: absolute;
bottom: -3px;
left: 0;
border-top: 1px solid rgba(34, 36, 38, 0.15);
background: rgba(0, 0, 0, 0.03);
width: 100%;
height: 6px;
visibility: visible;
}
2022-08-05 09:25:53 +00:00
.ui.stacked.segments::before,
.ui.stacked.segment::before {
2022-01-13 13:00:31 +00:00
display: none;
}
/* Add additional page */
2022-08-05 09:25:53 +00:00
.ui.tall.stacked.segments::before,
.ui.tall.stacked.segment::before {
2022-01-13 13:00:31 +00:00
display: block;
bottom: 0;
}
/* Inverted */
2022-08-05 09:25:53 +00:00
.ui.stacked.inverted.segments::before,
.ui.stacked.inverted.segments::after,
.ui.stacked.inverted.segment::before,
.ui.stacked.inverted.segment::after {
2022-01-13 13:00:31 +00:00
background-color: rgba(0, 0, 0, 0.03);
border-top: 1px solid rgba(34, 36, 38, 0.35);
}
2023-08-17 09:47:40 +00:00
/* -------------------
Padded
-------------------- */
2022-01-13 13:00:31 +00:00
.ui.padded.segment {
padding: 1.5em;
}
.ui[class*="very padded"].segment {
padding: 3em;
}
/* Padded vertical */
.ui.padded.segment.vertical.segment,
.ui[class*="very padded"].vertical.segment {
padding-left: 0;
padding-right: 0;
}
2023-08-17 09:47:40 +00:00
/* -------------------
Compact
-------------------- */
2022-01-13 13:00:31 +00:00
.ui.compact.segment {
display: table;
}
/* Compact Group */
.ui.compact.segments {
display: inline-flex;
}
.ui.compact.segments .segment,
.ui.segments .compact.segment {
display: block;
2023-08-17 09:47:40 +00:00
flex: 0 1 auto;
2022-01-13 13:00:31 +00:00
}
2023-08-17 09:47:40 +00:00
/* -------------------
Circular
-------------------- */
2022-01-13 13:00:31 +00:00
.ui.circular.segment {
display: table-cell;
padding: 2em;
text-align: center;
vertical-align: middle;
border-radius: 500em;
}
2023-08-17 09:47:40 +00:00
/* -------------------
Raised
-------------------- */
2022-01-13 13:00:31 +00:00
.ui.raised.raised.segments,
.ui.raised.raised.segment {
2023-08-17 09:47:40 +00:00
box-shadow: 0 2px 4px 0 rgba(34, 36, 38, 0.12), 0 2px 10px 0 rgba(34, 36, 38, 0.15);
2022-01-13 13:00:31 +00:00
}
/*******************************
2023-08-17 09:47:40 +00:00
Groups
*******************************/
2022-01-13 13:00:31 +00:00
/* Group */
.ui.segments {
2023-08-17 09:47:40 +00:00
flex-direction: column;
2022-01-13 13:00:31 +00:00
position: relative;
margin: 1rem 0;
border: 1px solid rgba(34, 36, 38, 0.15);
2023-08-17 09:47:40 +00:00
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15);
2022-08-05 09:25:53 +00:00
border-radius: 0.28571429rem;
2022-01-13 13:00:31 +00:00
}
.ui.segments:first-child {
margin-top: 0;
}
.ui.segments:last-child {
margin-bottom: 0;
}
/* Nested Segment */
.ui.segments > .segment {
top: 0;
bottom: 0;
border-radius: 0;
margin: 0;
width: auto;
2023-08-17 09:47:40 +00:00
box-shadow: none;
2022-01-13 13:00:31 +00:00
border: none;
border-top: 1px solid rgba(34, 36, 38, 0.15);
}
.ui.segments:not(.horizontal) > .segment:first-child {
top: 0;
bottom: 0;
border-top: none;
margin-top: 0;
margin-bottom: 0;
2022-08-05 09:25:53 +00:00
border-radius: 0.28571429rem 0.28571429rem 0 0;
2022-01-13 13:00:31 +00:00
}
/* Bottom */
.ui.segments:not(.horizontal) > .segment:last-child {
top: 0;
bottom: 0;
margin-top: 0;
margin-bottom: 0;
2023-08-17 09:47:40 +00:00
box-shadow: 0 2px 1px -1px rgba(34, 36, 38, 0.15);
2022-08-05 09:25:53 +00:00
border-radius: 0 0 0.28571429rem 0.28571429rem;
2022-01-13 13:00:31 +00:00
}
/* Only */
.ui.segments:not(.horizontal) > .segment:only-child {
2022-08-05 09:25:53 +00:00
border-radius: 0.28571429rem;
2022-01-13 13:00:31 +00:00
}
/* Nested Group */
.ui.segments > .ui.segments {
border-top: 1px solid rgba(34, 36, 38, 0.15);
2023-08-17 09:47:40 +00:00
margin: 1rem;
2022-01-13 13:00:31 +00:00
}
.ui.segments > .segments:first-child {
border-top: none;
}
.ui.segments > .segment + .segments:not(.horizontal) {
margin-top: 0;
}
/* Horizontal Group */
.ui.horizontal.segments {
display: flex;
2023-08-17 09:47:40 +00:00
flex-direction: row;
2022-01-13 13:00:31 +00:00
background-color: transparent;
padding: 0;
2023-08-17 09:47:40 +00:00
box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15);
2022-01-13 13:00:31 +00:00
margin: 1rem 0;
2022-08-05 09:25:53 +00:00
border-radius: 0.28571429rem;
2022-01-13 13:00:31 +00:00
border: 1px solid rgba(34, 36, 38, 0.15);
}
.ui.stackable.horizontal.segments {
2023-08-17 09:47:40 +00:00
flex-wrap: wrap;
2022-01-13 13:00:31 +00:00
}
/* Nested Horizontal Group */
.ui.segments > .horizontal.segments {
margin: 0;
background-color: transparent;
border-radius: 0;
border: none;
2023-08-17 09:47:40 +00:00
box-shadow: none;
2022-01-13 13:00:31 +00:00
border-top: 1px solid rgba(34, 36, 38, 0.15);
}
/* Horizontal Segment */
.ui.horizontal.segments:not(.compact) > .segment:not(.compact) {
2023-08-17 09:47:40 +00:00
flex: 1 1 auto;
2022-01-13 13:00:31 +00:00
}
.ui.horizontal.segments > .segment {
margin: 0;
min-width: 0;
border-radius: 0;
border: none;
2023-08-17 09:47:40 +00:00
box-shadow: none;
2022-01-13 13:00:31 +00:00
border-left: 1px solid rgba(34, 36, 38, 0.15);
}
/* Border Fixes */
.ui.segments > .horizontal.segments:first-child {
border-top: none;
}
.ui.horizontal.segments:not(.stackable) > .segment:first-child {
border-left: none;
}
.ui.horizontal.segments > .segment:first-child {
2022-08-05 09:25:53 +00:00
border-radius: 0.28571429rem 0 0 0.28571429rem;
2022-01-13 13:00:31 +00:00
}
.ui.horizontal.segments > .segment:last-child {
2022-08-05 09:25:53 +00:00
border-radius: 0 0.28571429rem 0.28571429rem 0;
2022-01-13 13:00:31 +00:00
}
/* Equal Width */
.ui[class*="equal width"].horizontal.segments > .segment {
width: 100%;
}
/*******************************
States
*******************************/
2023-08-17 09:47:40 +00:00
/* --------------
Disabled
--------------- */
2022-01-13 13:00:31 +00:00
.ui.disabled.segments,
.ui.disabled.segment {
opacity: 0.45;
color: rgba(40, 40, 40, 0.3);
pointer-events: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
2023-08-17 09:47:40 +00:00
/* --------------
Loading
--------------- */
2022-01-13 13:00:31 +00:00
.ui.loading.segments,
.ui.loading.segment {
position: relative;
cursor: default;
pointer-events: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
transition: all 0s linear;
}
2022-08-05 09:25:53 +00:00
.ui.loading.segments::before,
.ui.loading.segment::before {
2022-01-13 13:00:31 +00:00
position: absolute;
2023-08-17 09:47:40 +00:00
content: "";
2022-01-13 13:00:31 +00:00
top: 0;
left: 0;
background: rgba(255, 255, 255, 0.8);
width: 100%;
height: 100%;
2022-08-05 09:25:53 +00:00
border-radius: 0.28571429rem;
2022-01-13 13:00:31 +00:00
z-index: 100;
}
2022-08-05 09:25:53 +00:00
.ui.loading.segments::after,
.ui.loading.segment::after {
2022-01-13 13:00:31 +00:00
position: absolute;
2023-08-17 09:47:40 +00:00
content: "";
2022-01-13 13:00:31 +00:00
top: 50%;
left: 50%;
margin: -1.5em 0 0 -1.5em;
width: 3em;
height: 3em;
2023-08-17 09:47:40 +00:00
animation: loader 0.6s infinite linear;
2022-01-13 13:00:31 +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-01-13 13:00:31 +00:00
visibility: visible;
z-index: 101;
}
/*******************************
Variations
*******************************/
2023-08-17 09:47:40 +00:00
/* -------------------
Basic
-------------------- */
2022-01-13 13:00:31 +00:00
.ui.basic.segment,
.ui.segments .ui.basic.segment,
.ui.basic.segments {
background: none transparent;
2023-08-17 09:47:40 +00:00
box-shadow: none;
2022-01-13 13:00:31 +00:00
border: none;
border-radius: 0;
}
2023-08-17 09:47:40 +00:00
/* -------------------
Clearing
-------------------- */
2022-08-05 09:25:53 +00:00
.ui.clearing.segment::after {
2022-01-13 13:00:31 +00:00
content: "";
display: block;
clear: both;
}
2023-08-17 09:47:40 +00:00
/* -------------------
2022-01-13 13:00:31 +00:00
Colors
2023-08-17 09:47:40 +00:00
-------------------- */
2022-01-13 13:00:31 +00:00
.ui.red.segment.segment.segment.segment.segment:not(.inverted) {
2023-08-17 09:47:40 +00:00
border-top: 2px solid #db2828;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.red.segment.segment.segment.segment.segment {
2023-08-17 09:47:40 +00:00
background-color: #db2828;
color: #fff;
2022-01-13 13:00:31 +00:00
}
.ui.orange.segment.segment.segment.segment.segment:not(.inverted) {
2023-08-17 09:47:40 +00:00
border-top: 2px solid #f2711c;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.orange.segment.segment.segment.segment.segment {
2023-08-17 09:47:40 +00:00
background-color: #f2711c;
color: #fff;
2022-01-13 13:00:31 +00:00
}
.ui.yellow.segment.segment.segment.segment.segment:not(.inverted) {
2023-08-17 09:47:40 +00:00
border-top: 2px solid #fbbd08;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.yellow.segment.segment.segment.segment.segment {
2023-08-17 09:47:40 +00:00
background-color: #fbbd08;
color: #fff;
2022-01-13 13:00:31 +00:00
}
.ui.olive.segment.segment.segment.segment.segment:not(.inverted) {
2023-08-17 09:47:40 +00:00
border-top: 2px solid #b5cc18;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.olive.segment.segment.segment.segment.segment {
2023-08-17 09:47:40 +00:00
background-color: #b5cc18;
color: #fff;
2022-01-13 13:00:31 +00:00
}
.ui.green.segment.segment.segment.segment.segment:not(.inverted) {
2023-08-17 09:47:40 +00:00
border-top: 2px solid #21ba45;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.green.segment.segment.segment.segment.segment {
2023-08-17 09:47:40 +00:00
background-color: #21ba45;
color: #fff;
2022-01-13 13:00:31 +00:00
}
.ui.teal.segment.segment.segment.segment.segment:not(.inverted) {
2023-08-17 09:47:40 +00:00
border-top: 2px solid #00b5ad;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.teal.segment.segment.segment.segment.segment {
2023-08-17 09:47:40 +00:00
background-color: #00b5ad;
color: #fff;
2022-01-13 13:00:31 +00:00
}
.ui.blue.segment.segment.segment.segment.segment:not(.inverted) {
2023-08-17 09:47:40 +00:00
border-top: 2px solid #2185d0;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.blue.segment.segment.segment.segment.segment {
2023-08-17 09:47:40 +00:00
background-color: #2185d0;
color: #fff;
2022-01-13 13:00:31 +00:00
}
.ui.violet.segment.segment.segment.segment.segment:not(.inverted) {
2023-08-17 09:47:40 +00:00
border-top: 2px solid #6435c9;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.violet.segment.segment.segment.segment.segment {
2023-08-17 09:47:40 +00:00
background-color: #6435c9;
color: #fff;
2022-01-13 13:00:31 +00:00
}
.ui.purple.segment.segment.segment.segment.segment:not(.inverted) {
2023-08-17 09:47:40 +00:00
border-top: 2px solid #a333c8;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.purple.segment.segment.segment.segment.segment {
2023-08-17 09:47:40 +00:00
background-color: #a333c8;
color: #fff;
2022-01-13 13:00:31 +00:00
}
.ui.pink.segment.segment.segment.segment.segment:not(.inverted) {
2023-08-17 09:47:40 +00:00
border-top: 2px solid #e03997;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.pink.segment.segment.segment.segment.segment {
2023-08-17 09:47:40 +00:00
background-color: #e03997;
color: #fff;
2022-01-13 13:00:31 +00:00
}
.ui.brown.segment.segment.segment.segment.segment:not(.inverted) {
2023-08-17 09:47:40 +00:00
border-top: 2px solid #a5673f;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.brown.segment.segment.segment.segment.segment {
2023-08-17 09:47:40 +00:00
background-color: #a5673f;
color: #fff;
2022-01-13 13:00:31 +00:00
}
.ui.grey.segment.segment.segment.segment.segment:not(.inverted) {
border-top: 2px solid #767676;
}
.ui.inverted.grey.segment.segment.segment.segment.segment {
background-color: #767676;
2023-08-17 09:47:40 +00:00
color: #fff;
2022-01-13 13:00:31 +00:00
}
.ui.black.segment.segment.segment.segment.segment:not(.inverted) {
2023-08-17 09:47:40 +00:00
border-top: 2px solid #1b1c1d;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.black.segment.segment.segment.segment.segment {
2023-08-17 09:47:40 +00:00
background-color: #1b1c1d;
color: #fff;
2022-01-13 13:00:31 +00:00
}
2023-08-17 09:47:40 +00:00
/* -------------------
Aligned
-------------------- */
2022-01-13 13:00:31 +00:00
.ui[class*="left aligned"].segment {
text-align: left;
}
.ui[class*="right aligned"].segment {
text-align: right;
}
.ui[class*="center aligned"].segment {
text-align: center;
}
2023-08-17 09:47:40 +00:00
/* -------------------
Floated
-------------------- */
2022-01-13 13:00:31 +00:00
.ui.floated.segment,
.ui[class*="left floated"].segment {
float: left;
margin-right: 1em;
}
.ui[class*="right floated"].segment {
float: right;
margin-left: 1em;
}
2023-08-17 09:47:40 +00:00
/* -------------------
Inverted
-------------------- */
2022-01-13 13:00:31 +00:00
.ui.inverted.segments,
.ui.inverted.segments .segment,
.ui.inverted.segment {
border: none;
2023-08-17 09:47:40 +00:00
box-shadow: none;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.segments .segment,
.ui.inverted.segment,
.ui.primary.inverted.segment {
2023-08-17 09:47:40 +00:00
background: #1b1c1d;
2022-01-13 13:00:31 +00:00
color: rgba(255, 255, 255, 0.9);
}
/* Nested */
.ui.inverted.segment .segment {
color: rgba(0, 0, 0, 0.87);
}
.ui.inverted.segment .inverted.segment {
color: rgba(255, 255, 255, 0.9);
}
/* Attached */
2022-08-05 09:25:53 +00:00
.ui.ui.inverted.attached.segment {
2023-08-17 09:47:40 +00:00
border-color: #555;
2022-01-13 13:00:31 +00:00
}
/* Loading */
.ui.inverted.loading.segments,
.ui.inverted.loading.segment {
2023-08-17 09:47:40 +00:00
color: #fff;
2022-01-13 13:00:31 +00:00
}
2022-08-05 09:25:53 +00:00
.ui.inverted.loading.segments::before,
.ui.inverted.loading.segment::before {
2022-01-13 13:00:31 +00:00
background: rgba(0, 0, 0, 0.85);
}
2023-08-17 09:47:40 +00:00
/* -------------------
2022-01-13 13:00:31 +00:00
Emphasis
2023-08-17 09:47:40 +00:00
-------------------- */
2022-01-13 13:00:31 +00:00
/* Secondary */
.ui.secondary.segment {
2023-08-17 09:47:40 +00:00
background: #f3f4f5;
2022-01-13 13:00:31 +00:00
color: rgba(0, 0, 0, 0.6);
}
.ui.secondary.inverted.segment {
background: #4c4f52 linear-gradient(rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.2) 100%);
color: rgba(255, 255, 255, 0.8);
}
/* Tertiary */
.ui.tertiary.segment {
2023-08-17 09:47:40 +00:00
background: #dcddde;
2022-01-13 13:00:31 +00:00
color: rgba(0, 0, 0, 0.6);
}
.ui.tertiary.inverted.segment {
background: #717579 linear-gradient(rgba(255, 255, 255, 0.35) 0, rgba(255, 255, 255, 0.35) 100%);
color: rgba(255, 255, 255, 0.8);
}
2023-08-17 09:47:40 +00:00
/* -------------------
Attached
-------------------- */
2022-01-13 13:00:31 +00:00
/* Middle */
.ui.attached.segment {
top: 0;
bottom: 0;
border-radius: 0;
margin: 0 -1px;
width: calc(100% + 2px);
max-width: calc(100% + 2px);
2023-08-17 09:47:40 +00:00
box-shadow: none;
2022-08-05 09:25:53 +00:00
}
.ui.attached.segment:not(.basic) {
2023-08-17 09:47:40 +00:00
border: 1px solid #d4d4d5;
2022-01-13 13:00:31 +00:00
}
2023-08-17 09:47:40 +00:00
.ui.attached:not(.message):not(.text) + .ui.attached.segment:not(.top):not([class*="left attached"]):not([class*="right attached"]) {
2022-01-13 13:00:31 +00:00
border-top: none;
}
/* Top */
2022-08-05 09:25:53 +00:00
.ui.segment[class*="top attached"] {
2022-01-13 13:00:31 +00:00
bottom: 0;
margin-bottom: 0;
top: 0;
margin-top: 1rem;
2022-08-05 09:25:53 +00:00
border-radius: 0.28571429rem 0.28571429rem 0 0;
2022-01-13 13:00:31 +00:00
}
.ui.segment[class*="top attached"]:first-child {
margin-top: 0;
}
2022-08-05 09:25:53 +00:00
.ui.tab.segment[class*="top attached"]:first-child {
margin-top: 1rem;
}
2022-01-13 13:00:31 +00:00
/* Bottom */
.ui.segment[class*="bottom attached"] {
bottom: 0;
margin-top: 0;
top: 0;
margin-bottom: 1rem;
2023-08-17 09:47:40 +00:00
box-shadow: 0 2px 1px -1px rgba(34, 36, 38, 0.15);
2022-08-05 09:25:53 +00:00
border-radius: 0 0 0.28571429rem 0.28571429rem;
2022-01-13 13:00:31 +00:00
}
.ui.segment[class*="bottom attached"]:last-child {
2022-08-05 09:25:53 +00:00
margin-bottom: 0;
}
.ui.tab.segment[class*="bottom attached"]:last-child {
2022-01-13 13:00:31 +00:00
margin-bottom: 1rem;
}
2023-08-17 09:47:40 +00:00
.ui[class*="left attached"].segment {
margin-right: 0;
}
.ui[class*="right attached"].segment {
margin-left: 0;
}
.ui.seamless.attached.segment:not(.top):not(.bottom):not([class*="right attached"]):not([class*="left attached"]) {
border-top: none;
border-bottom: none;
}
.ui.seamless.attached.segment.top {
border-bottom: none;
}
.ui.seamless.attached.segment.bottom {
border-top: none;
}
.ui.seamless.attached.segment[class*="left attached"] {
border-right: none;
}
.ui.seamless.attached.segment[class*="right attached"] {
border-left: none;
}
2022-01-13 13:00:31 +00:00
2023-08-17 09:47:40 +00:00
/* --------------
Fitted
--------------- */
2022-01-13 13:00:31 +00:00
.ui.fitted.segment:not(.horizontally) {
padding-top: 0;
padding-bottom: 0;
}
.ui.fitted.segment:not(.vertically) {
padding-left: 0;
padding-right: 0;
}
2023-08-17 09:47:40 +00:00
/* --------------
Scrolling
--------------- */
2022-08-05 09:25:53 +00:00
.ui.scrolling.segment {
overflow: auto;
2023-08-17 09:47:40 +00:00
-ms-scroll-chaining: none;
overscroll-behavior: none;
2022-08-05 09:25:53 +00:00
}
@media only screen and (max-width: 767.98px) {
.ui.scrolling.segment.short {
max-height: 11.25em;
}
.ui.scrolling.segment[class*="very short"] {
max-height: 7.5em;
}
.ui.scrolling.segment {
max-height: 15em;
}
.ui.scrolling.segment.long {
max-height: 30em;
}
.ui.scrolling.segment[class*="very long"] {
max-height: 45em;
}
}
@media only screen and (min-width: 768px) {
.ui.scrolling.segment.short {
max-height: 13.5em;
}
.ui.scrolling.segment[class*="very short"] {
max-height: 9em;
}
.ui.scrolling.segment {
max-height: 18em;
}
.ui.scrolling.segment.long {
max-height: 36em;
}
.ui.scrolling.segment[class*="very long"] {
max-height: 54em;
}
}
@media only screen and (min-width: 992px) {
.ui.scrolling.segment.short {
max-height: 18em;
}
.ui.scrolling.segment[class*="very short"] {
max-height: 12em;
}
.ui.scrolling.segment {
max-height: 24em;
}
.ui.scrolling.segment.long {
max-height: 48em;
}
.ui.scrolling.segment[class*="very long"] {
max-height: 72em;
}
}
@media only screen and (min-width: 1920px) {
.ui.scrolling.segment.short {
max-height: 22.5em;
}
.ui.scrolling.segment[class*="very short"] {
max-height: 15em;
}
.ui.scrolling.segment {
max-height: 30em;
}
.ui.scrolling.segment.long {
max-height: 60em;
}
.ui.scrolling.segment[class*="very long"] {
max-height: 90em;
}
}
2023-08-17 09:47:40 +00:00
/* -------------------
2022-01-13 13:00:31 +00:00
Size
2023-08-17 09:47:40 +00:00
-------------------- */
2022-01-13 13:00:31 +00:00
.ui.segments .segment,
.ui.segment {
font-size: 1rem;
}
.ui.mini.segments .segment,
.ui.mini.segment {
2022-08-05 09:25:53 +00:00
font-size: 0.78571429rem;
2022-01-13 13:00:31 +00:00
}
.ui.tiny.segments .segment,
.ui.tiny.segment {
2022-08-05 09:25:53 +00:00
font-size: 0.85714286rem;
2022-01-13 13:00:31 +00:00
}
.ui.small.segments .segment,
.ui.small.segment {
2022-08-05 09:25:53 +00:00
font-size: 0.92857143rem;
2022-01-13 13:00:31 +00:00
}
.ui.large.segments .segment,
.ui.large.segment {
2022-08-05 09:25:53 +00:00
font-size: 1.14285714rem;
2022-01-13 13:00:31 +00:00
}
.ui.big.segments .segment,
.ui.big.segment {
2022-08-05 09:25:53 +00:00
font-size: 1.28571429rem;
2022-01-13 13:00:31 +00:00
}
.ui.huge.segments .segment,
.ui.huge.segment {
2022-08-05 09:25:53 +00:00
font-size: 1.42857143rem;
2022-01-13 13:00:31 +00:00
}
.ui.massive.segments .segment,
.ui.massive.segment {
2022-08-05 09:25:53 +00:00
font-size: 1.71428571rem;
2022-01-13 13:00:31 +00:00
}
/*******************************
Theme Overrides
*******************************/
/*******************************
Site Overrides
*******************************/