/* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path. * * You're free to add application-wide styles to this file and they'll appear at the bottom of the * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS * files in this directory. Styles in this file should be added after the last require_* statement. * It is generally better to create a new file per style scope. * *= require animate *= require toastr *= require jquery.nestable *= require sweetalert *= require select2.min *= require bootstrap-datepicker.min *= require bootstrap-material-datetimepicker *= require jquery.tagsinput-revisited.min *= require jquery.minicolors *= require slash_admin/colors *= require slash_admin/alert *= require codemirror/codemirror *= require codemirror/theme/relax-seti *= require codemirror/lint/lint *= require_self *= require slash_admin/custom *= require_tree . */ @import "slash_admin/colors"; @import "slash_admin/alert"; $pagination-padding-y: 0.4rem !default; $pagination-border-width: 0 !default; $border-radius: 0.15rem !default; @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: $pink; height: 3px; } a { transition: all ease 0.6s; color: $pink; &:hover { color: darken($primary, 5%); } } i { transition: all ease 0.6s; } .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: $tertiary; padding-top: 68px; margin: 0; label.form-control-label { display: block; font-weight: 600; } label.required::after { content: "*"; margin-left: 5px; } .btn-flat { background: transparent; &:hover { background: $lightgrey; } } .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; } .select2-results__option[aria-disabled="true"] { background: $lightgrey !important; } .select2-container .select2-results__option--highlighted, .select2-container .select2-results__option--highlighted.select2-results__option[aria-selected=true] { background-color: $primary; color: white; } .select2-container--default.select2-container--focus .select2-selection--multiple, .select2-container--default.select2-container--focus .select2-selection--single { border: 1px solid #c2cad8; } .select2-container--default .select2-selection--multiple, .select2-container--default .select2-selection--single { border: 1px solid #c2cad8; border-radius: 0; height: calc(1.5em + 0.75rem + 2px); padding: 0.375rem 0.75rem; } .select2-container--default .select2-selection--single .select2-selection__rendered, .select2-container--default .select2-selection--multiple .select2-selection__rendered, { padding: 0; line-height: 24px; } .select2-container--default .select2-selection--single .select2-selection__arrow, .select2-container--default .select2-selection--single .select2-selection__arrow{ height: 32px; } .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; } } ul.sub-menu { margin-left: 58px; } } } } } } .form-control { transition: all ease 0.6s; border: 1px solid #c2cad8; &:focus { border-color: #93a1bb; } } .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 .6s; } .image-overlay { transition: all ease .6s; position: absolute; width: 100%; height: 100%; background: rgba($primary, .0); .icon-zoom-image { transition: all ease .6s; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; opacity: 0; } &:hover { background: rgba($primary, .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: $grey; font-size: 1.8em; font-weight: 300; small { font-size: 13px; letter-spacing: 0; font-weight: 300; color: #888; } } .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; } .navbar-light { background: #fff; } a.menu-toggler { color: $pink !important; transition: all 0.6s; 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 #fff; border-left: 6px solid transparent; content: ""; } } } .navbar { padding: 0; margin: 0; background: #fff; 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; &:hover { background: #f9fafc; } &.active { color: #fff; } } } } .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 { background: #fff; width: auto; flex: 1; padding: 0 15px; } .navbar-brand { color: #fff; position: absolute; transform: translateY(-50%); top: 50%; font-weight: 200; .icon-menu { color: $pink; } &:hover { color: #fff; } } .page-logo { position: relative; background: $sidebar; float: left; display: block; width: 195px; height: 68px; padding-left: 20px; padding-right: 20px; } } .dashboard-panel { background: #fff; border-radius: 10px; padding: 15px 15px 30px; box-shadow: 0px 1px 15px 1px rgba(69,65,78,0.08); } .line-show { margin-bottom: 15px; } .dashboard-stat { .display { margin-bottom: 20px; display: block; overflow: hidden; h3 { margin: 0 0 2px; padding: 0; font-size: 30px; font-weight: 400; color: #666d71; small { color: #666d71; } } } .status { margin-top: 5px; font-size: 11px; color: #aab5bc; font-weight: 600; text-transform: uppercase; } .status-title { float: left; } .status-number { float: right; } .number { float: left; small { color: #aab5bc; font-weight: 600; text-transform: uppercase; } } .icon { float: right; padding: 7px 0 0; i { color: #cbd4e0; 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; position: relative; display: flex; ul { flex: 1; } ul.nav > { li.nav-item { position: relative; &.active { background: darken($sidebar, 8%); > a.nav-link { color: #fff; i { color: $pink !important; } } &::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 $tertiary; } } &:hover { a.nav-link { color: #fff; i { color: $pink; } } > ul.sub-menu { display: inline-block; a.nav-link { &:hover { color: #fff; i { color: $pink; } } } } &::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 $pink; } } 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: $blueIcon; } } ul.sub-menu { width: 195px; margin-left: 195px; background: darken($sidebar, 8%); top: 0; z-index: 9999; position: absolute; padding: 0; list-style: none; display: none; li.nav-item { background: none; color: $textColor; &::after { border: 0; } a.nav-link.active { background: darken($sidebar, 8%); i { color: $pink !important; } } &:hover { a.nav-link { background: darken($sidebar, 8%); } } a.nav-link { min-height: inherit; padding: 9px 15px; border: 0; color: $textColor; &.active { color: #fff; } i { margin-right: 8px; font-size: 16px; line-height: 16px; text-shadow: none; text-align: center; color: $blueIcon; float: left; } .badge { float: right; margin-top: 1px; margin-right: 0; } .title { margin-top: 0; font-size: 13px; float: left; display: block; } } } } } } } .page-content { flex: 1; margin-top: 0; min-height: 100vh; padding: 25px 20px 10px; overflow: auto; } } .breadcrumb { padding: 10px 15px; border: 1px solid rgba(121,133,166,0.1); box-shadow: 0px 1px 15px 1px rgba(69,65,78,0.08); 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); box-shadow: 0px 1px 15px 1px rgba(69,65,78,0.08); } .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 { color: $pink; 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; box-shadow: 5px 5px rgba(102, 102, 102, 0.1); 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: .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--default .select2-selection--multiple, .select2-container--default .select2-selection--single { height: initial; padding: 0 4px; } .select2-container--default .select2-selection--single .select2-selection__arrow, .select2-container--default .select2-selection--single .select2-selection__arrow{ height: initial; } .select2-container--default .select2-selection--single .select2-selection__arrow, .select2-container--default .select2-selection--single .select2-selection__arrow{ height: initial; } .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; } .input-group-prepend { height: 30px; border-radius: 0; background: #ececec; padding: 5px; border: 1px solid #c2cad9; border-left: 0; color: #656971; } } 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: $lightgrey; 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 { font-size: 0.9em; display: flex; align-items: center; *:not(i) { margin-right: 0 !important; } .btn, .input-group, .input-group-btn { display: inline-block; width: inherit; } .btn-prev, .btn-next { color: #666; background-color: #e1e5ec; border-color: #e1e5ec; padding: 5px 10px; border-radius: 0; cursor: pointer; height: 30px; line-height: 18px; &.disabled { background-color: #f7f8fa; border-color: #eceef3; } &:hover, &:active, &:focus { background-color: #c2cad8; border-color: #bcc5d4; } } input[type="text"] { border: 1px solid #c2cad8; text-align: center; width: 45px; outline: 0 !important; height: 30px; padding: 5px 10px; font-size: 12px; line-height: 1.5; } .form-control { display: inline-block; width: auto; height: 30px !important; } select { padding: 0; } } .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; } } #admin-user { input:-webkit-autofill, input:-webkit-autofill:active, input:-webkit-autofill:focus, input:-webkit-autofill:hover { transition: background-color 9999999s ease-in-out 0s; -webkit-text-fill-color: #fff !important; } .failed-login { color: $red; text-align: center; display: block; font-size: 0.9em; } .container-fluid-admin { min-height: 100vh; } .bckg-dark { background: url("https://source.unsplash.com/1920x1080/?landscape") center fixed; background-size: cover; } .centered { left: 50%; position: fixed; top: 50%; transform: translate(-50%, -50%); } .title-login { font-weight: 200; } .login-form { background: $sidebar; color: #fff; width: 25%; margin: 0 auto 25px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); h2 { color: #fff; } .links-form { a { color: $blueIcon; text-decoration: none; &:hover { color: darken($blueIcon, 5%); } } } i { font-size: 1.5em; color: $blueIcon; } .form-control { box-shadow: none; } .input-group { margin-bottom: 40px; } .content { padding: 35px; } .content-login { padding: inherit; } .input-group-prepend { border-radius: 0; padding-bottom: 15px; } input[type="submit"] { cursor: pointer; background: $pink; color: #fff; border-radius: 3px; border: 0; display: block; width: 100%; padding: 12px; margin-top: 35px; &:hover { background: darken($pink, 5%); } } input[type="text"], input[type="email"], input[type="password"] { background-color: transparent; border: 0; border-radius: 0; border-bottom: 1px solid #47566c; color: #fff; padding: 8px 12px 8px 35px; width: 100%; float: left; margin-left: -20px; caret-color: $primary; } .input-group-prepend { background-color: transparent; border: 0; color: #fff; padding-top: 5px; } } } /* Small devices (tablets, 768px and up) */ @media (max-width: 768px) { #admin-user { .login-form { width: 80%; } } } /* Medium devices (desktops, 992px and up) */ @media (min-width: 992px) { #admin-user { .login-form { width: 45%; } } } /* Large devices (large desktops, 1200px and up) */ @media (min-width: 1200px) { #admin-user { .login-form { width: 26%; input[type="submit"] { width: 100%; } } .app-logo { margin: 0 0 25px; } } } @media (min-width: 1600px) { #admin-user { .login-form { width: 20%; input[type="submit"] { width: 100%; } } .app-logo { margin: 0 0 25px; } } }