Skip to content

Commit

Permalink
Ajuste le style lors du survol d'une version
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Oct 2, 2023
1 parent dafbec7 commit ad283fa
Showing 1 changed file with 23 additions and 10 deletions.
33 changes: 23 additions & 10 deletions front/src/components/Write/versions.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@
padding: .5rem;
}
> li.selected {
background-color: $selected-background;
background-color: hsl(120deg 68% 90%);
border-left-color: hsl(120deg 68% 45%);
}
> li.compareTo {
background-color: $beware-background;
background-color: hsl(0deg 100% 90%);
border-left-color: hsl(0deg 100% 45%);
}
> p {
padding: 0.5rem 1rem;
Expand All @@ -30,7 +32,8 @@
}

.version {
border-left: 4px solid #cecece;
border: 1px solid transparent;
border-left: 4px solid;
margin-bottom: 0.25em;
margin-left: 0.5rem;
margin-right: 0.25em;
Expand All @@ -42,6 +45,7 @@
color: inherit;
text-decoration: none;
flex-grow: 1;
background-color: transparent;

> header {
max-width: 265px;
Expand All @@ -50,17 +54,26 @@
}
}

.versionLinkCompare {
max-width: 200px;
}

.manualVersion {
border-left: 4px solid #202020;
border-left-color: hsl(0 0% 10% / 1);
color: hsl(0 0% 10% / 1);
}

.automaticVersion {
border-left: 4px solid #bebebe;
color: #858585;
border-left-color: hsl(0 0% 40%);
color: hsl(0 0% 40% / 1);
}

.version:hover {
border-bottom-color: hsl(0 0% 10%);
border-top-color: hsl(0 0% 10%);
border-right-color: hsl(0 0% 10%);
color: hsl(0 0% 10% / 1);
background-color: hsl(0 0% 90% / 1);
}

.versionLinkCompare {
max-width: 200px;
}

.versionLabel {
Expand Down

0 comments on commit ad283fa

Please sign in to comment.