summaryrefslogtreecommitdiff
path: root/src/assets/styles/bmc/_sila/_modal.scss
blob: 5f40d5e1e18fce5237224d0ef355b558f9e9e0eb (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
72
73
74
75
76
77
.modal-dialog {
  margin: 20vh auto 0;
}

.modal-content {
  border-radius: $border-radius;
}

.modal-header {
  border-bottom: none;

  .close {
    padding: 0 1.4rem 0 0;
    margin-top: -2rem;
    font-weight: normal;
    color: theme-color("dark");
    opacity: 1;
    &:hover {
      background-color: none;
    }
    }
  .modal-title {
    font-size: 1.25rem !important;
    font-weight: 500;
    line-height: 1.3;
  }
}

.modal-header {
  align-items: center;
}

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

.file-input_container >
.custom-file {
  height: 100%;
}

  .custom-file-input ~ .custom-file-label {
    background-color: transparent;
  border: 1px dashed $text-tretiatry;
  box-sizing: border-box;
  border-radius: $border-radius;
  height: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  white-space: normal;
  justify-content: center;
}


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

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

#modal-dns,
#configure-connection {
  .modal-body {
    > form {
      width: 100%;
    }
  }
}