Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4101339
mixins.less
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
mixins.less
View Options
//
Miscellaneous
assembly
//
Remember
to
use
this
for
similar
things
that
need
to
be
consistent
,
not
//
for
things
that
are
basically
the
same
thing
repeated
,
which
should
use
//
a
shared
class
instead
.
//
To
hide
objects
,
but
keep
them
accessible
for
screen-readers
.
hidden
()
{
position
:
absolute
;
top
:
-9999
px
;
left
:
0
;
}
//
Icons
-
hides
labels
,
but
keep
them
accessible
for
screen-readers
.
icon
()
{
text-indent
:
-99999
px
;
border
:
0
;
background-color
:
transparent
;
background-repeat
:
no-repeat
;
}
//
Icons
for
the
page
actions
menus
.
ca-icon
(
@
icon
:
''
)
{
background-image
:
url
(
'@{icon}.svg'
);
border
:
0
;
background-color
:
transparent
;
background-repeat
:
no-repeat
;
background-position
:
left
top
;
display
:
inline-block
;
margin-bottom
:
-0
.
35em
;
padding
:
0
2px
0
20px
;
}
//
For
use
after
.
ca-icon
()
...
.
ca-icon-only
()
{
text-indent
:
-99999
px
;
width
:
20
px
;
overflow
:
hidden
;
//
T174314
box-sizing
:
border-box
;
padding
:
0
;
}
.
box
()
{
background
:
@
base90
;
border
:
solid
@
base80
;
border-width
:
1
px
1
px
@
border
;
box-shadow
:
0
1
px
2
px
1
px
rgba
(
0
,
0
,
0
,
0.02
);
}
.
unbox
()
{
background
:
transparent
;
border
:
0
;
padding
:
0
;
box-shadow
:
none
;
}
.
nav-block
()
{
.box()
;
padding
:
1.5
em
1.5
em
0
;
margin
:
1
em
0
;
line-height
:
1.125
;
word-wrap
:
break-word
;
font-size
:
0.95
em
;
ul,
li
{
list-style
:
none
;
margin
:
0
;
padding
:
0
;
}
label
,
h3
{
font-weight
:
normal
;
font-size
:
1
em
;
margin
:
0.25
em
0
0.75
em
0
;
padding-bottom
:
0.15
em
;
border-bottom
:
solid
2
px
@
base70
;
display
:
block
;
}
.
mw-portlet
>
div
,
.
mw-portlet-body
{
margin-bottom
:
2
em
;
}
li
{
padding
:
0.25
em
0
;
}
}
.
column-right
()
{
padding-left
:
1
em
;
box-sizing
:
border-box
;
.sidebar-chunk
{
.nav-block()
;
}
}
.
column-left
()
{
padding-right
:
1
em
;
box-sizing
:
border-box
;
.sidebar-chunk
{
.nav-block()
;
}
}
//
Dropdowns
.
dropdown-header
()
{
cursor
:
pointer
;
margin-bottom
:
-0.45
em
;
padding-bottom
:
0.45
em
;
&::after
{
display
:
inline-block
;
content
:
''
;
width
:
22
px
;
height
:
12
px
;
background-image
:
url
(
images/arrow-down-grey.svg
);
background-position
:
center
center
;
background-repeat
:
no-repeat
;
}
}
.
dropdown-menu
(
@
direction
:
right
)
{
.
nav-block
();
background
:
@
background
;
box-shadow
:
0
2px
3px
1px
rgba
(
0
,
0
,
0
,
0
.
05
);
position
:
absolute
;
padding
:
20px
2em
0
;
margin
:
0
;
min-width
:
9
.
153em
;
top
:
2
.
95em
;
@
{
direction
}
:
-1em
;
overflow
:
visible
;
z-index
:
@
z-index-dropdown
;
}
.
dropdown-pokey
()
{
&::before,
&::after
{
transform
:
rotate
(
360
deg
);
//
to
force
some
smoothing
in
annoying
browsers
border-bottom
:
10
px
solid
@
base80
;
border-left
:
10
px
solid
transparent
;
border-right
:
10
px
solid
transparent
;
content
:
''
;
height
:
0
;
width
:
0
;
position
:
absolute
;
right
:
1
em
;
z-index
:
(
@
z-index
-
dropdown
+
1
);
}
&
::
before
{
top
:
-10
px
;
}
&
::
after
{
border-bottom-color
:
@
base100
;
top
:
-8
px
;
}
}
//
Categories
on
bottom
of
page
.
categories-bottom
()
{
#catlinks-sidebar
{
display
:
none
;
}
#
catlinks
{
margin
:
0
@
content
-
padding
;
padding
:
1
em
0
0.5
em
;
li
{
border-left
:
0
;
}
div
{
margin
:
0
0
0.35
em
;
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Aug 18, 16:55 (3 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
65/18/8a3d81c4b0b8f40667fbe91ce722
Default Alt Text
mixins.less (3 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment