Skip to content
Snippets Groups Projects
Commit b0a61d0a authored by Benjamin Melançon's avatar Benjamin Melançon
Browse files

Add Sass styles based on contrib Newtowne theme's

Issue #3413857
parent 098e1566
No related branches found
No related tags found
No related merge requests found
/* For language select list dropdown. */
.block-language-blocklanguage-interface {
z-index: 99;
width: 15rem;
display: inline-block;
}
.cyborgtranslate-dropdown-select-btn {
text-align: center;
}
.cyborgtranslate-dropdown {
position: relative;
ul {
position: absolute;
background-color: white;
width: 100%;
text-align: left;
li a {
padding: 0.3rem 0.3rem 0.3rem 0.6rem;
width: 100%;
display: inline-block;
&:hover {
background-color: whitesmoke;
}
}
}
}
......@@ -31,14 +31,12 @@
* @see template_preprocess_links()
*/
#}
WTF
{% if links -%}
<div class="dropdown-emulator">
<h1>What are we doing here?</h1>
<a href="#" class="dropdown-emulator-select-btn navbar-link" onclick="showDropDown(this);return false;">
<div class="cyborgtranslate-dropdown">
<a href="#" class="cyborgtranslate-dropdown-select-btn navbar-link" onclick="showDropDown(this);return false;">
{% trans %}Select language{% endtrans %}
</a>
<ul{{ attributes.addClass("dropdown-emulator-select-list") }}>
<ul{{ attributes.addClass("cyborgtranslate-dropdown-select-list") }}>
{%- for item in links -%}
<li{{ item.attributes }}>
{%- if item.link -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment