File tree Expand file tree Collapse file tree 6 files changed +17
-9
lines changed
directives/modals/modalGeneric Expand file tree Collapse file tree 6 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 6666@import " modals/modals-fork" ;
6767@import " modals/modals-rename" ;
6868@import " modals/modals-sidebar" ;
69+ @import " modals/modals-error" ;
6970
7071// popovers
7172@import " popover/popover" ;
Original file line number Diff line number Diff line change 11.modal-environment {
2- max-width : 600px ;
3- min-width : 450px ;
4- top : 0 ;
52
63 .modal-body {
74 border-bottom : 1px solid rgba ($black ,.1 );
Original file line number Diff line number Diff line change 1+ .modal-error .well-code {
2+ height : auto ;
3+ line-height : 1.2 ;
4+ max-height : none ;
5+ padding : 12px ;
6+ }
Original file line number Diff line number Diff line change 66 right : 0 ;
77 top : 0 ;
88 transform : translate3d (0 ,0 ,0 );
9- transition : transform .2 s ease-in ;
9+ transition : transform .15 s ease-in ;
1010 width : 210px ;
1111 z-index : $z-modal-sidebar ;
1212
Original file line number Diff line number Diff line change 22.modal-backdrop {
33 align-items : center ;
44 animation : fade- in .3s ease-in forwards ;
5- background : rgba ($black ,.3 );
5+ background : rgba ($black ,.45 );
66 display : flex ;
77 flex-direction : column ;
88 height : 100vh ;
2828 box-shadow : 0 0 30px rgba ($black ,.12 );
2929 color : $gray-dark ;
3030 margin : auto ;
31- min-width : 420px ;
31+ max-width : 75vw ;
32+ min-width : 370px ;
3233 position : relative ;
3334
3435 @include media (xs) {
36+ max-width : calc (100vw - 30px );
3537 min-width : 360px ;
3638 width : calc (100% - 30px );
3739 }
120122
121123// main.modal-body
122124.modal-body {
125+ max-height : calc (100vh - 153px );
126+ overflow-y : auto ;
123127
124128 // validation in modals:
125129 .validate-wrapper {
Original file line number Diff line number Diff line change 1- .modal-dialog (
2- ng-class = "{in: data.in}"
1+ .modal-dialog.modal-error (
32 ng-click = "$event.stopPropagation()"
43)
54 header.modal-header
65 h1.modal-heading Something went wrong.
76 section.modal-body
8- p .modal-description (
7+ .modal-description.well.well-code.gray (
98 ng-repeat = "error in data.errors track by $index"
109 ) {{ error | errJSON }}
10+
1111 footer.modal-footer
1212 button.btn.white (
1313 ng-click = "defaultActions.cancel()"
You can’t perform that action at this time.
0 commit comments