Skip to content
Snippets Groups Projects
Commit fe9a3bc2 authored by Dorian Merz's avatar Dorian Merz
Browse files

refs #19648 [fid_bbi] fix some scss, follows #18965

parent cff4dcb7
No related merge requests found
.dropdown-menu {
background: $white;
box-shadow: 0 0 0 2px $text-color inset;
display: none;
list-style: none;
margin-top: g(.25);
padding: g(.5) g(.75);
position: absolute;
z-index: 9;
width: auto;
&.-right {
margin-top: g(.25 + 1.75); // only for record "Export"
right: 0;
}
// Set by JS
.open > & {
display: block;
}
// TODO: Use code above from a.active
&::before {
background: $white;
content: '';
display: block;
position: absolute;
width: 12px;
height: 12px;
border-left: 2px solid;
border-top: 2px solid;
top: -5.5px; // align with top
transform: rotate(45deg);
}
&.-right::before {
right: g();
}
> li {
&::before {
content: none;
}
+ li {
margin-top: g(.25);
}
}
}
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
@import 'blocks/browse'; @import 'blocks/browse';
@import 'blocks/button'; @import 'blocks/button';
@import 'blocks/container'; @import 'blocks/container';
@import 'blocks/dropdown-menu';
@import 'blocks/dbis'; @import 'blocks/dbis';
@import 'blocks/facet'; @import 'blocks/facet';
@import 'blocks/filters'; @import 'blocks/filters';
......
...@@ -34,54 +34,6 @@ a.active { ...@@ -34,54 +34,6 @@ a.active {
display: block; display: block;
} }
.dropdown-menu {
background: $white;
box-shadow: 0 0 0 2px $text-color inset;
display: none;
list-style: none;
margin-top: g(.25);
padding: g(.5) g(.75);
position: absolute;
z-index: 9;
&.-right {
margin-top: g(.25 + 1.75); // only for record "Export"
right: 0;
}
.open > & {
display: block;
}
// TODO: Use code above from a.active
&::before {
background: $white;
content: '';
display: block;
position: absolute;
width: 12px;
height: 12px;
border-left: 2px solid;
border-top: 2px solid;
top: -5.5px; // align with top
transform: rotate(45deg);
}
&.-right::before {
right: g();
}
> li {
&::before {
content: none;
}
+ li {
margin-top: g(.25);
}
}
}
// Last row of forms, containing a "cancel" link and the submit button // Last row of forms, containing a "cancel" link and the submit button
.form-group:last-child > .col-lg-11 { .form-group:last-child > .col-lg-11 {
width: 100%; width: 100%;
...@@ -174,3 +126,8 @@ a.active { ...@@ -174,3 +126,8 @@ a.active {
.resolver-links { .resolver-links {
margin-bottom: g(.5); margin-bottom: g(.5);
} }
// NOTE: Must come last to override other classes
.hidden {
display: none;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment