diff --git a/src/common/MetaItem/styles.less b/src/common/MetaItem/styles.less
index df808e05d..9d88bb32b 100644
--- a/src/common/MetaItem/styles.less
+++ b/src/common/MetaItem/styles.less
@@ -1,13 +1,16 @@
@import 'stremio-colors';
+
.meta-item {
color: @colorwhite;
font-family: LatoLight;
+
.poster {
display: flex;
background-position: center;
background-size: cover, auto;
background-repeat: no-repeat;
background-color: @colordarkest;
+
.play-container {
width: 70px;
height: 70px;
@@ -16,6 +19,7 @@
visibility: hidden;
border-radius: 50%;
background-color: @colorwhite;
+
.play {
width: 26px;
height: 26px;
@@ -25,51 +29,64 @@
}
}
}
+
.progress-container {
background-color: @colorneutral;
+
.progress {
height: 4px;
background-color: @colorprimlight;
}
}
+
.info-container {
display: flex;
margin-top: 6px;
align-items: baseline;
+
.info {
width: 100%;
- .title, .year{
+
+ .title, .year {
color: @colorwhite60;
}
+
:first-child {
color: @colorwhite;
}
}
}
+
.more-icon-container {
cursor: pointer;
fill: @colorwhite;
+
.more-icon {
width: 10px;
height: 10px;
}
}
+
&:hover {
color: @colorblack;
background-color: @colorwhite;
outline: 2px solid @colorwhite;
+
.play-container {
cursor: pointer;
visibility: visible;
- }
+ }
+
.info {
.title, .year {
color: @colorblack60;
}
+
:first-child {
color: @colorblack;
}
}
+
.more-icon {
fill: @colorblack40;
}
diff --git a/src/common/ShareAddon/styles.less b/src/common/ShareAddon/styles.less
index 5e64a9f13..b3f9a50ea 100644
--- a/src/common/ShareAddon/styles.less
+++ b/src/common/ShareAddon/styles.less
@@ -1,46 +1,56 @@
@import 'stremio-colors';
+
.share-addon {
width: 380px;
- height: 200px;
padding: 10px;
color: @colorwhite;
background-color: @colorwhite;
+
.x-container {
display: flex;
justify-content: flex-end;
+
.x-icon {
cursor: pointer;
background-position: center;
background-repeat: no-repeat;
}
}
+
.info-container {
- padding: 6px 20px 0px 20px;
+ padding: 6px 20px 30px 20px;
+
.share-label {
color: @colorblack;
font-weight: 600;
}
+
.buttons {
display: flex;
font-size: 11px;
margin: 22px 0px;
font-family: LatoLight;
justify-content: space-between;
+
.facebook-icon, .twitter-icon, .gplus-icon {
width: 14px;
height: 14px;
margin-right: 6px;
fill: @colorwhite;
}
+
.facebook-button {
background-color: @colorfb;
}
+
.twitter-button {
background-color: @coloraccent;
}
+
.gplus-button {
background-color: #dd4b39;
}
+
.facebook-button, .twitter-button, .gplus-button {
display: flex;
cursor: pointer;
@@ -50,16 +60,19 @@
justify-content: center;
}
}
+
.url-container {
display: flex;
border-radius: 4px;
text-align: center;
border: 1px solid @colorneutrallight;
+
.url, .copy-label {
padding: 10px;
font-weight: 600;
color: @colorblack40;
}
+
.url {
width: 90%;
outline: none;
@@ -69,6 +82,7 @@
padding-right: 30px;
text-overflow: ellipsis;
}
+
.copy-label {
width: 30%;
display: flex;
@@ -78,6 +92,7 @@
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
background-color: @colorblack20;
+
.copy-icon {
width: 16px;
height: 16px;
diff --git a/src/common/Stream/styles.less b/src/common/Stream/styles.less
index ab27391ed..e515ee364 100644
--- a/src/common/Stream/styles.less
+++ b/src/common/Stream/styles.less
@@ -1,4 +1,5 @@
@import 'stremio-colors';
+
.stream {
width: 340px;
display: flex;
@@ -7,17 +8,21 @@
color: @colorwhite;
justify-content: space-between;
background-color: @colorblack20;
+
.stream-info-container {
width: 230px;
+
.stream-info {
height: 40px;
display: flex;
align-items: center;
justify-content: space-between;
+
.logo {
width: 74px;
fill: @colorwhite;
}
+
.source-name {
width: 80px;
font-size: 13px;
@@ -25,34 +30,42 @@
white-space: pre;
text-overflow: ellipsis;
}
+
.text-container {
width: 120px;
overflow: hidden;
+
.title {
overflow: hidden;
white-space: pre;
text-overflow: ellipsis;
+
&:hover {
margin-left: -180%;
text-overflow: initial;
transition: margin-left 3s linear;
}
}
+
.free-label, .subscription-label {
font-weight: 600;
}
+
.free-label {
padding: 1px 6px;
border-radius: 2px;
background-color: @colorprimlight;
}
+
.subscription-label {
color: @colorsignal1;
}
}
}
+
.progress-container {
background-color: @colorneutral;
+
.progress {
height: 3px;
border-radius: 1px;
@@ -60,11 +73,13 @@
}
}
}
+
.play-container {
width: 46px;
height: 46px;
display: flex;
border-radius: 50%;
+
.play {
width: 18px;
height: 18px;
@@ -73,6 +88,7 @@
fill: @colorwhite60;
}
}
+
&:hover {
cursor: pointer;
background-color: @colorwhite20;
diff --git a/src/common/UserPanel/styles.less b/src/common/UserPanel/styles.less
index 181dc016e..ad95b4440 100644
--- a/src/common/UserPanel/styles.less
+++ b/src/common/UserPanel/styles.less
@@ -1,12 +1,15 @@
@import 'stremio-colors';
+
.user-panel {
width: 260px;
font-family: LatoLight;
background-color: @colordarkest;
+
.user-info {
display: flex;
padding: 15px;
align-items: center;
+
.profile-picture {
height: 50px;
width: 50px;
@@ -16,48 +19,59 @@
background-position: center;
background-repeat: no-repeat;
}
+
.email {
color: @colorwhite;
}
+
.log-out {
color: @colorwhite40;
+
&:hover {
cursor: pointer;
color: @colorwhite;
}
}
}
+
.fullscreen-option {
border-top: 1px solid @colorwhite20;
border-bottom: 1px solid @colorwhite20;
}
+
.fullscreen-option, .settings-option, .addons-option, .magnet-option, .help-option {
display: flex;
padding: 15px;
align-items: center;
color: @colorwhite80;
+
.fullscreen-icon, .settings-icon, .addons-icon, .magnet-icon, .help-icon {
height: 20px;
width: 20px;
margin-right: 12px;
fill: @coloraccent;
}
+
&:hover {
cursor: pointer;
color: @colorwhite;
background-color: @coloraccent20;
}
}
+
.options, .footer {
padding: 15px 0px;
}
+
.footer {
display: flex;
flex-direction: column;
border-top: 1px solid @colorwhite20;
+
.terms-label, .about-label {
padding: 10px 20px;
color: @colorwhite80;
+
&:hover {
cursor: pointer;
color: @colorwhite;
diff --git a/src/common/Video/Video.js b/src/common/Video/Video.js
index c501b1fde..955e6dd06 100644
--- a/src/common/Video/Video.js
+++ b/src/common/Video/Video.js
@@ -55,7 +55,7 @@ const renderReleasedDate = (released) => {
if (isNaN(released.getTime())) {
return null;
}
-
+
const months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
return (
diff --git a/src/common/Video/styles.less b/src/common/Video/styles.less
index e42108878..fd9557504 100644
--- a/src/common/Video/styles.less
+++ b/src/common/Video/styles.less
@@ -1,38 +1,47 @@
@import 'stremio-colors';
+
.video {
height: 62px;
width: 340px;
display: flex;
padding: 10px 10px;
background-color: @colorblack20;
+
.poster {
margin-right: 10px;
background-position: center;
background-size: cover, auto;
background-repeat: no-repeat;
}
+
.video-container {
width: 240px;
color: @colorwhite;
+
.main-info {
font-size: 12px;
- .number {
+
+ .number {
margin-right: 6px;
}
+
.name {
overflow: hidden;
white-space: pre;
text-overflow: ellipsis;
}
}
+
.duration, .released-date {
font-size: 11px;
padding-left: 1px;
margin-right: 10px;
color: @colorwhite60;
}
+
.progress-container {
background-color: @colorwhite20;
+
.progress {
height: 3px;
margin-top: 2px;
@@ -40,19 +49,23 @@
background-color: @colorprimlight;
}
}
+
.watched-label, .upcoming-label {
font-weight: 600;
font-size: 10px;
padding: 1px 6px;
border-radius: 2px;
}
+
.watched-label {
background-color: @colorprimlight;
}
+
.upcoming-label {
background-color: @colorsignal5;
}
}
+
&:hover, &:focus {
cursor: pointer;
background-color: @colorwhite20;
diff --git a/stories/index.stories.js b/stories/index.stories.js
index 5dab86f94..20a7fe0ff 100644
--- a/stories/index.stories.js
+++ b/stories/index.stories.js
@@ -9,8 +9,8 @@ import { Addon, Checkbox, LibraryItemList, MetaItem, ShareAddon, Stream, UserPan
storiesOf('Addon', module)
.add('addon', () => (
-
-
+
+
@@ -19,7 +19,7 @@ storiesOf('Addon', module)
storiesOf('Checkbox', module)
.add('checkbox', () => (
-
+
@@ -29,9 +29,9 @@ storiesOf('Checkbox', module)
storiesOf('LibraryItemList', module)
.add('library item list', () => (
-
+
-
+
@@ -39,43 +39,43 @@ storiesOf('LibraryItemList', module)
storiesOf('MetaItem', module)
.add('meta item', () => (
-
+
-
+
));
storiesOf('ShareAddon', module)
.add('share addon', () => (
-
+
));
storiesOf('Stream', module)
.add('stream', () => (
-
-
-
-
-
-
+
+
+
+
+
+
));
storiesOf('UserPanel', module)
.add('user panel', () => (
-
-
+
+
));
storiesOf('Video', module)
.add('video', () => (
-