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.
262 lines
4.7 KiB
262 lines
4.7 KiB
/*
|
|
* # Semantic - Sidebar
|
|
* http://github.com/jlukic/semantic-ui/
|
|
*
|
|
*
|
|
* Copyright 2013 Contributors
|
|
* Released under the MIT license
|
|
* http://opensource.org/licenses/MIT
|
|
*
|
|
*/
|
|
/*******************************
|
|
Sidebar
|
|
*******************************/
|
|
|
|
body {
|
|
-webkit-transition:
|
|
margin 0.3s ease,
|
|
-webkit-transform 0.3s ease
|
|
;
|
|
-moz-transition:
|
|
margin 0.3s ease,
|
|
-moz-transform 0.3s ease
|
|
;
|
|
-o-transition:
|
|
margin 0.3s ease,
|
|
transform 0.3s ease
|
|
;
|
|
-ms-transition:
|
|
margin 0.3s ease,
|
|
transform 0.3s ease
|
|
;
|
|
transition:
|
|
margin 0.3s ease,
|
|
transform 0.3s ease
|
|
;
|
|
}
|
|
|
|
.ui.sidebar {
|
|
position: fixed;
|
|
|
|
margin: 0 !important;
|
|
|
|
height: 100% !important;
|
|
|
|
-webkit-border-radius: !important 0px;
|
|
-moz-border-radius: !important 0px;
|
|
border-radius: !important 0px;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-ms-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
|
|
-ms-overflow-y: auto;
|
|
overflow-y: auto;
|
|
top: 0px;
|
|
right: 0px;
|
|
z-index: 999;
|
|
|
|
-webkit-transition:
|
|
margin-right 0.3s ease,
|
|
margin-top 0.3s ease
|
|
;
|
|
-moz-transition:
|
|
margin-right 0.3s ease,
|
|
margin-top 0.3s ease
|
|
;
|
|
-o-transition:
|
|
margin-right 0.3s ease,
|
|
margin-top 0.3s ease
|
|
;
|
|
-ms-transition:
|
|
margin-right 0.3s ease,
|
|
margin-top 0.3s ease
|
|
;
|
|
transition:
|
|
margin-right 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 {
|
|
right: 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-right: 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.very.thin.sidebar {
|
|
padding: 0.5em;
|
|
}
|
|
.ui.styled.thin.sidebar {
|
|
padding: 1em;
|
|
}
|
|
|
|
|
|
/*-------------------
|
|
Floating
|
|
--------------------*/
|
|
|
|
.ui.floating.sidebar {
|
|
-webkit-box-shadow: 2px 0px 2px rgba(0, 0, 0, 0.2);
|
|
-moz-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);
|
|
-moz-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 4px 4px rgba(0, 0, 0, 0.2);
|
|
-moz-box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
|
|
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.ui.bottom.floating.sidebar {
|
|
-webkit-box-shadow: 0px -4px 4px rgba(0, 0, 0, 0.2);
|
|
-moz-box-shadow: 0px -4px 4px rgba(0, 0, 0, 0.2);
|
|
box-shadow: 0px -4px 4px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
|
|
/*-------------------
|
|
Width
|
|
--------------------*/
|
|
|
|
/* Very Thin */
|
|
.ui.very.thin.sidebar {
|
|
width: 60px !important;
|
|
margin-right: -60px !important;
|
|
}
|
|
.ui.active.very.thin.sidebar {
|
|
margin-right: 0px !important;
|
|
}
|
|
.ui.active.right.very.thin.sidebar {
|
|
margin-right: -60px !important;
|
|
}
|
|
|
|
/* Thin */
|
|
.ui.thin.sidebar {
|
|
width: 200px !important;
|
|
margin-right: -200px !important;
|
|
}
|
|
.ui.active.thin.sidebar {
|
|
margin-right: 0px !important;
|
|
}
|
|
.ui.active.right.thin.sidebar {
|
|
margin-right: -200px !important;
|
|
}
|
|
|
|
/* Standard */
|
|
.ui.sidebar {
|
|
width: 275px !important;
|
|
margin-right: -275px !important;
|
|
}
|
|
.ui.active.sidebar {
|
|
margin-right: 0px !important;
|
|
}
|
|
.ui.active.right.sidebar {
|
|
margin-right: -275px !important;
|
|
}
|
|
|
|
/* Wide */
|
|
.ui.wide.sidebar {
|
|
width: 350px !important;
|
|
margin-right: -350px !important;
|
|
}
|
|
.ui.active.wide.sidebar {
|
|
margin-right: 0px !important;
|
|
}
|
|
.ui.active.right.wide.sidebar {
|
|
margin-right: -350px !important;
|
|
}
|
|
|
|
/* Very Wide */
|
|
.ui.very.wide.sidebar {
|
|
width: 475px !important;
|
|
margin-right: -475px !important;
|
|
}
|
|
.ui.active.very.wide.sidebar {
|
|
margin-right: 0px !important;
|
|
}
|
|
.ui.active.right.very.wide.sidebar {
|
|
margin-right: -475px !important;
|
|
}
|
|
|
|
|
|
|
|
/*-------------------
|
|
Height
|
|
--------------------*/
|
|
|
|
/* Standard */
|
|
.ui.top.sidebar {
|
|
margin: -40px 0px 0px 0px !important;
|
|
}
|
|
.ui.top.sidebar,
|
|
.ui.bottom.sidebar {
|
|
height: 40px !important;
|
|
}
|
|
.ui.active.bottom.sidebar {
|
|
margin-top: -40px !important;
|
|
}
|