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.
374 lines
9.1 KiB
374 lines
9.1 KiB
/*
|
|
* # Semantic - Sidebar
|
|
* http://github.com/semantic-org/semantic-ui/
|
|
*
|
|
*
|
|
* Copyright 2014 Contributors
|
|
* 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 Default
|
|
-------------------*/
|
|
/*******************************
|
|
Site Settings
|
|
*******************************/
|
|
/*-------------------
|
|
Paths
|
|
--------------------*/
|
|
/*-------------------
|
|
Fonts
|
|
--------------------*/
|
|
/*-------------------
|
|
Site Colors
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*-------------------
|
|
Page
|
|
--------------------*/
|
|
/*-------------------
|
|
Background Colors
|
|
--------------------*/
|
|
/* Used for differentiating neutrals */
|
|
/* Used for differentiating layers */
|
|
/*-------------------
|
|
Grid
|
|
--------------------*/
|
|
/*-------------------
|
|
Breakpoints
|
|
--------------------*/
|
|
/*******************************
|
|
Power-User
|
|
*******************************/
|
|
/*-------------------
|
|
Icons
|
|
--------------------*/
|
|
/* Max Width of Icon */
|
|
/*-------------------
|
|
Easing
|
|
--------------------*/
|
|
/*--- Light Variations ---*/
|
|
/*--- Neutrals ---*/
|
|
/*--- Colored Backgrounds ---*/
|
|
/*--- Colored Text ---*/
|
|
/*--- Colored Headers ---*/
|
|
/*-------------------
|
|
Emotive Colors
|
|
--------------------*/
|
|
/* Mood */
|
|
/* Solid Background Color */
|
|
/* 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 ---*/
|
|
/*******************************
|
|
Sidebar
|
|
*******************************/
|
|
/* Coupling */
|
|
/*-------------------
|
|
Variations
|
|
--------------------*/
|
|
/* Sizes */
|
|
/* Styled */
|
|
/* Floating */
|
|
/*------------------
|
|
Load Theme
|
|
-------------------*/
|
|
/*------------------
|
|
Load Site
|
|
-------------------*/
|
|
/*******************************
|
|
User Global Variables
|
|
*******************************/
|
|
/*******************************
|
|
Overrides
|
|
*******************************/
|
|
/*------------------
|
|
Override Mix-in
|
|
-------------------*/
|
|
/*******************************
|
|
Sidebar
|
|
*******************************/
|
|
body {
|
|
-webkit-transition: margin 0.3s ease, -webkit-transform 0.3s ease;
|
|
transition: margin 0.3s ease, transform 0.3s ease;
|
|
}
|
|
.ui.sidebar {
|
|
position: fixed;
|
|
margin: 0 !important;
|
|
height: 100% !important;
|
|
border-radius: 0px !important;
|
|
overflow-y: auto;
|
|
top: 0px;
|
|
left: 0px;
|
|
z-index: 999;
|
|
-webkit-transition: margin-left 0.3s ease, margin-top 0.3s ease;
|
|
transition: margin-left 0.3s ease, margin-top 0.3s ease;
|
|
}
|
|
/*-------------------
|
|
Coupling
|
|
--------------------*/
|
|
body.pushed.scrolling.ui.dimmable {
|
|
position: static;
|
|
}
|
|
/*******************************
|
|
Types
|
|
*******************************/
|
|
/*-------------------
|
|
Direction
|
|
--------------------*/
|
|
.ui.right.very.thin.sidebar,
|
|
.ui.right.thin.sidebar,
|
|
.ui.right.sidebar,
|
|
.ui.right.wide.sidebar,
|
|
.ui.right.very.wide.sidebar {
|
|
left: 100%;
|
|
margin: 0px !important;
|
|
}
|
|
.ui.top.sidebar {
|
|
width: 100% !important;
|
|
}
|
|
.ui.bottom.sidebar {
|
|
width: 100% !important;
|
|
top: 100%;
|
|
margin: 0px !important;
|
|
}
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
.ui.active.sidebar {
|
|
margin-left: 0px !important;
|
|
}
|
|
.ui.active.top.sidebar,
|
|
.ui.active.bottom.sidebar {
|
|
margin-top: 0px !important;
|
|
}
|
|
/*******************************
|
|
Variations
|
|
*******************************/
|
|
/*-------------------
|
|
Formatted
|
|
--------------------*/
|
|
.ui.styled.sidebar {
|
|
padding: 1em 1.5em;
|
|
background-color: #ffffff;
|
|
box-shadow: 1px 0px 0px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.ui.styled.thin.sidebar {
|
|
padding: 1em;
|
|
}
|
|
.ui.styled.very.thin.sidebar {
|
|
padding: 0.5em;
|
|
}
|
|
/*-------------------
|
|
Floating
|
|
--------------------*/
|
|
.ui.floating.sidebar {
|
|
box-shadow: 2px 0px 2px rgba(0, 0, 0, 0.2);
|
|
}
|
|
.ui.right.floating.sidebar {
|
|
box-shadow: -2px 0px 2px rgba(0, 0, 0, 0.2);
|
|
}
|
|
.ui.top.floating.sidebar {
|
|
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2);
|
|
}
|
|
.ui.bottom.floating.sidebar {
|
|
box-shadow: 0px -2px 2px rgba(0, 0, 0, 0.2);
|
|
}
|
|
/*-------------------
|
|
Width
|
|
--------------------*/
|
|
/* Very Thin */
|
|
.ui.very.thin.sidebar {
|
|
width: 60px !important;
|
|
margin-left: -60px !important;
|
|
}
|
|
.ui.active.very.thin.sidebar {
|
|
margin-left: 0px !important;
|
|
}
|
|
.ui.active.right.very.thin.sidebar {
|
|
margin-left: -60px !important;
|
|
}
|
|
/* Thin */
|
|
.ui.thin.sidebar {
|
|
width: 200px !important;
|
|
margin-left: -200px !important;
|
|
}
|
|
.ui.active.thin.sidebar {
|
|
margin-left: 0px !important;
|
|
}
|
|
.ui.active.right.thin.sidebar {
|
|
margin-left: -200px !important;
|
|
}
|
|
/* Standard */
|
|
.ui.sidebar {
|
|
width: 275px !important;
|
|
margin-left: -275px !important;
|
|
}
|
|
.ui.active.sidebar {
|
|
margin-left: 0px !important;
|
|
}
|
|
.ui.active.right.sidebar {
|
|
margin-left: -275px !important;
|
|
}
|
|
/* Wide */
|
|
.ui.wide.sidebar {
|
|
width: 350px !important;
|
|
margin-left: -350px !important;
|
|
}
|
|
.ui.active.wide.sidebar {
|
|
margin-left: 0px !important;
|
|
}
|
|
.ui.active.right.wide.sidebar {
|
|
margin-left: -350px !important;
|
|
}
|
|
/* Very Wide */
|
|
.ui.very.wide.sidebar {
|
|
width: 475px !important;
|
|
margin-left: -475px !important;
|
|
}
|
|
.ui.active.very.wide.sidebar {
|
|
margin-left: 0px !important;
|
|
}
|
|
.ui.active.right.very.wide.sidebar {
|
|
margin-left: -475px !important;
|
|
}
|
|
/*-------------------
|
|
Height
|
|
--------------------*/
|
|
/* Very Thin */
|
|
.ui.very.thin.top.sidebar {
|
|
margin: -20px 0px 0px 0px !important;
|
|
}
|
|
.ui.very.thin.top.sidebar,
|
|
.ui.very.thin.bottom.sidebar {
|
|
height: 20px !important;
|
|
}
|
|
.ui.very.thin.active.bottom.sidebar {
|
|
margin-top: -20px !important;
|
|
}
|
|
/* Thin */
|
|
.ui.thin.top.sidebar {
|
|
margin: -30px 0px 0px 0px !important;
|
|
}
|
|
.ui.thin.top.sidebar,
|
|
.ui.thin.bottom.sidebar {
|
|
height: 30px !important;
|
|
}
|
|
.ui.thin.active.bottom.sidebar {
|
|
margin-top: -30px !important;
|
|
}
|
|
/* Standard */
|
|
.ui.top.sidebar {
|
|
margin: -37px 0px 0px 0px !important;
|
|
}
|
|
.ui.top.sidebar,
|
|
.ui.bottom.sidebar {
|
|
height: 37px !important;
|
|
}
|
|
.ui.active.bottom.sidebar {
|
|
margin-top: -37px !important;
|
|
}
|
|
/* Tall */
|
|
.ui.tall.top.sidebar {
|
|
margin: -100px 0px 0px 0px !important;
|
|
}
|
|
.ui.tall.top.sidebar,
|
|
.ui.tall.bottom.sidebar {
|
|
height: 100px !important;
|
|
}
|
|
.ui.tall.active.bottom.sidebar {
|
|
margin-top: -100px !important;
|
|
}
|
|
/* Very Tall */
|
|
.ui.very.tall.top.sidebar {
|
|
margin: -150px 0px 0px 0px !important;
|
|
}
|
|
.ui.very.tall.top.sidebar,
|
|
.ui.very.tall.bottom.sidebar {
|
|
height: 150px !important;
|
|
}
|
|
.ui.very.tall.active.bottom.sidebar {
|
|
margin-top: -150px !important;
|
|
}
|
|
/*******************************
|
|
Overrides
|
|
*******************************/
|
|
/*******************************
|
|
Overrides
|
|
*******************************/
|