Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: static/src/scss/components/_accordion.scss

Issue 29633564: Issue 5765 - Remove custom spacing units in help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Fixed issues with rebase Created Dec. 11, 2017, 4:37 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « static/src/scss/base/_variables.scss ('k') | static/src/scss/components/_article.scss » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: static/src/scss/components/_accordion.scss
===================================================================
--- a/static/src/scss/components/_accordion.scss
+++ b/static/src/scss/components/_accordion.scss
@@ -17,24 +17,24 @@
/*******************************************************************************
* Accordion
******************************************************************************/
.accordion
{
overflow: hidden;
border: 1px solid $gray;
- border-radius: $xs;
+ border-radius: 5px;
}
.accordion-toggle-button
{
display: block;
width: 100%;
- padding: $sm;
+ padding: $small-space;
border: 0;
border-bottom: 1px solid $gray;
outline: none;
background-color: $gray-light;
font: inherit;
font-weight: $bold-weight;
text-align: left;
cursor: pointer;
@@ -53,35 +53,35 @@
.accordion-heading:last-of-type .accordion-toggle-button[aria-expanded="false"]
{
border-bottom: 0;
}
.accordion-toggle-button img
{
- height: 0.6em;
- margin-right: 0.6em;
+ height: $x-small-space;
+ margin-right: $x-small-space;
}
[dir="rtl"] .accordion-toggle-button img
{
margin-right: 0;
- margin-left: 0.6em;
+ margin-left: $x-small-space;
transform: rotate(180deg);
}
.accordion-toggle-button[aria-expanded="false"] img
{
transform: rotate(90deg);
}
.accordion-body
{
- padding: $sm;
+ padding: 0 $small-space;
border-bottom: 1px solid $gray;
background-color: $white;
}
.accordion-body:last-of-type
{
border-bottom: 0;
}
« no previous file with comments | « static/src/scss/base/_variables.scss ('k') | static/src/scss/components/_article.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld