summaryrefslogtreecommitdiffstats
path: root/app/common/styles/elements/inline-confirm.scss
blob: c65e5defd50c6d78a427178d1820481ba9d07869 (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

// inline confirmation message
.inline__confirm {
  position: absolute;
  top: 0;
  transform: translateY(-103%);
  width: 100%;
  height: 100%;
  z-index: 5;
  background: $darkbg__primary;
  color: $white;
  padding: 2em 2em 1.55em 2em;
  overflow: hidden;
  @include fastTransition-all;
  &.active {
    transform: translateY(0);
    @include fastTransition-all;
  }
}

// Power confirmation buttons
.inline__confirm-buttons {
  margin-left: 1.8em;
  .btn-primary {
    background: transparent;
    border: 2px solid $white;
    padding: 1em 2.2em;
    margin: 0 10px;
    border-radius: 4px;
    &:focus,
    &.default {
      background: $primebtn__bg;
      border: 2px solid $primebtn__bg;
    }
    &:hover {
      background: darken($primebtn__bg, 10%);
      border: 2px solid $primebtn__bg;
    }
  }
  @media (min-width: 900px) {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

// confirmation message
.inline__confirm-message {
  display: inline-block;
  font-weight: 400;
}

// Power confirmation message icon
.inline__confirm-message i::before {
  content: '\26A0';
  color: $status-warn;
  display: inline-block;
  font-size: 2em;
  vertical-align: middle;
  font-style: normal;
  margin-right: 15px;
}
OpenPOWER on IntegriCloud