summaryrefslogtreecommitdiffstats
path: root/browser/components/newtab/content-src/components/ConfirmDialog/_ConfirmDialog.scss
blob: ca9940ffc56dd61c1aaf7ed2c200b9eab5f754de (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
.confirmation-dialog {
  .modal {
    box-shadow: $shadow-secondary;
    left: 0;
    margin: auto;
    position: fixed;
    right: 0;
    top: 20%;
    width: 400px;
  }

  section {
    margin: 0;
  }

  .modal-message {
    display: flex;
    padding: 16px;
    padding-bottom: 0;

    p {
      margin: 0;
      margin-bottom: 16px;
    }
  }

  .actions {
    border: 0;
    display: flex;
    flex-wrap: nowrap;
    padding: 0 16px;

    button {
      margin-inline-end: 16px;
      padding-inline-end: 18px;
      padding-inline-start: 18px;
      white-space: normal;
      width: 50%;

      &.done {
        margin-inline-end: 0;
        margin-inline-start: 0;
      }
    }
  }

  .icon {
    margin-inline-end: 16px;
  }
}

.modal-overlay {
  background: var(--newtab-overlay-color);
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 11001;
}

.modal {
  background: var(--newtab-background-color-secondary);
  border: $border-secondary;
  border-radius: 5px;
  font-size: 15px;
  z-index: 11002;
}