aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Connection.scss
blob: cb7fa544acc45cd6ccc4018d29a578c890700f1c (plain) (blame)
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
@import "../colors.scss";

.connection {
  border-top: 3px solid $color-primary-3;
  border-bottom: 3px solid $color-primary-3;
  background-color: $color-primary-0;

  td {
    vertical-align: middle;
  }

  .connection-service {
    .btn {
      width: 100%;
    }

    .btn:hover {
      color: $color-primary-4;
      background-color: $color-primary-1 !important;
    }
  }

  .connection-icon {
    font-size: 18px;
    font-weight: 600;
    margin-right: 6px;
    cursor: pointer;
  }

  .connection-icon.icon-enabled {
    color: $color-secondary-2;
  }

  &:hover {
    background-color: $color-primary-2;
  }

  &.connection-selected {
    background-color: $color-primary-2;
  }

  &.has-matched-rules {
    border-bottom: 0;
  }
}

.connection-popover {
  border: none;
  background-color: $color-primary-4;

  .popover-body {
    color: $color-primary-1;

    textarea {
      font-size: 12px;
      width: 200px;
      background-color: $color-primary-3;
    }
  }

  .arrow::after {
    border-right-color: $color-primary-4;
  }
}