diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-12 15:28:54 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-13 12:02:21 +0100 |
commit | 17119e4a546522468878cf115558b17949ab50d0 (patch) | |
tree | 3f130cfd7fdccf5aeeac9beee941750590239047 /client/src/app/+my-library/my-history/my-history.component.scss | |
parent | b4bc269e5517849b5b89052f0c1a2c01b6f65089 (diff) | |
download | PeerTube-17119e4a546522468878cf115558b17949ab50d0.tar.gz PeerTube-17119e4a546522468878cf115558b17949ab50d0.tar.zst PeerTube-17119e4a546522468878cf115558b17949ab50d0.zip |
Reorganize left menu and account menu
Add my-settings and my-library in left menu
Move administration below my-library
Split account menu: my-setting and my library
Diffstat (limited to 'client/src/app/+my-library/my-history/my-history.component.scss')
-rw-r--r-- | client/src/app/+my-library/my-history/my-history.component.scss | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/client/src/app/+my-library/my-history/my-history.component.scss b/client/src/app/+my-library/my-history/my-history.component.scss new file mode 100644 index 000000000..9eeeaf310 --- /dev/null +++ b/client/src/app/+my-library/my-history/my-history.component.scss | |||
@@ -0,0 +1,59 @@ | |||
1 | @import '_variables'; | ||
2 | @import '_mixins'; | ||
3 | |||
4 | .no-history { | ||
5 | display: flex; | ||
6 | justify-content: center; | ||
7 | margin-top: 50px; | ||
8 | font-weight: $font-semibold; | ||
9 | font-size: 16px; | ||
10 | } | ||
11 | |||
12 | .top-buttons { | ||
13 | margin-bottom: 20px; | ||
14 | display: flex; | ||
15 | align-items: center; | ||
16 | flex-wrap: wrap; | ||
17 | |||
18 | .history-switch { | ||
19 | display: flex; | ||
20 | flex-grow: 1; | ||
21 | |||
22 | label { | ||
23 | margin: 0 0 0 5px; | ||
24 | } | ||
25 | } | ||
26 | |||
27 | .delete-history { | ||
28 | @include peertube-button; | ||
29 | @include grey-button; | ||
30 | @include button-with-icon; | ||
31 | |||
32 | font-size: 15px; | ||
33 | } | ||
34 | } | ||
35 | |||
36 | .video { | ||
37 | @include row-blocks; | ||
38 | |||
39 | .my-video-miniature { | ||
40 | flex-grow: 1; | ||
41 | } | ||
42 | } | ||
43 | |||
44 | @media screen and (max-width: $mobile-view) { | ||
45 | .top-buttons { | ||
46 | .history-switch label, .delete-history { | ||
47 | @include ellipsis; | ||
48 | } | ||
49 | |||
50 | .history-switch label { | ||
51 | width: 60%; | ||
52 | } | ||
53 | |||
54 | .delete-history { | ||
55 | margin-left: auto; | ||
56 | max-width: 32%; | ||
57 | } | ||
58 | } | ||
59 | } | ||