-
-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add preview of questions to an election (#6749)
* add preview of questions to election show * remove unnecessary class
- Loading branch information
1 parent
a083b73
commit 8684b4e
Showing
5 changed files
with
136 additions
and
3 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
decidim-elections/app/assets/stylesheets/decidim/elections/focus/_accordion.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
.accordion{ | ||
background: transparent; | ||
|
||
.accordion-title{ | ||
font-size: $global-font-size; | ||
color: inherit; | ||
border: 0; | ||
border-radius: 0; | ||
|
||
span{ | ||
cursor: move; | ||
} | ||
|
||
&:focus{ | ||
background: transparent; | ||
} | ||
} | ||
|
||
.accordion-item{ | ||
// Override Foundation | ||
&:first-child > :first-child, | ||
&:last-child:not(.is-active) > .accordion-title{ | ||
border: 0; | ||
border-radius: 0; | ||
} | ||
} | ||
|
||
.accordion-content{ | ||
border: 0; | ||
|
||
.tabs-title > a[aria-selected="true"], | ||
.tabs-content{ | ||
background: transparent; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters