-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(models-manager): set tabs models based on model type (currently …
…only IFC)
- Loading branch information
1 parent
b4a33e6
commit 7956420
Showing
6 changed files
with
109 additions
and
321 deletions.
There are no files selected for viewing
56 changes: 42 additions & 14 deletions
56
src/components/specific/models/models-manager/ModelsManager.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,21 +1,49 @@ | ||
.models-manager { | ||
position: relative; | ||
box-shadow: var(--box-shadow); | ||
background-color: var(--color-silver-light); | ||
|
||
@include block-card($padding: var(--spacing-unit)); | ||
&__head { | ||
height: 44px; | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
&__tab-count { | ||
margin-left: var(--spacing-unit); | ||
padding: calc(var(--spacing-unit) / 6) calc(var(--spacing-unit) / 2); | ||
border-radius: 4px; | ||
font-size: 0.8rem; | ||
background-color: var(--color-primary); | ||
color: var(--color-white); | ||
&__body { | ||
height: calc(100% - 44px); | ||
background-color: var(--color-white); | ||
} | ||
|
||
&__action-bar { | ||
position: absolute; | ||
z-index: 1; | ||
margin-top: 8px; | ||
margin-left: 60px; | ||
&__tab { | ||
width: 188px; | ||
height: 100%; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
gap: var(--spacing-unit); | ||
cursor: pointer; | ||
|
||
opacity: 0.6; | ||
background-color: transparent; | ||
|
||
&.selected { | ||
opacity: 1; | ||
background-color: var(--color-white); | ||
} | ||
|
||
&__icon { | ||
width: 22px; | ||
height: 22px; | ||
} | ||
|
||
&__count { | ||
width: 18px; | ||
height: 18px; | ||
line-height: 16px; | ||
text-align: center; | ||
border-radius: 50%; | ||
font-size: 12px; | ||
background-color: var(--color-primary); | ||
color: var(--color-white); | ||
} | ||
} | ||
} |
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
49 changes: 0 additions & 49 deletions
49
src/components/specific/models/models-manager/ModelsManagerV2.scss
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.