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.
308 lines
7.9 KiB
308 lines
7.9 KiB
/*
|
|
* # Semantic - Sticky
|
|
* 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
|
|
--------------------*/
|
|
/* Max 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 ---*/
|
|
/*******************************
|
|
Sticky
|
|
*******************************/
|
|
/*------------------
|
|
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
|
|
--------------------*/
|
|
/* Max 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 ---*/
|
|
/*******************************
|
|
Sticky
|
|
*******************************/
|
|
/*------------------
|
|
Load Site
|
|
-------------------*/
|
|
/*******************************
|
|
User Global Variables
|
|
*******************************/
|
|
/*******************************
|
|
Overrides
|
|
*******************************/
|
|
/*------------------
|
|
Override Loader
|
|
-------------------*/
|
|
/*******************************
|
|
Sticky
|
|
*******************************/
|
|
.ui.sticky {
|
|
position: static;
|
|
-webkit-transition: width 0.2s ease, height 0.2s ease, top 0.2s ease, bottom 0.2s ease;
|
|
transition: width 0.2s ease, height 0.2s ease, top 0.2s ease, bottom 0.2s ease;
|
|
}
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
/* Bound */
|
|
.ui.sticky.bound {
|
|
position: absolute;
|
|
left: auto;
|
|
right: auto;
|
|
}
|
|
/* Fixed */
|
|
.ui.sticky.fixed {
|
|
position: fixed;
|
|
left: auto;
|
|
right: auto;
|
|
}
|
|
/* Bound/Fixed Position */
|
|
.ui.sticky.bound.top,
|
|
.ui.sticky.fixed.top {
|
|
top: 0px;
|
|
bottom: auto;
|
|
}
|
|
.ui.sticky.bound.bottom,
|
|
.ui.sticky.fixed.bottom {
|
|
top: auto;
|
|
bottom: 0px;
|
|
}
|
|
/*******************************
|
|
Types
|
|
*******************************/
|
|
.ui.native.sticky {
|
|
position: -webkit-sticky;
|
|
position: -moz-sticky;
|
|
position: -ms-sticky;
|
|
position: -o-sticky;
|
|
position: sticky;
|
|
}
|
|
/*******************************
|
|
Overrides
|
|
*******************************/
|
|
/*******************************
|
|
Overrides
|
|
*******************************/
|