Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 7a32354

Browse files
committed
Merge pull request #195 from appirio-tech/desktop-empty-state-ios
Finish ios empty state for sizes greater than mobile
2 parents 6179b08 + 8c399e2 commit 7a32354

File tree

2 files changed

+59
-9
lines changed

2 files changed

+59
-9
lines changed

assets/css/my-dashboard/my-dashboard.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@
1616
width: 100%;
1717
}
1818

19+
.programs {
20+
@media only screen and (max-width: 450px) {
21+
padding-top: 10px;
22+
}
23+
@media only screen and (min-width: 1200px) {
24+
padding-top: 70px;
25+
padding-bottom: 0;
26+
}
27+
}
28+
1929
.section-title {
2030
@include sofia-pro-bold;
2131
font-size: 22px;

assets/css/my-dashboard/programs.scss

Lines changed: 49 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
.programs {
44
.section-loading {
5-
min-height: 500px;
5+
min-height: 200px;
66
}
77

8-
section.ios { min-height: 175px; }
9-
108
h1.section-title {
119
span { text-transform: none; }
1210
}
@@ -15,26 +13,57 @@
1513
display: flex;
1614
flex-direction: column;
1715
align-items: center;
18-
width: 300px;
19-
@media only screen and (max-width: 450px) {
20-
padding-top: 10px;
16+
min-width: 300px;
17+
margin: 0 auto;
18+
@media only screen and (min-width: 800px) {
19+
flex-direction: row;
20+
justify-content: space-between;
21+
max-width: 750px;
22+
}
23+
@media only screen and (min-width: 900px) {
24+
padding-left: 90px;
25+
padding-right: 90px;
26+
max-width: none;
2127
}
2228

2329
img {
24-
width: 100%;
30+
width: 300px;
31+
@media only screen and (min-width: 800px) {
32+
order: 2;
33+
}
34+
@media only screen and (min-width: 1030px) {
35+
width: 335px;
36+
}
37+
@media only screen and (min-width: 1100px) {
38+
width: 400px;
39+
}
40+
@media only screen and (min-width: 1200px) {
41+
width: 508px;
42+
}
2543
}
2644
}
2745

2846
.join-program {
29-
width: 260px;
30-
padding-bottom: 40px;
47+
max-width: 451px;
48+
padding: 0 20px 40px;
49+
@media only screen and (min-width: 800px) {
50+
order: 1;
51+
padding: 0;
52+
margin-bottom: 30px;
53+
}
3154

3255
h3 {
3356
margin-top: 30px;
3457
@include sofia-pro-light;
3558
font-size: 23px;
3659
text-transform: uppercase;
3760
color: #3D3D3D;
61+
@media only screen and (min-width: 900px) {
62+
margin-top: 0;
63+
}
64+
@media only screen and (min-width: 1000px) {
65+
font-size: 40px;
66+
}
3867

3968
span { text-transform: none; }
4069
}
@@ -45,13 +74,21 @@
4574
font-size: 18px;
4675
line-height: 24px;
4776
color: #A3A3AE;
77+
@media only screen and (min-width: 1000px) {
78+
font-size: 22px;
79+
margin-top: 6px;
80+
}
4881
}
4982

5083
p {
5184
margin-top: 20px;
5285
@include source-sans-regular;
5386
font-size: 13px;
5487
line-height: 26px;
88+
@media only screen and (min-width: 1000px) {
89+
font-size: 16px;
90+
margin-top: 60px;
91+
}
5592
}
5693

5794
a {
@@ -61,6 +98,9 @@
6198
color: $primary-color;
6299
text-decoration: none;
63100
text-transform: uppercase;
101+
@media only screen and (min-width: 1000px) {
102+
font-size: 16px;
103+
}
64104
}
65105
}
66106

0 commit comments

Comments
 (0)