scripts/apps/settings/styles/settings.scss
// settings.scss
// Styling for the superdesk settings page (vertical tabs)
// ----------------------------------------------------------------------------------------
@import '~mixins.scss';
@import '~variables.scss';
.settings-page {
position: absolute;
inset-block-start: $topspace;
inset-block-end: 0;
inset-inline-start: 0;
inset-inline-end: 0;
background: #fff;
.tabbable.outer {
height: 100%;
//left stack menu
> .nav-stacked {
width: 180px;
position: absolute;
padding: 0;
inset-block-end: 0; inset-block-start:0;
inset-inline-start:0;
margin: 0;
flex-direction: column;
background: $sd-background;
border-inline-end: 1px solid #ddd;
@include box-shadow(inset -3px 0 8px -3px rgba(0,0,0,0.1));
overflow-y: auto;
> li {
> a {
border: 1px solid #eee;
border-width: 1px 0;
color: #3097b5;
padding: 10px 8px 10px 16px;
display: block;
&:hover {
background: #f5f5f5;
@include box-shadow(inset -3px 0 5px -3px rgba(0,0,0,0.1));
}
}
&.active > a {
border-color: var(--sd-colour-line--light);
position: relative;
border-radius: 0 !important;
color: var(--color-text-light);
&:hover {
background: #fff;
}
}
&:first-child {
>a {
border-top-color: $sd-background !important;
}
}
}
}
//main tab content
.tab-content.outer {
position: absolute;
inset-block-end: 0;
inset-block-start:0;
inset-inline-start:200px;
inset-inline-end: 0;
display: block;
width: auto;
.tab-pane.outer {
display: block;
.split-content {
> .nav, > .header, > header, > form .header {
border-block-end: 1px solid #dedede;
padding: 10px 20px;
h2 {
font-size: 16px;
color: $sd-text;
@include text-semibold();
float: inline-start;
line-height: $nav-height - 20;
}
}
> .nav {
padding: 0 0 0 10px;
}
.content {
padding-block-end: 20px;
}
}
}
}
}
}
// Ingest sources
// -------------------------------------
.provider-list, .sd-list-item {
.last-updated {
font-size: 1.2rem;
color: #777;
padding: 0 0.1rem;
span {
color: #aaa;
}
}
}
.addSource.modal {
input {
height: 31px;
line-height: 19px;
&.blue-text {
&::-webkit-input-placeholder {
font-style:normal !important;
}
&:-moz-placeholder {
font-style:normal !important;
}
&::-moz-placeholder {
font-style:normal !important;
}
&::-ms-input-placeholder {
font-style:normal !important;
}
}
&::-webkit-input-placeholder {
font-style:italic;
}
}
.credentials {
margin-block-start: 20px;
label {
font-size: 16px;
}
input {
float: inline-start;
width: 49%;
&.first {
margin-inline-end: 2%;
}
}
}
}
// Ruleset settings
// -------------------------------------
.ruleset-modal {
header {
padding: 10px;
}
.rule-list {
>li {
position: relative;
.order {
position: absolute;
inset-inline-start: 0;
inset-block-start: 0;
line-height: 28px;
color: #aaa;
}
.actions {
position: absolute;
inset-inline-end: 0; inset-block-start: 0;
button {
border: 0;
background: none;
}
}
fieldset {
padding: 0 40px;
.field:first-child {
padding-inline-end: 3%;
}
.field:last-child {
padding-inline-start: 3%;
}
}
}
}
}
.day-filter-box {
.sd-check__wrapper {
margin-inline-start: 0;
}
.sd-checkbox {
margin-block-end: 5px;
margin-inline-end: 4px;
}
}
.sd-page__header {
.nav-tabs {
padding: 0;
margin: 0 0 0 -10px;
box-shadow: none;
}
.flat-searchbar {
margin-inline-start: -20px;
margin-inline-end: 20px;
}
}