aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/components/ui/modal
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2021-03-23 19:17:37 +0000
committerChristophe Closset <christophe.closset@intl.att.com>2021-03-24 07:09:23 +0000
commiteb57d1efc197968a4073b331b2dc8f40d8109847 (patch)
tree2a5fbddd3afb741bc0a9543a06110dd73a7b7d08 /catalog-ui/src/app/ng2/components/ui/modal
parentb2c0528da052b5c73e3fc1f7f98d22578acd91f0 (diff)
Fix 46 CRITICAL BUGs
Change-Id: Id354491665a1d8c25a7c1f3e83fcb4d146ca2f37 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3529
Diffstat (limited to 'catalog-ui/src/app/ng2/components/ui/modal')
-rw-r--r--catalog-ui/src/app/ng2/components/ui/modal/modal.component.less232
1 files changed, 117 insertions, 115 deletions
diff --git a/catalog-ui/src/app/ng2/components/ui/modal/modal.component.less b/catalog-ui/src/app/ng2/components/ui/modal/modal.component.less
index 03b2a70667..75cfb95e86 100644
--- a/catalog-ui/src/app/ng2/components/ui/modal/modal.component.less
+++ b/catalog-ui/src/app/ng2/components/ui/modal/modal.component.less
@@ -1,145 +1,147 @@
@import '../../../../../assets/styles/variables';
@import '../../../../../assets/styles/mixins';
@import '../../../../../assets/styles/sprite-old';
-/deep/ modal {
- display: none;
+
+/deep/ .modal {
+ display: none;
}
.custom-modal {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 15007;
- overflow: visible;
- margin: auto;
- display: flex;
- align-items: center;
-
- .ng2-modal-content {
- background: #fff;
- width: 100%;
- box-shadow: 0 5px 15px rgba(0,0,0,.5);
- border-radius: 4px;
-
-
- .ng2-modal-body{
- padding: 20px;
- }
-
- .ng2-modal-header{
- .m_18_r;
- font-weight: bold;
-
- -webkit-box-flex: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
-
- height: 50px;
- line-height: 50px;
- margin: 0px 20px;
-
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
-
- text-align: left;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-
- &.ng-draggable {
- cursor: move;
- user-select: none;
- }
-
- &.modal-type-standard {
- border-bottom: solid 3px @main_color_a;
- }
-
- &.modal-type-error {
- border-bottom: solid 3px @func_color_q;
- }
-
- &.modal-type-alert{
- border-bottom: solid 3px @main_color_h;
- }
-
- .title{
- .s_18_r;
- -webkit-box-flex: 999;
- -ms-flex-positive: 999;
- flex-grow: 999;
- }
- .close-button{
- .sprite;
- .sprite.x-btn-black;
- cursor: pointer;
- }
- }
-
- .ng2-modal-footer{
- background-color: @tlv_color_t;
- padding: 17px 30px;
- clear: both;
- -webkit-box-flex: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: end;
- -ms-flex-pack: end;
- justify-content: flex-end;
- border-radius: 4px;
- button{
- margin: 0 12px 0 6px;
- }
- }
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: 15007;
+ overflow: visible;
+ margin: auto;
+ display: flex;
+ align-items: center;
+
+ .ng2-modal-content {
+ background: #fff;
+ width: 100%;
+ box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
+ border-radius: 4px;
+
+
+ .ng2-modal-body {
+ padding: 20px;
}
-}
-.modal-background {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- background-color: #000;
- opacity: 0.5;
- z-index: 900;
-
- &.transparent {
- background-color: transparent;
+ .ng2-modal-header {
+ .m_18_r;
+ font-weight: bold;
+
+ -webkit-box-flex: 1;
+ -ms-flex-positive: 1;
+ flex-grow: 1;
+
+ height: 50px;
+ line-height: 50px;
+ margin: 0px 20px;
+
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+
+ text-align: left;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+
+ &.ng-draggable {
+ cursor: move;
+ user-select: none;
+ }
+
+ &.modal-type-standard {
+ border-bottom: solid 3px @main_color_a;
+ }
+
+ &.modal-type-error {
+ border-bottom: solid 3px @func_color_q;
+ }
+
+ &.modal-type-alert {
+ border-bottom: solid 3px @main_color_h;
+ }
+
+ .title {
+ .s_18_r;
+ -webkit-box-flex: 999;
+ -ms-flex-positive: 999;
+ flex-grow: 999;
+ }
+
+ .close-button {
+ .sprite;
+ .sprite.x-btn-black;
+ cursor: pointer;
+ }
}
+
+ .ng2-modal-footer {
+ background-color: @tlv_color_t;
+ padding: 17px 30px;
+ clear: both;
+ -webkit-box-flex: 1;
+ -ms-flex-positive: 1;
+ flex-grow: 1;
+ display: -webkit-box;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ -webkit-box-pack: end;
+ -ms-flex-pack: end;
+ justify-content: flex-end;
+ border-radius: 4px;
+
+ button {
+ margin: 0 12px 0 6px;
+ }
+ }
+ }
}
+.modal-background {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ background-color: #000;
+ opacity: 0.5;
+ z-index: 900;
+
+ &.transparent {
+ background-color: transparent;
+ }
+}
.xl {
- width: 1200px;
+ width: 1200px;
}
.l {
- width: 875px;
+ width: 875px;
}
.md {
- width: 650px;
+ width: 650px;
}
.sm {
- width: 552px;
+ width: 552px;
}
.xsm {
- width: 432px;
+ width: 432px;
}
body.modal-open {
- overflow: hidden;
+ overflow: hidden;
}