-
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.
* fix(drawing): style change when one selected * fenêtre édition style OK * Add DSFR icons and buttons * Fenêtre édition texte au DSFR
- Loading branch information
Showing
12 changed files
with
334 additions
and
137 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,83 @@ | ||
.gpf-btn-icon-drawing::after { | ||
-webkit-mask: url("img/modifier.svg") center no-repeat; | ||
mask: url("img/modifier.svg") center no-repeat; | ||
} | ||
} | ||
|
||
.gp-label-div, | ||
.gp-styling-div { | ||
width: 370px; | ||
transform: translateY(20px); | ||
} | ||
|
||
.gp-label-div textarea { | ||
max-width: 100%; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.gp-label-div input { | ||
width: 100%; | ||
} | ||
|
||
.gp-styling-button.closer { | ||
display: none; | ||
} | ||
|
||
.gp-styling-option.fr-range--sm[data-fr-js-range]::before, | ||
.gp-styling-option.fr-range--sm[data-fr-js-range]::after { | ||
top: 1.74rem; | ||
} | ||
|
||
.drawing-tool { | ||
width: 40px; | ||
} | ||
|
||
.drawing-tool-active { | ||
background-color: var(--hover-tint); | ||
} | ||
|
||
/* | ||
* Drawing tools | ||
*/ | ||
button[id^=drawing-tool-point-]::after { | ||
-webkit-mask: url("img/dsfr/create-point.svg") center no-repeat; | ||
mask: url("img/dsfr/create-point.svg") center no-repeat; | ||
} | ||
|
||
|
||
button[id^=drawing-tool-line-]::after { | ||
-webkit-mask: url("img/dsfr/create-line.svg") center no-repeat; | ||
mask: url("img/dsfr/create-line.svg") center no-repeat; | ||
} | ||
|
||
button[id^=drawing-tool-polygon-]::after { | ||
-webkit-mask: url("img/dsfr/create-polygon.svg") center no-repeat; | ||
mask: url("img/dsfr/create-polygon.svg") center no-repeat; | ||
} | ||
|
||
button[id^=drawing-tool-text-]::after { | ||
-webkit-mask: url("img/dsfr/create-label.svg") center no-repeat; | ||
mask: url("img/dsfr/create-label.svg") center no-repeat; | ||
} | ||
|
||
/* | ||
* Editing tools | ||
*/ | ||
button[id^=drawing-tool-edit-]::after { | ||
-webkit-mask: url("img/dsfr/edit-geom.svg") center no-repeat; | ||
mask: url("img/dsfr/edit-geom.svg") center no-repeat; | ||
} | ||
|
||
button[id^=drawing-tool-display]::after { | ||
-webkit-mask: url("img/dsfr/edit-style.svg") center no-repeat; | ||
mask: url("img/dsfr/edit-style.svg") center no-repeat; | ||
} | ||
|
||
button[id^=drawing-tool-tooltip]::after { | ||
-webkit-mask: url("img/dsfr/edit-text.svg") center no-repeat; | ||
mask: url("img/dsfr/edit-text.svg") center no-repeat; | ||
} | ||
|
||
button[id^=drawing-tool-remove]::after { | ||
-webkit-mask: url("img/dsfr/delete.svg") center no-repeat; | ||
mask: url("img/dsfr/delete.svg") center no-repeat; | ||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
src/packages/CSS/Controls/Drawing/img/dsfr/create-polygon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.