This repository was archived by the owner on Feb 21, 2023. It is now read-only.
File tree 2 files changed +25
-1
lines changed
assets/stylesheets/not_a_conf
views/themes/not_a_conf/events 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -1698,8 +1698,14 @@ ul.navbar-nav > li.header-ticket:hover > a:after {
1698
1698
1699
1699
.schedule-slot-speaker-link + .schedule-slot-speaker-link {
1700
1700
right : -20px ;
1701
+ transition : right 0.1s ease-in-out ;
1701
1702
}
1702
1703
1704
+ .schedule-slot-info :hover .schedule-slot-speaker-link + .schedule-slot-speaker-link {
1705
+ right : -70px ;
1706
+ }
1707
+
1708
+
1703
1709
.schedule-slot-speakers {
1704
1710
width : 58px ;
1705
1711
height : 58px ;
@@ -3371,3 +3377,11 @@ label {
3371
3377
margin-right : 0px ;
3372
3378
}
3373
3379
}
3380
+
3381
+ .schedule-media {
3382
+ color : #000000 ;
3383
+
3384
+ & :hover {
3385
+ color : #ea531c ;
3386
+ }
3387
+ }
Original file line number Diff line number Diff line change 17
17
<% session . speakers . each do |speaker | %>
18
18
<% if speaker . photo . attached? %>
19
19
< span class ="schedule-slot-speaker-link ">
20
- <%= image_tag speaker . photo . variant ( resize : '58' ) , class : 'schedule-slot-speakers' %>
20
+ <%= attachment_image_tag speaker . photo , size : 58 , class : 'schedule-slot-speakers' %>
21
21
</ span >
22
22
<% end %>
23
23
<% end %>
31
31
<% if session . description? %>
32
32
< p class ="schedule-slot-desc "> <%= session . description %> </ p >
33
33
<% end %>
34
+ <% if session . video_url? %>
35
+ <%= link_to session . video_url , target : '_blank' , class : 'schedule-media' do %>
36
+ < i class ="fa fa-file-video-o "> </ i > Video
37
+ <% end %>
38
+ <% end %>
39
+ <% if session . slides_url? %>
40
+ <%= link_to session . slides_url , target : '_blank' , class : 'schedule-media' do %>
41
+ < i class ="fa fa-file-o "> </ i > Slides
42
+ <% end %>
43
+ <% end %>
34
44
</ div >
35
45
</ div >
36
46
</ div >
You can’t perform that action at this time.
0 commit comments