summaryrefslogtreecommitdiff
path: root/src/assets/styles/bmc/_sila/custom/_modal.scss
blob: 803d95d83f0c657fd03d01be55fbad14c1f178b7 (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
.modal-dialog {
  margin: 25vh auto 0;
}

.modal-content {
  border-radius: 16px;
}

.modal-header {
  align-items: center;
  border-bottom: 1px solid $faint-secondary-primary-10;
  .close {
    font-weight: normal;
    color: theme-color("dark");
    opacity: 1;
  }
}

.modal-body {
  display: flex;
  justify-content: flex-start;
}

.modal-footer {
  border-top: 1px solid $faint-secondary-primary-10;
}

#modal-reset .modal-body {
  flex-direction: column;
}

#generate-csr .custom-select,
#upload-certificate .custom-select,
#modal-user .custom-select {
  background-color: transparent;
  border: 1px solid $on-surface-tretiatry;
  border-radius: 4px;
  background-image: url('~@/assets/images/_sila/icon-chevron.svg');
}

// file-input-modal
.modal-file-body {
  display: flex;
  padding: 0;
  justify-content: center;
}

.file-input_container > .custom-file {
  width: 432px;
  height: 357px;
}

.custom-file-input ~ .custom-file-label {
  background-color: transparent;
  border: 1px dashed rgba(12, 28, 41, 0.6);
  box-sizing: border-box;
  border-radius: 8px;
  width: 432px;
  height: 357px;
  display: flex;
  align-items: center;
  text-align: center;
  white-space: normal;
  justify-content: center;
}

.custom-file-input ~ .custom-file-label::after {
  display: none;
}