Skip to content

Commit 65acfb1

Browse files
committed
1.3 - Fixing lint and update the demo to latest version
1 parent 41d134b commit 65acfb1

31 files changed

+80310
-11
lines changed

dist/assets/css/main.css

Lines changed: 997 additions & 0 deletions
Large diffs are not rendered by default.

dist/assets/css/normalize.css

Lines changed: 461 additions & 0 deletions
Large diffs are not rendered by default.

dist/assets/img/logo.svg

Lines changed: 52 additions & 0 deletions
Loading

dist/assets/scss/_buttons.scss

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
.btn {
2+
display: inline-block;
3+
color: $c-gray;
4+
font-size: 14px;
5+
font-weight: 400;
6+
line-height: 1.25;
7+
cursor: pointer;
8+
text-align: center;
9+
white-space: nowrap;
10+
vertical-align: middle;
11+
user-select: none;
12+
border: 1px solid transparent;
13+
padding: .5rem 1rem;
14+
text-decoration: none;
15+
transition: all .1s ease-out;
16+
outline: 0;
17+
18+
&-round {
19+
border-radius: 50px;
20+
}
21+
22+
&-small {
23+
padding: 5px 17px;
24+
}
25+
26+
&-primary {
27+
background-color: $c-primary;
28+
color: $c-white;
29+
&:hover {
30+
background-color: darken($c-primary, 5%);
31+
}
32+
&:active {
33+
color: $c-white;
34+
background-color: darken($c-primary, 10%);
35+
}
36+
}
37+
38+
&-secondary {
39+
background-color: $c-secondary;
40+
color: $c-white;
41+
&:hover {
42+
background-color: darken($c-secondary, 5%);
43+
}
44+
&:active {
45+
color: $c-white;
46+
background-color: darken($c-secondary, 10%);
47+
}
48+
}
49+
50+
&-default {
51+
background-color: darken($c-base, 20%);
52+
color: $c-white;
53+
&:hover {
54+
background-color: darken($c-base, 25%);
55+
}
56+
&:active {
57+
color: $c-white;
58+
background-color: darken($c-base, 30%);
59+
}
60+
}
61+
}

dist/assets/scss/_common.scss

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
.loading-app {
2+
position: fixed;
3+
color: $c-primary;
4+
top: 50%;
5+
left: 50%;
6+
transform: translate(-50%, -50%);
7+
z-index: 10;
8+
}
9+
10+
@keyframes loading-animation {
11+
0% { opacity: 0; width: 0% }
12+
20% { opacity: 1; }
13+
80% { opacity: 1; }
14+
100% { opacity: 0; width: 100%; }
15+
}
16+
17+
.loading-bar {
18+
position: fixed;
19+
margin: 0;
20+
padding: 0;
21+
top: 0;
22+
left: 0;
23+
right: 0;
24+
z-index: 99999;
25+
&:before {
26+
content: '';
27+
display: block;
28+
margin: 0;
29+
padding: 0;
30+
z-index: 99998;
31+
background-color: $c-primary;
32+
color: $c-primary;
33+
box-shadow: 0 0 10px 0;
34+
height: 2px;
35+
opacity: 0;
36+
width: 0%;
37+
transition: all 0.5s ease-in-out;
38+
}
39+
&.active {
40+
&:before {
41+
animation: loading-animation 2s 1;
42+
}
43+
}
44+
}
45+
46+
.loading-region {
47+
position: absolute;
48+
right: 165px;
49+
color: $c-gray;
50+
}
51+
52+
.debugging-info {
53+
display: none;
54+
color: $c-white;
55+
&.active {
56+
display: block;
57+
}
58+
}
59+
60+
.fa-color-danger {
61+
color: $c-primary;
62+
}
63+
64+
.fa-color-info {
65+
color: $c-secondary;
66+
}
67+
68+
.alert {
69+
padding: .75rem 1.25rem;
70+
margin: 1rem 0;
71+
border-radius: 5px;
72+
.fa {
73+
margin-right: 10px;
74+
}
75+
&.alert-danger {
76+
background-color: rgba($c-primary, 0.2);
77+
color: darken($c-primary, 10%);
78+
a {
79+
color: inherit;
80+
}
81+
}
82+
&.alert-info {
83+
background-color: rgba($c-secondary, 0.2);
84+
color: darken($c-secondary, 10%);
85+
a {
86+
color: inherit;
87+
}
88+
}
89+
}
90+
91+
.app {
92+
position: absolute;
93+
width: 100%;
94+
height: 100%;
95+
color: $c-black;
96+
&-content {
97+
height: calc(100% - 100px);
98+
width: 100%;
99+
display: block;
100+
position: absolute;
101+
overflow: auto;
102+
bottom: 0;
103+
}
104+
&-services {
105+
background: darken($c-gray, 10%);
106+
.app-head {
107+
position: relative;
108+
}
109+
}
110+
&-feed {
111+
box-shadow: rgba($c-black, 0.03) 0 0 10px 5px;
112+
z-index: 1;
113+
.app-content {
114+
padding: 0 20px;
115+
background: $c-white;
116+
}
117+
}
118+
&-player {
119+
background-color: $c-white;
120+
color: $c-black;
121+
}
122+
}
123+
124+
#youtube-player {
125+
height: 0;
126+
opacity: 0;
127+
visibility: hidden;
128+
transition: opacity 0.1s ease-out, visibility 0.1s ease-out, height 0.1s ease-out 0.1s;
129+
&.active {
130+
height: 270px;
131+
opacity: 1;
132+
visibility: visible;
133+
transition: opacity 0.1s ease-out 0.3s, visibility 0.1s ease-out 0.1s, height 0.1s ease-out;
134+
}
135+
}

0 commit comments

Comments
 (0)