-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
45 changed files
with
1,376 additions
and
407 deletions.
There are no files selected for viewing
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
81 changes: 81 additions & 0 deletions
81
src/bundle/Resources/public/scss/ui/modules/universal-discovery/_collapsible.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,81 @@ | ||
.c-collapsible { | ||
$self: &; | ||
|
||
& + .c-filters-row, | ||
& + .c-filters__row { | ||
border-top: calculateRem(1px) solid $ibexa-color-light; | ||
} | ||
|
||
&--hidden { | ||
#{$self} { | ||
&__title { | ||
box-shadow: none; | ||
border-bottom-color: transparent; | ||
|
||
&:before { | ||
transform: rotate(135deg); | ||
} | ||
|
||
&:after { | ||
transform: rotate(-135deg); | ||
} | ||
} | ||
|
||
&__content { | ||
transform: scaleY(0); | ||
opacity: 0; | ||
height: 0; | ||
} | ||
} | ||
} | ||
|
||
&__title { | ||
position: relative; | ||
cursor: pointer; | ||
padding: 0 calculateRem(24px); | ||
font-size: $ibexa-text-font-size-medium; | ||
font-weight: 600; | ||
min-height: calculateRem(40px); | ||
display: flex; | ||
align-items: center; | ||
border-style: solid; | ||
border-color: $ibexa-color-light; | ||
border-width: calculateRem(1px) 0; | ||
box-shadow: calculateRem(4px) calculateRem(22px) calculateRem(47px) 0 rgba($ibexa-color-info, 0.05); | ||
|
||
@include collapsible-arrow; | ||
} | ||
|
||
&__content { | ||
transform: scaleY(1); | ||
transform-origin: top center; | ||
} | ||
|
||
&__content-wrapper { | ||
padding: calculateRem(16px) calculateRem(24px); | ||
} | ||
|
||
&__list { | ||
padding: 0; | ||
margin-bottom: 0; | ||
list-style-type: none; | ||
} | ||
|
||
&__list-item { | ||
padding: calculateRem(6px) 0; | ||
|
||
.form-check { | ||
width: 100%; | ||
} | ||
|
||
.form-check-label { | ||
width: 100%; | ||
text-overflow: ellipsis; | ||
overflow: hidden; | ||
} | ||
|
||
.ibexa-input--checkbox { | ||
margin-right: calculateRem(8px); | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...dle/Resources/public/scss/ui/modules/universal-discovery/_content.type.selector.list.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,23 @@ | ||
.c-content-type-selector-list { | ||
padding: 0; | ||
margin-bottom: 0; | ||
list-style-type: none; | ||
|
||
&__item { | ||
padding: calculateRem(6px) 0; | ||
|
||
.form-check { | ||
width: 100%; | ||
} | ||
|
||
.form-check-label { | ||
width: 100%; | ||
text-overflow: ellipsis; | ||
overflow: hidden; | ||
} | ||
|
||
.ibexa-input--checkbox { | ||
margin-right: calculateRem(8px); | ||
} | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
src/bundle/Resources/public/scss/ui/modules/universal-discovery/_filters-panel.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,3 @@ | ||
.c-filters-panel { | ||
@include c-filters-panel('.c-filters-row'); | ||
} |
3 changes: 3 additions & 0 deletions
3
src/bundle/Resources/public/scss/ui/modules/universal-discovery/_filters-row.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,3 @@ | ||
.c-filters-row { | ||
@include c-filters-row('__title'); | ||
} |
138 changes: 2 additions & 136 deletions
138
src/bundle/Resources/public/scss/ui/modules/universal-discovery/_filters.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 |
---|---|---|
@@ -1,145 +1,11 @@ | ||
.c-filters { | ||
position: relative; | ||
width: 100%; | ||
height: 100%; | ||
overflow: auto; | ||
padding-bottom: calculateRem(24px); | ||
|
||
&__header { | ||
display: flex; | ||
position: sticky; | ||
top: 0; | ||
background-color: $ibexa-color-white; | ||
z-index: 2; | ||
align-items: center; | ||
justify-content: space-between; | ||
padding: calculateRem(16px) calculateRem(12px); | ||
border-bottom: calculateRem(1px) solid $ibexa-color-light; | ||
} | ||
|
||
&__header-content { | ||
font-size: $ibexa-text-font-size-large; | ||
font-weight: 600; | ||
margin-right: calculateRem(8px); | ||
} | ||
|
||
&__header-actions { | ||
display: flex; | ||
flex-wrap: nowrap; | ||
} | ||
|
||
&__row-title { | ||
position: relative; | ||
font-size: $ibexa-text-font-size-medium; | ||
font-weight: 600; | ||
min-height: calculateRem(40px); | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
&__collapsible { | ||
& + .c-filters__row { | ||
border-top: calculateRem(1px) solid $ibexa-color-light; | ||
} | ||
|
||
&--hidden { | ||
.c-filters { | ||
&__collapsible-title { | ||
box-shadow: none; | ||
border-bottom-color: transparent; | ||
|
||
&:before { | ||
transform: rotate(135deg); | ||
} | ||
|
||
&:after { | ||
transform: rotate(-135deg); | ||
} | ||
} | ||
|
||
&__collapsible-content { | ||
transform: scaleY(0); | ||
opacity: 0; | ||
height: 0; | ||
} | ||
} | ||
} | ||
} | ||
|
||
&__collapsible-title { | ||
position: relative; | ||
cursor: pointer; | ||
padding: 0 calculateRem(24px); | ||
font-size: $ibexa-text-font-size-medium; | ||
font-weight: 600; | ||
min-height: calculateRem(40px); | ||
display: flex; | ||
align-items: center; | ||
border-style: solid; | ||
border-color: $ibexa-color-light; | ||
border-width: calculateRem(1px) 0; | ||
box-shadow: calculateRem(4px) calculateRem(22px) calculateRem(47px) 0 rgba($ibexa-color-info, 0.05); | ||
|
||
&::before, | ||
&::after { | ||
content: ''; | ||
position: absolute; | ||
z-index: 1; | ||
top: 50%; | ||
width: calculateRem(6px); | ||
height: calculateRem(1px); | ||
background: $ibexa-color-dark; | ||
} | ||
|
||
&::before { | ||
transform: rotate(225deg); | ||
right: calculateRem(12px); | ||
} | ||
|
||
&::after { | ||
transform: rotate(-225deg); | ||
right: calculateRem(16px); | ||
} | ||
} | ||
|
||
&__collapsible-content { | ||
transform: scaleY(1); | ||
transform-origin: top center; | ||
} | ||
|
||
&__collapsible-content-wrapper { | ||
padding: calculateRem(16px) calculateRem(24px); | ||
} | ||
@include c-filters-panel('.c-filters__row'); | ||
|
||
&__row { | ||
padding: calculateRem(4px) calculateRem(24px); | ||
@include c-filters-row('-title'); | ||
|
||
&--language { | ||
padding-bottom: calculateRem(16px); | ||
} | ||
} | ||
|
||
&__collapsible-list { | ||
padding: 0; | ||
margin-bottom: 0; | ||
list-style-type: none; | ||
} | ||
|
||
&__collapsible-list-item { | ||
padding: calculateRem(6px) 0; | ||
|
||
.form-check { | ||
width: 100%; | ||
} | ||
|
||
.form-check-label { | ||
width: 100%; | ||
text-overflow: ellipsis; | ||
overflow: hidden; | ||
} | ||
|
||
.ibexa-input--checkbox { | ||
margin-right: calculateRem(8px); | ||
} | ||
} | ||
} |
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
3 changes: 3 additions & 0 deletions
3
...ndle/Resources/public/scss/ui/modules/universal-discovery/_selected.items.panel.item.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,3 @@ | ||
.c-selected-items-panel-item { | ||
@include c-selected-items-panel-item; | ||
} |
3 changes: 3 additions & 0 deletions
3
src/bundle/Resources/public/scss/ui/modules/universal-discovery/_selected.items.panel.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,3 @@ | ||
.c-selected-items-panel { | ||
@include c-selected-items-panel; | ||
} |
Oops, something went wrong.