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.
484 lines
12 KiB
484 lines
12 KiB
/*
|
|
* # Semantic - Divider
|
|
* 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
|
|
--------------------*/
|
|
/*-------------------
|
|
Background Colors
|
|
--------------------*/
|
|
/* Used for differentiating neutrals */
|
|
/* Used for differentiating layers */
|
|
/*-------------------
|
|
Grid
|
|
--------------------*/
|
|
/*-------------------
|
|
Breakpoints
|
|
--------------------*/
|
|
/*******************************
|
|
Power-User
|
|
*******************************/
|
|
/*-------------------
|
|
Icons
|
|
--------------------*/
|
|
/* Maximum Glyph Width of Icon */
|
|
/*-------------------
|
|
Easing
|
|
--------------------*/
|
|
/*--- Neutrals ---*/
|
|
/*--- Colored Backgrounds ---*/
|
|
/*--- Colored Text ---*/
|
|
/*--- Colored Headers ---*/
|
|
/*-------------------
|
|
Emotive Colors
|
|
--------------------*/
|
|
/* Mood */
|
|
/* Status */
|
|
/*-------------------
|
|
Neutral Text
|
|
--------------------*/
|
|
/*-------------------
|
|
Brand Colors
|
|
--------------------*/
|
|
/*-------------------
|
|
Borders
|
|
--------------------*/
|
|
/*-------------------
|
|
Sizes
|
|
--------------------*/
|
|
/*-------------------
|
|
Transitions
|
|
--------------------*/
|
|
/*-------------------
|
|
Derived Values
|
|
--------------------*/
|
|
/* Makes sure padded grid can fit at 320px */
|
|
/* Used to match floats with text */
|
|
/* Positive / Negative Dupes */
|
|
/* Header Colors */
|
|
/* Responsive */
|
|
/* Columns */
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
/*-------------------
|
|
Disabled
|
|
--------------------*/
|
|
/*-------------------
|
|
Hover
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*-------------------
|
|
Down (:active)
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*-------------------
|
|
Active
|
|
--------------------*/
|
|
/*--- Standard ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*******************************
|
|
Divider
|
|
*******************************/
|
|
/*-------------------
|
|
Element
|
|
--------------------*/
|
|
/* Text */
|
|
/*-------------------
|
|
Coupling
|
|
--------------------*/
|
|
/* Icon */
|
|
/*******************************
|
|
Variations
|
|
*******************************/
|
|
/* Horizontal / Vertical */
|
|
/* Inverted */
|
|
/* Section */
|
|
/* Sizes */
|
|
/*------------------
|
|
Load Theme
|
|
-------------------*/
|
|
/*******************************
|
|
Site Settings
|
|
*******************************/
|
|
/*-------------------
|
|
Paths
|
|
--------------------*/
|
|
/*-------------------
|
|
Fonts
|
|
--------------------*/
|
|
/*-------------------
|
|
Site Colors
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Light Colors ---*/
|
|
/*-------------------
|
|
Page
|
|
--------------------*/
|
|
/*-------------------
|
|
Background Colors
|
|
--------------------*/
|
|
/* Used for differentiating neutrals */
|
|
/* Used for differentiating layers */
|
|
/*-------------------
|
|
Grid
|
|
--------------------*/
|
|
/*-------------------
|
|
Breakpoints
|
|
--------------------*/
|
|
/*******************************
|
|
Power-User
|
|
*******************************/
|
|
/*-------------------
|
|
Icons
|
|
--------------------*/
|
|
/* Maximum Glyph Width of Icon */
|
|
/*-------------------
|
|
Easing
|
|
--------------------*/
|
|
/*--- Neutrals ---*/
|
|
/*--- Colored Backgrounds ---*/
|
|
/*--- Colored Text ---*/
|
|
/*--- Colored Headers ---*/
|
|
/*-------------------
|
|
Emotive Colors
|
|
--------------------*/
|
|
/* Mood */
|
|
/* Status */
|
|
/*-------------------
|
|
Neutral Text
|
|
--------------------*/
|
|
/*-------------------
|
|
Brand Colors
|
|
--------------------*/
|
|
/*-------------------
|
|
Borders
|
|
--------------------*/
|
|
/*-------------------
|
|
Sizes
|
|
--------------------*/
|
|
/*-------------------
|
|
Transitions
|
|
--------------------*/
|
|
/*-------------------
|
|
Derived Values
|
|
--------------------*/
|
|
/* Makes sure padded grid can fit at 320px */
|
|
/* Used to match floats with text */
|
|
/* Positive / Negative Dupes */
|
|
/* Header Colors */
|
|
/* Responsive */
|
|
/* Columns */
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
/*-------------------
|
|
Disabled
|
|
--------------------*/
|
|
/*-------------------
|
|
Hover
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*-------------------
|
|
Down (:active)
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*-------------------
|
|
Active
|
|
--------------------*/
|
|
/*--- Standard ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Neutrals ---*/
|
|
/*******************************
|
|
Divider
|
|
*******************************/
|
|
/*-------------------
|
|
Element
|
|
--------------------*/
|
|
/* Text */
|
|
/*-------------------
|
|
Coupling
|
|
--------------------*/
|
|
/* Icon */
|
|
/*******************************
|
|
Variations
|
|
*******************************/
|
|
/* Horizontal / Vertical */
|
|
/* Inverted */
|
|
/* Section */
|
|
/* Sizes */
|
|
/*------------------
|
|
Load Site
|
|
-------------------*/
|
|
/*******************************
|
|
User Global Variables
|
|
*******************************/
|
|
/*******************************
|
|
User Variable Overrides
|
|
*******************************/
|
|
/*------------------
|
|
Override Loader
|
|
-------------------*/
|
|
/*******************************
|
|
Divider
|
|
*******************************/
|
|
.ui.divider {
|
|
margin: 1rem 0rem;
|
|
line-height: 1;
|
|
height: 0em;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
color: rgba(0, 0, 0, 0.85);
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
}
|
|
/*--------------
|
|
Basic
|
|
---------------*/
|
|
.ui.divider:not(.vertical):not(.horizontal) {
|
|
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
/*--------------
|
|
Coupling
|
|
---------------*/
|
|
.ui.grid > .ui.divider {
|
|
font-size: 1rem;
|
|
}
|
|
/*--------------
|
|
Horizontal
|
|
---------------*/
|
|
.ui.horizontal.divider {
|
|
position: relative;
|
|
height: auto;
|
|
margin: '';
|
|
overflow: hidden;
|
|
line-height: 1;
|
|
text-align: center;
|
|
}
|
|
.ui.horizontal.divider:before,
|
|
.ui.horizontal.divider:after {
|
|
position: absolute;
|
|
content: '';
|
|
z-index: 3;
|
|
width: 50%;
|
|
top: 50%;
|
|
height: 0px;
|
|
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
.ui.horizontal.divider:before {
|
|
margin-left: -51.5%;
|
|
}
|
|
.ui.horizontal.divider:after {
|
|
margin-left: 1.5%;
|
|
}
|
|
/*--------------
|
|
Vertical
|
|
---------------*/
|
|
.ui.vertical.divider {
|
|
position: absolute;
|
|
z-index: 2;
|
|
top: 50%;
|
|
left: 50%;
|
|
margin: 0rem;
|
|
padding: 0em;
|
|
width: auto;
|
|
height: 50%;
|
|
line-height: 0em;
|
|
text-align: center;
|
|
-webkit-transform: translateX(-50%);
|
|
-ms-transform: translateX(-50%);
|
|
transform: translateX(-50%);
|
|
}
|
|
.ui.vertical.divider:before,
|
|
.ui.vertical.divider:after {
|
|
position: absolute;
|
|
left: 50%;
|
|
content: '';
|
|
z-index: 3;
|
|
border-left: 1px solid rgba(0, 0, 0, 0.1);
|
|
border-right: 1px solid rgba(255, 255, 255, 0.2);
|
|
width: 0%;
|
|
height: -webkit-calc(100% - 1rem );
|
|
height: calc(100% - 1rem );
|
|
}
|
|
.ui.vertical.divider:before {
|
|
top: -100%;
|
|
}
|
|
.ui.vertical.divider:after {
|
|
top: auto;
|
|
bottom: 0px;
|
|
}
|
|
/* Inside grid */
|
|
@media only screen and (max-width: 767px) {
|
|
.ui.stackable.grid .ui.vertical.divider,
|
|
.ui.grid .stackable.row .ui.vertical.divider {
|
|
position: relative;
|
|
margin: 1rem 0rem;
|
|
left: 0;
|
|
height: auto;
|
|
overflow: hidden;
|
|
line-height: 1;
|
|
text-align: center;
|
|
}
|
|
.ui.stackable.grid .ui.vertical.divider:before,
|
|
.ui.grid .stackable.row .ui.vertical.divider:before,
|
|
.ui.stackable.grid .ui.vertical.divider:after,
|
|
.ui.grid .stackable.row .ui.vertical.divider:after {
|
|
position: absolute;
|
|
left: auto;
|
|
content: '';
|
|
z-index: 3;
|
|
width: 50%;
|
|
top: 50%;
|
|
height: 0px;
|
|
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
.ui.stackable.grid .ui.vertical.divider:before,
|
|
.ui.grid .stackable.row .ui.vertical.divider:before {
|
|
margin-left: -51.5%;
|
|
}
|
|
.ui.stackable.grid .ui.vertical.divider:after,
|
|
.ui.grid .stackable.row .ui.vertical.divider:after {
|
|
margin-left: 1.5%;
|
|
}
|
|
}
|
|
/*--------------
|
|
Icon
|
|
---------------*/
|
|
.ui.divider > .icon {
|
|
margin: 0rem;
|
|
font-size: 1rem;
|
|
height: 1em;
|
|
vertical-align: middle;
|
|
}
|
|
/*******************************
|
|
Variations
|
|
*******************************/
|
|
/*--------------
|
|
Hidden
|
|
---------------*/
|
|
.ui.hidden.divider {
|
|
border-color: transparent !important;
|
|
}
|
|
/*--------------
|
|
Inverted
|
|
---------------*/
|
|
.ui.divider.inverted {
|
|
color: #ffffff;
|
|
}
|
|
.ui.vertical.inverted.divider,
|
|
.ui.horizontal.inverted.divider {
|
|
color: #ffffff;
|
|
}
|
|
.ui.divider.inverted,
|
|
.ui.divider.inverted:after,
|
|
.ui.divider.inverted:before {
|
|
border-top-color: rgba(0, 0, 0, 0.15) !important;
|
|
border-bottom-color: rgba(255, 255, 255, 0.15) !important;
|
|
border-left-color: rgba(0, 0, 0, 0.15) !important;
|
|
border-right-color: rgba(255, 255, 255, 0.15) !important;
|
|
}
|
|
/*--------------
|
|
Fitted
|
|
---------------*/
|
|
.ui.fitted.divider {
|
|
margin: 0em;
|
|
}
|
|
/*--------------
|
|
Clearing
|
|
---------------*/
|
|
.ui.clearing.divider {
|
|
clear: both;
|
|
}
|
|
/*--------------
|
|
Section
|
|
---------------*/
|
|
.ui.section.divider {
|
|
margin-top: 2rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
/*--------------
|
|
Sizes
|
|
---------------*/
|
|
.ui.divider {
|
|
font-size: 1rem;
|
|
}
|
|
/*******************************
|
|
Overrides
|
|
*******************************/
|
|
/*******************************
|
|
Overrides
|
|
*******************************/
|