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.
 
 
 

104 lines
2.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;
width: 275px !important;
height: 100% !important;
-webkit-border-radius: !important 0px;
-moz-border-radius: !important 0px;
border-radius: !important 0px;
-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;
}
/*******************************
Types
*******************************/
.ui.sidebar {
margin-right: -275px !important;
}
.ui.right.sidebar {
right: 100%;
margin: 0px !important;
}
.ui.top.sidebar {
margin: -40px 0px 0px 0px !important;
width: 100% !important;
height: 40px !important;
}
.ui.bottom.sidebar {
width: 100% !important;
height: 40px !important;
top: 100%;
margin: 0px !important;
}
/*******************************
States
*******************************/
.ui.active.sidebar {
margin-right: 0px !important;
}
.ui.active.right.sidebar {
margin-right: -275px !important;
}
.ui.active.top.sidebar {
margin-top: 0px !important;
}
.ui.active.bottom.sidebar {
margin-top: -40px !important;
}
/*******************************
Variations
*******************************/
.ui.floating.sidebar {
-webkit-box-shadow: 3px 0px 3px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 3px 0px 3px rgba(0, 0, 0, 0.2);
box-shadow: 3px 0px 3px rgba(0, 0, 0, 0.2);
}
.ui.right.floating.sidebar {
-webkit-box-shadow: -3px 0px 3px rgba(0, 0, 0, 0.2);
-moz-box-shadow: -3px 0px 3px rgba(0, 0, 0, 0.2);
box-shadow: -3px 0px 3px rgba(0, 0, 0, 0.2);
}
.ui.top.floating.sidebar {
-webkit-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
}
.ui.bottom.floating.sidebar {
-webkit-box-shadow: 0px -5px 5px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0px -5px 5px rgba(0, 0, 0, 0.2);
box-shadow: 0px -5px 5px rgba(0, 0, 0, 0.2);
}