wishthis/semantic/dist/components/header.css

800 lines
14 KiB
CSS
Raw Normal View History

2022-01-13 13:00:31 +00:00
/*!
2022-10-10 08:26:02 +00:00
* # Fomantic-UI 2.9.0 - Header
2022-01-13 13:00:31 +00:00
* http://github.com/fomantic/Fomantic-UI/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
/*******************************
Header
*******************************/
/* Standard */
.ui.header {
border: none;
margin: calc(2rem - 0.1428571428571429em) 0 1rem;
padding: 0 0;
2022-01-13 13:27:51 +00:00
font-family: 'Raleway', sans-serif;
2022-01-13 13:00:31 +00:00
font-weight: bold;
line-height: 1.28571429em;
text-transform: none;
color: rgba(0, 0, 0, 0.87);
}
.ui.header:first-child {
margin-top: -0.14285714em;
}
.ui.header:last-child {
margin-bottom: 0;
}
/*--------------
Sub Header
---------------*/
.ui.header .sub.header {
display: block;
font-weight: normal;
padding: 0;
margin: 0;
font-size: 1rem;
line-height: 1.2em;
color: rgba(0, 0, 0, 0.6);
}
/*--------------
Icon
---------------*/
.ui.header > .icons,
.ui.header > i.icon {
display: table-cell;
opacity: 1;
font-size: 1.5em;
padding-top: 0;
vertical-align: middle;
}
/* With Text Node */
.ui.header:not(.icon) > .icons:only-child,
.ui.header:not(.icon) > i.icon:only-child {
display: inline-block;
padding: 0;
margin-right: 0.75rem;
}
/*-------------------
Image
--------------------*/
.ui.header > .image:not(.icon),
.ui.header > img {
display: inline-block;
margin-top: 0.14285714em;
width: 2.5em;
height: auto;
vertical-align: middle;
}
.ui.header > .image:not(.icon):only-child,
.ui.header > img:only-child {
margin-right: 0.75rem;
}
/*--------------
Content
---------------*/
.ui.header .content {
display: inline-block;
vertical-align: top;
}
/* After Image */
.ui.header > img + .content,
.ui.header > .image + .content {
padding-left: 0.75rem;
vertical-align: middle;
}
/* After Icon */
.ui.header:not(.icon):not(.centered):not(.aligned) > .icons + .content,
.ui.header:not(.icon):not(.centered):not(.aligned) > i.icon + .content {
padding-left: 0.75rem;
display: table-cell;
vertical-align: middle;
}
/*--------------
Loose Coupling
---------------*/
.ui.header .ui.label {
font-size: '';
margin-left: 0.5rem;
vertical-align: middle;
}
/* Positioning */
.ui.header + p {
margin-top: 0;
}
/*******************************
Types
*******************************/
/*--------------
Page
---------------*/
h1.ui.header {
font-size: 2rem;
}
h1.ui.header .sub.header {
2022-08-05 09:25:53 +00:00
font-size: 1.14285714rem;
2022-01-13 13:00:31 +00:00
}
h2.ui.header {
font-size: 1.71428571rem;
}
h2.ui.header .sub.header {
2022-08-05 09:25:53 +00:00
font-size: 1.14285714rem;
2022-01-13 13:00:31 +00:00
}
h3.ui.header {
font-size: 1.28571429rem;
}
h3.ui.header .sub.header {
font-size: 1rem;
}
h4.ui.header {
font-size: 1.07142857rem;
}
h4.ui.header .sub.header {
font-size: 1rem;
}
h5.ui.header {
font-size: 1rem;
}
h5.ui.header .sub.header {
2022-08-05 09:25:53 +00:00
font-size: 0.92857143rem;
2022-01-13 13:00:31 +00:00
}
h6.ui.header {
font-size: 0.85714286rem;
}
h6.ui.header .sub.header {
2022-08-05 09:25:53 +00:00
font-size: 0.92857143rem;
2022-01-13 13:00:31 +00:00
}
/*--------------
Content Heading
---------------*/
.ui.mini.header {
font-size: 0.85714286em;
}
.ui.mini.header .sub.header {
2022-08-05 09:25:53 +00:00
font-size: 0.92857143rem;
2022-01-13 13:00:31 +00:00
}
.ui.mini.sub.header {
2022-08-05 09:25:53 +00:00
font-size: 0.78571429em;
2022-01-13 13:00:31 +00:00
}
.ui.tiny.header {
font-size: 1em;
}
.ui.tiny.header .sub.header {
2022-08-05 09:25:53 +00:00
font-size: 0.92857143rem;
2022-01-13 13:00:31 +00:00
}
.ui.tiny.sub.header {
2022-08-05 09:25:53 +00:00
font-size: 0.78571429em;
2022-01-13 13:00:31 +00:00
}
.ui.small.header {
font-size: 1.07142857em;
}
.ui.small.header .sub.header {
font-size: 1rem;
}
.ui.small.sub.header {
2022-08-05 09:25:53 +00:00
font-size: 0.78571429em;
2022-01-13 13:00:31 +00:00
}
.ui.large.header {
font-size: 1.71428571em;
}
.ui.large.header .sub.header {
2022-08-05 09:25:53 +00:00
font-size: 1.14285714rem;
2022-01-13 13:00:31 +00:00
}
.ui.large.sub.header {
2022-08-05 09:25:53 +00:00
font-size: 0.92857143em;
2022-01-13 13:00:31 +00:00
}
.ui.big.header {
font-size: 1.85714286em;
}
.ui.big.header .sub.header {
2022-08-05 09:25:53 +00:00
font-size: 1.14285714rem;
2022-01-13 13:00:31 +00:00
}
.ui.big.sub.header {
font-size: 1em;
}
.ui.huge.header {
font-size: 2em;
min-height: 1em;
}
.ui.huge.header .sub.header {
2022-08-05 09:25:53 +00:00
font-size: 1.14285714rem;
2022-01-13 13:00:31 +00:00
}
.ui.huge.sub.header {
font-size: 1em;
}
.ui.massive.header {
font-size: 2.28571429em;
min-height: 1em;
}
.ui.massive.header .sub.header {
2022-08-05 09:25:53 +00:00
font-size: 1.42857143rem;
2022-01-13 13:00:31 +00:00
}
.ui.massive.sub.header {
2022-08-05 09:25:53 +00:00
font-size: 1.14285714em;
2022-01-13 13:00:31 +00:00
}
/*--------------
Sub Heading
---------------*/
.ui.sub.header {
padding: 0;
2022-08-05 09:25:53 +00:00
margin-bottom: 0.14285714rem;
2022-01-13 13:00:31 +00:00
font-weight: bold;
2022-08-05 09:25:53 +00:00
font-size: 0.85714286em;
2022-01-13 13:00:31 +00:00
text-transform: uppercase;
color: '';
}
/*-------------------
Icon
--------------------*/
.ui.icon.header {
display: inline-block;
text-align: center;
margin: 2rem 0 1rem;
}
2022-08-05 09:25:53 +00:00
.ui.icon.header::after {
2022-01-13 13:00:31 +00:00
content: '';
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.ui.icon.header:first-child {
margin-top: 0;
}
2022-08-05 09:25:53 +00:00
.ui.icon.header > .image.icon,
2022-01-13 13:00:31 +00:00
.ui.icon.header > .icons,
.ui.icon.header > i.icon {
float: none;
display: block;
width: auto;
height: auto;
line-height: 1;
padding: 0;
font-size: 3em;
margin: 0 auto 0.5rem;
opacity: 1;
}
.ui.icon.header .corner.icon {
font-size: calc(3em * 0.45);
}
.ui.icon.header .content {
display: block;
padding: 0;
}
.ui.icon.header > i.circular {
font-size: 2em;
}
.ui.icon.header > i.square {
font-size: 2em;
}
2022-08-05 09:25:53 +00:00
.ui.block.icon.header > .image.icon,
2022-01-13 13:00:31 +00:00
.ui.block.icon.header > .icons,
.ui.block.icon.header > i.icon {
margin-bottom: 0;
}
.ui.icon.header.aligned {
margin-left: auto;
margin-right: auto;
display: block;
}
/*******************************
States
*******************************/
.ui.disabled.header {
opacity: 0.45;
}
/*******************************
Variations
*******************************/
/*-------------------
Inverted
--------------------*/
.ui.inverted.header {
color: #FFFFFF;
}
.ui.inverted.header .sub.header {
color: rgba(255, 255, 255, 0.8);
}
.ui.inverted.attached.header {
background: #1B1C1D;
-webkit-box-shadow: none;
box-shadow: none;
border-color: transparent;
}
.ui.inverted.block.header {
background: #545454 -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.05)));
background: #545454 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
background: #545454 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
-webkit-box-shadow: none;
box-shadow: none;
border-bottom: none;
}
/*-------------------
Colors
--------------------*/
.ui.primary.header {
2022-08-05 09:56:03 +00:00
color: #6435C9;
2022-01-13 13:00:31 +00:00
}
a.ui.primary.header:hover {
2022-08-05 09:56:03 +00:00
color: #5829bb;
2022-01-13 13:00:31 +00:00
}
.ui.primary.dividing.header {
2022-08-05 09:56:03 +00:00
border-bottom: 2px solid #6435C9;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.primary.header.header.header {
2022-08-05 09:56:03 +00:00
color: #A291FB;
2022-01-13 13:00:31 +00:00
}
a.ui.inverted.primary.header.header.header:hover {
2022-08-05 09:56:03 +00:00
color: #745aff;
2022-01-13 13:00:31 +00:00
}
.ui.inverted.primary.dividing.header {
2022-08-05 09:56:03 +00:00
border-bottom: 2px solid #A291FB;
2022-01-13 13:00:31 +00:00
}
.ui.secondary.header {
color: #1B1C1D;
}
a.ui.secondary.header:hover {
color: #27292a;
}
.ui.secondary.dividing.header {
border-bottom: 2px solid #1B1C1D;
}
.ui.inverted.secondary.header.header.header {
color: #545454;
}
a.ui.inverted.secondary.header.header.header:hover {
color: #6e6e6e;
}
.ui.inverted.secondary.dividing.header {
border-bottom: 2px solid #545454;
}
.ui.red.header {
color: #DB2828;
}
a.ui.red.header:hover {
color: #d01919;
}
.ui.red.dividing.header {
border-bottom: 2px solid #DB2828;
}
.ui.inverted.red.header.header.header {
color: #FF695E;
}
a.ui.inverted.red.header.header.header:hover {
color: #ff392b;
}
.ui.inverted.red.dividing.header {
border-bottom: 2px solid #FF695E;
}
.ui.orange.header {
color: #F2711C;
}
a.ui.orange.header:hover {
color: #f26202;
}
.ui.orange.dividing.header {
border-bottom: 2px solid #F2711C;
}
.ui.inverted.orange.header.header.header {
color: #FF851B;
}
a.ui.inverted.orange.header.header.header:hover {
color: #e76b00;
}
.ui.inverted.orange.dividing.header {
border-bottom: 2px solid #FF851B;
}
.ui.yellow.header {
color: #FBBD08;
}
a.ui.yellow.header:hover {
color: #eaae00;
}
.ui.yellow.dividing.header {
border-bottom: 2px solid #FBBD08;
}
.ui.inverted.yellow.header.header.header {
color: #FFE21F;
}
a.ui.inverted.yellow.header.header.header:hover {
color: #ebcd00;
}
.ui.inverted.yellow.dividing.header {
border-bottom: 2px solid #FFE21F;
}
.ui.olive.header {
color: #B5CC18;
}
a.ui.olive.header:hover {
color: #a7bd0d;
}
.ui.olive.dividing.header {
border-bottom: 2px solid #B5CC18;
}
.ui.inverted.olive.header.header.header {
color: #D9E778;
}
a.ui.inverted.olive.header.header.header:hover {
color: #d2e745;
}
.ui.inverted.olive.dividing.header {
border-bottom: 2px solid #D9E778;
}
.ui.green.header {
color: #21BA45;
}
a.ui.green.header:hover {
color: #16ab39;
}
.ui.green.dividing.header {
border-bottom: 2px solid #21BA45;
}
.ui.inverted.green.header.header.header {
color: #2ECC40;
}
a.ui.inverted.green.header.header.header:hover {
color: #1ea92e;
}
.ui.inverted.green.dividing.header {
border-bottom: 2px solid #2ECC40;
}
.ui.teal.header {
color: #00B5AD;
}
a.ui.teal.header:hover {
color: #009c95;
}
.ui.teal.dividing.header {
border-bottom: 2px solid #00B5AD;
}
.ui.inverted.teal.header.header.header {
color: #6DFFFF;
}
a.ui.inverted.teal.header.header.header:hover {
color: #3affff;
}
.ui.inverted.teal.dividing.header {
border-bottom: 2px solid #6DFFFF;
}
.ui.blue.header {
color: #2185D0;
}
a.ui.blue.header:hover {
color: #1678c2;
}
.ui.blue.dividing.header {
border-bottom: 2px solid #2185D0;
}
.ui.inverted.blue.header.header.header {
color: #54C8FF;
}
a.ui.inverted.blue.header.header.header:hover {
color: #21b8ff;
}
.ui.inverted.blue.dividing.header {
border-bottom: 2px solid #54C8FF;
}
.ui.violet.header {
color: #6435C9;
}
a.ui.violet.header:hover {
color: #5829bb;
}
.ui.violet.dividing.header {
border-bottom: 2px solid #6435C9;
}
.ui.inverted.violet.header.header.header {
color: #A291FB;
}
a.ui.inverted.violet.header.header.header:hover {
color: #745aff;
}
.ui.inverted.violet.dividing.header {
border-bottom: 2px solid #A291FB;
}
.ui.purple.header {
color: #A333C8;
}
a.ui.purple.header:hover {
color: #9627ba;
}
.ui.purple.dividing.header {
border-bottom: 2px solid #A333C8;
}
.ui.inverted.purple.header.header.header {
color: #DC73FF;
}
a.ui.inverted.purple.header.header.header:hover {
color: #cf40ff;
}
.ui.inverted.purple.dividing.header {
border-bottom: 2px solid #DC73FF;
}
.ui.pink.header {
color: #E03997;
}
a.ui.pink.header:hover {
color: #e61a8d;
}
.ui.pink.dividing.header {
border-bottom: 2px solid #E03997;
}
.ui.inverted.pink.header.header.header {
color: #FF8EDF;
}
a.ui.inverted.pink.header.header.header:hover {
color: #ff5bd1;
}
.ui.inverted.pink.dividing.header {
border-bottom: 2px solid #FF8EDF;
}
.ui.brown.header {
color: #A5673F;
}
a.ui.brown.header:hover {
color: #975b33;
}
.ui.brown.dividing.header {
border-bottom: 2px solid #A5673F;
}
.ui.inverted.brown.header.header.header {
color: #D67C1C;
}
a.ui.inverted.brown.header.header.header:hover {
color: #b0620f;
}
.ui.inverted.brown.dividing.header {
border-bottom: 2px solid #D67C1C;
}
.ui.grey.header {
color: #767676;
}
a.ui.grey.header:hover {
color: #838383;
}
.ui.grey.dividing.header {
border-bottom: 2px solid #767676;
}
.ui.inverted.grey.header.header.header {
color: #DCDDDE;
}
a.ui.inverted.grey.header.header.header:hover {
color: #c2c4c5;
}
.ui.inverted.grey.dividing.header {
border-bottom: 2px solid #DCDDDE;
}
.ui.black.header {
color: #1B1C1D;
}
a.ui.black.header:hover {
color: #27292a;
}
.ui.black.dividing.header {
border-bottom: 2px solid #1B1C1D;
}
.ui.inverted.black.header.header.header {
color: #545454;
}
a.ui.inverted.black.header.header.header:hover {
color: #000000;
}
.ui.inverted.black.dividing.header {
border-bottom: 2px solid #545454;
}
/*-------------------
Aligned
--------------------*/
.ui.left.aligned.header {
text-align: left;
}
.ui.right.aligned.header {
text-align: right;
}
.ui.centered.header,
.ui.center.aligned.header {
text-align: center;
}
.ui.justified.header {
text-align: justify;
}
2022-08-05 09:25:53 +00:00
.ui.justified.header::after {
2022-01-13 13:00:31 +00:00
display: inline-block;
content: '';
width: 100%;
}
/*-------------------
Floated
--------------------*/
.ui.floated.header,
.ui[class*="left floated"].header {
float: left;
margin-top: 0;
margin-right: 0.5em;
}
.ui[class*="right floated"].header {
float: right;
margin-top: 0;
margin-left: 0.5em;
}
/*-------------------
Fitted
--------------------*/
.ui.fitted.header {
padding: 0;
}
/*-------------------
Dividing
--------------------*/
.ui.dividing.header {
2022-08-05 09:25:53 +00:00
padding-bottom: 0.21428571rem;
2022-01-13 13:00:31 +00:00
border-bottom: 1px solid rgba(34, 36, 38, 0.15);
}
.ui.dividing.header .sub.header {
2022-08-05 09:25:53 +00:00
padding-bottom: 0.21428571rem;
2022-01-13 13:00:31 +00:00
}
.ui.dividing.header i.icon {
margin-bottom: 0;
}
.ui.inverted.dividing.header {
border-bottom-color: rgba(255, 255, 255, 0.1);
}
/*-------------------
Block
--------------------*/
.ui.block.header {
background: #F3F4F5;
2022-08-05 09:25:53 +00:00
padding: 0.78571429rem 1rem;
2022-01-13 13:00:31 +00:00
-webkit-box-shadow: none;
box-shadow: none;
border: 1px solid #D4D4D5;
2022-08-05 09:25:53 +00:00
border-radius: 0.28571429rem;
2022-01-13 13:00:31 +00:00
}
.ui.block.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
font-size: 1rem;
}
.ui.mini.block.header {
2022-08-05 09:25:53 +00:00
font-size: 0.78571429rem;
2022-01-13 13:00:31 +00:00
}
.ui.tiny.block.header {
2022-08-05 09:25:53 +00:00
font-size: 0.85714286rem;
2022-01-13 13:00:31 +00:00
}
.ui.small.block.header {
2022-08-05 09:25:53 +00:00
font-size: 0.92857143rem;
2022-01-13 13:00:31 +00:00
}
.ui.large.block.header {
2022-08-05 09:25:53 +00:00
font-size: 1.14285714rem;
2022-01-13 13:00:31 +00:00
}
.ui.big.block.header {
2022-08-05 09:25:53 +00:00
font-size: 1.28571429rem;
2022-01-13 13:00:31 +00:00
}
.ui.huge.block.header {
2022-08-05 09:25:53 +00:00
font-size: 1.42857143rem;
2022-01-13 13:00:31 +00:00
}
.ui.massive.block.header {
2022-08-05 09:25:53 +00:00
font-size: 1.71428571rem;
2022-01-13 13:00:31 +00:00
}
/*-------------------
Attached
--------------------*/
.ui.attached.header {
background: #FFFFFF;
2022-08-05 09:25:53 +00:00
padding: 0.78571429rem 1rem;
2022-01-13 13:00:31 +00:00
margin: 0 -1px 0 -1px;
-webkit-box-shadow: none;
box-shadow: none;
border: 1px solid #D4D4D5;
border-radius: 0;
}
.ui.attached.block.header {
background: #F3F4F5;
}
.ui.attached:not(.top).header {
border-top: none;
}
.ui.top.attached.header {
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.bottom.attached.header {
2022-08-05 09:25:53 +00:00
border-radius: 0 0 0.28571429rem 0.28571429rem;
2022-01-13 13:00:31 +00:00
}
/* Attached Sizes */
.ui.attached.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
font-size: 1em;
}
.ui.mini.attached.header {
2022-08-05 09:25:53 +00:00
font-size: 0.78571429em;
2022-01-13 13:00:31 +00:00
}
.ui.tiny.attached.header {
2022-08-05 09:25:53 +00:00
font-size: 0.85714286em;
2022-01-13 13:00:31 +00:00
}
.ui.small.attached.header {
2022-08-05 09:25:53 +00:00
font-size: 0.92857143em;
2022-01-13 13:00:31 +00:00
}
.ui.large.attached.header {
2022-08-05 09:25:53 +00:00
font-size: 1.14285714em;
2022-01-13 13:00:31 +00:00
}
.ui.big.attached.header {
2022-08-05 09:25:53 +00:00
font-size: 1.28571429em;
2022-01-13 13:00:31 +00:00
}
.ui.huge.attached.header {
2022-08-05 09:25:53 +00:00
font-size: 1.42857143em;
2022-01-13 13:00:31 +00:00
}
.ui.massive.attached.header {
2022-08-05 09:25:53 +00:00
font-size: 1.71428571em;
2022-01-13 13:00:31 +00:00
}
/*-------------------
Sizing
--------------------*/
.ui.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
font-size: 1.28571429em;
}
/*******************************
Theme Overrides
*******************************/
/*******************************
Site Overrides
*******************************/