-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(controlList): add controllist widget for classic mode (#300)
* feat(controlList): add controllist widget for classic mode * fix le truc d'elias
- Loading branch information
Showing
8 changed files
with
72 additions
and
17 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
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
4 changes: 4 additions & 0 deletions
4
src/packages/CSS/Controls/ControlList/DSFRcontrolListStyle.css
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
39 changes: 36 additions & 3 deletions
39
src/packages/CSS/Controls/ControlList/GPFcontrolListStyle.css
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,4 +1,37 @@ | ||
/* En attente d'implementation */ | ||
div[id^="GPcontrolList-"] { | ||
display: none; | ||
div[id^="GPcontrolList-"] .GPshowOpen > span { | ||
font-size: 24px; | ||
color: white; | ||
display: block; | ||
height: 24px; | ||
line-height: 24px; | ||
pointer-events: none; | ||
} | ||
|
||
button[id^="GPshowControlListPicto-"][aria-pressed="true"] + dialog { | ||
width: 200px; | ||
} | ||
|
||
.GPcontrolListPanelClose { | ||
background-image: url("img/close.png"); | ||
} | ||
|
||
dialog[id^="GPcontrolListPanel-"] .gpf-panel__content > div { | ||
display: flex; | ||
flex-direction: row; | ||
column-gap: 1rem; | ||
align-items: center; | ||
padding: 0.5rem 0.5rem; | ||
} | ||
|
||
dialog[id^="GPcontrolListPanel-"] .gpf-panel__content > div:hover { | ||
background-color: #EEE; | ||
cursor: pointer; | ||
} | ||
|
||
dialog[id^="GPcontrolListPanel-"] .gpf-panel__content > div > button { | ||
flex-shrink: 0; | ||
} | ||
|
||
dialog[id^="GPcontrolListPanel-"] .gpf-panel__content > div > button:hover { | ||
background-color: rgba(0,60,136,0.5); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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