Files
edx-platform/lms/static/sass/shared-v2/_help-tab.scss
2017-11-06 12:33:23 -05:00

108 lines
1.9 KiB
SCSS

#help-modal {
overflow: visible;
background: transparent;
box-shadow: none;
@media (max-width: $grid-breakpoints-md) {
width: 90% !important;
margin-left: -47% !important;
}
@media (min-width: $grid-breakpoints-md) {
width: 700px !important;
margin-left: -350px !important;
}
}
.help-tab {
@include transform(rotate(-90deg));
@include transform-origin(0 0);
z-index: z-index(front);
bottom: $baseline;
left: 0;
position: fixed;
a:link,
a:visited {
cursor: pointer;
border: 1px solid $border-color;
border-top-style: none;
border-radius: 0 0 ($baseline/2) ($baseline/2);
background: transparentize($white, 0.25);
color: transparentize(palette(grayscale, dark), 0.25);
font-weight: bold;
text-decoration: none;
padding: 6px 22px 11px;
display: inline-block;
&:hover,
&:focus {
color: $white;
background: palette(primary, base);
}
}
}
.help-buttons {
.btn {
flex-grow: 1;
}
a:link,
a:visited {
padding: ($baseline*0.75) 0;
text-align: center;
cursor: pointer;
background: $white;
text-decoration: none;
display: block;
border: 1px solid $border-color;
&#feedback_link_problem {
border-bottom-style: none;
border-radius: ($baseline/2) ($baseline/2) 0 0;
}
&#feedback_link_question {
border-top-style: none;
border-radius: 0 0 ($baseline/2) ($baseline/2);
}
&:hover,
&:focus {
color: $white;
background: palette(primary, base);
}
}
}
#feedback_form {
input,
textarea {
font: {
size: font-size(base);
family: $font-family-sans-serif;
}
line-height: 1.4;
}
textarea[name="details"] {
height: 150px;
}
}
#feedback_success_wrapper {
p {
padding: 0 $baseline $baseline;
}
}
.feedback-form-select {
background: $white;
margin-bottom: $baseline;
width: 100%;
}