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
anis
anis-client
Commits
ca767ef5
Commit
ca767ef5
authored
Sep 04, 2019
by
François Agneray
Browse files
Design
parent
2d2ac1fd
Changes
5
Show whitespace changes
Inline
Side-by-side
src/app/search/components/output/output-by-family.component.css
View file @
ca767ef5
.selectbox
{
max-
height
:
200px
;
height
:
200px
;
overflow-y
:
auto
;
border
:
1px
solid
#ced4da
;
border-radius
:
.25rem
;
...
...
@@ -8,3 +8,11 @@
.anis-color
{
color
:
#7AC29A
;
}
button
:hover
{
background-color
:
#F8F9FA
;
}
button
:focus
{
box-shadow
:
none
;
}
\ No newline at end of file
src/app/search/components/output/output-by-family.component.html
View file @
ca767ef5
<div
class=
"row"
>
<div
*ngFor=
"let category of getCategoryByFamily(outputFamily.id)"
class=
"col-12 col-md-6 text-center"
>
{{ category.label }}
<br
/>
<div
*ngFor=
"let category of getCategoryByFamily(outputFamily.id)"
class=
"col-12 col-md-6 my-3 text-center"
>
<p
class=
"mb-3"
><em>
{{ category.label }}
</em></p>
<div
class=
"selectbox py-1"
>
<button
(click)=
"toggleSelectAll()"
class=
"btn btn-block text-left py-0 m-0"
>
<div
*ngIf=
"isAllSelected; then selected else unselected"
></div>
...
...
src/app/search/components/output/output-tabs.component.css
View file @
ca767ef5
.panel.card.custom-accordion
.panel-heading.card-header
.panel-title
{
color
:
red
;
}
\ No newline at end of file
src/app/search/components/output/output-tabs.component.html
View file @
ca767ef5
...
...
@@ -10,7 +10,7 @@
</div>
<accordion
*ngIf=
"outputFamilyList.length > 1"
>
<accordion-group
#ag
*ngFor=
"let family of outputFamilyList"
[panelClass]=
"'custom-accordion'"
class=
"my-2"
<accordion-group
#ag
*ngFor=
"let family of outputFamilyList"
[panelClass]=
"'custom-accordion
-output
'"
class=
"my-2"
[isOpen]=
"true"
>
<button
class=
"btn btn-link btn-block clearfix"
accordion-heading
>
<div
class=
"pull-left float-left"
>
...
...
src/styles.css
View file @
ca767ef5
/* You can add global styles to this file, and also import other style files */
.custom-accordion-output
.panel-body
{
padding-top
:
0
;
padding-bottom
:
0
;
}
\ No newline at end of file
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