mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-28 22:54:18 +01:00
344 lines
4.7 KiB
SCSS
344 lines
4.7 KiB
SCSS
|
/*layout*/
|
||
|
.header,
|
||
|
.footer{
|
||
|
min-height: 50px;
|
||
|
padding: 0 15px;
|
||
|
> p{
|
||
|
margin-top: 15px;
|
||
|
display: inline-block;
|
||
|
}
|
||
|
> .btn,
|
||
|
> .btn-group,
|
||
|
> .btn-toolbar,
|
||
|
{
|
||
|
margin-top: 14px;
|
||
|
}
|
||
|
> .btn-lg{
|
||
|
margin-top: 0;
|
||
|
}
|
||
|
.nav-tabs {
|
||
|
border: none;
|
||
|
margin-left: -15px;
|
||
|
margin-right: -15px;
|
||
|
> li {
|
||
|
a{
|
||
|
border: none !important;
|
||
|
border-radius: 0;
|
||
|
padding-top: 15px;
|
||
|
padding-bottom: 15px;
|
||
|
line-height: 20px;
|
||
|
&:hover,
|
||
|
&:focus
|
||
|
{
|
||
|
background-color: transparent;
|
||
|
}
|
||
|
}
|
||
|
&.active a{
|
||
|
color: $text-color;
|
||
|
&,
|
||
|
&:hover{
|
||
|
background-color: $body-bg;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
&.nav-white{
|
||
|
> li.active a{
|
||
|
&,
|
||
|
&:hover{
|
||
|
background-color: #fff;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
&.navbar{
|
||
|
border-radius: 0;
|
||
|
border: none;
|
||
|
margin-bottom: 0;
|
||
|
padding:0;
|
||
|
position: relative !important;
|
||
|
z-index: 1000;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.header {
|
||
|
background-color: $header-bg;
|
||
|
@include box-shadow(0 1px 0px #cfcfcf);
|
||
|
}
|
||
|
|
||
|
|
||
|
.heading {
|
||
|
|
||
|
.heading-btn {
|
||
|
a {
|
||
|
width: 100%;
|
||
|
padding: 35px 40%;
|
||
|
display: inline-block;
|
||
|
cursor: pointer;
|
||
|
color: black;
|
||
|
&:hover {
|
||
|
background-color: $yellow;
|
||
|
}
|
||
|
i:before { content: "\f177"; }
|
||
|
}
|
||
|
}
|
||
|
.heading-title {
|
||
|
overflow: hidden;
|
||
|
height: 94px;
|
||
|
h1 {
|
||
|
margin: 0 0 0 15px;
|
||
|
padding: 36px 15px;
|
||
|
}
|
||
|
}
|
||
|
.heading-actions {
|
||
|
height: 94px;
|
||
|
text-align: center;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
body.container{
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.aside-md{
|
||
|
width: 250px;
|
||
|
}
|
||
|
|
||
|
@media (min-width: 768px) {
|
||
|
body.container{
|
||
|
@include box-shadow(0 3px 60px rgba(0,0,0,0.3));
|
||
|
border-left: 1px solid darken($border-color, 10%);
|
||
|
border-right: 1px solid darken($border-color, 10%);
|
||
|
}
|
||
|
.app{
|
||
|
&,
|
||
|
body{
|
||
|
height:100%;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
.hbox{
|
||
|
&.stretch{
|
||
|
height:100%;
|
||
|
}
|
||
|
}
|
||
|
.vbox{
|
||
|
> section,
|
||
|
> footer{
|
||
|
position: absolute;
|
||
|
}
|
||
|
&.flex{
|
||
|
> section{
|
||
|
> section{
|
||
|
overflow: auto;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.hbox{
|
||
|
display: table;
|
||
|
table-layout: fixed;
|
||
|
border-spacing: 0;
|
||
|
width: 100%;
|
||
|
> aside,
|
||
|
> section{
|
||
|
display: table-cell;
|
||
|
vertical-align: top;
|
||
|
height: 100%;
|
||
|
float: none;
|
||
|
&.show,
|
||
|
&.hidden-sm {
|
||
|
display: table-cell !important;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.vbox{
|
||
|
display: table;
|
||
|
border-spacing:0;
|
||
|
position: relative;
|
||
|
height: 100%;
|
||
|
width: 100%;
|
||
|
> section,
|
||
|
> footer {
|
||
|
top: 0;
|
||
|
bottom: 0;
|
||
|
width: 100%;
|
||
|
}
|
||
|
> header{
|
||
|
~ section {
|
||
|
top: 50px;
|
||
|
}
|
||
|
&.header-md{
|
||
|
~ section {
|
||
|
top: $header-md-height+2;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
> section{
|
||
|
&.w-f{
|
||
|
bottom: 50px;
|
||
|
}
|
||
|
}
|
||
|
> footer {
|
||
|
top: auto;
|
||
|
z-index: 100;
|
||
|
~ section {
|
||
|
bottom: 50px;
|
||
|
}
|
||
|
}
|
||
|
&.flex{
|
||
|
> header,
|
||
|
> section,
|
||
|
> footer {
|
||
|
position: inherit;
|
||
|
}
|
||
|
> section{
|
||
|
display: table-row;
|
||
|
height: 100%;
|
||
|
> section {
|
||
|
position: relative;
|
||
|
height: 100%;
|
||
|
-webkit-overflow-scrolling:touch;
|
||
|
.ie & {
|
||
|
display: table-cell;
|
||
|
}
|
||
|
> section {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.aside-xs{
|
||
|
width: 60px;
|
||
|
}
|
||
|
.aside-sm{
|
||
|
width: 150px;
|
||
|
}
|
||
|
.aside{
|
||
|
width: 200px;
|
||
|
}
|
||
|
.aside-md{
|
||
|
width: 250px;
|
||
|
}
|
||
|
.aside-lg{
|
||
|
width: 300px;
|
||
|
}
|
||
|
.aside-xl{
|
||
|
width: 360px;
|
||
|
}
|
||
|
.aside-xxl{
|
||
|
width: 480px;
|
||
|
}
|
||
|
|
||
|
.header-md{
|
||
|
height: $header-md-height;
|
||
|
.navbar-form{
|
||
|
margin-top: floor( ($header-md-height - 30)/2 );
|
||
|
margin-bottom: floor( ($header-md-height - 30)/2 );
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.scrollable{
|
||
|
-webkit-overflow-scrolling:touch;
|
||
|
}
|
||
|
|
||
|
::-webkit-scrollbar {
|
||
|
width: 10px;
|
||
|
height: 10px;
|
||
|
}
|
||
|
::-webkit-scrollbar-thumb {
|
||
|
background-color:rgba(50,50,50,0.25);
|
||
|
border: 2px solid transparent;
|
||
|
border-radius: 10px;
|
||
|
background-clip: padding-box;
|
||
|
}
|
||
|
::-webkit-scrollbar-thumb:hover{
|
||
|
background-color:rgba(50,50,50,0.5);
|
||
|
}
|
||
|
::-webkit-scrollbar-track {
|
||
|
background-color:rgba(50,50,50,0.05);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.scrollable{
|
||
|
overflow-x: hidden;
|
||
|
overflow-y: auto;
|
||
|
}
|
||
|
|
||
|
.no-touch {
|
||
|
.scrollable.hover {
|
||
|
overflow-y: hidden;
|
||
|
&:hover
|
||
|
{
|
||
|
overflow: visible;
|
||
|
overflow-y: auto;
|
||
|
}
|
||
|
}
|
||
|
::-webkit-scrollbar-button {
|
||
|
width: 10px;
|
||
|
height: 6px;
|
||
|
background-color:rgba(50,50,50,0.05);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.slimScrollBar{
|
||
|
border-radius: 5px;
|
||
|
border: 2px solid transparent;
|
||
|
border-radius: 10px;
|
||
|
background-clip: padding-box !important;
|
||
|
}
|
||
|
|
||
|
|
||
|
@media print {
|
||
|
html, body, .hbox, .vbox{
|
||
|
height: auto;
|
||
|
}
|
||
|
.vbox{
|
||
|
> section,
|
||
|
> footer{
|
||
|
position: relative;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
.datepicker-container {
|
||
|
position: relative;
|
||
|
z-index: 100;
|
||
|
}
|
||
|
|
||
|
.datepicker-dropdown {
|
||
|
border: 1px solid #c7c5c5;
|
||
|
border-radius: 0.3em;
|
||
|
padding-top: 0.5em;
|
||
|
padding-bottom: 0.5em;
|
||
|
position: absolute;
|
||
|
right:0;
|
||
|
left: 0;
|
||
|
background-color: #ffffff;
|
||
|
|
||
|
li {
|
||
|
padding-left: 0.8em;
|
||
|
padding-right: 0.8em;
|
||
|
margin-bottom: 1em;
|
||
|
line-height: 2.4em;
|
||
|
vertical-align: middle;
|
||
|
|
||
|
div.input-group {
|
||
|
float:right;
|
||
|
|
||
|
ul.dropdown-menu {
|
||
|
left: -5em !important;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|