/* * 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 font-awesome *= require animate *= require toastr *= require jquery.nestable *= require sweetalert *= require selectize *= require bootstrap-datepicker *= 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: .4rem !default; $pagination-border-width: 0 !default; $border-radius: .15rem !default; @import 'bootstrap'; @import 'font-awesome'; @import 'https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.6.0/css/froala_editor.pkgd.min.css'; @import 'https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.6.0/css/froala_style.min.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'); body { font-family: 'Open Sans', sans-serif; } h1, h2, h3, h4, h5, h6 { font-weight: 200; } .turbolinks-progress-bar { background-color: $primary; height: 3px; } .btn { cursor: pointer; } .btn-success, .btn-danger, .btn-primary, .btn-info, .btn-warning { color: #fff; &:focus, &:hover { color: #fff; } } #admin-dashboard { background: $secondary; 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; } } .grey-block-form > { .form-group { background: #f9f9f9; padding: 15px; } } .btn-add-assoc { border-radius: 0; padding: 8px 10px; } .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; } .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: 54px; } .page-container { .page-sidebar { width: 54px; ul.nav { li.nav-item { &.active::after, &:hover::after { top: 18px; } a.nav-link { min-height: 54px; [class^=icon-] { margin: 0; } .title { display: none; } } ul.sub-menu { margin-left: 54px; } } } } .page-content { margin-left: 54px; } } } .form-control { transition: all ease .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; } } .image { width: 300px; min-width: 300px; display: inline-block; margin-right: 25px; background: #fff; } .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 .6s; cursor: pointer; i { display: inline-block; color: #687991; opacity: .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: #eee !important; transition: all .6s; float: right; margin: 23px 0 0; &:hover { opacity: .5; } } .dropdown-toggle { font-size: .95em; white-space: normal; &::after { border: 0; } } .dropdown { .dropdown-menu { width: 195px; padding: 0; border-radius: 0; box-shadow: 5px 5px rgba(102, 102, 102, .1); border: 1px solid #eee; right: 0; margin-top: -6px; left: initial; .divider { background: #f1f3f6; } a.dropdown-item { padding: 8px 16px; color: #555; font-size: .95em; &: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, .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; box-shadow: 0 1px 10px 0 rgba(50, 50, 50, .2); color: #7f96ac; transition: all .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 .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: #fff; position: absolute; transform: translateY(-50%); top: 50%; font-weight: 200; &:hover { color: #fff; } } .page-logo { position: relative; background: $primary; float: left; display: block; width: 195px; height: 68px; padding-left: 20px; padding-right: 20px; } } .dashboard-panel { background: #fff; border: 1px solid #e7ecf1; padding: 15px 15px 30px; } .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 { font-size: 14px; 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; } } .selectize-input { box-shadow: none; border: 1px solid #c2cad8; } .page-container { display: block; .page-sidebar { width: 195px; float: left; position: relative; margin-right: -100%; ul.nav > { li.nav-item { position: relative; &.active { background: #1f2b3d; a.nav-link { color: #fff; i { color: $primary; } } &::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 { background: #232f44; > ul.sub-menu { display: inline-block; } &::after { content: ''; float: right; position: absolute; right: 0; top: 26px; 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 #1c2637; } } 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: #c3cee0; border-top: 1px solid #2b3b55; overflow: hidden; border-radius: 0; .title { display: block; text-align: center; margin-top: 5px; } i { top: 2px; font-size: 24px; text-shadow: none; font-weight: 300; text-align: center; color: #4d5d7c; } } ul.sub-menu { width: 194px; margin-left: 195px; background: #1c2637; top: 0; z-index: 9999; position: absolute; padding: 0; list-style: none; display: none; box-shadow: 5px 5px rgba(48, 48, 48, .2); li.nav-item { background: none; color: #c3cee0; &::after { border: 0; } a.nav-link.active { background: #212d41; } &:hover { a.nav-link { background: #212d41; } } a.nav-link { min-height: inherit; padding: 9px 15px; margin: 3px; border: 0; color: #c3cee0; &.active { color: #fff; } i { margin-right: 8px; font-size: 16px; line-height: 16px; text-shadow: none; font-weight: 300; text-align: center; color: #5d7bad; float: left; } .badge { float: right; margin-top: 1px; margin-right: 0; } .title { margin-top: 0; font-size: 13px; float: left; } } } } } } } .page-content { margin-left: 195px; margin-top: 0; min-height: calc(100vh - 68px); padding: 25px 20px 10px; background: $tertiary; } } .breadcrumb { padding: 10px 15px; border: 1px solid #e7ecf1; 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 #e7ecf1; } .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 #eee; padding: 10px 20px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; .caption { color: $primary; 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: .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, .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; font-size: 14px; text-transform: capitalize; } i { font-size: 9px; } } .selectize-control.multi .selectize-input [data-value] { background: #f2f2f2; color: #333; border: 0; border-radius: 0; text-shadow: none; box-shadow: none; margin-bottom: 3px; } .selectize-dropdown [data-selectable], .selectize-dropdown .optgroup-header { min-height: 28px; } .selectize-control.plugin-remove_button [data-value] .remove { border-color: #d4d4d4; } .selectize-control.multi .selectize-input > div { margin-bottom: 0; } .selectize-dropdown [data-selectable], .selectize-dropdown .optgroup-header { min-height: 28px; } .table-data-list { border-color: #e7ecf1 !important; margin-top: 1rem; font-size: .95em; .fit { white-space: nowrap; width: 1px; } .selectize-input { max-width: 150px; } 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; } th, td { border-bottom-width: 3px; } .selectize-input { margin-top: 5px; padding: 5px 8px; border-radius: 0; } .input-group + .input-group { margin-top: .5rem; } .form-control { height: 30px; border-radius: 0; &.fix-id-search { min-width: 35px; text-align: center; padding: 4px 1px; } + .form-control { margin-top: .5rem; } } select { border-radius: 0; padding: 0; } .btn { border-radius: 0; height: auto; } .input-group-addon { 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; font-size: 14px; border-color: #e7ecf1; } img { max-height: 30px; } &.table-striped tbody tr:nth-of-type(odd) { background: #fbfcfd; } tr.heading th { background: #fbfcfd; font-size: 14px; 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: 'FontAwesome'; color: $lightgrey; float: right; } } .asc { &::after { content: '\f0dd'; font-family: 'FontAwesome'; color: $blue; float: right; } } .desc { &::after { content: '\f0de'; font-family: 'FontAwesome'; color: $blue; float: right; } } } .pagination-panel { font-size: .9em; display: flex; align-items: center; *:not(i) { margin-right: 5px; } .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; } } .admin-pagination { display: inline-block; } .pagination-panel-total, .pagination-panel-total-count { font-weight: bold; } .head-data-list { overflow: visible; } .fix-block-head { display: inline-block; } .block-batch { font-size: .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 { font-size: 14px; 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 { > div { opacity: 1; &hover { box-shadow: none; } } > .toast-success { background-color: rgba($success, .9); } > .toast-error { background-color: rgba($error, .9); } > .toast-info { background-color: rgba($info, .9); } > .toast-warning { background-color: rgba($notice, .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: .9em; } .container-fluid-admin { 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: #1c2c41; color: #fff; width: 45%; h2 { margin-bottom: 25px; } .links-form { a { color: #47566c; text-decoration: none; &:hover { color: #47566c; } } } i { font-size: 1.5em; color: $primary; } .form-control { box-shadow: none; } .input-group { margin-bottom: 20px; } .content { padding: 35px; } .content-login { padding: inherit; } .input-group-addon { border-radius: 0; padding-bottom: 15px; } input[type="submit"] { cursor: pointer; background: #304158; color: #fff; border-radius: 3px; border: 0; display: block; width: 100%; padding: 12px; margin-top: 35px; &:hover { background: darken(#304158, 5%); } } input[type="text"], input[type="email"], input[type="password"] { background-color: transparent; border: 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-addon { background-color: transparent; border: 0; border-bottom: 1px solid #47566c; color: #fff; padding-bottom: 15px; padding-top: 12px; } } } @media (max-width: 768px) { #admin-user { .login-form { width: 85%; } } } @media (min-width: 769px) and (max-width: 992px) { #admin-user { .login-form { width: 35%; } } } @media (min-width: 993px) { #admin-user { .login-form { width: 30%; } } }