PluginProbe
Hostinger Tools / 2.1.2
Hostinger Tools v2.1.2
3.0.77 3.0.76 3.0.75 3.0.74 3.0.73 3.0.72 3.0.71 3.0.70 3.0.69 3.0.68 3.0.67 3.0.66 1.8.1 1.8.2 1.8.3 1.9.1 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.4 All 108 releases
hostinger / src / css / components / survey.scss

survey.scss in Hostinger Tools 2.1.2, at src/css/components/survey.scss

215 lines 3.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .hts-survey-wrapper {
2 background: $white;
3 padding: 24px 32px;
4 max-width: 500px;
5 box-shadow: 0 0 12px rgba(29,30,32,.16);
6 border: 1px solid $border-gray;
7 border-radius: 4px 4px 0 0;
8 display: none;
9 margin-top: 2rem;
10 position: fixed;
11 bottom: 0;
12 left: 160px;
13
14 @media(max-width: 960px) {
15 left: 40px;
16 }
17
18 @media(max-width: 780px) {
19 left: 0px;
20 }
21
22 .close-btn {
23
24 position: absolute;
25 top: 10px;
26 right: 10px;
27 cursor: pointer;
28
29 svg {
30 width: 20px;
31 height: 20px;
32 }
33
34 }
35
36 @media (max-width: 400px) {
37 padding: 24px 15px;
38 }
39
40 @media (max-width: 370px) {
41 padding: 24px 10px;
42 }
43
44 #hts-questionsLeft {
45 font-weight: 400;
46 line-height: 24px;
47 color: $gray-base;
48 font-size: 14px;
49 display: none;
50 }
51
52 }
53
54 #hostinger-feedback-survey {
55
56 direction: ltr;
57
58 .sd-root-modern form {
59 textarea {
60 width: 100%;
61 border: 1px solid $border-gray;
62 padding: 12px 16px;
63 color: $gray-base;
64 border-radius: 4px;
65
66 &:focus {
67 border: 1px solid $primary-purple;
68 }
69 }
70
71 .sd-question__header h5 {
72 font-size: 19px;
73 font-weight: 700;
74 line-height: 32px;
75 letter-spacing: 0px;
76 text-align: left;
77 margin-top: 0;
78 margin-bottom: 24px;
79
80 @media (max-width: 450px) {
81 font-size: 16px;
82 line-height: 24px;
83 }
84 }
85
86 .sd-btn {
87 text-decoration: none;
88 padding: 8px 24px;
89 font-weight: 700;
90 background: $primary-purple;
91 border-radius: 4px;
92 color: #FFFFFF;
93 flex-grow: 0;
94 border: none;
95 cursor: pointer;
96 margin: 25px 0 0 0;
97 line-height: 24px;
98
99 @media (max-width: 450px) {
100 padding: 5px 15px;
101 font-size: 13px;
102 }
103
104 &:hover {
105 background: $primary-purple-dark;
106 }
107 }
108
109 .sd-action-bar {
110 display: flex;
111 justify-content: flex-end;
112 margin: 10px 0;
113 position: relative;
114
115 @media (max-width: 450px) {
116 margin: 5px 0;
117 }
118
119 #sv-nav-prev {
120 position: absolute;
121 left: 0;
122 top: 0;
123 }
124 }
125
126 .sd-rating {
127 display: flex;
128 justify-content: space-between;
129 position: relative;
130
131 fieldset {
132 display: flex;
133 justify-content: space-between;
134 align-items: center;
135 width: 100%;
136 }
137
138 .sd-rating__item--selected {
139 border: 1px solid $primary-purple;
140 background-color: $primary-purple-light;
141 }
142
143 .sd-rating__min-text {
144 position: absolute;
145 bottom: -25px;
146 left: 0;
147 }
148
149 .sd-rating__item-text {
150 font-weight: 400;
151 line-height: 24px;
152 color: $gray-base;
153 font-size: 14px;
154 }
155
156 .sd-rating__max-text {
157 position: absolute;
158 bottom: -25px;
159 right: 0;
160 }
161
162 }
163
164 .sd-rating__item {
165 display: flex;
166 align-items: center;
167 justify-content: center;
168 text-align: center;
169 border-radius: 100%;
170 cursor: pointer;
171 width: 30px;
172 height: 30px;
173 -webkit-user-select: none;
174 -moz-user-select: none;
175 -ms-user-select: none;
176 user-select: none;
177 color: $primary-purple;
178 border: 1px solid $border-gray;
179 margin: 0;
180
181 &:hover {
182 border: 1px solid $primary-purple;
183 background-color: $primary-purple-light;
184 }
185
186 input {
187 margin: 0;
188 }
189
190 .sd-rating__item-text {
191 margin: 0;
192 }
193
194 }
195
196 .sv-visuallyhidden[type="radio"]="radio""] {
197 position: absolute;
198 opacity: 0;
199 pointer-events: none;
200 }
201
202 .sd-rating__item-text {
203 margin-left: 5px;
204 }
205
206 .sd-remaining-character-counter {
207 font-weight: 400;
208 line-height: 24px;
209 color: $gray-base;
210 font-size: 14px;
211 }
212
213 }
214 }
215