Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5968432
Drawer__button.less
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
Drawer__button.less
View Options
/* TODO: Use SVG animtation to replace CSS icons */
.
citizen-drawer
{
.citizen-dropdown-summary
{
>
.citizen-ui-icon
{
display
:
grid
;
place-content
:
center
;
transition
:
var
(
--transition-hover
);
transition-property
:
transform
;
>
span
{
display
:
block
;
width
:
1.125
rem
;
height
:
0.125
rem
;
margin
:
0.09375
rem
0
;
background-color
:
currentcolor
;
border-radius
:
var
(
--border-radius-large
);
transform-origin
:
0.25
rem
0
;
transition
:
inherit
;
&:first-child
{
transform-origin
:
0
0
;
}
&
:
nth-child
(
2
)
{
transform-origin
:
0
100
%
;
}
}
//
Since
this
is
a
CSS
icon
,
we
don
'
t
need
this
&
::
before
{
content
:
none
;
}
}
&
:
hover
{
>
.citizen-ui-icon
{
>
span
{
&:first-child
{
transform
:
translate3d
(
-50
%
,
0
,
0
);
}
}
}
}
}
>
.
citizen-dropdown-details
[
open
]
{
>
.citizen-dropdown-summary
{
>
.citizen-ui-icon
{
>
span
{
&:first-child
{
opacity
:
0
;
/* @noflip */
transform
:
rotate
(
0
deg
)
scale
(
0.2
,
0.2
);
}
//
Reflect
line
&
:
nth-child
(
2
)
{
/* @noflip */
transform
:
rotate
(
-45deg
)
translate3d
(
-0
.125
rem
,
0.375
rem
,
0
);
}
//
Hide
line
&
:
last-child
{
/* @noflip */
transform
:
rotate
(
45
deg
)
translate3d
(
-0
.3125
rem
,
-0
.4375
rem
,
0
);
}
}
}
&
:
hover
{
>
.citizen-ui-icon
{
transform
:
scale
(
0.85
);
}
}
}
}
}
//
RTL
.
rtl
{
.citizen-drawer
.
citizen-dropdown-summary
:
hover
{
>
.
citizen-ui-icon
>
span
:
first
-
child
{
transform
:
translate3d
(
50
%
,
0
,
0
);
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 13:03 (2 d, 1 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6c/10/5d1e85491fb49ed635da3e6f7468
Default Alt Text
Drawer__button.less (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment