diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-11 11:06:32 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-11 11:06:32 +0100 |
commit | fada8d75550dc7365f7e18ee1569b9406251d660 (patch) | |
tree | db9dc01c18693824f83fce5020f4c1f3ae7c0865 /client/src/app/account/account-videos/account-videos.component.scss | |
parent | 492fd28167f770d79a430fc57451b5a9e075d8e7 (diff) | |
parent | c2830fa8f84f61462098bf36add824f89436dfa9 (diff) | |
download | PeerTube-fada8d75550dc7365f7e18ee1569b9406251d660.tar.gz PeerTube-fada8d75550dc7365f7e18ee1569b9406251d660.tar.zst PeerTube-fada8d75550dc7365f7e18ee1569b9406251d660.zip |
Merge branch 'feature/design' into develop
Diffstat (limited to 'client/src/app/account/account-videos/account-videos.component.scss')
-rw-r--r-- | client/src/app/account/account-videos/account-videos.component.scss | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/client/src/app/account/account-videos/account-videos.component.scss b/client/src/app/account/account-videos/account-videos.component.scss new file mode 100644 index 000000000..5459014a6 --- /dev/null +++ b/client/src/app/account/account-videos/account-videos.component.scss | |||
@@ -0,0 +1,96 @@ | |||
1 | .action-selection-mode { | ||
2 | width: 174px; | ||
3 | display: flex; | ||
4 | justify-content: flex-end; | ||
5 | |||
6 | .action-selection-mode-child { | ||
7 | position: fixed; | ||
8 | |||
9 | .action-button { | ||
10 | display: inline-block; | ||
11 | } | ||
12 | |||
13 | .action-button-cancel-selection { | ||
14 | @include peertube-button; | ||
15 | @include grey-button; | ||
16 | |||
17 | margin-right: 10px; | ||
18 | } | ||
19 | |||
20 | .action-button-delete-selection { | ||
21 | @include peertube-button; | ||
22 | @include orange-button; | ||
23 | } | ||
24 | |||
25 | .icon.icon-delete-white { | ||
26 | @include icon(21px); | ||
27 | |||
28 | position: relative; | ||
29 | top: -2px; | ||
30 | background-image: url('../../../assets/images/global/delete-white.svg'); | ||
31 | } | ||
32 | } | ||
33 | } | ||
34 | |||
35 | /deep/ .action-button { | ||
36 | &.action-button-delete { | ||
37 | margin-right: 10px; | ||
38 | } | ||
39 | } | ||
40 | |||
41 | .video { | ||
42 | display: flex; | ||
43 | height: 130px; | ||
44 | padding-bottom: 20px; | ||
45 | |||
46 | input[type=checkbox] { | ||
47 | margin-right: 20px; | ||
48 | outline: 0; | ||
49 | } | ||
50 | |||
51 | &:first-child { | ||
52 | margin-top: 47px; | ||
53 | } | ||
54 | |||
55 | &:not(:last-child) { | ||
56 | margin-bottom: 20px; | ||
57 | border-bottom: 1px solid #C6C6C6; | ||
58 | } | ||
59 | |||
60 | my-video-thumbnail { | ||
61 | margin-right: 10px; | ||
62 | } | ||
63 | |||
64 | .video-info { | ||
65 | flex-grow: 1; | ||
66 | |||
67 | .video-info-name { | ||
68 | font-size: 16px; | ||
69 | font-weight: $font-semibold; | ||
70 | } | ||
71 | |||
72 | .video-info-date-views { | ||
73 | font-size: 13px; | ||
74 | } | ||
75 | } | ||
76 | } | ||
77 | |||
78 | @media screen and (max-width: 800px) { | ||
79 | .video { | ||
80 | flex-direction: column; | ||
81 | height: auto; | ||
82 | text-align: center; | ||
83 | |||
84 | input[type=checkbox] { | ||
85 | display: none; | ||
86 | } | ||
87 | |||
88 | my-video-thumbnail { | ||
89 | margin-right: 0; | ||
90 | } | ||
91 | |||
92 | .video-buttons { | ||
93 | margin-top: 10px; | ||
94 | } | ||
95 | } | ||
96 | } | ||