Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5978499
ext.cargo.main.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
ext.cargo.main.less
View Options
/*
* Citizen
*
* SkinStyles for Extension:Cargo
* Module: ext.cargo.main
* Version: REL1_39 b4c6314
*
* Date: 2023-01-03
*/
@
import
'../../../resources/mixins.less'
;
span
.
cargoFieldName
{
color
:
var
(
--color-subtle
);
}
table
.
cargoTable
.
noMerge
tr
:
nth-child
(
odd
)
{
background
:
var
(
--color-surface-0
);
}
table
.
cargoTable
.
noMerge
tr
:
nth-child
(
even
)
{
background
:
var
(
--color-surface-2
);
}
table
.
cargoTable
.
mergeSimilarCells
td
.
odd
{
background
:
var
(
--color-surface-0
);
}
table
.
cargoTable
.
mergeSimilarCells
td
.
even
{
background
:
var
(
--color-surface-2
);
}
table
.
cargoTable
thead
tr
{
border-bottom
:
var
(
--border-width-base
)
solid
var
(
--border-color-base
);
}
table
.
cargoTable
tr
+
tr
{
border-top
:
var
(
--border-width-base
)
solid
var
(
--border-color-base
);
}
table
.
cargoTable
th
,
table
.
cargoTable
td
{
/* Sync with wikitable */
padding
:
var
(
--space-xs
)
var
(
--space-sm
);
}
table
.
cargoTable
th
{
/* Sync with wikitable */
text-align
:
start
;
}
table
.
cargoTable
td
{
/* Border handled by tr */
border
:
0
;
}
span
.
searchmatch
{
font-weight
:
var
(
--font-weight-semi-bold
);
color
:
var
(
--color-emphasized
);
}
div
.
cargoReplacementTableInfo
{
background
:
var
(
--color-surface-3
);
border-color
:
var
(
--border-color-base
);
}
.
addButton
,
.
deleteButton
{
/* BG color does not like filter */
background-color
:
transparent
;
border-color
:
var
(
--border-color-base
);
}
.
cargoQueryTooltipIcon
,
.
addButton
,
.
deleteButton
{
filter
:
var
(
--filter-invert
);
}
div
.
specialCargoQuery-extraPane
{
background
:
linear-gradient
(
transparent
,
var
(
--color-surface-2
)
0.5
em
);
border-color
:
var
(
--border-color-base
);
}
.
ui-state-focus
{
background
:
var
(
--color-progressive--active
)
!important
;
}
.
ui-menu
.
ui-menu-item
a
{
font-family
:
var
(
--font-family-base
);
color
:
var
(
--color-emphasized
);
}
//
Sync
with
wikitable
styles
//
Separate
Citizen
opinionated
styles
so
it
is
easy
to
track
and
debug
.
skin-citizen
{
table.cargoTable
{
border-radius
:
var
(
--border-radius-medium
);
box-shadow
:
var
(
--box-shadow-border
);
.mixin-citizen-font-styles(
'small'
)
;
tr
{
&:first-of-type
{
th,
td
{
&:first-child
{
border-top-left-radius
:
var
(
--border-radius-medium
);
}
&
:
last-child
{
border-top-right-radius
:
var
(
--border-radius-medium
);
}
}
}
&
:
last-of-type
{
th,
td
{
&:first-child
{
border-bottom-left-radius
:
var
(
--border-radius-medium
);
}
&
:
last-child
{
border-bottom-right-radius
:
var
(
--border-radius-medium
);
}
}
}
}
/* Reset border radius between thead tbody, tbody tfoot, etc. */
>
:
where
(
thead
,
tbody
,
tfoot
)
:
has
(
+
:
where
(
thead
,
tbody
,
tfoot
)
:
not
(
:
empty
)
)
{
tr
:
last
-
of-type
{
th
,
td
{
&:
first
-
child
{
border-bottom-left-radius
:
var
(
--border-radius-sharp
);
}
&
:
last-child
{
border-bottom-right-radius
:
var
(
--border-radius-sharp
);
}
}
}
}
>
:
where
(
thead
,
tbody
,
tfoot
)
+
:
where
(
thead
,
tbody
,
tfoot
)
:
not
(
:
empty
)
{
tr
:
first
-
of-type
{
th
,
td
{
&:
first
-
child
{
border-top-left-radius
:
var
(
--border-radius-sharp
);
}
&
:
last-child
{
border-top-right-radius
:
var
(
--border-radius-sharp
);
}
}
}
}
}
//
Temporary
responsiveness
fix
until
Cargo
patches
it
(
#
924
)
.
cargoDynamicTable
.
dataTable
{
display
:
block
;
max-width
:
max-content
;
//
Needed
for
the
border
overflow-x
:
auto
;
border-radius
:
var
(
--border-radius-medium
);
box-shadow
:
var
(
--box-shadow-border
);
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 20:26 (3 d, 18 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f9/d3/63c92870cbac1681974c052d3a95
Default Alt Text
ext.cargo.main.less (3 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment