You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
518 lines
9.1 KiB
518 lines
9.1 KiB
/*
|
|
* # Semantic UI
|
|
* git://github.com/Semantic-Org/Semantic-UI.git
|
|
*
|
|
*
|
|
* Copyright 2014 Contributors
|
|
* Released under the MIT license
|
|
* http://opensource.org/licenses/MIT
|
|
*
|
|
*/
|
|
|
|
|
|
|
|
/*******************************
|
|
Header
|
|
*******************************/
|
|
|
|
|
|
/* Standard */
|
|
.ui.header {
|
|
border: none;
|
|
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
|
margin: -webkit-calc(2rem - 0.165em ) 0em 1rem;
|
|
margin: calc(2rem - 0.165em ) 0em 1rem;
|
|
padding: 0em 0em;
|
|
font-weight: bold;
|
|
line-height: 1.33em;
|
|
text-transform: none;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
.ui.header .sub.header {
|
|
font-size: 1.1rem;
|
|
font-weight: normal;
|
|
margin: 0em;
|
|
padding: 0em;
|
|
line-height: 1.2em;
|
|
color: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* Icon and Content Together */
|
|
.ui.header > .icon {
|
|
display: table-cell;
|
|
opacity: 1;
|
|
font-size: 1.5em;
|
|
padding-top: 0.165em;
|
|
vertical-align: middle;
|
|
padding-right: 0.5rem;
|
|
}
|
|
.ui.header > .icon + .content {
|
|
padding-left: 0.5rem;
|
|
display: table-cell;
|
|
}
|
|
|
|
/* Only One */
|
|
.ui.header .icon:only-child {
|
|
display: inline-block;
|
|
padding: 0em;
|
|
margin-right: 0.5rem;
|
|
vertical-align: baseline;
|
|
}
|
|
.ui.header .content {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
}
|
|
|
|
/* Positioning */
|
|
.ui.header:first-child {
|
|
margin-top: -0.165em;
|
|
}
|
|
.ui.header:last-child {
|
|
margin-bottom: 0em;
|
|
}
|
|
.ui.header + p {
|
|
margin-top: 0em;
|
|
}
|
|
|
|
/*--------------
|
|
Page Heading
|
|
---------------*/
|
|
|
|
h1.ui.header {
|
|
min-height: 1rem;
|
|
font-size: 2rem;
|
|
}
|
|
h2.ui.header {
|
|
font-size: 1.714rem;
|
|
}
|
|
h3.ui.header {
|
|
font-size: 1.28rem;
|
|
}
|
|
h4.ui.header {
|
|
font-size: 1.071rem;
|
|
}
|
|
h5.ui.header {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/*--------------
|
|
Content Heading
|
|
---------------*/
|
|
|
|
.ui.tiny.header {
|
|
font-size: 1em;
|
|
}
|
|
.ui.small.header {
|
|
font-size: 1.071em;
|
|
}
|
|
.ui.medium.header {
|
|
font-size: 1.285em;
|
|
}
|
|
.ui.large.header {
|
|
font-size: 1.714em;
|
|
}
|
|
.ui.huge.header {
|
|
min-height: 1em;
|
|
font-size: 2em;
|
|
}
|
|
|
|
/*--------------
|
|
Loose Coupling
|
|
---------------*/
|
|
|
|
.ui.header .ui.label {
|
|
margin: 0em 0em 0em 0.5rem;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
Types
|
|
*******************************/
|
|
|
|
|
|
/*-------------------
|
|
Icon
|
|
--------------------*/
|
|
|
|
.ui.icon.header {
|
|
display: block;
|
|
text-align: center;
|
|
margin: 2rem 0em 1rem;
|
|
}
|
|
.ui.icon.header:first-child {
|
|
margin-top: 0em;
|
|
}
|
|
.ui.icon.header .icon {
|
|
float: none;
|
|
display: block;
|
|
width: auto;
|
|
height: auto;
|
|
padding: 0em;
|
|
font-size: 3em;
|
|
margin: 0em auto 0.25rem;
|
|
opacity: 1;
|
|
}
|
|
.ui.icon.header .content {
|
|
display: block;
|
|
}
|
|
.ui.icon.header .circular.icon {
|
|
font-size: 2em;
|
|
}
|
|
.ui.icon.header .square.icon {
|
|
font-size: 2em;
|
|
}
|
|
.ui.block.icon.header .icon {
|
|
margin-bottom: 0em;
|
|
}
|
|
.ui.icon.header.aligned {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
display: block;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
|
|
.ui.disabled.header {
|
|
opacity: 0.3;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
Variations
|
|
*******************************/
|
|
|
|
|
|
/*-------------------
|
|
Colors
|
|
--------------------*/
|
|
|
|
.ui.black.header {
|
|
color: #1b1c1d !important;
|
|
}
|
|
a.ui.black.header:hover {
|
|
color: #222425 !important;
|
|
}
|
|
.ui.blue.header {
|
|
color: #3b83c0 !important;
|
|
}
|
|
a.ui.blue.header:hover {
|
|
color: #458ac6 !important;
|
|
}
|
|
.ui.green.header {
|
|
color: #5bbd72 !important;
|
|
}
|
|
a.ui.green.header:hover {
|
|
color: #66c17b !important;
|
|
}
|
|
.ui.orange.header {
|
|
color: #e07b53 !important;
|
|
}
|
|
a.ui.orange.header:hover {
|
|
color: #e28560 !important;
|
|
}
|
|
.ui.pink.header {
|
|
color: #d9499a !important;
|
|
}
|
|
a.ui.pink.header:hover {
|
|
color: #dc56a1 !important;
|
|
}
|
|
.ui.purple.header {
|
|
color: #564f8a !important;
|
|
}
|
|
a.ui.purple.header:hover {
|
|
color: #5c5594 !important;
|
|
}
|
|
.ui.red.header {
|
|
color: #d95c5c !important;
|
|
}
|
|
a.ui.red.header:hover {
|
|
color: #dc6868 !important;
|
|
}
|
|
.ui.teal.header {
|
|
color: #00b5ad !important;
|
|
}
|
|
a.ui.teal.header:hover {
|
|
color: #00c4bc !important;
|
|
}
|
|
.ui.yellow.header {
|
|
color: #f2c61f !important;
|
|
}
|
|
a.ui.yellow.header:hover {
|
|
color: #f3ca2d !important;
|
|
}
|
|
.ui.black.dividing.header {
|
|
border-bottom: 2px solid #1b1c1d;
|
|
}
|
|
.ui.blue.dividing.header {
|
|
border-bottom: 2px solid #3b83c0;
|
|
}
|
|
.ui.green.dividing.header {
|
|
border-bottom: 2px solid #5bbd72;
|
|
}
|
|
.ui.orange.dividing.header {
|
|
border-bottom: 2px solid #e07b53;
|
|
}
|
|
.ui.pink.dividing.header {
|
|
border-bottom: 2px solid #d9499a;
|
|
}
|
|
.ui.purple.dividing.header {
|
|
border-bottom: 2px solid #564f8a;
|
|
}
|
|
.ui.red.dividing.header {
|
|
border-bottom: 2px solid #d95c5c;
|
|
}
|
|
.ui.teal.dividing.header {
|
|
border-bottom: 2px solid #00b5ad;
|
|
}
|
|
.ui.yellow.dividing.header {
|
|
border-bottom: 2px solid #f2c61f;
|
|
}
|
|
|
|
/*-------------------
|
|
Inverted
|
|
--------------------*/
|
|
|
|
.ui.inverted.header {
|
|
color: #ffffff;
|
|
}
|
|
.ui.inverted.header .sub.header {
|
|
color: rgba(255, 255, 255, 0.85);
|
|
}
|
|
.ui.inverted.attached.header {
|
|
background: #333333 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
|
background: #333333 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
|
box-shadow: none;
|
|
}
|
|
.ui.inverted.block.header {
|
|
background: #333333 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
|
background: #333333 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
|
box-shadow: none;
|
|
}
|
|
|
|
/*-------------------
|
|
Inverted Colors
|
|
--------------------*/
|
|
|
|
.ui.inverted.black.header {
|
|
color: #aaaaaa !important;
|
|
}
|
|
a.ui.inverted.black.header:hover {
|
|
color: #b2b2b2 !important;
|
|
}
|
|
.ui.inverted.blue.header {
|
|
color: #54c8ff !important;
|
|
}
|
|
a.ui.inverted.blue.header:hover {
|
|
color: #63cdff !important;
|
|
}
|
|
.ui.inverted.green.header {
|
|
color: #2ecc40 !important;
|
|
}
|
|
a.ui.inverted.green.header:hover {
|
|
color: #37d249 !important;
|
|
}
|
|
.ui.inverted.orange.header {
|
|
color: #ff851b !important;
|
|
}
|
|
a.ui.inverted.orange.header:hover {
|
|
color: #ff8d2a !important;
|
|
}
|
|
.ui.inverted.pink.header {
|
|
color: #ff8edf !important;
|
|
}
|
|
a.ui.inverted.pink.header:hover {
|
|
color: #ff9de3 !important;
|
|
}
|
|
.ui.inverted.purple.header {
|
|
color: #cdc6ff !important;
|
|
}
|
|
a.ui.inverted.purple.header:hover {
|
|
color: #dad5ff !important;
|
|
}
|
|
.ui.inverted.red.header {
|
|
color: #ff695e !important;
|
|
}
|
|
a.ui.inverted.red.header:hover {
|
|
color: #ff776d !important;
|
|
}
|
|
.ui.inverted.teal.header {
|
|
color: #6dffff !important;
|
|
}
|
|
a.ui.inverted.teal.header:hover {
|
|
color: #7cffff !important;
|
|
}
|
|
.ui.inverted.yellow.header {
|
|
color: #ffe21f !important;
|
|
}
|
|
a.ui.inverted.yellow.header:hover {
|
|
color: #ffe42e !important;
|
|
}
|
|
.ui.inverted.block.header {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/*-------------------
|
|
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;
|
|
}
|
|
.ui.justified.header:after {
|
|
display: inline-block;
|
|
content: '';
|
|
width: 100%;
|
|
}
|
|
|
|
/*-------------------
|
|
Floated
|
|
--------------------*/
|
|
|
|
.ui.floated.header,
|
|
.ui.left.floated.header {
|
|
float: left;
|
|
margin-top: 0em;
|
|
margin-right: 0.5em;
|
|
}
|
|
.ui.right.floated.header {
|
|
float: right;
|
|
margin-top: 0em;
|
|
margin-left: 0.5em;
|
|
}
|
|
|
|
/*-------------------
|
|
Fittted
|
|
--------------------*/
|
|
|
|
.ui.fitted.header {
|
|
padding: 0em;
|
|
}
|
|
|
|
/*-------------------
|
|
Dividing
|
|
--------------------*/
|
|
|
|
.ui.dividing.header {
|
|
padding-bottom: 0.5rem;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
|
}
|
|
.ui.dividing.header .sub.header {
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
.ui.dividing.header .icon {
|
|
margin-bottom: 0.2em;
|
|
}
|
|
.ui.inverted.dividing.header {
|
|
border-bottom-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
/*-------------------
|
|
Block
|
|
--------------------*/
|
|
|
|
.ui.block.header {
|
|
background: #f0f0f0;
|
|
padding: 0.75rem 1rem;
|
|
box-shadow: none;
|
|
border: 1px solid #d4d4d5;
|
|
border-radius: 0.3125rem;
|
|
}
|
|
.ui.tiny.block.header {
|
|
font-size: 1em;
|
|
}
|
|
.ui.small.block.header {
|
|
font-size: 1.071em;
|
|
}
|
|
.ui.block.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
|
|
font-size: 1.285em;
|
|
}
|
|
.ui.large.block.header {
|
|
font-size: 1.714em;
|
|
}
|
|
.ui.huge.block.header {
|
|
font-size: 2em;
|
|
}
|
|
|
|
/*-------------------
|
|
Attached
|
|
--------------------*/
|
|
|
|
.ui.attached.header {
|
|
background: #ffffff;
|
|
padding: 0.75rem 1rem;
|
|
margin-left: -1px;
|
|
margin-right: -1px;
|
|
box-shadow: none;
|
|
border: 1px solid #d4d4d5;
|
|
}
|
|
.ui.attached.block.header {
|
|
background: #f0f0f0;
|
|
}
|
|
.ui.attached:not(.top):not(.bottom).header {
|
|
margin-top: 0em;
|
|
margin-bottom: 0em;
|
|
border-top: none;
|
|
border-bottom: none;
|
|
border-radius: 0em;
|
|
}
|
|
.ui.top.attached.header {
|
|
margin-bottom: 0em;
|
|
border-bottom: none;
|
|
border-radius: 0.3125rem 0.3125rem 0em 0em;
|
|
}
|
|
.ui.bottom.attached.header {
|
|
margin-top: 0em;
|
|
border-top: none;
|
|
border-radius: 0em 0em 0.3125rem 0.3125rem;
|
|
}
|
|
|
|
/* Attached Sizes */
|
|
.ui.tiny.attached.header {
|
|
font-size: 0.875em;
|
|
}
|
|
.ui.small.attached.header {
|
|
font-size: 0.9em;
|
|
}
|
|
.ui.attached.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
|
|
font-size: 1em;
|
|
}
|
|
.ui.large.attached.header {
|
|
font-size: 1.1em;
|
|
}
|
|
.ui.huge.attached.header {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
/*-------------------
|
|
Sizing
|
|
--------------------*/
|
|
|
|
.ui.header {
|
|
font-size: 1.285em;
|
|
}
|
|
|
|
|
|
/*******************************
|
|
Theme Overrides
|
|
*******************************/
|
|
|
|
|
|
|
|
/*******************************
|
|
Site Overrides
|
|
*******************************/
|
|
|