Skip to content

Commit 28d88bf

Browse files
committed
add mockup project 6
1 parent e7559cc commit 28d88bf

19 files changed

+581
-9
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ <h1>Simple Quiz App</h1>
7676

7777
<div class="item col-sm-4">
7878
<div class="wrapper">
79-
<a href="" target="_blank">
80-
<h1>Simple Gallery App</h1>
79+
<a href="simple-movies-web.html" target="_blank">
80+
<h1>Simple Movies Web</h1>
8181
</a>
8282
</div>
8383
</div>

public/css/main.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/images/1.jpg

15.2 KB
Loading

public/images/2.jpg

13.7 KB
Loading

public/images/3.jpg

11.7 KB
Loading

public/images/4.jpg

14 KB
Loading

public/images/5.jpg

17.2 KB
Loading

public/images/6.jpg

11.1 KB
Loading

public/images/7.jpg

13 KB
Loading

public/images/8.jpg

11.8 KB
Loading

public/images/9.jpg

18.5 KB
Loading

public/js/simple-quiz-app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

simple-movies-web.html

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

src/js/simple-quiz-app.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
return true;
6666
} else {
6767
$('.error').fadeIn('300', function() {
68-
$(this).fadeOut();
68+
$(this).delay(500).fadeOut();
6969
});
7070
}
7171
}
@@ -75,7 +75,6 @@
7575
answer.each( function (index, current) {
7676
if($(this).hasClass('active')) {
7777
data.results.push($(this).text());
78-
console.log(data.results);
7978
}
8079
});
8180
}

src/sass/base/_base.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
}
77
}
88

9-
body {
10-
background: $smoke;
9+
.input-group {
10+
width: 100%;
1111
}
1212

1313
.btn-success {

src/sass/components/_list-projects.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.list-projects {
2+
background: $smoke;
23

34
.container {
45
margin: 35px auto;

src/sass/components/_overlay-widget.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@include bgTintedImg('../images/overlay.jpg', center center, no-repeat, cover, rgba(0, 0, 0, 0.45));
33

44
.container {
5+
width: 40%;
56
background: $white;
67
padding: 50px;
78
margin: 160px auto;
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
.simple-movies-web {
2+
3+
h1 {
4+
text-align: center;
5+
font-family: $font2;
6+
font-weight: bold;
7+
letter-spacing: 4px;
8+
background: $green;
9+
margin: 0;
10+
padding: 50px 0;
11+
color: $white;
12+
}// h1
13+
14+
.filter {
15+
16+
.btn-filter {
17+
width: 100%;
18+
border-radius: 0;
19+
@include font-size(17px);
20+
background: $white;
21+
padding: 20px 0;
22+
23+
&:focus {
24+
box-shadow: none;
25+
}
26+
27+
i {
28+
margin-right: 10px;
29+
}
30+
}// .btn-filter
31+
32+
.filter-collapse {
33+
@include clearfix;
34+
padding: 20px 0;
35+
background: $smoke;
36+
37+
form {
38+
39+
select {
40+
41+
&:focus {
42+
outline: none;
43+
box-shadow: none;
44+
border-color: $green;
45+
}// pseudoclass
46+
}// select
47+
}// form
48+
}// .filter-collapse
49+
}// .filter
50+
51+
.container {
52+
margin: 50px auto;
53+
54+
.movie-item {
55+
margin-top: 20px;
56+
57+
.left {
58+
position: relative;
59+
float: left;
60+
z-index: 100;
61+
margin-right: 20px;
62+
}// .left
63+
64+
.right {
65+
position: relative;
66+
border: 2px solid $green;
67+
height: 268px;
68+
font-weight: 300;
69+
letter-spacing: 1px;
70+
z-index: 50;
71+
72+
.title {
73+
border-bottom: 2px solid $green;
74+
margin-bottom: 20px;
75+
background: $green;
76+
color: $white;
77+
font-weight: bold;
78+
letter-spacing: 2px;
79+
80+
h2 {
81+
margin: 0;
82+
padding: 10px 0 10px 20px;
83+
font-family: $font2;
84+
@include font-size(20px);
85+
}// h2
86+
}// .title
87+
88+
.information {
89+
padding-left: 20px;
90+
}// .information
91+
92+
.btn-description {
93+
position: absolute;
94+
bottom: 0;
95+
right: 0;
96+
float: right;
97+
font-weight: bold;
98+
margin-top: 63px;
99+
background: $green;
100+
color: $white;
101+
border-radius: 0;
102+
border-top-left-radius: 10px;
103+
letter-spacing: 1.5px;
104+
}// btn-description
105+
}// .right
106+
107+
.description {
108+
display: none;
109+
width: 100%;
110+
background: $green;
111+
color: $white;
112+
padding: 20px;
113+
font-weight: 300;
114+
letter-spacing: 1px;
115+
}// .description
116+
}// .movie-item
117+
}// .contaier
118+
}// simple-movie-web

src/sass/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Telegram : @logustra
2323
@import "components/images-slider-widget";
2424
@import "components/overlay-widget";
2525
@import "components/simple-quiz-app";
26+
@import "components/simple-movies-web";
2627
@import "components/helper";
2728

2829
// layout

0 commit comments

Comments
 (0)