hanayo/static/dark/components/segment.css

792 lines
16 KiB
CSS
Raw Permalink Normal View History

2019-02-23 13:29:15 +00:00
/*!
* # Semantic UI 2.2.6 - Segment
* http://github.com/semantic-org/semantic-ui/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*******************************
Segment
*******************************/
.ui.segment {
position: relative;
2019-02-23 16:06:07 +00:00
background: #FFFFFF;
2019-02-23 13:29:15 +00:00
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
margin: 1rem 0em;
padding: 1em 1em;
border-radius: 0.28571429rem;
border: 1px solid rgba(34, 36, 38, 0.15);
}
.ui.segment:first-child {
margin-top: 0em;
}
.ui.segment:last-child {
margin-bottom: 0em;
}
/* Vertical */
.ui.vertical.segment {
margin: 0em;
padding-left: 0em;
padding-right: 0em;
background: none transparent;
border-radius: 0px;
box-shadow: none;
border: none;
border-bottom: 1px solid rgba(34, 36, 38, 0.15);
}
.ui.vertical.segment:last-child {
border-bottom: none;
}
/*-------------------
Loose Coupling
--------------------*/
/* Header */
.ui.inverted.segment > .ui.header {
2019-02-23 16:06:07 +00:00
color: #FFFFFF;
2019-02-23 13:29:15 +00:00
}
/* Label */
.ui[class*="bottom attached"].segment > [class*="top attached"].label {
border-top-left-radius: 0em;
border-top-right-radius: 0em;
}
.ui[class*="top attached"].segment > [class*="bottom attached"].label {
border-bottom-left-radius: 0em;
border-bottom-right-radius: 0em;
}
.ui.attached.segment:not(.top):not(.bottom) > [class*="top attached"].label {
border-top-left-radius: 0em;
border-top-right-radius: 0em;
}
.ui.attached.segment:not(.top):not(.bottom) > [class*="bottom attached"].label {
border-bottom-left-radius: 0em;
border-bottom-right-radius: 0em;
}
/* 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 0em;
border-radius: 0.28571429rem;
}
/* Table */
.ui.basic.table.segment {
2019-02-23 16:06:07 +00:00
background: #FFFFFF;
2019-02-23 13:29:15 +00:00
border: 1px solid rgba(34, 36, 38, 0.15);
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
}
.ui[class*="very basic"].table.segment {
padding: 1em 1em;
}
/*******************************
Types
*******************************/
/*-------------------
Piled
--------------------*/
.ui.piled.segments,
.ui.piled.segment {
margin: 3em 0em;
box-shadow: '';
z-index: auto;
}
.ui.piled.segment:first-child {
margin-top: 0em;
}
.ui.piled.segment:last-child {
margin-bottom: 0em;
}
.ui.piled.segments:after,
.ui.piled.segments:before,
.ui.piled.segment:after,
.ui.piled.segment:before {
2019-02-23 16:06:07 +00:00
background-color: #FFFFFF;
2019-02-23 13:29:15 +00:00
visibility: visible;
content: '';
display: block;
height: 100%;
left: 0px;
position: absolute;
width: 100%;
border: 1px solid rgba(34, 36, 38, 0.15);
box-shadow: '';
}
.ui.piled.segments:before,
.ui.piled.segment:before {
-webkit-transform: rotate(-1.2deg);
transform: rotate(-1.2deg);
top: 0;
z-index: -2;
}
.ui.piled.segments:after,
.ui.piled.segment:after {
-webkit-transform: rotate(1.2deg);
transform: rotate(1.2deg);
top: 0;
z-index: -1;
}
/* Piled Attached */
.ui[class*="top attached"].piled.segment {
margin-top: 3em;
margin-bottom: 0em;
}
.ui.piled.segment[class*="top attached"]:first-child {
margin-top: 0em;
}
.ui.piled.segment[class*="bottom attached"] {
margin-top: 0em;
margin-bottom: 3em;
}
.ui.piled.segment[class*="bottom attached"]:last-child {
margin-bottom: 0em;
}
/*-------------------
Stacked
--------------------*/
.ui.stacked.segment {
padding-bottom: 1.4em;
}
.ui.stacked.segments:before,
.ui.stacked.segments:after,
.ui.stacked.segment:before,
.ui.stacked.segment:after {
content: '';
position: absolute;
bottom: -3px;
left: 0%;
border-top: 1px solid rgba(34, 36, 38, 0.15);
2019-02-23 16:06:07 +00:00
background: rgba(0, 0, 0, 0.03);
2019-02-23 13:29:15 +00:00
width: 100%;
height: 6px;
visibility: visible;
}
.ui.stacked.segments:before,
.ui.stacked.segment:before {
display: none;
}
/* Add additional page */
.ui.tall.stacked.segments:before,
.ui.tall.stacked.segment:before {
display: block;
bottom: 0px;
}
/* Inverted */
.ui.stacked.inverted.segments:before,
.ui.stacked.inverted.segments:after,
.ui.stacked.inverted.segment:before,
.ui.stacked.inverted.segment:after {
2019-02-23 16:06:07 +00:00
background-color: rgba(0, 0, 0, 0.03);
2019-02-23 13:29:15 +00:00
border-top: 1px solid rgba(34, 36, 38, 0.35);
}
/*-------------------
Padded
--------------------*/
.ui.padded.segment {
padding: 1.5em;
}
.ui[class*="very padded"].segment {
padding: 3em;
}
/*-------------------
Compact
--------------------*/
.ui.compact.segment {
display: table;
}
/* Compact Group */
.ui.compact.segments {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
}
.ui.compact.segments .segment,
.ui.segments .compact.segment {
display: block;
-webkit-box-flex: 0;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
}
/*-------------------
Circular
--------------------*/
.ui.circular.segment {
display: table-cell;
padding: 2em;
text-align: center;
vertical-align: middle;
border-radius: 500em;
}
/*-------------------
Raised
--------------------*/
.ui.raised.segments,
.ui.raised.segment {
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
}
/*******************************
Groups
*******************************/
/* Group */
.ui.segments {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
position: relative;
margin: 1rem 0em;
border: 1px solid rgba(34, 36, 38, 0.15);
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
border-radius: 0.28571429rem;
}
.ui.segments:first-child {
margin-top: 0em;
}
.ui.segments:last-child {
margin-bottom: 0em;
}
/* Nested Segment */
.ui.segments > .segment {
top: 0px;
bottom: 0px;
border-radius: 0px;
margin: 0em;
width: auto;
box-shadow: none;
border: none;
border-top: 1px solid rgba(34, 36, 38, 0.15);
}
.ui.segments:not(.horizontal) > .segment:first-child {
border-top: none;
margin-top: 0em;
bottom: 0px;
margin-bottom: 0em;
top: 0px;
border-radius: 0.28571429rem 0.28571429rem 0em 0em;
}
/* Bottom */
.ui.segments:not(.horizontal) > .segment:last-child {
top: 0px;
bottom: 0px;
margin-top: 0em;
margin-bottom: 0em;
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
border-radius: 0em 0em 0.28571429rem 0.28571429rem;
}
/* Only */
.ui.segments:not(.horizontal) > .segment:only-child {
border-radius: 0.28571429rem;
}
/* Nested Group */
.ui.segments > .ui.segments {
border-top: 1px solid rgba(34, 36, 38, 0.15);
margin: 1rem 1rem;
}
.ui.segments > .segments:first-child {
border-top: none;
}
.ui.segments > .segment + .segments:not(.horizontal) {
margin-top: 0em;
}
/* Horizontal Group */
.ui.horizontal.segments {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
background-color: transparent;
border-radius: 0px;
padding: 0em;
2019-02-23 16:06:07 +00:00
background-color: #FFFFFF;
2019-02-23 13:29:15 +00:00
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
margin: 1rem 0em;
border-radius: 0.28571429rem;
border: 1px solid rgba(34, 36, 38, 0.15);
}
/* Nested Horizontal Group */
.ui.segments > .horizontal.segments {
margin: 0em;
background-color: transparent;
border-radius: 0px;
border: none;
box-shadow: none;
border-top: 1px solid rgba(34, 36, 38, 0.15);
}
/* Horizontal Segment */
.ui.horizontal.segments > .segment {
-webkit-box-flex: 1;
flex: 1 1 auto;
-ms-flex: 1 1 0px;
/* Solves #2550 MS Flex */
margin: 0em;
min-width: 0px;
background-color: transparent;
border-radius: 0px;
border: none;
box-shadow: none;
border-left: 1px solid rgba(34, 36, 38, 0.15);
}
/* Border Fixes */
.ui.segments > .horizontal.segments:first-child {
border-top: none;
}
.ui.horizontal.segments > .segment:first-child {
border-left: none;
}
/*******************************
States
*******************************/
/*--------------
Disabled
---------------*/
.ui.disabled.segment {
opacity: 0.45;
2019-02-23 16:06:07 +00:00
color: rgba(40, 40, 40, 0.3);
2019-02-23 13:29:15 +00:00
}
/*--------------
Loading
---------------*/
.ui.loading.segment {
position: relative;
cursor: default;
pointer-events: none;
text-shadow: none !important;
color: transparent !important;
-webkit-transition: all 0s linear;
transition: all 0s linear;
}
.ui.loading.segment:before {
position: absolute;
content: '';
top: 0%;
left: 0%;
2019-02-23 16:06:07 +00:00
background: rgba(255, 255, 255, 0.8);
2019-02-23 13:29:15 +00:00
width: 100%;
height: 100%;
border-radius: 0.28571429rem;
z-index: 100;
}
.ui.loading.segment:after {
position: absolute;
content: '';
top: 50%;
left: 50%;
margin: -1.5em 0em 0em -1.5em;
width: 3em;
height: 3em;
-webkit-animation: segment-spin 0.6s linear;
animation: segment-spin 0.6s linear;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
border-radius: 500rem;
border-color: #767676 rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1);
border-style: solid;
border-width: 0.2em;
box-shadow: 0px 0px 0px 1px transparent;
visibility: visible;
z-index: 101;
}
@-webkit-keyframes segment-spin {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes segment-spin {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
/*******************************
Variations
*******************************/
/*-------------------
Basic
--------------------*/
.ui.basic.segment {
background: none transparent;
box-shadow: none;
border: none;
border-radius: 0px;
}
/*-------------------
Clearing
--------------------*/
.ui.clearing.segment:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
/*-------------------
Colors
--------------------*/
/* Red */
.ui.red.segment:not(.inverted) {
border-top: 2px solid #DB2828;
}
.ui.inverted.red.segment {
background-color: #DB2828 !important;
2019-02-23 16:06:07 +00:00
color: #FFFFFF !important;
2019-02-23 13:29:15 +00:00
}
/* Orange */
.ui.orange.segment:not(.inverted) {
border-top: 2px solid #F2711C;
}
.ui.inverted.orange.segment {
background-color: #F2711C !important;
2019-02-23 16:06:07 +00:00
color: #FFFFFF !important;
2019-02-23 13:29:15 +00:00
}
/* Yellow */
.ui.yellow.segment:not(.inverted) {
border-top: 2px solid #FBBD08;
}
.ui.inverted.yellow.segment {
background-color: #FBBD08 !important;
2019-02-23 16:06:07 +00:00
color: #FFFFFF !important;
2019-02-23 13:29:15 +00:00
}
/* Olive */
.ui.olive.segment:not(.inverted) {
border-top: 2px solid #B5CC18;
}
.ui.inverted.olive.segment {
background-color: #B5CC18 !important;
2019-02-23 16:06:07 +00:00
color: #FFFFFF !important;
2019-02-23 13:29:15 +00:00
}
/* Green */
.ui.green.segment:not(.inverted) {
border-top: 2px solid #21BA45;
}
.ui.inverted.green.segment {
background-color: #21BA45 !important;
2019-02-23 16:06:07 +00:00
color: #FFFFFF !important;
2019-02-23 13:29:15 +00:00
}
/* Teal */
.ui.teal.segment:not(.inverted) {
border-top: 2px solid #00B5AD;
}
.ui.inverted.teal.segment {
background-color: #00B5AD !important;
2019-02-23 16:06:07 +00:00
color: #FFFFFF !important;
2019-02-23 13:29:15 +00:00
}
/* Blue */
.ui.blue.segment:not(.inverted) {
border-top: 2px solid #2185D0;
}
.ui.inverted.blue.segment {
background-color: #2185D0 !important;
2019-02-23 16:06:07 +00:00
color: #FFFFFF !important;
2019-02-23 13:29:15 +00:00
}
/* Violet */
.ui.violet.segment:not(.inverted) {
border-top: 2px solid #6435C9;
}
.ui.inverted.violet.segment {
background-color: #6435C9 !important;
2019-02-23 16:06:07 +00:00
color: #FFFFFF !important;
2019-02-23 13:29:15 +00:00
}
/* Purple */
.ui.purple.segment:not(.inverted) {
border-top: 2px solid #A333C8;
}
.ui.inverted.purple.segment {
background-color: #A333C8 !important;
2019-02-23 16:06:07 +00:00
color: #FFFFFF !important;
2019-02-23 13:29:15 +00:00
}
/* Pink */
.ui.pink.segment:not(.inverted) {
border-top: 2px solid #E03997;
}
.ui.inverted.pink.segment {
background-color: #E03997 !important;
2019-02-23 16:06:07 +00:00
color: #FFFFFF !important;
2019-02-23 13:29:15 +00:00
}
/* Brown */
.ui.brown.segment:not(.inverted) {
border-top: 2px solid #A5673F;
}
.ui.inverted.brown.segment {
background-color: #A5673F !important;
2019-02-23 16:06:07 +00:00
color: #FFFFFF !important;
2019-02-23 13:29:15 +00:00
}
/* Grey */
.ui.grey.segment:not(.inverted) {
border-top: 2px solid #767676;
}
.ui.inverted.grey.segment {
background-color: #767676 !important;
2019-02-23 16:06:07 +00:00
color: #FFFFFF !important;
2019-02-23 13:29:15 +00:00
}
/* Black */
.ui.black.segment:not(.inverted) {
border-top: 2px solid #1B1C1D;
}
.ui.inverted.black.segment {
background-color: #1B1C1D !important;
2019-02-23 16:06:07 +00:00
color: #FFFFFF !important;
2019-02-23 13:29:15 +00:00
}
/*-------------------
Aligned
--------------------*/
.ui[class*="left aligned"].segment {
text-align: left;
}
.ui[class*="right aligned"].segment {
text-align: right;
}
.ui[class*="center aligned"].segment {
text-align: center;
}
/*-------------------
Floated
--------------------*/
.ui.floated.segment,
.ui[class*="left floated"].segment {
float: left;
margin-right: 1em;
}
.ui[class*="right floated"].segment {
float: right;
margin-left: 1em;
}
/*-------------------
Inverted
--------------------*/
.ui.inverted.segment {
border: none;
box-shadow: none;
}
.ui.inverted.segment,
.ui.primary.inverted.segment {
background: #1B1C1D;
2019-02-23 16:06:07 +00:00
color: rgba(255, 255, 255, 0.9);
2019-02-23 13:29:15 +00:00
}
/* Nested */
.ui.inverted.segment .segment {
2019-02-23 16:06:07 +00:00
color: rgba(0, 0, 0, 0.87);
2019-02-23 13:29:15 +00:00
}
.ui.inverted.segment .inverted.segment {
2019-02-23 16:06:07 +00:00
color: rgba(255, 255, 255, 0.9);
2019-02-23 13:29:15 +00:00
}
/* Attached */
.ui.inverted.attached.segment {
border-color: #555555;
}
/*-------------------
Emphasis
--------------------*/
/* Secondary */
.ui.secondary.segment {
2019-02-23 16:06:07 +00:00
background: #F3F4F5;
color: rgba(0, 0, 0, 0.6);
2019-02-23 13:29:15 +00:00
}
.ui.secondary.inverted.segment {
background: #4c4f52 -webkit-linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
background: #4c4f52 linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
2019-02-23 16:06:07 +00:00
color: rgba(255, 255, 255, 0.8);
2019-02-23 13:29:15 +00:00
}
/* Tertiary */
.ui.tertiary.segment {
2019-02-23 16:06:07 +00:00
background: #DCDDDE;
color: rgba(0, 0, 0, 0.6);
2019-02-23 13:29:15 +00:00
}
.ui.tertiary.inverted.segment {
background: #717579 -webkit-linear-gradient(rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.35) 100%);
background: #717579 linear-gradient(rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.35) 100%);
2019-02-23 16:06:07 +00:00
color: rgba(255, 255, 255, 0.8);
2019-02-23 13:29:15 +00:00
}
/*-------------------
Attached
--------------------*/
/* Middle */
.ui.attached.segment {
top: 0px;
bottom: 0px;
border-radius: 0px;
margin: 0em -1px;
width: calc(100% + 2px );
max-width: calc(100% + 2px );
box-shadow: none;
2019-02-23 16:06:07 +00:00
border: 1px solid #D4D4D5;
2019-02-23 13:29:15 +00:00
}
.ui.attached:not(.message) + .ui.attached.segment:not(.top) {
border-top: none;
}
/* Top */
.ui[class*="top attached"].segment {
bottom: 0px;
margin-bottom: 0em;
top: 0px;
margin-top: 1rem;
border-radius: 0.28571429rem 0.28571429rem 0em 0em;
}
.ui.segment[class*="top attached"]:first-child {
margin-top: 0em;
}
/* Bottom */
.ui.segment[class*="bottom attached"] {
bottom: 0px;
margin-top: 0em;
top: 0px;
margin-bottom: 1rem;
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
border-radius: 0em 0em 0.28571429rem 0.28571429rem;
}
.ui.segment[class*="bottom attached"]:last-child {
margin-bottom: 0em;
}
/*-------------------
Size
--------------------*/
.ui.mini.segments .segment,
.ui.mini.segment {
font-size: 0.78571429rem;
}
.ui.tiny.segments .segment,
.ui.tiny.segment {
font-size: 0.85714286rem;
}
.ui.small.segments .segment,
.ui.small.segment {
font-size: 0.92857143rem;
}
.ui.segments .segment,
.ui.segment {
font-size: 1rem;
}
.ui.large.segments .segment,
.ui.large.segment {
font-size: 1.14285714rem;
}
.ui.big.segments .segment,
.ui.big.segment {
font-size: 1.28571429rem;
}
.ui.huge.segments .segment,
.ui.huge.segment {
font-size: 1.42857143rem;
}
.ui.massive.segments .segment,
.ui.massive.segment {
font-size: 1.71428571rem;
}
/*******************************
Theme Overrides
*******************************/
/*******************************
Site Overrides
*******************************/