mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-15 02:24:04 +00:00
feat(core): use keywords for transform origin
This would allow CSSJanus to flip the styles correctly for RTL
This commit is contained in:
parent
8c0819c276
commit
ea875234be
|
@ -82,7 +82,7 @@
|
|||
right: 1.25rem;
|
||||
left: 1.25rem;
|
||||
.citizen-card;
|
||||
.citizen-card-hide( 100% 0 );
|
||||
.citizen-card-hide( top right );
|
||||
.citizen-card-transition();
|
||||
|
||||
&.citizen-pref-panel--active {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
user-select: none;
|
||||
will-change: transform;
|
||||
.citizen-card();
|
||||
.citizen-card-hide( 0 0 );
|
||||
.citizen-card-hide( top left );
|
||||
}
|
||||
|
||||
&__header {
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
margin-top: ~'calc( var( --size-button--page ) + 0.5rem )';
|
||||
font-size: 0.875rem;
|
||||
.citizen-card;
|
||||
.citizen-card-hide( 100% 0 );
|
||||
.citizen-card-hide( top right );
|
||||
|
||||
a {
|
||||
padding: 0.625rem 1.25rem;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
min-width: var( --size-dialog-min--header );
|
||||
font-size: 0.875rem;
|
||||
.citizen-card;
|
||||
.citizen-card-hide( 100% 0 );
|
||||
.citizen-card-hide( top right );
|
||||
}
|
||||
|
||||
// TODO: This mess needs refactor
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
margin: var( --margin-header ) var( --padding-header );
|
||||
gap: 0.25rem;
|
||||
.citizen-card();
|
||||
.citizen-card-hide( 100% 0, X, false );
|
||||
.citizen-card-hide( top right, X, false );
|
||||
|
||||
/**
|
||||
* Loading indicator for searchbox
|
||||
|
|
Loading…
Reference in a new issue