Files
pathfinder/sass/layout/_dialogs.scss
2020-04-06 17:45:47 +02:00

367 lines
7.5 KiB
SCSS

.modal-content, .panel-body {
// dialog headline ==========================================================
h2 {
font-family: $font-family-sans-serif;
letter-spacing: 0;
font-size: $font-size-h5;
margin: 20px 0 10px 0;
line-height: normal;
}
h2, h4 {
&.pf-dynamic-area {
min-height: 0;
margin: 0 0 10px 0;
& > img {
margin: -10px 5px -10px -10px;
width: 35px;
}
}
// collapse-able headline =================================================
&[data-toggle="collapse"] {
cursor: pointer;
&:hover {
&:after {
color: $orange !important;
}
}
&:after {
content: "\f078";
font-family: "Font Awesome 5 Free";
font-style: normal;
font-weight: bold;
font-size: 13px;
padding-right: 10px;
position: absolute;
color: $orange;
top: 10px;
right: 6px;
will-change: transform, color;
@extend .pf-animate-rotate;
@extend .fa-fw;
}
&.collapsed {
&:after {
top: 13px;
right: 5px;
color: $gray-light;
@include rotate(90deg);
}
}
}
}
}
.modal-content {
// data tables ==============================================================
.dataTables_wrapper{
+ .alert{
margin-top: 10px;
}
}
.dataTable, .table{
font-size: 10px;
font-family: $font-family-bold;
}
// horizontal line ==========================================================
hr{
margin: 5px 0 15px 0;
border-color: $gray-light;
}
// well =====================================================================
.well{
margin-bottom: 0; // overwrite default
.list-inline{
margin-bottom: 0; // overwrite default
}
}
// checkbox list ============================================================
@media (min-width: $screen-sm-min) {
.fa-tree-child + .checkbox{
margin-left: 5px;
display: inline-block;
float: none;
width: unset;
}
}
// form wizard ==============================================================
.pf-wizard-navigation{
margin: 0;
li{
&:not(:last-child):before{
border-top: 1px solid $gray-light;
content: "";
display: block;
font-size: 0;
overflow: hidden;
position: relative;
top: 12px;
left: 71px;
right: 1px;
width: 100%;
}
&.finished{
&:before{
border-image: linear-gradient(to right, $teal-dark, $teal-dark) 1 1%;
border-bottom: 0;
}
}
&.active{
&:before{
border-image: linear-gradient(to right, $brand-success, $gray-light) 1 1%;
border-bottom: 0;
}
}
& > h6{
color: $gray-light;
font-size: 11px;
margin: 5px;
}
a:hover{
& + h6{
color: $gray-lighter;
}
}
&.active a:not(.btn-danger){
@extend .btn-success;
& + h6{
color: $gray-lighter;
}
}
}
}
}
// notification dialog ========================================================
#pf-notification-dialog{
h1{
will-change: transform;
}
}
// settings dialog ============================================================
#pf-settings-dialog{
// smaller buttons
.form-group .btn-sm{
padding: 4px 7px 3px;
}
// captcha image
#pf-dialog-captcha-wrapper{
margin: 0;
padding: 3px 0;
min-height: 35px; // captcha img has dynamic height. Height should not change on captcha reload
}
}
// map settings dialog ========================================================
#pf-map-dialog{
#pf-map-dialog-character-select,
#pf-map-dialog-corporation-select,
#pf-map-dialog-alliance-select{
width: 535px; // just to bring fields "in line" with each other
}
}
#pf-route-dialog{
#pf-route-dialog-map-select{
width: 300px !important;
}
}
// shortcuts dialog ===========================================================
#pf-shortcuts-dialog{
td kbd{
& + i {
width: 16px;
}
&:last-of-type + i{
display: none
}
}
}
// map manual dialog ==========================================================
#pf-manual-scrollspy{
position: relative;
height: 700px;
overflow: auto;
.list-unstyled.well{
display: inline-block;
}
h2:first-of-type{
margin-top: 0;
}
}
// add system dialog ==========================================================
#pf-system-dialog{
.form-control-static.pf-dynamic-area{
padding: 7px;
min-height: 32px;
}
}
.pf-system-dialog-select{
width: 300px !important;
}
// task-manager dialog ========================================================
#pf-task-dialog{
.pf-task-dialog-status{
min-height: inherit;
}
h4>small.pull-right{
font-family: Arial, sans-serif;
font-weight: bold;
margin-top: -5px;
}
}
// map info dialog ============================================================
#pf-map-info-logs {
margin-bottom: 10px;
}
// statistics dialog ==========================================================
#pf-stats-dialog{
.pf-dynamic-area{
margin-bottom: 10px;
}
}
// structure dialog ===========================================================
#pf-structure-dialog{
#pf-structure-dialog-corporation-select, #pf-structure-dialog-type-select{
width: 267px !important;
}
}
// connection log dialog ======================================================
#pf-connection-info-dialog{
#pf-connection-info-dialog-type-select, #pf-connection-info-dialog-character-select{
width: 310px !important;
}
}
// signature reader dialog ====================================================
.pf-sig-reader-dialog{
h4 {
margin-top: 8px;
.pf-system-progress-scanned{
display: inline-block;
margin-left: 20px;
width: calc(100% - 255px);
.progress{
margin-bottom: 2px;
}
}
.progress-label-right{
margin-left: 8px;
vertical-align: middle;
font-size: 11px;
opacity: 0.65;
}
}
#pf-sig-info{
margin-bottom: 10px;
}
.pf-sig-table-info{
tbody{
pointer-events: none; // disables "hover" effect for rows/cells
}
// disabled xEditable table cells should have the "enabled" color
.editable-click.editable-disabled{
color: inherit;
}
}
}
// jump info dialog ===========================================================
.pf-jump-info-dialog{
blockquote{
margin-top: 15px;
margin-bottom: 5px;
}
}
// changelog
.pf-changelog-dialog{
.pf-dynamic-message-container{
margin-bottom: 20px;
}
}
// system effect dialog =======================================================
.pf-system-effect-dialog{
.dataTable{
border-collapse: collapse; // required vor column highlight (hover) -> prevents jumping when border gets attached
}
}
// credits dialog =============================================================
.pf-credits-dialog{
.pf-credits-logo-background{
overflow: visible;
background: var(--bg-image);
background-position-y: -50px; // nicer image viewport
padding: 15px;
margin-bottom: 20px;
> svg {
height: 80px;
width: 90px;
}
> h3 {
position: absolute;
top: 5px;
right: 15px;
margin: 0;
}
}
.pf-dynamic-area{
min-height: 50px;
}
.dl-horizontal{
display: inline-block;
width: 48%;
}
.btn{
padding: 0;
}
blockquote{
font-size: 14px;
}
}