1
1
{% load kudos_extras %}
2
2
{% load i18n static %}
3
3
< style >
4
- .modal {
4
+ # share-modal .modal {
5
5
display : none;
6
6
position : fixed;
7
7
z-index : 1025 ;
15
15
overflow-y : auto;
16
16
}
17
17
18
- .modal-content {
18
+ # share-modal .modal-content {
19
19
background-color : # fefefe ;
20
20
margin : 15% auto;
21
21
padding : 20px ;
29
29
cursor : pointer;
30
30
}
31
31
32
- . modal # kudos-image {
32
+ # share- modal . kudos-image {
33
33
max-width : 12rem ;
34
34
}
35
35
60
60
61
61
@media (max-width : 991.98px ) {
62
62
63
- .modal-content {
63
+ # share-modal .modal-content {
64
64
width : 80% ;
65
65
}
66
66
67
67
# share-modal p {
68
68
text-align : center;
69
69
}
70
70
71
- # share-modal # kudos-image {
71
+ # share-modal . kudos-image {
72
72
margin : auto;
73
73
}
74
74
}
75
75
76
76
@media (max-width : 767.98px ) {
77
77
78
- .modal-content {
78
+ # share-modal .modal-content {
79
79
width : 100% ;
80
80
}
81
81
102
102
< div class ="col-12 text-center ">
103
103
< h1 class ="font-title-lg mb-4 "> {% trans "Share" %} Kudos!</ h1 >
104
104
</ div >
105
- < div id ="kudos-image " class ="col-12 offset-lg-4 col-lg-4 ">
105
+ < div id ="kudos-image " class ="kudos-image col-12 offset-lg-4 col-lg-4 ">
106
106
< img src ="{{kudos.static_image}} " alt ="{{ kudos.name }} " class ="w-100 ">
107
107
</ div >
108
108
< div class ="col-12 col-lg-4 my-auto ">
@@ -118,7 +118,7 @@ <h1 class="font-title-lg mb-4">{% trans "Share" %} Kudos!</h1>
118
118
< div class ="col-12 my-4 text-center ">
119
119
< input class ="form__input "type ="text " value ="{{ request.META.HTTP_HOST }}{% url 'kudos_details' kudos.id kudos.name %} " id ="shareLink " readonly >
120
120
< button class ="btn btn-gc-blue button__small font-body " id ="copyLink ">
121
- < i data-toggle ="tooltip " title ="" data-html ="true "
121
+ < i data-toggle ="tooltip " title ="" data-html ="true "
122
122
data-original-title ="<span class='title-tooltip text-center'>{% trans 'Click To Copy' %}</span> "
123
123
data-template ='<div class="tooltip-kudos tooltip-share" role="tooltip"><div class="tooltip-inner"></div></div> ' class ="text-color_blue ">
124
124
{% trans "Copy Link" %}
@@ -134,4 +134,4 @@ <h1 class="font-title-lg mb-4">{% trans "Share" %} Kudos!</h1>
134
134
data-size ="large "> < i class ="fab fa-facebook mr-2 "> </ i > {% trans "Share on" %} Facebook</ a >
135
135
</ div >
136
136
</ div >
137
- </ div >
137
+ </ div >
0 commit comments