aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/buttons/action-dropdown.component.scss
blob: 985b2ca8844da898537e0e4a69b544295c71abbe (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
@import '_variables';
@import '_mixins';

.dropdown-divider:last-child {
  display: none;
}

.action-button {
  @include peertube-button;

  &.grey {
    @include grey-button;
  }

  &.orange {
    @include orange-button;
  }

  display: inline-block;
  padding: 0 10px;

  &::after {
    display: none;
  }

  &:hover, &:active, &:focus {
    background-color: $grey-background-color;
  }

  .more-icon {
    width: 21px;
  }

  &.small {
    font-size: 14px;
    height: 20px;
    line-height: 20px;
  }
}

.dropdown-toggle::after {
  position: relative;
  top: 1px;
}

.dropdown-menu {
  .dropdown-item {
    cursor: pointer;
    color: #000 !important;

    a, span {
      display: block;
      width: 100%;
    }
  }
}