Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
c8b22628
Commit
c8b22628
authored
Feb 12, 2018
by
Aria Givi
Browse files
dropdown der einzelnen kategorien funktioniert
parent
3308ef3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
resources/assets/less/metager/foki.less
View file @
c8b22628
/* Rund um
die Foki
*/
/* Rund um
s Fokus Modal
*/
#show-create-focus {
display: none;
...
...
@@ -38,6 +38,30 @@
}
}
}
.focus-dropdown-toggle {
display: none;
&:not(:checked) {
& ~ .focus-dropdown-label ~ .row {
max-height: 0px;
overflow: hidden;
}
}
&:checked {
& ~ .focus-dropdown-label::after {
content: "Einklappen 🡡";
}
}
}
.focus-dropdown-label {
font-weight: normal;
&::after {
font-size: 16px;
content: "Ausklappen 🡣";
margin-left: 3px;
}
}
}
}
...
...
resources/views/modals/create-focus-modal.blade.php
View file @
c8b22628
...
...
@@ -30,6 +30,8 @@
<h3
class=
"focus-category"
>
@lang("settings.foki." . $fokus)
</h3>
<input
type=
"checkbox"
id=
"toggle-{{ $fokus }}-dropdown"
class=
"focus-dropdown-toggle"
>
<label
class=
"focus-dropdown-label"
for=
"toggle-{{ $fokus }}-dropdown"
></label>
<div
class=
"row"
>
@foreach( $sumas as $name => $data )
<div
class=
"col-sm-6 col-md-4 col-lg-3"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment