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.
1210 lines
35 KiB
1210 lines
35 KiB
/*
|
|
* # Semantic - Grid
|
|
* http://github.com/semantic-org/semantic-ui/
|
|
*
|
|
*
|
|
* Copyright 2014 Contributor
|
|
* Released under the MIT license
|
|
* http://opensource.org/licenses/MIT
|
|
*
|
|
*/
|
|
/*******************************
|
|
Theme
|
|
*******************************/
|
|
/*
|
|
|
|
███████╗███████╗███╗ ███╗ █████╗ ███╗ ██╗████████╗██╗ ██████╗ ██╗ ██╗██╗
|
|
██╔════╝██╔════╝████╗ ████║██╔══██╗████╗ ██║╚══██╔══╝██║██╔════╝ ██║ ██║██║
|
|
███████╗█████╗ ██╔████╔██║███████║██╔██╗ ██║ ██║ ██║██║ ██║ ██║██║
|
|
╚════██║██╔══╝ ██║╚██╔╝██║██╔══██║██║╚██╗██║ ██║ ██║██║ ██║ ██║██║
|
|
███████║███████╗██║ ╚═╝ ██║██║ ██║██║ ╚████║ ██║ ██║╚██████╗ ╚██████╔╝██║
|
|
╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝
|
|
|
|
*/
|
|
/*******************************
|
|
Folders
|
|
*******************************/
|
|
/* Path to theme packages */
|
|
/* Path to site override folder */
|
|
/*******************************
|
|
Themes
|
|
*******************************/
|
|
/* To override a theme for an individual element
|
|
specify theme name below
|
|
|
|
Be sure to update the user folder name (see README)
|
|
*/
|
|
/* Global */
|
|
/* Elements */
|
|
/* Collections */
|
|
/* Modules */
|
|
/* Views */
|
|
/*******************************
|
|
Import Directives
|
|
*******************************/
|
|
/*------------------
|
|
Load Defaults
|
|
-------------------*/
|
|
/*******************************
|
|
Site Settings
|
|
*******************************/
|
|
/*-------------------
|
|
Paths
|
|
--------------------*/
|
|
/*-------------------
|
|
Fonts
|
|
--------------------*/
|
|
/*-------------------
|
|
Site Colors
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Light Colors ---*/
|
|
/*-------------------
|
|
Page
|
|
--------------------*/
|
|
/* Used to match floats with text */
|
|
/*-------------------
|
|
Background Colors
|
|
--------------------*/
|
|
/* Used for differentiating neutrals */
|
|
/* Used for differentiating layers */
|
|
/*-------------------
|
|
Grid
|
|
--------------------*/
|
|
/*-------------------
|
|
Breakpoints
|
|
--------------------*/
|
|
/*******************************
|
|
Power-User
|
|
*******************************/
|
|
/*-------------------
|
|
Icons
|
|
--------------------*/
|
|
/* Max Width of Icon */
|
|
/*-------------------
|
|
Easing
|
|
--------------------*/
|
|
/*--- Neutrals ---*/
|
|
/*--- Colored Backgrounds ---*/
|
|
/*--- Colored Text ---*/
|
|
/*--- Colored Headers ---*/
|
|
/*-------------------
|
|
Emotive Colors
|
|
--------------------*/
|
|
/* Mood */
|
|
/* Status */
|
|
/* Darkened Headers */
|
|
/*-------------------
|
|
Neutral Text
|
|
--------------------*/
|
|
/*-------------------
|
|
Brand Colors
|
|
--------------------*/
|
|
/*-------------------
|
|
Grid Columns
|
|
--------------------*/
|
|
/*-------------------
|
|
Borders
|
|
--------------------*/
|
|
/*-------------------
|
|
Sizes
|
|
--------------------*/
|
|
/*-------------------
|
|
Transitions
|
|
--------------------*/
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
/*-------------------
|
|
Disabled
|
|
--------------------*/
|
|
/*-------------------
|
|
Hover
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*-------------------
|
|
Down (:active)
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*-------------------
|
|
Active
|
|
--------------------*/
|
|
/*--- Standard ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*******************************
|
|
Grid
|
|
*******************************/
|
|
/* Inherited From Site */
|
|
/*******************************
|
|
Grid
|
|
*******************************/
|
|
/*******************************
|
|
Variations
|
|
*******************************/
|
|
/*--------------
|
|
Page
|
|
---------------*/
|
|
/* Column Gutters */
|
|
/*--------------
|
|
Relaxed
|
|
---------------*/
|
|
/*--------------
|
|
Divided
|
|
---------------*/
|
|
/*--------------
|
|
Celled
|
|
---------------*/
|
|
/*--------------
|
|
Stackable
|
|
---------------*/
|
|
/*------------------
|
|
Load Theme
|
|
-------------------*/
|
|
/*------------------
|
|
Load Site
|
|
-------------------*/
|
|
/*******************************
|
|
User Global Variables
|
|
*******************************/
|
|
/*******************************
|
|
User Variable Overrides
|
|
*******************************/
|
|
/*------------------
|
|
Override Loader
|
|
-------------------*/
|
|
/*******************************
|
|
Standard
|
|
*******************************/
|
|
.ui.grid {
|
|
display: block;
|
|
text-align: left;
|
|
font-size: 0em;
|
|
padding: 0em;
|
|
}
|
|
.ui.grid:after,
|
|
.ui.grid > .row:after {
|
|
content: '';
|
|
display: block;
|
|
height: 0px;
|
|
clear: both;
|
|
visibility: hidden;
|
|
}
|
|
/*----------------------
|
|
Remove Gutters
|
|
-----------------------*/
|
|
.ui.grid {
|
|
margin-top: -1rem;
|
|
margin-bottom: -1rem;
|
|
margin-left: -1rem;
|
|
margin-right: -1rem;
|
|
}
|
|
.ui.relaxed.grid {
|
|
margin-left: -1.5rem;
|
|
margin-right: -1.5rem;
|
|
}
|
|
.ui[class*="very relaxed"].grid {
|
|
margin-left: -2rem;
|
|
margin-right: -2rem;
|
|
}
|
|
/* Collapse Margins on Consecutive Grids */
|
|
.ui.grid + .grid {
|
|
margin-top: 1rem;
|
|
}
|
|
/*-------------------
|
|
Columns
|
|
--------------------*/
|
|
/* Standard 16 column */
|
|
.ui.grid > .column:not(.row),
|
|
.ui.grid > .row > .column {
|
|
display: inline-block;
|
|
text-align: left;
|
|
font-size: 1rem;
|
|
width: 6.25%;
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
vertical-align: top;
|
|
}
|
|
.ui.grid > * {
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
}
|
|
/*-------------------
|
|
Rows
|
|
--------------------*/
|
|
.ui.grid > .row {
|
|
display: block;
|
|
width: auto !important;
|
|
padding: 0rem;
|
|
font-size: 0rem;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
/*-------------------
|
|
Columns
|
|
--------------------*/
|
|
/* Vertical padding when no rows */
|
|
.ui.grid > .column:not(.row) {
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
.ui.grid > .row > .column {
|
|
margin-top: 0em;
|
|
margin-bottom: 0em;
|
|
}
|
|
/*-------------------
|
|
Content
|
|
--------------------*/
|
|
.ui.grid > .row > img,
|
|
.ui.grid > .row > .column > img {
|
|
max-width: 100%;
|
|
}
|
|
/*-------------------
|
|
Loose Coupling
|
|
--------------------*/
|
|
.ui.grid .row + .ui.divider {
|
|
margin: 1rem 1rem;
|
|
}
|
|
/* remove Border on last horizontal segment */
|
|
.ui.grid > .row > .column:last-child > .horizontal.segment,
|
|
.ui.grid > .column:last-child > .horizontal.segment {
|
|
box-shadow: none;
|
|
}
|
|
/*******************************
|
|
Variations
|
|
*******************************/
|
|
/*-----------------------
|
|
Page Grid
|
|
-------------------------*/
|
|
.ui.page.grid {
|
|
padding-left: 13%;
|
|
padding-right: 13%;
|
|
width: auto;
|
|
}
|
|
/* Collapse Margin */
|
|
.ui.grid > .ui.grid:first-child {
|
|
margin-top: 0em;
|
|
}
|
|
.ui.grid > .ui.grid:last-child {
|
|
margin-bottom: 0em;
|
|
}
|
|
@media only screen and (max-width: 767px) {
|
|
.ui.page.grid {
|
|
width: auto;
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 768px) {
|
|
.ui.page.grid {
|
|
width: auto;
|
|
padding-left: 8%;
|
|
padding-right: 8%;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 992px) {
|
|
.ui.page.grid {
|
|
width: auto;
|
|
padding-left: 13%;
|
|
padding-right: 13%;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 1400px) {
|
|
.ui.page.grid {
|
|
width: auto;
|
|
padding-left: 18%;
|
|
padding-right: 18%;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 1920px) {
|
|
.ui.page.grid {
|
|
width: auto;
|
|
padding-left: 23%;
|
|
padding-right: 23%;
|
|
}
|
|
}
|
|
/*-------------------
|
|
Column Count
|
|
--------------------*/
|
|
/* Grid Based */
|
|
.ui[class*="one column"].grid > .row > .column,
|
|
.ui[class*="one column"].grid > .column {
|
|
width: 100%;
|
|
}
|
|
.ui[class*="two column"].grid > .row > .column,
|
|
.ui[class*="two column"].grid > .column {
|
|
width: 50%;
|
|
}
|
|
.ui[class*="three column"].grid > .row > .column,
|
|
.ui[class*="three column"].grid > .column {
|
|
width: 33.33333333%;
|
|
}
|
|
.ui[class*="four column"].grid > .row > .column,
|
|
.ui[class*="four column"].grid > .column {
|
|
width: 25%;
|
|
}
|
|
.ui[class*="five column"].grid > .row > .column,
|
|
.ui[class*="five column"].grid > .column {
|
|
width: 20%;
|
|
}
|
|
.ui[class*="six column"].grid > .row > .column,
|
|
.ui[class*="six column"].grid > .column {
|
|
width: 16.66666667%;
|
|
}
|
|
.ui[class*="seven column"].grid > .row > .column,
|
|
.ui[class*="seven column"].grid > .column {
|
|
width: 14.28571429%;
|
|
}
|
|
.ui[class*="eight column"].grid > .row > .column,
|
|
.ui[class*="eight column"].grid > .column {
|
|
width: 12.5%;
|
|
}
|
|
.ui[class*="nine column"].grid > .row > .column,
|
|
.ui[class*="nine column"].grid > .column {
|
|
width: 11.11111111%;
|
|
}
|
|
.ui[class*="ten column"].grid > .row > .column,
|
|
.ui[class*="ten column"].grid > .column {
|
|
width: 10%;
|
|
}
|
|
.ui[class*="eleven column"].grid > .row > .column,
|
|
.ui[class*="eleven column"].grid > .column {
|
|
width: 9.09090909%;
|
|
}
|
|
.ui[class*="twelve column"].grid > .row > .column,
|
|
.ui[class*="twelve column"].grid > .column {
|
|
width: 8.33333333%;
|
|
}
|
|
.ui[class*="thirteen column"].grid > .row > .column,
|
|
.ui[class*="thirteen column"].grid > .column {
|
|
width: 7.69230769%;
|
|
}
|
|
.ui[class*="fourteen column"].grid > .row > .column,
|
|
.ui[class*="fourteen column"].grid > .column {
|
|
width: 7.14285714%;
|
|
}
|
|
.ui[class*="fifteen column"].grid > .row > .column,
|
|
.ui[class*="fifteen column"].grid > .column {
|
|
width: 6.66666667%;
|
|
}
|
|
.ui[class*="sixteen column"].grid > .row > .column,
|
|
.ui[class*="sixteen column"].grid > .column {
|
|
width: 6.25%;
|
|
}
|
|
/* Row Based Overrides */
|
|
.ui.grid > [class*="one column"].row > .column {
|
|
width: 100% !important;
|
|
}
|
|
.ui.grid > [class*="two column"].row > .column {
|
|
width: 50% !important;
|
|
}
|
|
.ui.grid > [class*="three column"].row > .column {
|
|
width: 33.33333333% !important;
|
|
}
|
|
.ui.grid > [class*="four column"].row > .column {
|
|
width: 25% !important;
|
|
}
|
|
.ui.grid > [class*="five column"].row > .column {
|
|
width: 20% !important;
|
|
}
|
|
.ui.grid > [class*="six column"].row > .column {
|
|
width: 16.66666667% !important;
|
|
}
|
|
.ui.grid > [class*="seven column"].row > .column {
|
|
width: 14.28571429% !important;
|
|
}
|
|
.ui.grid > [class*="eight column"].row > .column {
|
|
width: 12.5% !important;
|
|
}
|
|
.ui.grid > [class*="nine column"].row > .column {
|
|
width: 11.11111111% !important;
|
|
}
|
|
.ui.grid > [class*="ten column"].row > .column {
|
|
width: 10% !important;
|
|
}
|
|
.ui.grid > [class*="eleven column"].row > .column {
|
|
width: 9.09090909% !important;
|
|
}
|
|
.ui.grid > [class*="twelve column"].row > .column {
|
|
width: 8.33333333% !important;
|
|
}
|
|
.ui.grid > [class*="thirteen column"].row > .column {
|
|
width: 7.69230769% !important;
|
|
}
|
|
.ui.grid > [class*="fourteen column"].row > .column {
|
|
width: 7.14285714% !important;
|
|
}
|
|
.ui.grid > [class*="fifteen column"].row > .column {
|
|
width: 6.66666667% !important;
|
|
}
|
|
.ui.grid > [class*="sixteen column"].row > .column {
|
|
width: 6.25% !important;
|
|
}
|
|
/* Assume full width with one column */
|
|
.ui.grid > .column:only-child,
|
|
.ui.grid > .row > .column:only-child {
|
|
width: 100%;
|
|
}
|
|
/*-------------------
|
|
Column Width
|
|
--------------------*/
|
|
/* Sizing Combinations */
|
|
.ui.grid > .row > [class*="one wide"].column,
|
|
.ui.grid > .column.row > [class*="one wide"].column,
|
|
.ui.grid > [class*="one wide"].column,
|
|
.ui.column.grid > [class*="one wide"].column {
|
|
width: 6.25% !important;
|
|
}
|
|
.ui.grid > .row > [class*="two wide"].column,
|
|
.ui.grid > .column.row > [class*="two wide"].column,
|
|
.ui.grid > [class*="two wide"].column,
|
|
.ui.column.grid > [class*="two wide"].column {
|
|
width: 12.5% !important;
|
|
}
|
|
.ui.grid > .row > [class*="three wide"].column,
|
|
.ui.grid > .column.row > [class*="three wide"].column,
|
|
.ui.grid > [class*="three wide"].column,
|
|
.ui.column.grid > [class*="three wide"].column {
|
|
width: 18.75% !important;
|
|
}
|
|
.ui.grid > .row > [class*="four wide"].column,
|
|
.ui.grid > .column.row > [class*="four wide"].column,
|
|
.ui.grid > [class*="four wide"].column,
|
|
.ui.column.grid > [class*="four wide"].column {
|
|
width: 25% !important;
|
|
}
|
|
.ui.grid > .row > [class*="five wide"].column,
|
|
.ui.grid > .column.row > [class*="five wide"].column,
|
|
.ui.grid > [class*="five wide"].column,
|
|
.ui.column.grid > [class*="five wide"].column {
|
|
width: 31.25% !important;
|
|
}
|
|
.ui.grid > .row > [class*="six wide"].column,
|
|
.ui.grid > .column.row > [class*="six wide"].column,
|
|
.ui.grid > [class*="six wide"].column,
|
|
.ui.column.grid > [class*="six wide"].column {
|
|
width: 37.5% !important;
|
|
}
|
|
.ui.grid > .row > [class*="seven wide"].column,
|
|
.ui.grid > .column.row > [class*="seven wide"].column,
|
|
.ui.grid > [class*="seven wide"].column,
|
|
.ui.column.grid > [class*="seven wide"].column {
|
|
width: 43.75% !important;
|
|
}
|
|
.ui.grid > .row > [class*="eight wide"].column,
|
|
.ui.grid > .column.row > [class*="eight wide"].column,
|
|
.ui.grid > [class*="eight wide"].column,
|
|
.ui.column.grid > [class*="eight wide"].column {
|
|
width: 50% !important;
|
|
}
|
|
.ui.grid > .row > [class*="nine wide"].column,
|
|
.ui.grid > .column.row > [class*="nine wide"].column,
|
|
.ui.grid > [class*="nine wide"].column,
|
|
.ui.column.grid > [class*="nine wide"].column {
|
|
width: 56.25% !important;
|
|
}
|
|
.ui.grid > .row > [class*="ten wide"].column,
|
|
.ui.grid > .column.row > [class*="ten wide"].column,
|
|
.ui.grid > [class*="ten wide"].column,
|
|
.ui.column.grid > [class*="ten wide"].column {
|
|
width: 62.5% !important;
|
|
}
|
|
.ui.grid > .row > [class*="eleven wide"].column,
|
|
.ui.grid > .column.row > [class*="eleven wide"].column,
|
|
.ui.grid > [class*="eleven wide"].column,
|
|
.ui.column.grid > [class*="eleven wide"].column {
|
|
width: 68.75% !important;
|
|
}
|
|
.ui.grid > .row > [class*="twelve wide"].column,
|
|
.ui.grid > .column.row > [class*="twelve wide"].column,
|
|
.ui.grid > [class*="twelve wide"].column,
|
|
.ui.column.grid > [class*="twelve wide"].column {
|
|
width: 75% !important;
|
|
}
|
|
.ui.grid > .row > [class*="thirteen wide"].column,
|
|
.ui.grid > .column.row > [class*="thirteen wide"].column,
|
|
.ui.grid > [class*="thirteen wide"].column,
|
|
.ui.column.grid > [class*="thirteen wide"].column {
|
|
width: 81.25% !important;
|
|
}
|
|
.ui.grid > .row > [class*="fourteen wide"].column,
|
|
.ui.grid > .column.row > [class*="fourteen wide"].column,
|
|
.ui.grid > [class*="fourteen wide"].column,
|
|
.ui.column.grid > [class*="fourteen wide"].column {
|
|
width: 87.5% !important;
|
|
}
|
|
.ui.grid > .row > [class*="fifteen wide"].column,
|
|
.ui.grid > .column.row > [class*="fifteen wide"].column,
|
|
.ui.grid > [class*="fifteen wide"].column,
|
|
.ui.column.grid > [class*="fifteen wide"].column {
|
|
width: 93.75% !important;
|
|
}
|
|
.ui.grid > .row > [class*="sixteen wide"].column,
|
|
.ui.grid > .column.row > [class*="sixteen wide"].column,
|
|
.ui.grid > [class*="sixteen wide"].column,
|
|
.ui.column.grid > [class*="sixteen wide"].column {
|
|
width: 100% !important;
|
|
}
|
|
/*----------------------
|
|
Centered
|
|
-----------------------*/
|
|
.ui.centered.grid,
|
|
.ui.centered.grid > .row,
|
|
.ui.grid .centered.row {
|
|
text-align: center;
|
|
}
|
|
.ui.centered.grid > .column:not(.aligned),
|
|
.ui.centered.grid > .row > .column:not(.aligned),
|
|
.ui.grid .centered.row > .column:not(.aligned) {
|
|
text-align: left;
|
|
}
|
|
.ui.grid > .centered.column,
|
|
.ui.grid > .row > .centered.column {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
/*----------------------
|
|
Relaxed
|
|
-----------------------*/
|
|
.ui.relaxed.grid > .column:not(.row),
|
|
.ui.relaxed.grid > .row > .column,
|
|
.ui.grid > .relaxed.row > .column {
|
|
padding-left: 1.5rem;
|
|
padding-right: 1.5rem;
|
|
}
|
|
.ui[class*="very relaxed"].grid > .column:not(.row),
|
|
.ui[class*="very relaxed"].grid > .row > .column,
|
|
.ui.grid > [class*="very relaxed"].row > .column {
|
|
padding-left: 2rem;
|
|
padding-right: 2rem;
|
|
}
|
|
/* Coupling with UI Divider */
|
|
.ui.relaxed.grid .row + .ui.divider,
|
|
.ui.grid .relaxed.row + .ui.divider {
|
|
margin-left: 1.5rem;
|
|
margin-right: 1.5rem;
|
|
}
|
|
.ui[class*="very relaxed"].grid .row + .ui.divider,
|
|
.ui.grid [class*="very relaxed"].row + .ui.divider {
|
|
margin-left: 2rem;
|
|
margin-right: 2rem;
|
|
}
|
|
/*----------------------
|
|
Padded
|
|
-----------------------*/
|
|
.ui.padded.grid:not(.vertically):not(.horizontally) {
|
|
margin: 0em !important;
|
|
}
|
|
[class*="horizontally padded"].ui.grid {
|
|
margin-left: 0em !important;
|
|
margin-right: 0em !important;
|
|
}
|
|
[class*="vertically padded"].ui.grid {
|
|
margin-top: 0em !important;
|
|
margin-bottom: 0em !important;
|
|
}
|
|
/*----------------------
|
|
"Floated"
|
|
-----------------------*/
|
|
.ui.grid [class*="left floated"].column {
|
|
float: left;
|
|
}
|
|
.ui.grid [class*="right floated"].column {
|
|
float: right;
|
|
}
|
|
/*----------------------
|
|
Divided
|
|
-----------------------*/
|
|
.ui.divided.grid:not(.vertically) > .column:not(.row),
|
|
.ui.divided.grid:not(.vertically) > .row > .column {
|
|
box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.1);
|
|
}
|
|
/* Swap from padding to margin on columns to have dividers align */
|
|
.ui.divided.grid:not(.vertically) > .column:not(.row),
|
|
.ui.divided.grid:not(.vertically) > .row > .column {
|
|
margin-top: 1rem;
|
|
margin-bottom: 1rem;
|
|
padding-top: 0rem;
|
|
padding-bottom: 0rem;
|
|
}
|
|
.ui.divided.grid:not(.vertically) > .row {
|
|
margin-top: 0em;
|
|
margin-bottom: 0em;
|
|
}
|
|
/* No divider on first column on row */
|
|
.ui.divided.grid:not(.vertically) > .column:first-child,
|
|
.ui.divided.grid:not(.vertically) > .row > .column:first-child {
|
|
box-shadow: none;
|
|
}
|
|
/* Divided Row */
|
|
.ui.grid > .divided.row > .column {
|
|
box-shadow: -1px 0px 0px 0px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.ui.grid > .divided.row > .column:first-child {
|
|
box-shadow: none;
|
|
}
|
|
/* Vertically Divided */
|
|
.ui[class*="vertically divided"].grid > .row {
|
|
position: relative;
|
|
}
|
|
.ui[class*="vertically divided"].grid > .row:before {
|
|
position: absolute;
|
|
content: "";
|
|
top: 0em;
|
|
left: 0px;
|
|
width: -webkit-calc(100% - 2rem );
|
|
width: calc(100% - 2rem );
|
|
height: 1px;
|
|
margin: 0% 1rem;
|
|
box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.ui[class*="vertically divided"].grid > .row:first-child:before {
|
|
box-shadow: none;
|
|
}
|
|
/* Inverted Divided */
|
|
.ui.inverted.divided.grid:not(.vertical) > .column,
|
|
.ui.inverted.divided.grid:not(.vertical) > .row > .column {
|
|
box-shadow: -1px 0px 0px 0px rgba(255, 255, 255, 0.15);
|
|
}
|
|
.ui.inverted.divided.grid:not(.vertical) > .column:first-child,
|
|
.ui.inverted.divided.grid:not(.vertical) > .row > .column:first-child {
|
|
box-shadow: none;
|
|
}
|
|
.ui.inverted[class*="vertically divided"].grid > .row {
|
|
box-shadow: 0px -1px 0px 0px rgba(255, 255, 255, 0.15);
|
|
}
|
|
/* Relaxed */
|
|
.ui.relaxed[class*="vertically divided"].grid > .row:before {
|
|
margin-left: 1.5rem;
|
|
margin-right: 1.5rem;
|
|
width: -webkit-calc(100% - 3rem );
|
|
width: calc(100% - 3rem );
|
|
}
|
|
.ui[class*="very relaxed"][class*="vertically divided"].grid > .row:before {
|
|
margin-left: 4rem;
|
|
margin-right: 4rem;
|
|
width: -webkit-calc(100% - 4rem );
|
|
width: calc(100% - 4rem );
|
|
}
|
|
/*----------------------
|
|
Celled
|
|
-----------------------*/
|
|
.ui.celled.grid {
|
|
display: table;
|
|
table-layout: fixed;
|
|
width: -webkit-calc(100% + 2rem );
|
|
width: calc(100% + 2rem );
|
|
margin: 1em 0em;
|
|
box-shadow: 0px 0px 0px 1px #dddddd;
|
|
}
|
|
.ui.celled.grid > .row,
|
|
.ui.celled.grid > .column.row,
|
|
.ui.celled.grid > .column.row:first-child {
|
|
display: table;
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
margin: 0em;
|
|
padding: 0em;
|
|
box-shadow: 0px -1px 0px 0px #dddddd;
|
|
}
|
|
.ui.celled.grid > .column:not(.row),
|
|
.ui.celled.grid > .row > .column {
|
|
display: table-cell;
|
|
padding: 0.75em;
|
|
box-shadow: -1px 0px 0px 0px #dddddd;
|
|
}
|
|
.ui.celled.grid > .column:first-child,
|
|
.ui.celled.grid > .row > .column:first-child {
|
|
box-shadow: none;
|
|
}
|
|
.ui.celled.page.grid {
|
|
box-shadow: none;
|
|
}
|
|
/*----------------------
|
|
Horizontally Centered
|
|
-----------------------*/
|
|
/* Left Aligned */
|
|
.ui[class*="left aligned"].grid,
|
|
.ui[class*="left aligned"].grid > .row > .column,
|
|
.ui[class*="left aligned"].grid > .column,
|
|
.ui.grid [class*="left aligned"].column,
|
|
.ui.grid > [class*="left aligned"].aligned.row > .column {
|
|
text-align: left;
|
|
}
|
|
.ui.grid [class*="left aligned"].column {
|
|
text-align: left !important;
|
|
}
|
|
/* Center Aligned */
|
|
.ui[class*="center aligned"].grid,
|
|
.ui[class*="center aligned"].grid > .row > .column,
|
|
.ui[class*="center aligned"].grid > .column,
|
|
.ui.grid > [class*="center aligned"].aligned.row > .column {
|
|
text-align: center;
|
|
}
|
|
.ui.grid [class*="center aligned"].column {
|
|
text-align: center !important;
|
|
}
|
|
/* Right Aligned */
|
|
.ui[class*="right aligned"].grid,
|
|
.ui[class*="right aligned"].grid > .row > .column,
|
|
.ui[class*="right aligned"].grid > .column,
|
|
.ui.grid > [class*="right aligned"].aligned.row > .column {
|
|
text-align: right;
|
|
}
|
|
.ui.grid [class*="right aligned"].column {
|
|
text-align: right !important;
|
|
}
|
|
/* Justified */
|
|
.ui.justified.grid,
|
|
.ui.justified.grid > .row > .column,
|
|
.ui.justified.grid > .column,
|
|
.ui.grid .justified.column,
|
|
.ui.grid > .justified.row > .column {
|
|
text-align: justify;
|
|
-webkit-hyphens: auto;
|
|
-moz-hyphens: auto;
|
|
-ms-hyphens: auto;
|
|
hyphens: auto;
|
|
}
|
|
.ui.grid .justified.column {
|
|
text-align: justify !important;
|
|
-webkit-hyphens: auto !important;
|
|
-moz-hyphens: auto !important;
|
|
-ms-hyphens: auto !important;
|
|
hyphens: auto !important;
|
|
}
|
|
/*----------------------
|
|
Vertically Aligned
|
|
-----------------------*/
|
|
/* Top Aligned */
|
|
.ui[class*="top aligned"].grid,
|
|
.ui[class*="top aligned"].grid > .row > .column,
|
|
.ui[class*="top aligned"].grid > .column,
|
|
.ui.grid [class*="top aligned"].column,
|
|
.ui.grid > [class*="top aligned"].aligned.row > .column {
|
|
vertical-align: top;
|
|
}
|
|
.ui.grid [class*="top aligned"].column {
|
|
vertical-align: top !important;
|
|
}
|
|
/* Middle Aligned */
|
|
.ui[class*="center aligned"].grid,
|
|
.ui[class*="middle aligned"].grid > .row > .column,
|
|
.ui[class*="middle aligned"].grid > .column,
|
|
.ui.grid > [class*="middle aligned"].aligned.row > .column {
|
|
vertical-align: middle;
|
|
}
|
|
.ui.grid [class*="middle aligned"].column {
|
|
vertical-align: middle !important;
|
|
}
|
|
/* Bottom Aligned */
|
|
.ui[class*="bottom aligned"].grid,
|
|
.ui[class*="bottom aligned"].grid > .row > .column,
|
|
.ui[class*="bottom aligned"].grid > .column,
|
|
.ui.grid > [class*="bottom aligned"].aligned.row > .column {
|
|
vertical-align: bottom;
|
|
}
|
|
.ui.grid [class*="bottom aligned"].column {
|
|
vertical-align: bottom !important;
|
|
}
|
|
/*----------------------
|
|
Colored
|
|
-----------------------*/
|
|
.ui.grid > .white.row,
|
|
.ui.grid .white.column {
|
|
background-color: #ffffff !important;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
.ui.grid > .row > .white.column {
|
|
margin-top: -1rem;
|
|
margin-bottom: -1rem;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
.ui.grid > .black.row,
|
|
.ui.grid .black.column {
|
|
background-color: #1b1c1d !important;
|
|
color: #ffffff;
|
|
}
|
|
.ui.grid > .row > .black.column {
|
|
margin-top: -1rem;
|
|
margin-bottom: -1rem;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
.ui.grid > .blue.row,
|
|
.ui.grid .blue.column {
|
|
background-color: #3b83c0 !important;
|
|
color: #ffffff;
|
|
}
|
|
.ui.grid > .row > .blue.column {
|
|
margin-top: -1rem;
|
|
margin-bottom: -1rem;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
.ui.grid > .green.row,
|
|
.ui.grid .green.column {
|
|
background-color: #5bbd72 !important;
|
|
color: #ffffff;
|
|
}
|
|
.ui.grid > .row > .green.column {
|
|
margin-top: -1rem;
|
|
margin-bottom: -1rem;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
.ui.grid > .orange.row,
|
|
.ui.grid .orange.column {
|
|
background-color: #e07b53 !important;
|
|
color: #ffffff;
|
|
}
|
|
.ui.grid > .row > .orange.column {
|
|
margin-top: -1rem;
|
|
margin-bottom: -1rem;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
.ui.grid > .pink.row,
|
|
.ui.grid .pink.column {
|
|
background-color: #d9499a !important;
|
|
color: #ffffff;
|
|
}
|
|
.ui.grid > .row > .pink.column {
|
|
margin-top: -1rem;
|
|
margin-bottom: -1rem;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
.ui.grid > .purple.row,
|
|
.ui.grid .purple.column {
|
|
background-color: #564f8a !important;
|
|
color: #ffffff;
|
|
}
|
|
.ui.grid > .row > .purple.column {
|
|
margin-top: -1rem;
|
|
margin-bottom: -1rem;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
.ui.grid > .red.row,
|
|
.ui.grid .red.column {
|
|
background-color: #d95c5c !important;
|
|
color: #ffffff;
|
|
}
|
|
.ui.grid > .row > .red.column {
|
|
margin-top: -1rem;
|
|
margin-bottom: -1rem;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
.ui.grid > .teal.row,
|
|
.ui.grid .teal.column {
|
|
background-color: #00b5ad !important;
|
|
color: #ffffff;
|
|
}
|
|
.ui.grid > .row > .teal.column {
|
|
margin-top: -1rem;
|
|
margin-bottom: -1rem;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
.ui.grid > .yellow.row,
|
|
.ui.grid .yellow.column {
|
|
background-color: #f2c61f !important;
|
|
color: #ffffff;
|
|
}
|
|
.ui.grid > .row > .yellow.column {
|
|
margin-top: -1rem;
|
|
margin-bottom: -1rem;
|
|
padding-top: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
/*----------------------
|
|
Equal Height Columns
|
|
-----------------------*/
|
|
.ui[class*="equal height"].grid {
|
|
display: table;
|
|
table-layout: fixed;
|
|
width: -webkit-calc(100% + 2rem );
|
|
width: calc(100% + 2rem );
|
|
}
|
|
.ui[class*="equal height"].row {
|
|
display: table;
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
}
|
|
.ui[class*="equal height"].grid > .column,
|
|
.ui[class*="equal height"].grid > .row > .column,
|
|
.ui.grid > [class*="equal height"].row > .column {
|
|
display: table-cell;
|
|
}
|
|
/*-------------------
|
|
Doubling
|
|
--------------------*/
|
|
/* Mobily Only */
|
|
@media only screen and (max-width: 767px) {
|
|
.ui.grid > .doubling.row,
|
|
.ui.doubling.grid > .row {
|
|
margin: 0em;
|
|
padding: 0em;
|
|
}
|
|
.ui.grid > .doubling.row > .column,
|
|
.ui.doubling.grid > .row > .column {
|
|
padding-top: 1rem !important;
|
|
padding-bottom: 1rem !important;
|
|
margin: 0em;
|
|
}
|
|
.ui[class*="two column"].doubling:not(.stackable).grid > .row > .column,
|
|
.ui[class*="two column"].doubling:not(.stackable).grid > .column,
|
|
.ui.grid > [class*="two column"].doubling:not(.stackable).row > .column {
|
|
width: 100% !important;
|
|
}
|
|
.ui[class*="three column"].doubling:not(.stackable).grid > .row > .column,
|
|
.ui[class*="three column"].doubling:not(.stackable).grid > .column,
|
|
.ui.grid > [class*="three column"].doubling:not(.stackable).row > .column {
|
|
width: 50% !important;
|
|
}
|
|
.ui[class*="four column"].doubling:not(.stackable).grid > .row > .column,
|
|
.ui[class*="four column"].doubling:not(.stackable).grid > .column,
|
|
.ui.grid > [class*="four column"].doubling:not(.stackable).row > .column {
|
|
width: 50% !important;
|
|
}
|
|
.ui[class*="five column"].doubling:not(.stackable).grid > .row > .column,
|
|
.ui[class*="five column"].doubling:not(.stackable).grid > .column,
|
|
.ui.grid > [class*="five column"].doubling:not(.stackable).row > .column {
|
|
width: 50% !important;
|
|
}
|
|
.ui[class*="six column"].doubling:not(.stackable).grid > .row > .column,
|
|
.ui[class*="six column"].doubling:not(.stackable).grid > .column,
|
|
.ui.grid > [class*="six column"].doubling:not(.stackable).row > .column {
|
|
width: 50% !important;
|
|
}
|
|
.ui[class*="seven column"].doubling:not(.stackable).grid > .row > .column,
|
|
.ui[class*="seven column"].doubling:not(.stackable).grid > .column,
|
|
.ui.grid > [class*="seven column"].doubling:not(.stackable).row > .column {
|
|
width: 33.33333333% !important;
|
|
}
|
|
.ui[class*="eight column"].doubling:not(.stackable).grid > .row > .column,
|
|
.ui[class*="eight column"].doubling:not(.stackable).grid > .column,
|
|
.ui.grid > [class*="eight column"].doubling:not(.stackable).row > .column {
|
|
width: 33.33333333% !important;
|
|
}
|
|
.ui[class*="nine column"].doubling:not(.stackable).grid > .row > .column,
|
|
.ui[class*="nine column"].doubling:not(.stackable).grid > .column,
|
|
.ui.grid > [class*="nine column"].doubling:not(.stackable).row > .column {
|
|
width: 33.33333333% !important;
|
|
}
|
|
.ui[class*="ten column"].doubling:not(.stackable).grid > .row > .column,
|
|
.ui[class*="ten column"].doubling:not(.stackable).grid > .column,
|
|
.ui.grid > [class*="ten column"].doubling:not(.stackable).row > .column {
|
|
width: 33.33333333% !important;
|
|
}
|
|
.ui[class*="twelve column"].doubling:not(.stackable).grid > .row > .column,
|
|
.ui[class*="twelve column"].doubling:not(.stackable).grid > .column,
|
|
.ui.grid > [class*="twelve column"].doubling:not(.stackable).row > .column {
|
|
width: 25% !important;
|
|
}
|
|
.ui[class*="fourteen column"].doubling:not(.stackable).grid > .row > .column,
|
|
.ui[class*="fourteen column"].doubling:not(.stackable).grid > .column,
|
|
.ui.grid > [class*="fourteen column"].doubling:not(.stackable).row > .column {
|
|
width: 25% !important;
|
|
}
|
|
.ui[class*="sixteen column"].doubling:not(.stackable).grid > .row > .column,
|
|
.ui[class*="sixteen column"].doubling:not(.stackable).grid > .column,
|
|
.ui.grid > [class*="sixteen column"].doubling:not(.stackable).row > .column {
|
|
width: 25% !important;
|
|
}
|
|
}
|
|
/* Tablet Only */
|
|
@media only screen and (min-width: 768px) and (max-width: 991px) {
|
|
.ui.grid > .doubling.row,
|
|
.ui.doubling.grid > .row {
|
|
margin: 0em;
|
|
padding: 0em;
|
|
}
|
|
.ui.grid > .doubling.row > .column,
|
|
.ui.doubling.grid > .row > .column {
|
|
padding-top: 1rem !important;
|
|
padding-bottom: 1rem !important;
|
|
margin: 0em;
|
|
}
|
|
.ui[class*="two column"].doubling.grid > .row > .column,
|
|
.ui[class*="two column"].doubling.grid > .column,
|
|
.ui.grid > [class*="two column"].doubling.row > .column {
|
|
width: 100% !important;
|
|
}
|
|
.ui[class*="three column"].doubling.grid > .row > .column,
|
|
.ui[class*="three column"].doubling.grid > .column,
|
|
.ui.grid > [class*="three column"].doubling.row > .column {
|
|
width: 50% !important;
|
|
}
|
|
.ui[class*="four column"].doubling.grid > .row > .column,
|
|
.ui[class*="four column"].doubling.grid > .column,
|
|
.ui.grid > [class*="four column"].doubling.row > .column {
|
|
width: 50% !important;
|
|
}
|
|
.ui[class*="five column"].doubling.grid > .row > .column,
|
|
.ui[class*="five column"].doubling.grid > .column,
|
|
.ui.grid > [class*="five column"].doubling.row > .column {
|
|
width: 33.33333333% !important;
|
|
}
|
|
.ui[class*="six column"].doubling.grid > .row > .column,
|
|
.ui[class*="six column"].doubling.grid > .column,
|
|
.ui.grid > [class*="six column"].doubling.row > .column {
|
|
width: 33.33333333% !important;
|
|
}
|
|
.ui[class*="eight column"].doubling.grid > .row > .column,
|
|
.ui[class*="eight column"].doubling.grid > .column,
|
|
.ui.grid > [class*="eight column"].doubling.row > .column {
|
|
width: 33.33333333% !important;
|
|
}
|
|
.ui[class*="eight column"].doubling.grid > .row > .column,
|
|
.ui[class*="eight column"].doubling.grid > .column,
|
|
.ui.grid > [class*="eight column"].doubling.row > .column {
|
|
width: 25% !important;
|
|
}
|
|
.ui[class*="nine column"].doubling.grid > .row > .column,
|
|
.ui[class*="nine column"].doubling.grid > .column,
|
|
.ui.grid > [class*="nine column"].doubling.row > .column {
|
|
width: 25% !important;
|
|
}
|
|
.ui[class*="ten column"].doubling.grid > .row > .column,
|
|
.ui[class*="ten column"].doubling.grid > .column,
|
|
.ui.grid > [class*="ten column"].doubling.row > .column {
|
|
width: 20% !important;
|
|
}
|
|
.ui[class*="twelve column"].doubling.grid > .row > .column,
|
|
.ui[class*="twelve column"].doubling.grid > .column,
|
|
.ui.grid > [class*="twelve column"].doubling.row > .column {
|
|
width: 16.66666667% !important;
|
|
}
|
|
.ui[class*="fourteen column"].doubling.grid > .row > .column,
|
|
.ui[class*="fourteen column"].doubling.grid > .column,
|
|
.ui.grid > [class*="fourteen column"].doubling.row > .column {
|
|
width: 14.28571429% !important;
|
|
}
|
|
.ui[class*="sixteen column"].doubling.grid > .row > .column,
|
|
.ui[class*="sixteen column"].doubling.grid > .column,
|
|
.ui.grid > [class*="sixteen column"].doubling.row > .column {
|
|
width: 12.5% !important;
|
|
}
|
|
}
|
|
/*-------------------
|
|
Stackable
|
|
--------------------*/
|
|
@media only screen and (max-width: 767px) {
|
|
.ui.stackable.grid {
|
|
display: block !important;
|
|
padding: 0em;
|
|
margin: 0em !important;
|
|
}
|
|
.ui.stackable.grid > .row > .wide.column,
|
|
.ui.stackable.grid > .wide.column,
|
|
.ui.stackable.grid > .column.grid > .column,
|
|
.ui.stackable.grid > .column.row > .column,
|
|
.ui.stackable.grid > .row > .column,
|
|
.ui.stackable.grid > .column {
|
|
display: block !important;
|
|
width: auto !important;
|
|
margin: 1rem 0em 0em !important;
|
|
padding: 1rem 0em 0em !important;
|
|
box-shadow: none !important;
|
|
}
|
|
.ui.stackable.celled.grid > .column,
|
|
.ui.stackable.celled.grid > .row > .column,
|
|
.ui.stackable.divided.grid > .column,
|
|
.ui.stackable.divided.grid > .row > .column {
|
|
border-top: 1px solid rgba(0, 0, 0, 0.15);
|
|
}
|
|
.ui.inverted.stackable.celled.grid > .column,
|
|
.ui.inverted.stackable.celled.grid > .row > .column,
|
|
.ui.inverted.stackable.divided.grid > .column,
|
|
.ui.inverted.stackable.divided.grid > .row > .column {
|
|
border-top: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
.ui.stackable.grid > .row:first-child > .column:first-child,
|
|
.ui.stackable.grid > .column:first-child {
|
|
margin-top: 0em !important;
|
|
padding-top: 0em !important;
|
|
}
|
|
.ui.stackable.divided.grid > .row:first-child > .column:first-child,
|
|
.ui.stackable.celled.grid > .row:first-child > .column:first-child,
|
|
.ui.stackable.divided.grid > .column:first-child,
|
|
.ui.stackable.celled.grid > .column:first-child {
|
|
border-top: none !important;
|
|
}
|
|
.ui.stackable.page.grid > .row > .column,
|
|
.ui.stackable.page.grid > .column {
|
|
padding-left: 1.5em !important;
|
|
padding-right: 1.5em !important;
|
|
}
|
|
.ui[class*="equal height"].stackable.page.grid {
|
|
display: block !important;
|
|
width: 100% !important;
|
|
}
|
|
/* Remove pointers from vertical menus */
|
|
.ui.stackable.grid .vertical.pointing.menu .item:after {
|
|
display: none;
|
|
}
|
|
}
|
|
/*----------------------
|
|
Only (Device)
|
|
-----------------------*/
|
|
/* These include arbitrary class repetitions for forced specificity */
|
|
/* Mobile Only Hide */
|
|
@media only screen and (max-width: 767px) {
|
|
.ui.tablet:not(.mobile).only.grid.grid.grid,
|
|
.ui.grid.grid.grid > [class*="tablet only"].row:not(.mobile),
|
|
.ui.grid.grid.grid > [class*="tablet only"].column:not(.mobile),
|
|
.ui.grid.grid.grid > .row > [class*="tablet only"].column:not(.mobile) {
|
|
display: none !important;
|
|
}
|
|
.ui[class*="computer only"].grid.grid.grid:not(.mobile),
|
|
.ui.grid.grid.grid > [class*="computer only"].row:not(.mobile),
|
|
.ui.grid.grid.grid > [class*="computer only"].column:not(.mobile),
|
|
.ui.grid.grid.grid > .row > [class*="computer only"].column:not(.mobile) {
|
|
display: none !important;
|
|
}
|
|
}
|
|
/* Tablet Only Hide */
|
|
@media only screen and (min-width: 768px) and (max-width: 991px) {
|
|
.ui[class*="mobile only"].grid.grid.grid:not(.tablet),
|
|
.ui.grid.grid.grid > [class*="mobile only"].row:not(.tablet),
|
|
.ui.grid.grid.grid > [class*="mobile only"].column:not(.tablet),
|
|
.ui.grid.grid.grid > .row > [class*="mobile only"].column:not(.tablet) {
|
|
display: none !important;
|
|
}
|
|
.ui[class*="computer only"].grid.grid.grid:not(.tablet),
|
|
.ui.grid.grid.grid > [class*="computer only"].row:not(.tablet),
|
|
.ui.grid.grid.grid > [class*="computer only"].column:not(.tablet),
|
|
.ui.grid.grid.grid > .row > [class*="computer only"].column:not(.tablet) {
|
|
display: none !important;
|
|
}
|
|
}
|
|
/* Computer Only Hide */
|
|
@media only screen and (min-width: 992px) {
|
|
.ui[class*="mobile only"].grid.grid.grid:not(.computer),
|
|
.ui.grid.grid.grid > [class*="mobile only"].row:not(.computer),
|
|
.ui.grid.grid.grid > [class*="mobile only"].column:not(.computer),
|
|
.ui.grid.grid.grid > .row > [class*="mobile only"].column:not(.computer) {
|
|
display: none !important;
|
|
}
|
|
.ui[class*="tablet only"].grid.grid.grid:not(.computer),
|
|
.ui.grid.grid.grid > [class*="tablet only"].row:not(.computer),
|
|
.ui.grid.grid.grid > [class*="tablet only"].column:not(.computer),
|
|
.ui.grid.grid.grid > .row > [class*="tablet only"].column:not(.computer) {
|
|
display: none !important;
|
|
}
|
|
}
|
|
/*******************************
|
|
Overrides
|
|
*******************************/
|
|
/*******************************
|
|
Overrides
|
|
*******************************/
|