Skip to content

Commit

Permalink
fix survey Sass (#6436)
Browse files Browse the repository at this point in the history
* restore some sass to _wiki.scss

* remove yes/no zoom animation
  • Loading branch information
escattone authored Jan 9, 2025
1 parent fbb5e30 commit 10035a2
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 5 deletions.
71 changes: 71 additions & 0 deletions kitsune/sumo/static/sumo/scss/components/_wiki.scss
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,77 @@ div.video .kbox-container {
}
}

article {

#unhelpful-survey,
#helpful-survey {
textarea {
height: 65px;
margin: 6px 0 2px 12px;
resize: vertical;
width: 275px;
}

&:after {
background: #fff;
box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.3);
content: '';
display: block;
height: 10px;
left: -5px;
position: absolute;
top: 15px;
transform: rotate(45deg);
width: 10px;
z-index: 1;
}
}
}

#unhelpful-survey,
#helpful-survey {
p {
margin: p.$spacing-sm 0;
}

.helpful-button {
display: block;
margin-top: p.$spacing-md;
}

ul {
list-style: none;
}

li {
color: #fff;
cursor: pointer;
position: relative;

label {
font-weight: normal;
margin: 0;
@include c.text-body-sm;


&:before {
top: 2px;
margin-right: 10px;
}
}
}


.btn-submit {
margin: 6px 14px;
float: left;
}

.character-counter,
.disabled-reason {
@include c.text-body-xs;
}
}

.doc-watch {
padding: 40px 0 0 0;
Expand Down
6 changes: 1 addition & 5 deletions kitsune/sumo/static/sumo/scss/layout/_document.scss
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,6 @@
color: transparent;
}

&:not([disabled]):hover {
transform: scale(1.2);
}

&[disabled] {
opacity: 1;
cursor: default;
Expand Down Expand Up @@ -472,4 +468,4 @@
}
}
}
}
}

0 comments on commit 10035a2

Please sign in to comment.