Debian Codegraph @

resources/src/jquery/jquery.confirmable.less

raw
1 /* stylelint-disable selector-class-pattern */
2
3 .jquery-confirmable {
4 &-button {
5 /* Automatically flipped */
6 margin-left: 1ex;
7 }
8
9 &-wrapper {
10 /* Line breaks within the interface text are unpleasant */
11 white-space: nowrap;
12 /* Hiding the original text when it slides to the left */
13 overflow: hidden;
14 }
15
16 &-wrapper,
17 &-element,
18 &-interface {
19 /* We need inline-flex to be able to size the elements and calculate their dimensions */
20 display: inline-flex;
21 /* inline-flex elements in this context align to baseline by default */
22 vertical-align: bottom;
23 }
24
25 &-element {
26 transition: margin 250ms cubic-bezier( 0.2, 0.8, 0.2, 0.8 );
27 }
28
29 &-interface {
30 transition: width 250ms cubic-bezier( 0.2, 0.8, 0.2, 0.8 );
31 }
32 }