Skip to content
Snippets Groups Projects
Commit 070de825 authored by Winnie Hellmann's avatar Winnie Hellmann
Browse files

Adjust modal style to new design

parent 21bb3933
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -122,7 +122,7 @@
>
<button
type="button"
class="btn pull-left"
class="btn"
:class="btnCancelKindClass"
@click="emitCancel($event)"
data-dismiss="modal"
Loading
Loading
@@ -132,7 +132,7 @@
<button
v-if="primaryButtonLabel"
type="button"
class="btn pull-right js-primary-button"
class="btn js-primary-button"
:disabled="submitDisabled"
:class="btnKindClass"
@click="emitSubmit($event)"
Loading
Loading
.modal-header {
background-color: $modal-body-bg;
padding: #{3 * $grid-size} #{2 * $grid-size};
 
.page-title {
Loading
Loading
@@ -8,6 +9,7 @@
 
.modal-body {
background-color: $modal-body-bg;
min-height: $modal-body-height;
position: relative;
padding: #{3 * $grid-size} #{2 * $grid-size};
 
Loading
Loading
@@ -20,6 +22,30 @@
}
}
 
.modal-footer {
display: flex;
flex-direction: row;
.btn + .btn {
margin-left: $grid-size;
}
@media (max-width: $screen-xs-max) {
flex-direction: column;
.btn + .btn {
margin-left: 0;
margin-top: $grid-size;
}
}
@media (min-width: $screen-sm-min) {
.btn:first-of-type {
margin-left: auto;
}
}
}
body.modal-open {
overflow: hidden;
}
Loading
Loading
@@ -32,12 +58,6 @@ body.modal-open {
}
}
 
@media (min-width: $screen-md-min) {
.modal-dialog {
width: 860px;
}
}
@media (min-width: $screen-lg-min) {
.modal-full {
width: 98%;
Loading
Loading
Loading
Loading
@@ -194,6 +194,6 @@ $modal-body-bg: $white-light;
//** Modal footer border color
// $modal-footer-border-color: $modal-header-border-color
 
// $modal-lg: 900px
// $modal-md: 600px
$modal-lg: 860px;
$modal-md: 540px;
// $modal-sm: 300px
Loading
Loading
@@ -733,3 +733,8 @@ $popup-box-shadow-color: rgba(90, 90, 90, 0.05);
Multi file editor
*/
$border-color-settings: #e1e1e1;
/*
Modals
*/
$modal-body-height: 134px;
#modal-create-new-dir.modal
.modal-dialog
.modal-dialog.modal-lg
.modal-content
.modal-header
%a.close{ href: "#", "data-dismiss" => "modal" } ×
Loading
Loading
#modal-upload-blob.modal
.modal-dialog
.modal-dialog.modal-lg
.modal-content
.modal-header
%a.close{ href: "#", "data-dismiss" => "modal" } ×
Loading
Loading
---
title: Adjust modal style to new design
merge_request: 16310
author:
type: other
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment