@import "animate"; @import "toastr"; @import "jquery.nestable"; @import "sweetalert"; @import "select2/select2.min"; @import "select2/select2-bootstrap4"; @import "bootstrap-datepicker.min"; @import "bootstrap-material-datetimepicker"; @import "jquery.tagsinput-revisited.min"; @import "jquery.minicolors"; @import "slash_admin/colors"; @import "slash_admin/alert"; @import "slash_admin/custom"; @import "codemirror/codemirror"; @import "codemirror/theme/relax-seti"; @import "codemirror/lint/lint"; @import "colors"; @import "alert"; $pagination-padding-y: 0.4rem !default; $pagination-border-width: 0 !default; $border-radius: 0.15rem !default; @mixin main-shadow { -webkit-box-shadow: 0 10px 20px 0 rgba(46, 91, 255, 0.07); -moz-box-shadow: 0 10px 20px 0 rgba(46, 91, 255, 0.07); box-shadow: 0 10px 20px 0 rgba(46, 91, 255, 0.07); } @import "bootstrap"; @import url("https://use.fontawesome.com/releases/v5.12.1/css/all.css"); @import url("https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all"); @import url("https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.4.1/css/simple-line-icons.css"); @import url("https://fonts.googleapis.com/icon?family=Material+Icons"); @import url("https://cdn.jsdelivr.net/npm/summernote@0.8.16/dist/summernote-bs4.min.css"); body { font-family: "Open Sans", sans-serif; transition: all ease 0.6s; } h1, h2, h3, h4, h5, h6 { font-weight: 200; } .turbolinks-progress-bar { background-color: $primary; height: 3px; } a { transition: all ease 0.6s; &:hover { text-decoration: none; color: $secondary; } } .btn { cursor: pointer; } .btn-success, .btn-danger, .btn-primary, .btn-info, .btn-warning { color: #fff; &:focus, &:hover { color: #fff; } } p[data-f-id="pbf"] { display: none !important; } #admin-dashboard { background: $background; margin: 0; label.form-control-label { display: block; font-weight: 600; } label.required::after { content: "*"; margin-left: 5px; } .btn-flat { background: transparent; &:hover { background: $textColorHover; } } .card-header { margin: 0; padding: 0 0 5px 5px; } .no-break { word-break: normal; } .grey-block-form > { .form-group { background: #f9f9f9; padding: 15px; } } .remote-asset-link { word-break: break-all; } .btn-add-assoc { border-radius: 0; padding: 8px 10px; } .input-group-text { background: $input; border-color: $border; } .select2-container--bootstrap4 .select2-results__option--highlighted, .select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected="true"] { background-color: $primary; color: white; } .select2-container--bootstrap4 .select2-selection__clear { background: $primary; margin-left: 0.5rem; &:hover { background: $secondary; } } .select2-container { width: 100% !important; } .select2-dropdown { border-color: $border; background: $input; } .select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice { word-break: break-all; background: white; } .select2-container .select2-results__option--highlighted, .select2-container .select2-results__option--highlighted.select2-results__option[aria-selected="true"], .select2-container--bootstrap4 .select2-dropdown .select2-results__option[aria-selected="true"] { background-color: $primary; color: white; } .select2-container--bootstrap4.select2-container--focus .select2-selection--multiple, .select2-container--bootstrap4.select2-container--focus .select2-selection--single { border: 1px solid $border; background: $input; } .select2-container--bootstrap4 .select2-selection--multiple, .select2-container--bootstrap4 .select2-selection--single { border: 1px solid $border; background: $input; } .select2-container--bootstrap4 .select2-selection--multiple { min-height: calc(1.25rem + 2px) !important; border-radius: 0; } .select2-container .select2-search--inline .select2-search__field { background: none; } .select2-container--bootstrap4 .select2-search--dropdown .select2-search__field { border-color: $border; } .nested-fields { background: #eef1f5; padding: 10px 15px; .btn-remove { margin-top: 10px; border-radius: 0; } } .dashboard-title { color: #666; font-size: 1.6em; font-weight: 300; display: block; margin: 15px 0; } .background-default { background: #e1e5ec; padding: 15px; } .show-attr-title { font-weight: bold; text-transform: uppercase; margin-bottom: 15px; display: inline-block; } .tag-sucess { background: $green; } .tag-danger { background: $red; } .errors-json { color: $red; } .tag-boolean { width: 45px; text-align: center; display: inline-block; } .errors { color: $red; display: block; &:not(:empty) { margin-bottom: 10px; } } .field_with_errors { label { color: $red; } input { border-color: $red !important; } & + .form-control-feedback { color: $red; } } .block-language { display: block; margin: 15px 0; } .translations { color: $primary; text-transform: uppercase; font-weight: bold; font-size: 1em; } &.page-sidebar-closed { .navbar .navbar-brand { display: none !important; } .navbar .page-logo { width: 58px; } .page-container { .page-sidebar { width: 58px; ul.nav { display: flex; li.nav-item { &.active::after, &:hover::after { top: 18px; } a.nav-link { min-height: 58px; [class^="icon-"] { margin: 0; } .title { display: none; } } .sub-menu { margin-left: 58px; } } } } } } .form-control { transition: all ease 0.6s; border: 1px solid $border; background: $input; &:focus { border-color: $primary; } } .btn-file { position: relative; overflow: hidden; margin: 0; input[type="file"] { position: absolute; top: 0; right: 0; min-width: 100%; min-height: 100%; font-size: 100px; text-align: right; filter: alpha(opacity=0); opacity: 0; outline: none; background: #fff; cursor: inherit; display: block; } } .bootstrap-filestyle { .btn { margin: 0; outline: 0; } input[type="text"] { color: #9e9e9e; } } .row-end { align-items: flex-end; } .image-delete { margin-top: 5px; } .cover-image { background-size: cover; position: relative; height: 80px; width: 100%; transition: all ease 0.6s; } .image-overlay { transition: all ease 0.6s; position: absolute; width: 100%; height: 100%; background: rgba($primary, 0); .icon-zoom-image { transition: all ease 0.6s; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; opacity: 0; } &:hover { background: rgba($primary, 0.4); .icon-zoom-image { opacity: 1; } } } .image-field { display: flex; align-items: center; overflow: hidden; max-height: 80px; img, label { flex: 1; } } .label-has-one { color: $primary; } .scroll-to-top { text-align: center; position: fixed; z-index: 10001; bottom: 20px; right: 20px; border: 1px solid #687991; border-radius: 50%; padding: 2px 6px; display: none; transition: all ease 0.6s; cursor: pointer; i { display: inline-block; color: #687991; opacity: 0.7; } &:hover { transform: scale(1.2); i { opacity: 1; } } } h1.page-title { color: $textColorHover; font-size: 1.8em; font-weight: 300; small { font-size: 13px; letter-spacing: 0; font-weight: 300; } } .separator { min-height: 50px; display: block; clear: both; } .badge { font-size: 11px; font-weight: 300; height: 18px; color: #fff; padding: 3px 6px; border-radius: 12px; text-shadow: none; text-align: center; vertical-align: middle; } a.menu-toggler { color: $primary !important; transition: all 0.6s ease; float: right; margin: 23px 0 0; &:hover { opacity: 0.5; } } .dropdown-toggle { white-space: normal; } .dropdown { .dropdown-menu { padding: 0; border-radius: 0; box-shadow: 5px 5px rgba(102, 102, 102, 0.1); border: 1px solid #eee; margin-top: -6px; left: initial; .divider { background: #f1f3f6; } a.dropdown-item { padding: 8px 16px; color: #555; &:hover { background: #f6f6f6; } } &::before { position: absolute; top: -7px; right: 9px; display: inline-block; border-right: 7px solid transparent; border-bottom: 7px solid rgba(0, 0, 0, 0.2); border-left: 7px solid transparent; content: ""; } &::after { position: absolute; top: -6px; right: 10px; display: inline-block; border-right: 6px solid transparent; border-bottom: 6px solid $border; border-left: 6px solid transparent; content: ""; } } } .navbar { padding: 0; margin: 0; transition: all 0.6s ease; .right-nav-fix { img { float: left; margin-right: 7px; height: 39px; } .dropdown-toggle i { padding-left: 8px; } .nav-item { margin: 0; padding: 0; height: 68px; display: inline-block; .nav-link { margin: 0; height: 100%; display: flex; align-items: center; &.active { color: $textColorHover; } } } } .search-form-expanded { display: flex; align-items: center; ::-webkit-input-placeholder { color: #7f96ac; } :-moz-placeholder { color: #7f96ac; opacity: 1; } ::-moz-placeholder { color: #7f96ac; opacity: 1; } :-ms-input-placeholder { color: #7f96ac; } input[type="text"] { transition: all 0.6s ease; width: 150px; &:focus { width: 225px; } } .form-control { border: 0; color: #7f96ac; } } a { color: #7f96ac; &:hover { text-decoration: none; } } .navbar-collapse { width: auto; flex: 1; padding: 0 15px; } .navbar-brand { color: $primary; position: absolute; transform: translateY(-50%); top: 50%; font-weight: 200; &:hover { color: $secondary; } } .page-logo { position: relative; background: $sidebar; float: left; display: block; width: 195px; height: 68px; padding-left: 20px; padding-right: 20px; border-right: 1px solid $border; } } .dashboard-panel { background: #fff; border-radius: 10px; padding: 15px; @include main-shadow; } .line-show { margin-bottom: 15px; } .dashboard-stat { margin-bottom: 25px; .display { margin-bottom: 20px; display: block; overflow: hidden; h3 { margin: 0 0 2px; padding: 0; font-size: 30px; font-weight: 400; color: $textColorHover; small { color: $textColorHover; } } } .status { margin-top: 5px; font-size: 11px; color: $textColor; font-weight: 600; text-transform: uppercase; } .status-title { float: left; } .status-number { float: right; } .number { float: left; small { color: $textColor; font-weight: 600; text-transform: uppercase; } } .icon { float: right; padding: 7px 0 0; i { color: $primary; font-size: 26px; } } .progress { border-radius: 0; margin: 0; height: 4px; } } .page-container { display: flex; table-layout: fixed; overflow: hidden; width: 100%; .page-sidebar { width: 195px; background: $sidebar; border-right: 1px solid $border; position: relative; display: flex; ul { flex: 1; } ul.nav > { li.nav-item { position: relative; &.active { > a.nav-link { color: $textColorHover; font-weight: bold; } &::after { content: ""; float: right; position: absolute; top: 30px; right: 0; background: 0 0; width: 0; height: 0; border-style: solid; border-top: 12px double transparent; border-bottom: 12px double transparent; border-left: 0; border-right: 8px solid $border; } } &:hover { a.nav-link { color: $textColorHover; } > .sub-menu { display: inline-block; a.nav-link { &:hover { color: $textColorHover; } } } &::after { content: ""; float: right; position: absolute; top: 30px; right: 0; background: 0 0; width: 0; height: 0; border-style: solid; border-top: 12px double transparent; border-bottom: 12px double transparent; border-left: 0; border-right: 8px solid $border; } } a.nav-link { min-height: 78px; display: block; position: relative; margin: 0; border: 0; padding: 14px; text-decoration: none; font-size: 13px; font-weight: 300; text-align: center; color: $textColor; overflow: hidden; border-radius: 0; .title { display: block; text-align: center; margin-top: 5px; } i { top: 2px; font-size: 24px; text-shadow: none; text-align: center; color: $primary; } } .sub-menu { @include main-shadow; width: 195px; margin-left: 195px; background: $sidebar; top: 0; z-index: 9999; position: absolute; list-style: none; display: none; padding: 9px 15px; tr, a { color: $textColor; transition: all 0.6s ease; cursor: pointer; &.active { color: $textColorHover; font-weight: bold; } &:hover { cursor: pointer; color: $textColorHover; } i { color: $primary; } .badge { float: right; margin-top: 1px; margin-right: 0; } .title { font-size: 13px; float: left; display: block; } } } } } } .page-content { flex: 1; margin-top: 0; min-height: 100vh; padding: 0 35px; overflow: auto; } } .breadcrumb { padding: 10px 15px; border: 1px solid rgba(121, 133, 166, 0.1); @include main-shadow; background-color: #fff; margin: 20px 0; border-radius: 0; display: flex; overflow: hidden; .breadcrumb-item { color: #888; font-size: 13px; text-shadow: none; i { margin-right: 2px; } } } .portlet { background: #fff; margin-bottom: 25px; border: 1px solid rgba(121, 133, 166, 0.1); @include main-shadow; } .btn-circle { border-radius: 99px; } i.fix-dropdown { float: right; padding-top: 3px; } .title-data_new { color: $primary; text-transform: uppercase; font-weight: bold; padding: 10px 0; display: flex; align-items: center; } .portlet-title { border-bottom: 1px solid rgba(121, 133, 166, 0.1); padding: 10px 20px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; .caption { text-transform: uppercase; font-weight: bold; padding: 10px 0; display: flex; align-items: center; .btn { margin-right: 10px; } } .actions { float: right; padding: 10px 0; .dropdown { display: inline-block; } a { padding: 4px 10px; font-size: 0.9em; line-height: 1.5; } } } .portlet-body { padding: 10px 20px 20px; } .datepicker table tr td.active, .datepicker table tr td.active:hover, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled:hover { background: $primary !important; color: #fff; text-shadow: none; } .datepicker { border-radius: 0; @include main-shadow; border: 1px solid #efefef; table { td, th { color: #000; font-weight: 300 !important; padding: 5px; } td.new, td.old { color: #999; } tr { td { span { width: 28%; } } } } * { border-radius: 0 !important; margin: 0 5px; text-transform: capitalize; } i { font-size: 9px; } } .table-data-list { border-color: rgba(121, 133, 166, 0.1) !important; margin-top: 1rem; background: #fff; font-size: 0.9em; .fit { white-space: nowrap; width: 1px; } tr.filters { ::-webkit-input-placeholder { color: #999aa6; font-weight: 300; } :-moz-placeholder { color: #999aa6; font-weight: 300; opacity: 1; } ::-moz-placeholder { color: #999aa6; font-weight: 300; opacity: 1; } :-ms-input-placeholder { color: #999aa6; font-weight: 300; } .input-group + .input-group { margin-top: 0.5rem; } .select2-container--bootstrap4 .select2-selection--single .select2-selection__choice, .select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice { display: flex; clear: both; } .form-control { height: 33px; border-radius: 0; &.fix-id-search { min-width: 35px; text-align: center; padding: 4px 1px; } + .form-control { margin-top: 0.5rem; } } select { border-radius: 0; padding: 0; } .btn { border-radius: 0; height: auto; } } th, td { padding: 8px 10px; vertical-align: middle; border-color: #e7ecf1; } img { max-height: 30px; } &.table-striped tbody tr:nth-of-type(odd) { background: #fbfcfd; } tr.heading th { background: #fbfcfd; font-weight: 600; border-bottom: 0; } .actions { text-align: center; } &.table-hover > tbody > tr:hover > td { background-color: #f3f4f6; } .ordered { cursor: pointer; &::after { content: "\f0dc"; font-family: "Font Awesome 5 Free"; color: $textColorHover; float: right; } } .asc { &::after { content: "\f0dd"; font-family: "Font Awesome 5 Free"; color: $blue; float: right; } } .desc { &::after { content: "\f0de"; font-family: "Font Awesome 5 Free"; color: $blue; float: right; } } } .pagination-panel-total, .pagination-panel-total-count { font-weight: bold; } .head-data-list { display: flex; justify-content: space-between; overflow: visible; } .block-batch { font-size: 0.9em; display: flex; align-items: center; .dropdown { display: inline-block; } .count { display: inline-block; padding-left: 5px; } .batch-current-selected { font-weight: bold; } } .slick-track { margin: 0 auto; } .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { color: #464a4c; background-color: #fff; border-color: #ddd #ddd #fff; border-radius: 0; } .tab-content { padding: 30px 20px 20px; border: 1px solid #ddd; background: #fff; border-top: 0; } .sweet-alert { border-radius: 2px; .btn { padding: 8px 14px; border-radius: 2px; } h2 { font-size: 23px; padding-top: 5px; } p { font-size: 16px; margin-bottom: 25px; } } .datatable_wrapper { .tag { font-size: 13px; padding: 2px 5px; color: #fff; text-transform: uppercase; } } #toast-container { box-shadow: none; > div { opacity: 1; box-shadow: none; &hover { box-shadow: none; } } > .toast-success { background-color: rgba($success, 0.9); } > .toast-error { background-color: rgba($error, 0.9); } > .toast-info { background-color: rgba($info, 0.9); } > .toast-warning { background-color: rgba($notice, 0.9); } } .toast { border-radius: 0; } .minicolors-theme-default.minicolors { display: inline-flex; align-items: center; } .minicolors-theme-default .minicolors-input { height: 40px; padding-left: 40px; } .minicolors-theme-default .minicolors-swatch { width: 18px; height: 18px; left: 10px; top: auto; } .dd-handle { height: auto; padding: 7px 10px; } .tagsinput input { outline: 0 !important; } } .devise { min-height: 100vh; background: white; /* Change Autocomplete styles in Chrome*/ input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus, select:-webkit-autofill, select:-webkit-autofill:hover, select:-webkit-autofill:focus { border: 1px solid $border; -webkit-box-shadow: 0 0 0 1000px white inset; transition: background-color 5000s ease-in-out 0s; } .separator, .section-separator { width: 100%; clear: both; } .separator { height: 15px; } .section-midle-separator { height: 30px; } .section-separator { height: 45px; } .cookies-eu, .cookies-eu-button-holder, .cookies-eu-content-holder { display: flex; line-height: normal; } .btn-submit { padding: 0.375rem 3rem; } .form-control { border: 1px solid $border; background: white; border-color: $border; border-radius: 3px; } .row-center { justify-content: center; align-items: center; min-height: 100vh; } .fix-col { display: flex; align-items: center; justify-content: center; } .cookies-eu .cookies-eu-button-holder .cookies-eu-ok { padding: 6px; min-width: auto; background: rgba($primary, 0.83); line-height: normal; margin-right: 10px; } .cookies-eu { justify-content: center; align-items: center; background: rgba($primary, 0.83); border: 0; color: white; line-height: normal; padding: 8px; } label { font-size: 0.85em; color: $textColor; text-transform: uppercase; margin-bottom: 0.25rem; font-weight: bold; } .legals-session { padding-top: 10px; } a { color: $textColor; &:hover, &:focus, &:active { color: $primary; } } .cookies-eu-button-holder { align-items: center; a { color: #fff; &:hover { color: #fff; } } } .container-fluid-devise { min-height: 100vh; overflow: auto; } .main-title { font-weight: 200; margin: 0; word-break: break-word; } .sub-title { font-size: 0.9em; color: $textColor; } .login-form-user { width: 80%; margin: 0 auto; } @media (max-width: 576px) { .login-form-user { width: 100%; transform: initial; position: relative; padding: 25px; } } /* Small devices (tablets, 768px and up) */ @media (max-width: 825px) { .login-form-user { width: 80%; transform: initial; position: relative; padding: 25px; } .row-center { justify-items: initial; align-items: initial; } } /* Medium devices (desktops, 992px and up) */ @media (min-width: 992px) { .login-form-user { width: 80%; padding: 25px; } } /* Large devices (large desktops, 1200px and up) */ @media (min-width: 1200px) { .login-form-user { width: 65%; } } @media (min-width: 1600px) { .login-form-user { width: 45%; } } }