summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE-common/client/app/styles/ng-dialog.less
blob: d5ecff671e05692d305c6b3ecc0fa92833f96377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.ngdialog.ngdialog-theme-default.ng-scope {
.ngdialog-content {
        background-color: @portalWhite;
        padding: 0;
        box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.5);
        border-radius: 4px;
        top: -100px;
    .title {
            margin: 0 16px;
            height: 48px;
            line-height: 48px;
        }

    .ngdialog-close {
            top: 6px;
            right: 6px;
        }
    .app-roles-main {
            margin: 20px 16px 0;
        }
    }
}

//#need fix!!!
.ngdialog.ngdialog-theme-default .ngdialog-content {
    width: 580px;
    padding: 16px;
}

.ngdialog.ngdialog-theme-default.confirm-box .ngdialog-content{
  @height: 160px;
  @width: 400px;

  width: @width;
  height: @height;
  padding: 20px;
  position: absolute;
  top: 300px;
  left: ~"calc(50% - @{width}/2)";
}


.dialog-control {
  position: absolute;
  bottom: 16px;
  right: 16px;
  .next-button {
    display: inline-block;
    .btn-blue;
    width: 90px;
    margin-right: 10px;
  }
  .cancel-button {
    display: inline-block;
    .btn-blue;
    width: 90px;
  }
  .save-button {
    display: inline-block;
    .btn-blue;
    width: 90px;
  }
  .back-button {
    display: inline-block;
    .btn-blue;
    width: 90px;
    margin-right: 10px;
  }

}