You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
2.1 KiB
54 lines
2.1 KiB
4 years ago
|
$buildings: belt, cutter, miner, mixer, painter, rotater, balancer, stacker, trash, underground_belt, wire,
|
||
4 years ago
|
constant_signal, logic_gate, lever, filter, wire_tunnel, display, virtual_processor, reader, storage;
|
||
4 years ago
|
|
||
|
@each $building in $buildings {
|
||
|
[data-icon="building_icons/#{$building}.png"] {
|
||
4 years ago
|
/* @load-async */
|
||
4 years ago
|
background-image: uiResource("res/ui/building_icons/#{$building}.png") !important;
|
||
|
}
|
||
|
}
|
||
|
|
||
4 years ago
|
$buildingsAndVariants: belt, balancer, balancer-merger, balancer-splitter, underground_belt,
|
||
4 years ago
|
underground_belt-tier2, miner, miner-chainable, cutter, cutter-quad, rotater, rotater-ccw, rotater-fl,
|
||
4 years ago
|
stacker, mixer, painter, painter-double, painter-quad, trash, storage, reader;
|
||
4 years ago
|
@each $building in $buildingsAndVariants {
|
||
|
[data-icon="building_tutorials/#{$building}.png"] {
|
||
4 years ago
|
/* @load-async */
|
||
4 years ago
|
background-image: uiResource("res/ui/building_tutorials/#{$building}.png") !important;
|
||
|
}
|
||
|
}
|
||
|
|
||
4 years ago
|
// @TODO: New buildings (balancer, wires, etc)
|
||
|
|
||
|
// Special cases for mirrored vairants
|
||
4 years ago
|
[data-icon="building_tutorials/painter-mirrored.png"] {
|
||
4 years ago
|
/* @load-async */
|
||
4 years ago
|
background-image: uiResource("res/ui/building_tutorials/painter.png") !important;
|
||
|
}
|
||
4 years ago
|
[data-icon="building_tutorials/balancer-merger-inverse.png"] {
|
||
4 years ago
|
/* @load-async */
|
||
4 years ago
|
background-image: uiResource("res/ui/building_tutorials/balancer-merger.png") !important;
|
||
|
}
|
||
|
[data-icon="building_tutorials/balancer-splitter-inverse.png"] {
|
||
4 years ago
|
/* @load-async */
|
||
4 years ago
|
background-image: uiResource("res/ui/building_tutorials/balancer-splitter.png") !important;
|
||
|
}
|
||
4 years ago
|
|
||
|
$icons: notification_saved, notification_success, notification_upgrade;
|
||
|
@each $icon in $icons {
|
||
|
[data-icon="icons/#{$icon}.png"] {
|
||
4 years ago
|
/* @load-async */
|
||
4 years ago
|
background-image: uiResource("res/ui/icons/#{$icon}.png") !important;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
$languages: en, de, cs, da, et, es-419, fr, it, pt-BR, sv, tr, el, ru, uk, zh-TW, zh-CN, nb, mt-MT, ar, nl, vi,
|
||
|
th, hu, pl, ja, kor, no, pt-PT;
|
||
|
|
||
|
@each $language in $languages {
|
||
|
[data-languageicon="#{$language}"] {
|
||
4 years ago
|
/* @load-async */
|
||
4 years ago
|
background-image: uiResource("languages/#{$language}.svg") !important;
|
||
|
}
|
||
|
}
|