aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/buttons/action-dropdown.component.scss
blob: a4fcceeee25f5203f1b2f2b6a23563a6c89e7aa7 (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
@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-color;
  }

  .icon-action {
    @include icon(21px);

    background-image: url('../../../assets/images/video/more.svg');
    top: -1px;
  }

  &.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%;
    }
  }
}