This repository has been archived by the owner on Jan 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
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 #1050 from christopheschwyzer/issue-1050
improve clickConfirm - remove tooltip
- Loading branch information
Showing
13 changed files
with
350 additions
and
291 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
11 changes: 11 additions & 0 deletions
11
client-vendor/after-body/jquery.clickDecorators/decorators/20-confirmed.less
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[data-click-confirmed]:not(.confirmClick) { | ||
.confirmClick-state-active { | ||
display: none; | ||
} | ||
} | ||
|
||
[data-click-confirmed].confirmClick { | ||
.confirmClick-state-inactive { | ||
display: none; | ||
} | ||
} |
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,13 +1,20 @@ | ||
@keyframes highlightErrorField { | ||
40% { outline-color: @colorError; } | ||
0% { outline-color: transparent; } | ||
40% { outline-color: @colorError; background-color: lighten(@colorError, 57); } | ||
100% { outline-color: transparent; } | ||
} | ||
@-webkit-keyframes highlightErrorField { | ||
40% { outline-color: @colorError; | ||
background-color: lighten(@colorError, 57);} | ||
} | ||
@-moz-keyframes highlightErrorField { | ||
40% { outline-color: @colorError; } | ||
} | ||
@-ms-keyframes highlightErrorField { | ||
40% { outline-color: @colorError; } | ||
|
||
@keyframes clickConfirm { | ||
0% { .transform(scale(1)); } | ||
4% { .transform(scale(1.3)); } | ||
7% { .transform(scale(1)); } | ||
45% { .transform(scale(.95)); } | ||
50% { .transform(scale(1)); opacity: 1; } | ||
60% { .transform(scale(.95)); opacity: .5; } | ||
70% { .transform(scale(1)); opacity: 1; } | ||
80% { .transform(scale(.95)); opacity: 0.5; } | ||
90% { .transform(scale(1)); opacity: 1; } | ||
91% { .transform(scale(1.05)); } | ||
94% { .transform(scale(.7)); opacity: 1; } | ||
100% { .transform(scale(1.4)); opacity: .1; } | ||
} |
Oops, something went wrong.