From 3f69ea167d297224cfb04f0a5d1ba9747f72f130 Mon Sep 17 00:00:00 2001 From: Layne Date: Thu, 17 Mar 2022 16:02:43 -0400 Subject: [PATCH] mod tools icons --- src/assets/images/icons/tickets.png | Bin 0 -> 143 bytes src/assets/images/icons/user.png | Bin 0 -> 881 bytes src/assets/styles/icons.scss | 11 +++++++++++ src/components/mod-tools/ModToolsView.tsx | 19 +++++++++---------- 4 files changed, 20 insertions(+), 10 deletions(-) create mode 100644 src/assets/images/icons/tickets.png create mode 100644 src/assets/images/icons/user.png diff --git a/src/assets/images/icons/tickets.png b/src/assets/images/icons/tickets.png new file mode 100644 index 0000000000000000000000000000000000000000..81f48834bae6b4204522e02b9c497af3c4bfe704 GIT binary patch literal 143 zcmV;A0C4|DNk%w1VG#fk0HOc@|NsBp-QB9Hs)&e){{a8u02)9*KmY&$A^8Le2mk~C zEC2ui01*HY000A2NNU{9Dw+@kz0|BWy6@Qn0K#aFgCJ;xF_vd+8ftBqMP2|?gdHgW=rl|B-u##d`X==W>fbp9+6a{?}&YvgF2qsfzAOUaJVc106XSNH{t*Q literal 0 HcmV?d00001 diff --git a/src/assets/images/icons/user.png b/src/assets/images/icons/user.png new file mode 100644 index 0000000000000000000000000000000000000000..c4155a2c232767fef9552f29f6cf1e20922db787 GIT binary patch literal 881 zcmV-%1CIQOP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!TiTL0%yHZsWLHH5nLnA?TH~0gBBGD2Ol@@Ea zto(eN3RI^FO0A zpHnKHjq~}unvH-=I@j^5S{E0@^|asEyrB)A=b@W<+MMt6h`?%Hxtv_zSl7P>;?LZMNOb|Caqc342zCg1{YW+;vj-aMXu{Y@tv8m5cvV@tevP6GAB|P zt-Qho66u9PK@zTxTkI}AUaW-cYLh!~v^9Ux;%YcoO` zEs_<p6k)*cALIjv2Ewx6@vqpaP;^YY~9|$?ja>e z?+Q^TI$tPiPs-2X%{CItmMntBdAu@}keHFnLz*^&K3?qUgso zlqkQ@QApwA&%1L-mE|>i=00000NkvXX Hu0mjfjA@BU literal 0 HcmV?d00001 diff --git a/src/assets/styles/icons.scss b/src/assets/styles/icons.scss index 2ab192a7..11d20360 100644 --- a/src/assets/styles/icons.scss +++ b/src/assets/styles/icons.scss @@ -580,6 +580,17 @@ height: 45px; } + &.icon-tickets { + background-image: url('../images/icons/tickets.png'); + width: 17px; + height: 17px; + } + &.icon-user { + background-image: url('../images/icons/user.png'); + width: 18px; + height: 19px; + } + &.spin { animation: rotating 1s linear infinite; } diff --git a/src/components/mod-tools/ModToolsView.tsx b/src/components/mod-tools/ModToolsView.tsx index 36ffea99..f88f4ed1 100644 --- a/src/components/mod-tools/ModToolsView.tsx +++ b/src/components/mod-tools/ModToolsView.tsx @@ -1,8 +1,7 @@ -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { RoomEngineObjectEvent, RoomObjectCategory } from '@nitrots/nitro-renderer'; import { FC, useCallback, useReducer, useState } from 'react'; import { GetRoomSession } from '../../api'; -import { Button, DraggableWindowPosition, NitroCardContentView, NitroCardHeaderView, NitroCardView } from '../../common'; +import { Base, Button, DraggableWindowPosition, NitroCardContentView, NitroCardHeaderView, NitroCardView } from '../../common'; import { ModToolsEvent, ModToolsOpenRoomChatlogEvent, ModToolsOpenRoomInfoEvent, ModToolsOpenUserInfoEvent } from '../../events'; import { DispatchUiEvent, UseRoomEngineEvent, UseUiEvent } from '../../hooks'; import { ISelectedUser } from './common/ISelectedUser'; @@ -188,17 +187,17 @@ export const ModToolsView: FC<{}> = props => setIsVisible(false) } /> - - - - }