Skip to content

Commit 578171f

Browse files
authored
Merge pull request #4 from injectz/master
fixed event page for small displays and fixed path to images
2 parents ac9d2d3 + 8bc58a7 commit 578171f

File tree

3 files changed

+64
-8
lines changed

3 files changed

+64
-8
lines changed

apps/design/src/blocks/dates-show/dates-show.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,19 @@
6363
font-weight: 600;
6464
text-decoration: none;
6565
color: $body-color;
66-
background-image: url('/img/ticket.svg');
66+
background-image: url('/guru-include/public/img/ticket.svg');
6767
background-size: 100% 100%;
6868
background-repeat: no-repeat;
6969
&:hover {
70-
background-image: url('/img/ticket_h.svg');
70+
background-image: url('/guru-include/public/img/ticket_h.svg');
7171
}
7272
}
7373
&.inactive {
7474
a {
7575
color: #CCCCCC;
76-
background-image: url('/img/ticket_i.svg');
76+
background-image: url('/guru-include/public/img/ticket_i.svg');
7777
&:hover {
78-
background-image: url('/img/ticket_i.svg');
78+
background-image: url('/guru-include/public/img/ticket_i.svg');
7979
}
8080
}
8181
}

apps/design/src/styles/global/global-scaffolding.scss

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,29 @@ html, body {
129129
}
130130

131131
@media (max-width: 810px) {
132+
.session {
133+
flex-direction: column;
134+
}
135+
.session__left {
136+
min-width: auto;
137+
max-width: none;
138+
width: 100%;
139+
display: flex;
140+
text-align: center;
141+
justify-content: center;
142+
align-items: center;
143+
flex-direction: column;
144+
}
145+
.session__right {
146+
margin: 1rem 0 0 0;
147+
}
148+
.description {
149+
min-width: auto;
150+
max-width: none;
151+
}
152+
.dates-show__item {
153+
padding: 1rem 0;
154+
}
132155
.navbar-guru > .row.flex-fill > .col-9 {
133156
max-width: 50%;
134157
}

apps/php/guru-include/public/css/style.css

Lines changed: 37 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8480,17 +8480,17 @@ a.text-dark:hover, a.text-dark:focus {
84808480
font-weight: 600;
84818481
text-decoration: none;
84828482
color: #333333;
8483-
background-image: url("/img/ticket.svg");
8483+
background-image: url("/guru-include/public/img/ticket.svg");
84848484
-webkit-background-size: 100% 100%;
84858485
background-size: 100% 100%;
84868486
background-repeat: no-repeat; }
84878487
.dates-show__sessions > li a:hover {
8488-
background-image: url("/img/ticket_h.svg"); }
8488+
background-image: url("/guru-include/public/img/ticket_h.svg"); }
84898489
.dates-show__sessions > li.inactive a {
84908490
color: #CCCCCC;
8491-
background-image: url("/img/ticket_i.svg"); }
8491+
background-image: url("/guru-include/public/img/ticket_i.svg"); }
84928492
.dates-show__sessions > li.inactive a:hover {
8493-
background-image: url("/img/ticket_i.svg"); }
8493+
background-image: url("/guru-include/public/img/ticket_i.svg"); }
84948494
.dates-show__sessions > li.in3d a {
84958495
position: relative; }
84968496
.dates-show__sessions > li.in3d a:before {
@@ -8750,6 +8750,39 @@ html, body {
87508750
margin-bottom: 2rem; }
87518751

87528752
@media (max-width: 810px) {
8753+
.session {
8754+
-webkit-box-orient: vertical;
8755+
-webkit-box-direction: normal;
8756+
-webkit-flex-direction: column;
8757+
-ms-flex-direction: column;
8758+
flex-direction: column; }
8759+
.session__left {
8760+
min-width: auto;
8761+
max-width: none;
8762+
width: 100%;
8763+
display: -webkit-box;
8764+
display: -webkit-flex;
8765+
display: -ms-flexbox;
8766+
display: flex;
8767+
text-align: center;
8768+
-webkit-box-pack: center;
8769+
-webkit-justify-content: center;
8770+
-ms-flex-pack: center;
8771+
justify-content: center;
8772+
-webkit-box-align: center;
8773+
-webkit-align-items: center;
8774+
-ms-flex-align: center;
8775+
align-items: center;
8776+
-webkit-box-orient: vertical;
8777+
-webkit-box-direction: normal;
8778+
-webkit-flex-direction: column;
8779+
-ms-flex-direction: column;
8780+
flex-direction: column; }
8781+
.session__right {
8782+
margin: 1rem 0 0 0; }
8783+
.description {
8784+
min-width: auto;
8785+
max-width: none; }
87538786
.navbar-guru > .row.flex-fill > .col-9 {
87548787
max-width: 50%; }
87558788
.calendar-column {

0 commit comments

Comments
 (0)