+
+ Published on {{ video.createdAt | date:'short' }}
+
-
-
-
Licence:
- {{ video.licenceLabel }}
+
+ {{ video.description }}
+
-
-
-
- Language:
- {{ video.languageLabel }}
-
-
+
+
+
+ Category:
+
+
+ {{ video.categoryLabel }}
+
+
-
-
-
Description
- {{ video.description }}
+
+
+ Licence:
+
+
+ {{ video.licenceLabel }}
+
+
+
+
+
+ Language:
+
+
+ {{ video.languageLabel }}
+
+
diff --git a/client/src/app/videos/video-watch/video-watch.component.scss b/client/src/app/videos/video-watch/video-watch.component.scss
index 92192221f..cd9d71fb4 100644
--- a/client/src/app/videos/video-watch/video-watch.component.scss
+++ b/client/src/app/videos/video-watch/video-watch.component.scss
@@ -32,102 +32,136 @@
}
#video-info {
- border-top: 1px solid rgba(0, 0, 0, 0.1);
- margin-top: 10px;
- padding-top: 5px;
+ .video-name-views {
+ font-weight: bold;
+ font-size: 18px;
+ height: $video-watch-title-height;
+ line-height: $video-watch-title-height;
+ padding: 0 30px;
- #video-name-actions {
-
- #video-name {
- font-size: 20px;
+ .video-views {
+ text-align: right;
}
+ }
- .btn .glyphicon {
- position: relative;
- top: 2px;
- }
+ .video-small-blocks {
+ height: 150px;
+ color: $video-watch-info-color;
+ border-color: $video-watch-border-color;
+ border-width: 1px 0px;
+ border-style: solid;
- #rates {
- display: inline-block;
- margin-right: 20px;
+ .video-small-block {
+ height: $video-watch-info-height;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ text-align: center;
- // Remove focus style
- .btn:focus {
- outline: 0;
+ a {
+ cursor: pointer;
+ transition: color 0.3s;
+
+ &, &:hover {
+ color: inherit;
+ text-decoration:none;
+ }
+
+ &:hover {
+ color: #000 !important;
+ }
}
- .activated-btn {
- color: #333;
- background-color: #e6e6e6;
- border-color: #8c8c8c;
+ .option .glyphicon {
+ font-size: 22px;
+ color: inherit;
+ opacity: 0.9;
+ margin-bottom: 10px;
}
- .not-interactive-btn {
- cursor: default;
+ .video-small-block-text {
+ font-size: 15px;
+ font-weight: bold;
+ }
+ }
- &:hover, &:focus, &:active {
- color: #333;
- background-color: #fff;
- border-color: #ccc;
- box-shadow: none;
- outline: 0;
+ .video-small-block:not(:last-child) {
+ border-width: 0 1px 0 0;
+ border-color: $video-watch-border-color;
+ border-style: solid;
+ }
+
+ .video-small-block-author {
+ font-size: 15px;
+ font-weight: bold;
+ }
+
+ .video-small-block-share, .video-small-block-more {
+ a.option {
+ display: block;
+
+ .glyphicon {
+ display: block;
}
}
}
- #share, #more {
+ .video-small-block-more .video-small-block-dropdown {
+ position: relative;
+
+ .dropdown-item .glyphicon {
+ margin-right: 5px;
+ }
+ }
+
+ .video-small-block-rating {
+
+ .video-small-block-like {
+ margin-bottom: 10px;
+ }
+
+ .video-small-block-text {
+ vertical-align: top;
+ }
+
+ .glyphicon {
+ font-size: 18px;
+ margin: 0 10px 0 0;
+ }
+
+ .interactive {
+ cursor: pointer;
+ transition: color 0.3s;
+
+ &.activated, &:hover {
+ color: #000;
+ }
+ }
+ }
+ }
+
+ .video-details {
+ margin-top: 30px;
+
+ .video-details-date-description {
+ padding-left: 30px;
+
+ .video-details-date {
+ font-weight: bold;
+ margin-bottom: 30px;
+ }
+ }
+
+ .video-details-attributes {
font-weight: bold;
- opacity: 0.85;
- }
+ font-size: 12px;
- #more-menu .dropdown-item .glyphicon {
- margin-right: 5px;
- }
- }
-
- #video-by-date {
- font-size: 13px;
- opacity: 0.6;
-
- a {
- color: black;
- }
-
- #video-date:before {
- content: '\002022';
- margin: 0 5px;
- }
- }
-
- #video-tags-views {
- margin-top: 10px;
-
- a {
- margin-right: 5px;
- }
-
- #video-views {
- font-weight: bold;
- }
- }
-
- #video-category {
- margin-top: 10px;
-
- #category-label {
- font-weight: bold;
- }
- }
-
- #video-licence #licence-label, #video-language #language-label {
- font-weight: bold;
- }
-
- #video-description {
- margin-top: 10px;
-
- #description-label {
- font-weight: bold;
+ .video-details-attribute-label {
+ color: $video-watch-info-color;
+ display: inline-block;
+ width: 60px;
+ margin-right: 5px;
+ }
}
}
}
diff --git a/client/src/sass/_variables.scss b/client/src/sass/_variables.scss
index be57db304..1b91434ba 100644
--- a/client/src/sass/_variables.scss
+++ b/client/src/sass/_variables.scss
@@ -1,8 +1,15 @@
+$grey-color: #555;
+
$black-background: #1d2125;
$grey-background: #f6f2f2;
-$header-height: 60px;
+$header-height: 65px;
$header-border-color: #e9eff6;
$video-miniature-title-color: #16a2b7;
$video-miniature-other-infos: #686767;
+
+$video-watch-border-color: #eceef4;
+$video-watch-title-height: 90px;
+$video-watch-info-color: #8e909b;
+$video-watch-info-height: 150px;
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index 25d79a0cb..d65cd8c64 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -13,6 +13,10 @@ input.readonly {
border-radius: 0;
}
+.dropdown-menu {
+ border-radius: 0;
+}
+
.glyphicon-black {
color: black;
}
@@ -61,7 +65,7 @@ input.readonly {
#peertube-title {
background-color: #fff;
- border-right: 2px solid $header-border-color;
+ border-right: 1px solid $header-border-color;
font-size: 25px;
line-height: $header-height;
text-align: center;