File: /var/www/html/phpmyfaq/admin/assets/scss/style.scss
/**
* phpMyFAQ 3.0 default layout for admin
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/.
*
* @package phpMyFAQ
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
* @copyright 2010-2022 phpMyFAQ Team
* @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
* @link https://www.phpmyfaq.de
* @since 2010-01-17
*/
// Import variables
@import 'variables.scss';
// Import Bootstrap
@import '~bootstrap';
// Import global styles
@import 'global.scss';
@import 'utilities.scss';
// Custom Components
@import 'dropdowns.scss';
@import 'navs.scss';
@import 'buttons.scss';
@import 'cards.scss';
@import 'error.scss';
@import 'footer.scss';
// Fork Awesome
$fa-font-path: '~fork-awesome/fonts';
@import '~fork-awesome/scss/fork-awesome';
//
// Login
//
.pmf-form-login {
width: 100%;
max-width: 330px;
padding: 15px;
margin: auto;
.checkbox {
font-weight: 400;
}
.form-control {
position: relative;
box-sizing: border-box;
height: auto;
padding: 10px;
font-size: 16px;
}
.form-control:focus {
z-index: 2;
}
input[type='text'] {
margin-bottom: -1px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
input[type='password'] {
margin-bottom: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
}
//
// DASHBOARD
//
.card-columns,
.card-deck {
.card {
margin-bottom: 0.75rem;
}
}
//
// GROUP ADMIN
//
#group_data {
margin-top: 1rem;
}
//
// SECTION ADMIN
//
#section_data {
margin-top: 1rem;
}
//
// SETUP
//
.setup-content,
.setup-footer {
border-top: 1px solid darkgray;
margin-top: 1rem;
padding-top: 1rem;
}
//
// TYPEAHEAD SEARCH
//
.typeahead {
width: 100%;
height: 2rem;
padding: 0;
font-size: 1rem;
line-height: 1.2rem;
border: none;
outline: none;
&.dropdown-menu {
background-color: transparent !important;
li {
background-color: rgba(255, 255, 255, 0.9);
border-left: 1px solid rgba(0, 0, 0, 0.2);
border-right: 1px solid rgba(0, 0, 0, 0.2);
&:first-child {
border-top: 1px solid rgba(0, 0, 0, 0.2);
}
&:last-child {
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
}
}
}
//
// CATEGORIES
//
.category-header {
cursor: pointer;
}
.list-group.list-group-root {
padding: 0;
overflow: hidden;
&.list-group {
margin-bottom: 0;
}
&.list-group-item {
border-radius: 0;
border-width: 1px 0 0 0;
border-right: none !important;
cursor: pointer;
}
& > .list-group-item:first-child {
border-top-width: 0;
}
& > .list-group {
& > .list-group-item {
padding-left: 30px;
}
& > .list-group {
& > .list-group-item {
padding-left: 45px;
}
}
}
}
.list-group-item {
cursor: move;
&.fas {
margin-right: 5px;
}
}
.list-group-item-action[data-toggle='collapse'] {
cursor: pointer;
}
.collapse {
display: none;
&.show {
display: block;
}
}
//
// CONFIGURATION
//
.pmf-configuration-panel {
background: $white;
border-left: 1px solid $border-color;
border-right: 1px solid $border-color;
}
//
// TinyMCE
//
label.mce-label {
max-width: none;
}
.mce-file {
cursor: pointer;
line-height: 36px;
&:hover {
text-decoration: underline;
}
}
.mce-file-preview {
border: 1px solid $gray-900;
margin-right: 16px;
max-height: 32px;
max-width: 32px;
}