|
|
/* * # Semantic - Sidebar * http://github.com/semantic-org/semantic-ui/ * * * Copyright 2013 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 Variables *******************************/ /*------------------- Paths --------------------*/ /*------------------- Page --------------------*/ /*------------------- Grid --------------------*/ /*------------------- Breakpoints --------------------*/ /*------------------- Fonts --------------------*/ /*------------------- Icons --------------------*/ /* Max Width of Icon */ /*------------------- Easing --------------------*/ /******************************* BG Colors *******************************/ /******************************* Colors *******************************/ /*--- Colors ---*/ /*--- Neutrals ---*/ /*--- Text Colors ---*/ /* Preserve */ /* Adjust for Legibility */ /*--- Backgrounds ---*/ /*------------------- Emotive Colors --------------------*/ /* Positive / Negative */ /* Messages */ /*------------------- Text Colors --------------------*/ /*------------------- Brand Colors --------------------*/ /*------------------- 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; -webkit-box-shadow: 1px 0px 0px rgba(0, 0, 0, 0.1); 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 { -webkit-box-shadow: 2px 0px 2px rgba(0, 0, 0, 0.2); box-shadow: 2px 0px 2px rgba(0, 0, 0, 0.2); } .ui.right.floating.sidebar { -webkit-box-shadow: -2px 0px 2px rgba(0, 0, 0, 0.2); box-shadow: -2px 0px 2px rgba(0, 0, 0, 0.2); } .ui.top.floating.sidebar { -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2); box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2); } .ui.bottom.floating.sidebar { -webkit-box-shadow: 0px -2px 2px rgba(0, 0, 0, 0.2); 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 *******************************/
|