aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video-playlist/video-add-to-playlist.component.scss
blob: 5f9bb51a7624e68e7153ee58a475f3554a1f46db (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
@import '_variables';
@import '_mixins';

.header {
  min-width: 240px;
  padding: 6px 24px 10px 24px;

  margin-bottom: 10px;
  border-bottom: 1px solid $separator-border-color;

  .first-row {
    display: flex;
    align-items: center;

    .title {
      font-size: 18px;
      flex-grow: 1;
    }

    .options {
      display: flex;
      align-items: center;
      font-size: 14px;
      cursor: pointer;

      my-global-icon {
        @include apply-svg-color(#333);

        width: 16px;
        height: 23px;
        margin-right: 3px;
      }
    }
  }

  .options-row {
    margin-top: 10px;
    padding-left: 10px;

    > div {
      display: flex;
      align-items: center;
    }
  }
}

.dropdown-item {
  padding: 6px 24px;
}

.playlists {
  max-height: 180px;
  overflow-y: auto;
}

.input-container {
  display: flex;

  input {
    flex-grow: 1;
    margin: 0 15px 10px 15px;
  }
}

.playlist {
  display: flex;
  cursor: pointer;

  my-peertube-checkbox {
    margin-right: 10px;
  }

  .display-name {
    display: flex;
    align-items: flex-end;

    .timestamp-info {
      font-size: 0.9em;
      color: $grey-foreground-color;
      margin-left: 5px;
    }
  }
}

.new-playlist-button,
.new-playlist-block {
  padding-top: 10px;
  border-top: 1px solid $separator-border-color;
}

.new-playlist-button  {
  cursor: pointer;

  my-global-icon {
    @include apply-svg-color(#333);

    position: relative;
    left: -1px;
    top: -1px;
    margin-right: 4px;
    width: 21px;
    height: 21px;
  }
}

input[type=text] {
  @include peertube-input-text(200px);

  display: block;
}

input[type=submit] {
  @include peertube-button;
  @include orange-button;
}