|
884 | 884 | height:var(--link-item-edit-height); |
885 | 885 | width:100%; |
886 | 886 | position: absolute; |
887 | | -bottom:calc(-1*var(--link-item-edit-height)); |
888 | 887 | display: flex; |
889 | 888 | overflow: hidden; |
890 | 889 | flex-direction: row; |
891 | 890 | align-items: stretch; |
892 | 891 | justify-content: center; |
893 | | -transition: bottom var(--layout-transition-extra-fast); |
| 892 | +transition: top var(--layout-transition-extra-fast), bottom var(--layout-transition-extra-fast); |
| 893 | +} |
| 894 | + |
| 895 | +.is-link-orientation-top .link-control{ |
| 896 | +top:calc(-1*var(--link-item-edit-height)); |
| 897 | +} |
| 898 | + |
| 899 | +.is-link-orientation-bottom .link-control{ |
| 900 | +bottom:calc(-1*var(--link-item-edit-height)); |
| 901 | +} |
| 902 | + |
| 903 | +.is-edit.is-link-orientation-top .link-control{ |
| 904 | +top:0; |
| 905 | +transition: top var(--layout-duration-05) var(--layout-timing-bounce); |
894 | 906 | } |
895 | 907 |
|
896 | | -.is-edit .link-control{ |
| 908 | +.is-edit.is-link-orientation-bottom .link-control{ |
897 | 909 | bottom:0; |
898 | 910 | transition: bottom var(--layout-duration-05) var(--layout-timing-bounce); |
899 | 911 | } |
|
1027 | 1039 | height:var(--link-item-url-height); |
1028 | 1040 | width:100%; |
1029 | 1041 | position: absolute; |
1030 | | -bottom:calc(-1*var(--link-item-url-height)); |
1031 | 1042 | overflow: hidden; |
1032 | 1043 | display: none; |
1033 | 1044 | align-items: center; |
1034 | | -transition: bottom var(--layout-transition-extra-fast); |
| 1045 | +transition: top var(--layout-transition-extra-fast), bottom var(--layout-transition-extra-fast); |
| 1046 | +} |
| 1047 | + |
| 1048 | +.is-link-orientation-top .link-url{ |
| 1049 | +top:calc(-1*var(--link-item-url-height)); |
| 1050 | +} |
| 1051 | + |
| 1052 | +.is-link-orientation-bottom .link-url{ |
| 1053 | +bottom:calc(-1*var(--link-item-url-height)); |
1035 | 1054 | } |
1036 | 1055 |
|
1037 | 1056 | .is-link-item-url-show .link-url{ |
|
1056 | 1075 | justify-content: flex-end; |
1057 | 1076 | } |
1058 | 1077 |
|
1059 | | -.is-link-item-url-show:not(.is-edit) .link-item:focus-within .link-url, |
1060 | | -.is-link-item-url-show:not(.is-edit) .link-item:focus .link-url, |
1061 | | -.is-link-item-url-show:not(.is-edit) .link-item:hover .link-url{ |
| 1078 | +.is-link-orientation-top.is-link-item-url-show:not(.is-edit) .link-item:focus-within .link-url, |
| 1079 | +.is-link-orientation-top.is-link-item-url-show:not(.is-edit) .link-item:focus .link-url, |
| 1080 | +.is-link-orientation-top.is-link-item-url-show:not(.is-edit) .link-item:hover .link-url{ |
| 1081 | +top:0; |
| 1082 | +} |
| 1083 | + |
| 1084 | +.is-link-orientation-bottom.is-link-item-url-show:not(.is-edit) .link-item:focus-within .link-url, |
| 1085 | +.is-link-orientation-bottom.is-link-item-url-show:not(.is-edit) .link-item:focus .link-url, |
| 1086 | +.is-link-orientation-bottom.is-link-item-url-show:not(.is-edit) .link-item:hover .link-url{ |
1062 | 1087 | bottom:0; |
1063 | 1088 | } |
1064 | 1089 |
|
|
0 commit comments