sarga/packages/Webkul/Admin/src/Resources/assets/sass/app.scss

222 lines
4.5 KiB
SCSS
Raw Normal View History

2018-06-25 11:00:42 +00:00
// Fonts
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,500");
2018-06-20 05:06:27 +00:00
// Variables
@import "variables";
2018-06-25 11:00:42 +00:00
@import "mixins";
body {
margin: 0;
color: $font-color;
font-family: $font-family;
font-size: $font-size-base;
font-weight: 500;
2018-07-02 09:29:27 +00:00
position: static;
min-height: 100%;
2018-06-25 11:00:42 +00:00
}
2018-07-12 07:12:48 +00:00
.navbar-top {
2018-06-20 05:06:27 +00:00
height: 60px;
2018-07-12 07:12:48 +00:00
background: #ffffff;
2018-06-25 11:00:42 +00:00
font-size: 0;
2018-07-12 07:12:48 +00:00
@include box-shadow(0 3px 6px 0 rgba(0, 0, 0, 0.05));
2018-06-25 11:00:42 +00:00
border-bottom: 1px solid $border-color;
2018-07-02 09:29:27 +00:00
position: fixed;
left: 0;
right: 0;
z-index: 5;
2018-06-25 11:00:42 +00:00
.navbar-top-left {
width: 50%;
height: 60px;
display: inline-block;
vertical-align: middle;
.brand-logo {
padding: 10px;
}
}
.navbar-top-right {
width: 50%;
height: 60px;
text-align: right;
display: inline-block;
vertical-align: middle;
2018-07-12 07:12:48 +00:00
.profile-info {
2018-06-25 11:00:42 +00:00
display: inline-block;
vertical-align: middle;
text-align: left;
min-width: 50px;
position: relative;
padding: 12px 0px;
margin: 0px 25px 0px 30px;
font-size: 15px;
cursor: pointer;
position: relative;
.dropdown-list {
top: 63px;
}
2018-07-12 07:12:48 +00:00
2018-06-25 11:00:42 +00:00
.name {
color: #000311;
display: block;
text-align: left;
}
.role {
font-size: 14px;
2018-07-12 07:12:48 +00:00
color: #8e8e8e;
2018-06-25 11:00:42 +00:00
display: block;
text-align: left;
}
i.icon {
margin-left: 10px;
}
}
2018-07-12 07:12:48 +00:00
}
2018-06-25 11:00:42 +00:00
}
.navbar-left {
position: absolute;
top: 60px;
bottom: 0;
width: 90px;
padding-top: 20px;
height: auto;
border-right: 1px solid $border-color;
z-index: 2;
ul.menubar {
li.menu-item {
height: 90px;
padding: 10px 5px;
font-size: 11px;
text-align: center;
text-transform: uppercase;
a {
2018-07-12 07:12:48 +00:00
color: #a2a2a2;
2018-06-25 11:00:42 +00:00
}
&.active {
a {
2018-07-12 07:12:48 +00:00
color: #0041ff;
2018-06-25 11:00:42 +00:00
}
}
}
}
}
.content-container {
padding-left: 90px;
position: absolute;
margin-top: 60px;
top: 0px;
2018-07-02 09:29:27 +00:00
right: 0;
left: 0;
2018-06-25 11:00:42 +00:00
bottom: 0px;
z-index: 1;
2018-07-02 09:29:27 +00:00
overflow-x: hidden;
overflow-y: auto;
2018-07-12 07:12:48 +00:00
2018-06-25 11:00:42 +00:00
.aside-nav {
width: 280px;
2018-07-02 09:29:27 +00:00
position: fixed;
top: 60px;
2018-06-25 11:00:42 +00:00
bottom: 0;
border-right: 1px solid $border-color;
2018-07-12 07:12:48 +00:00
background: #f8f9fa;
2018-06-25 11:00:42 +00:00
padding-top: 10px;
2018-07-02 09:29:27 +00:00
overflow-y: auto;
z-index: 4;
2018-06-25 11:00:42 +00:00
a {
padding: 15px;
display: block;
color: #000311;
}
.active {
a {
background: #ffffff;
border-top: 1px solid $border-color;
border-bottom: 1px solid $border-color;
}
i {
float: right;
}
}
}
2018-07-02 09:29:27 +00:00
.content-wrapper {
padding: 25px 25px 25px 305px;
overflow-y: auto;
}
2018-06-25 11:00:42 +00:00
.content {
2018-07-02 09:29:27 +00:00
padding: 25px 0;
2018-06-26 12:55:09 +00:00
2018-07-02 09:29:27 +00:00
&.full-page {
padding: 25px;
}
2018-07-12 07:12:48 +00:00
2018-06-26 12:55:09 +00:00
.page-header {
display: block;
.page-title {
float: left;
}
.page-action {
float: right;
}
}
.page-content {
width: 100%;
display: inline-block;
}
2018-06-25 11:00:42 +00:00
}
2018-07-12 07:12:48 +00:00
}
//style for dummy datagrid
// .page-content {
// .table-container {
// .search-filter-wrapper {
// display: inline-block;
// box-sizing: border-box;
// width: 100%;
// padding-top: 7px;
// padding-bottom: 7px;
// .search-products {
// width: 300px;
// border: 2px solid $border-color;
// border-radius: 3px;
// height: 30px;
// padding-left: 5px;
// }
// .icon-wrapper {
// margin: 0px;
// display: inline-block;
// vertical-align: middle;
// border: 1px solid #c7c7c7;
// border-radius: 4px;
// padding-left: 5px;
// padding-right: 5px;
// .search-icon {
// height: 24px;
// width: 24px;
// }
// }
// }
// }
// }