-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from Saifullah-dev/65-breadcrumb-handle-overflow
65 breadcrumb handle overflow
- Loading branch information
Showing
6 changed files
with
188 additions
and
56 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
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,18 +1,79 @@ | ||
@import "../../styles/variables"; | ||
|
||
.breadcrumb { | ||
height: calc(5.8% - 21px); | ||
display: flex; | ||
gap: 0.5rem; | ||
border-bottom: 1px solid #dddddd; | ||
padding: 10px 15px; | ||
overflow-x: scroll; | ||
.bread-crumb-container { | ||
position: relative; | ||
|
||
&::-webkit-scrollbar { | ||
height: 3px; | ||
} | ||
.breadcrumb { | ||
height: calc(5.8% - 21px); | ||
display: flex; | ||
gap: 0.5rem; | ||
border-bottom: 1px solid #dddddd; | ||
padding: 10px 0 10PX 15px; | ||
overflow-x: hidden; | ||
|
||
&::-webkit-scrollbar { | ||
height: 3px; | ||
} | ||
|
||
&::-webkit-scrollbar-thumb { | ||
background: $primary-color !important; | ||
} | ||
|
||
.folder-name { | ||
display: flex; | ||
align-items: center; | ||
gap: 0.25rem; | ||
font-weight: 500; | ||
min-width: fit-content; | ||
|
||
&:hover { | ||
cursor: pointer; | ||
color: $secondary-color; | ||
} | ||
} | ||
|
||
.hidden-folders { | ||
padding: 0 4px; | ||
} | ||
|
||
.folder-name-btn { | ||
background-color: transparent; | ||
border: none; | ||
padding: 0; | ||
|
||
&:hover, | ||
&:focus { | ||
cursor: pointer; | ||
color: $primary-color; | ||
background-color: #dddcdc; | ||
border-radius: 5px; | ||
} | ||
} | ||
|
||
&::-webkit-scrollbar-thumb { | ||
background: $primary-color !important; | ||
} | ||
} | ||
|
||
.hidden-folders-container { | ||
position: absolute; | ||
margin: 0; | ||
z-index: 2; | ||
background-color: rgb(99, 99, 99); | ||
color: white; | ||
padding: 4px; | ||
border-radius: 5px; | ||
font-size: .9em; | ||
left: 3rem; | ||
display: flex; | ||
flex-direction: column; | ||
gap: 5px; | ||
|
||
li { | ||
padding: 5px 10px; | ||
border-radius: 4px; | ||
|
||
&:hover { | ||
cursor: pointer; | ||
background-color: rgb(117, 117, 117); | ||
} | ||
} | ||
} |
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
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
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
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