diff --git a/package.json b/package.json index 4910ee8..2cb8e21 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "eslint": "eslint src --ext .ts,.tsx" }, "dependencies": { - "@tanstack/react-virtual": "3.2.0", + "@tanstack/react-virtual": "3.0.0-beta.60", "react": "^18.2.0", "react-bootstrap": "^2.2.2", "react-dom": "^18.2.0", diff --git a/src/assets/images/avatareditor/avatar_shadow.png b/src/assets/images/avatareditor/avatar_shadow.png new file mode 100644 index 0000000..33397f1 Binary files /dev/null and b/src/assets/images/avatareditor/avatar_shadow.png differ diff --git a/src/assets/images/avatareditor/body.png b/src/assets/images/avatareditor/body.png new file mode 100644 index 0000000..6f81867 Binary files /dev/null and b/src/assets/images/avatareditor/body.png differ diff --git a/src/assets/images/avatareditor/choice_bg.png b/src/assets/images/avatareditor/choice_bg.png new file mode 100644 index 0000000..13a3164 Binary files /dev/null and b/src/assets/images/avatareditor/choice_bg.png differ diff --git a/src/assets/images/avatareditor/color_frame.png b/src/assets/images/avatareditor/color_frame.png new file mode 100644 index 0000000..ed546d7 Binary files /dev/null and b/src/assets/images/avatareditor/color_frame.png differ diff --git a/src/assets/images/avatareditor/color_frame_active.png b/src/assets/images/avatareditor/color_frame_active.png new file mode 100644 index 0000000..4139152 Binary files /dev/null and b/src/assets/images/avatareditor/color_frame_active.png differ diff --git a/src/assets/images/avatareditor/hc_icon.png b/src/assets/images/avatareditor/hc_icon.png new file mode 100644 index 0000000..df4c23d Binary files /dev/null and b/src/assets/images/avatareditor/hc_icon.png differ diff --git a/src/assets/images/avatareditor/head.png b/src/assets/images/avatareditor/head.png new file mode 100644 index 0000000..76baf40 Binary files /dev/null and b/src/assets/images/avatareditor/head.png differ diff --git a/src/assets/images/avatareditor/legs.png b/src/assets/images/avatareditor/legs.png new file mode 100644 index 0000000..59076fd Binary files /dev/null and b/src/assets/images/avatareditor/legs.png differ diff --git a/src/assets/images/avatareditor/randomize.png b/src/assets/images/avatareditor/randomize.png new file mode 100644 index 0000000..048f94e Binary files /dev/null and b/src/assets/images/avatareditor/randomize.png differ diff --git a/src/assets/images/avatareditor/randomize_transparent.png b/src/assets/images/avatareditor/randomize_transparent.png new file mode 100644 index 0000000..382b9e0 Binary files /dev/null and b/src/assets/images/avatareditor/randomize_transparent.png differ diff --git a/src/assets/images/avatareditor/rotation_arrow.png b/src/assets/images/avatareditor/rotation_arrow.png new file mode 100644 index 0000000..fba2b87 Binary files /dev/null and b/src/assets/images/avatareditor/rotation_arrow.png differ diff --git a/src/assets/images/avatareditor/shirts.png b/src/assets/images/avatareditor/shirts.png new file mode 100644 index 0000000..ff77247 Binary files /dev/null and b/src/assets/images/avatareditor/shirts.png differ diff --git a/src/assets/images/avatareditor/wardrobe_bg.png b/src/assets/images/avatareditor/wardrobe_bg.png new file mode 100644 index 0000000..83fb613 Binary files /dev/null and b/src/assets/images/avatareditor/wardrobe_bg.png differ diff --git a/src/assets/images/avatareditor/wardrobe_left.png b/src/assets/images/avatareditor/wardrobe_left.png new file mode 100644 index 0000000..c809048 Binary files /dev/null and b/src/assets/images/avatareditor/wardrobe_left.png differ diff --git a/src/assets/images/avatareditor/wardrobe_right.png b/src/assets/images/avatareditor/wardrobe_right.png new file mode 100644 index 0000000..9ddd734 Binary files /dev/null and b/src/assets/images/avatareditor/wardrobe_right.png differ diff --git a/src/assets/images/avatareditor/wardrobe_user_bg.png b/src/assets/images/avatareditor/wardrobe_user_bg.png new file mode 100644 index 0000000..239658c Binary files /dev/null and b/src/assets/images/avatareditor/wardrobe_user_bg.png differ diff --git a/src/assets/images/boxes/ICONS.png b/src/assets/images/boxes/ICONS.png new file mode 100644 index 0000000..a8df5c4 Binary files /dev/null and b/src/assets/images/boxes/ICONS.png differ diff --git a/src/assets/images/boxes/Image 1356 at frame 1.png b/src/assets/images/boxes/Image 1356 at frame 1.png new file mode 100644 index 0000000..535c6ce Binary files /dev/null and b/src/assets/images/boxes/Image 1356 at frame 1.png differ diff --git a/src/assets/images/boxes/Image 1358 at frame 1.png b/src/assets/images/boxes/Image 1358 at frame 1.png new file mode 100644 index 0000000..f6b7c75 Binary files /dev/null and b/src/assets/images/boxes/Image 1358 at frame 1.png differ diff --git a/src/assets/images/boxes/Image 1384 at frame 1.png b/src/assets/images/boxes/Image 1384 at frame 1.png new file mode 100644 index 0000000..ec5466e Binary files /dev/null and b/src/assets/images/boxes/Image 1384 at frame 1.png differ diff --git a/src/assets/images/boxes/Image 1386 at frame 1.png b/src/assets/images/boxes/Image 1386 at frame 1.png new file mode 100644 index 0000000..f13d2b3 Binary files /dev/null and b/src/assets/images/boxes/Image 1386 at frame 1.png differ diff --git a/src/assets/images/boxes/Image 1404 at frame 1.png b/src/assets/images/boxes/Image 1404 at frame 1.png new file mode 100644 index 0000000..f63184b Binary files /dev/null and b/src/assets/images/boxes/Image 1404 at frame 1.png differ diff --git a/src/assets/images/boxes/Image 1443 at frame 1.png b/src/assets/images/boxes/Image 1443 at frame 1.png new file mode 100644 index 0000000..4133a4a Binary files /dev/null and b/src/assets/images/boxes/Image 1443 at frame 1.png differ diff --git a/src/assets/images/boxes/Image 1444 at frame 1.png b/src/assets/images/boxes/Image 1444 at frame 1.png new file mode 100644 index 0000000..cda7bd0 Binary files /dev/null and b/src/assets/images/boxes/Image 1444 at frame 1.png differ diff --git a/src/assets/images/boxes/Mouse.png b/src/assets/images/boxes/Mouse.png new file mode 100644 index 0000000..42fa703 Binary files /dev/null and b/src/assets/images/boxes/Mouse.png differ diff --git a/src/assets/images/boxes/UI-KIT.png b/src/assets/images/boxes/UI-KIT.png new file mode 100644 index 0000000..ebb285b Binary files /dev/null and b/src/assets/images/boxes/UI-KIT.png differ diff --git a/src/assets/images/boxes/UI-KIT2.png b/src/assets/images/boxes/UI-KIT2.png new file mode 100644 index 0000000..fae4a46 Binary files /dev/null and b/src/assets/images/boxes/UI-KIT2.png differ diff --git a/src/assets/images/boxes/boxfill.png b/src/assets/images/boxes/boxfill.png new file mode 100644 index 0000000..9c937b3 Binary files /dev/null and b/src/assets/images/boxes/boxfill.png differ diff --git a/src/assets/images/boxes/card/body.png b/src/assets/images/boxes/card/body.png new file mode 100644 index 0000000..db975ab Binary files /dev/null and b/src/assets/images/boxes/card/body.png differ diff --git a/src/assets/images/boxes/card/close.png b/src/assets/images/boxes/card/close.png new file mode 100644 index 0000000..b5347e3 Binary files /dev/null and b/src/assets/images/boxes/card/close.png differ diff --git a/src/assets/images/boxes/card/close_click.png b/src/assets/images/boxes/card/close_click.png new file mode 100644 index 0000000..27c5476 Binary files /dev/null and b/src/assets/images/boxes/card/close_click.png differ diff --git a/src/assets/images/boxes/card/close_hover.png b/src/assets/images/boxes/card/close_hover.png new file mode 100644 index 0000000..04d8668 Binary files /dev/null and b/src/assets/images/boxes/card/close_hover.png differ diff --git a/src/assets/images/boxes/card/dropdown.png b/src/assets/images/boxes/card/dropdown.png new file mode 100644 index 0000000..acae3a6 Binary files /dev/null and b/src/assets/images/boxes/card/dropdown.png differ diff --git a/src/assets/images/boxes/card/dropdown_button.png b/src/assets/images/boxes/card/dropdown_button.png new file mode 100644 index 0000000..876f9ee Binary files /dev/null and b/src/assets/images/boxes/card/dropdown_button.png differ diff --git a/src/assets/images/boxes/card/friend_req_bg.png b/src/assets/images/boxes/card/friend_req_bg.png new file mode 100644 index 0000000..8ba78fc Binary files /dev/null and b/src/assets/images/boxes/card/friend_req_bg.png differ diff --git a/src/assets/images/boxes/card/friend_req_pointer.png b/src/assets/images/boxes/card/friend_req_pointer.png new file mode 100644 index 0000000..27c5770 Binary files /dev/null and b/src/assets/images/boxes/card/friend_req_pointer.png differ diff --git a/src/assets/images/boxes/card/grey_card.png b/src/assets/images/boxes/card/grey_card.png new file mode 100644 index 0000000..39ca205 Binary files /dev/null and b/src/assets/images/boxes/card/grey_card.png differ diff --git a/src/assets/images/boxes/card/input.png b/src/assets/images/boxes/card/input.png new file mode 100644 index 0000000..f254308 Binary files /dev/null and b/src/assets/images/boxes/card/input.png differ diff --git a/src/assets/images/boxes/card/mod_close.png b/src/assets/images/boxes/card/mod_close.png new file mode 100644 index 0000000..cfbd441 Binary files /dev/null and b/src/assets/images/boxes/card/mod_close.png differ diff --git a/src/assets/images/boxes/card/mod_window.png b/src/assets/images/boxes/card/mod_window.png new file mode 100644 index 0000000..8cf4df2 Binary files /dev/null and b/src/assets/images/boxes/card/mod_window.png differ diff --git a/src/assets/images/boxes/card/pen.png b/src/assets/images/boxes/card/pen.png new file mode 100644 index 0000000..3ca1c35 Binary files /dev/null and b/src/assets/images/boxes/card/pen.png differ diff --git a/src/assets/images/boxes/card/questionmark.png b/src/assets/images/boxes/card/questionmark.png new file mode 100644 index 0000000..1c9204d Binary files /dev/null and b/src/assets/images/boxes/card/questionmark.png differ diff --git a/src/assets/images/boxes/card/questionmark_click.png b/src/assets/images/boxes/card/questionmark_click.png new file mode 100644 index 0000000..226b1db Binary files /dev/null and b/src/assets/images/boxes/card/questionmark_click.png differ diff --git a/src/assets/images/boxes/card/questionmark_hover.png b/src/assets/images/boxes/card/questionmark_hover.png new file mode 100644 index 0000000..c0689d1 Binary files /dev/null and b/src/assets/images/boxes/card/questionmark_hover.png differ diff --git a/src/assets/images/boxes/card/room_info_bg.png b/src/assets/images/boxes/card/room_info_bg.png new file mode 100644 index 0000000..7831f6e Binary files /dev/null and b/src/assets/images/boxes/card/room_info_bg.png differ diff --git a/src/assets/images/boxes/card/tabs.png b/src/assets/images/boxes/card/tabs.png new file mode 100644 index 0000000..9a58542 Binary files /dev/null and b/src/assets/images/boxes/card/tabs.png differ diff --git a/src/assets/images/boxes/card/tabs_active.png b/src/assets/images/boxes/card/tabs_active.png new file mode 100644 index 0000000..9f7b400 Binary files /dev/null and b/src/assets/images/boxes/card/tabs_active.png differ diff --git a/src/assets/images/boxes/card/tabs_avatareditor.png b/src/assets/images/boxes/card/tabs_avatareditor.png new file mode 100644 index 0000000..ded2f55 Binary files /dev/null and b/src/assets/images/boxes/card/tabs_avatareditor.png differ diff --git a/src/assets/images/boxes/card/tabs_hover.png b/src/assets/images/boxes/card/tabs_hover.png new file mode 100644 index 0000000..1c910a2 Binary files /dev/null and b/src/assets/images/boxes/card/tabs_hover.png differ diff --git a/src/assets/images/boxes/card/top.png b/src/assets/images/boxes/card/top.png new file mode 100644 index 0000000..42955b7 Binary files /dev/null and b/src/assets/images/boxes/card/top.png differ diff --git a/src/assets/images/boxes/close.png b/src/assets/images/boxes/close.png new file mode 100644 index 0000000..21bfe4c Binary files /dev/null and b/src/assets/images/boxes/close.png differ diff --git a/src/assets/images/buttons/accept.png b/src/assets/images/buttons/accept.png new file mode 100644 index 0000000..3e14c05 Binary files /dev/null and b/src/assets/images/buttons/accept.png differ diff --git a/src/assets/images/buttons/button.png b/src/assets/images/buttons/button.png new file mode 100644 index 0000000..6b778ab Binary files /dev/null and b/src/assets/images/buttons/button.png differ diff --git a/src/assets/images/buttons/button_active.png b/src/assets/images/buttons/button_active.png new file mode 100644 index 0000000..449b5ea Binary files /dev/null and b/src/assets/images/buttons/button_active.png differ diff --git a/src/assets/images/buttons/button_gray.png b/src/assets/images/buttons/button_gray.png new file mode 100644 index 0000000..b2ca49c Binary files /dev/null and b/src/assets/images/buttons/button_gray.png differ diff --git a/src/assets/images/buttons/button_gray_active.png b/src/assets/images/buttons/button_gray_active.png new file mode 100644 index 0000000..0b60ede Binary files /dev/null and b/src/assets/images/buttons/button_gray_active.png differ diff --git a/src/assets/images/buttons/button_gray_hover.png b/src/assets/images/buttons/button_gray_hover.png new file mode 100644 index 0000000..c6170ec Binary files /dev/null and b/src/assets/images/buttons/button_gray_hover.png differ diff --git a/src/assets/images/buttons/button_hover.png b/src/assets/images/buttons/button_hover.png new file mode 100644 index 0000000..e708bbd Binary files /dev/null and b/src/assets/images/buttons/button_hover.png differ diff --git a/src/assets/images/buttons/button_inactive.png b/src/assets/images/buttons/button_inactive.png new file mode 100644 index 0000000..23f877e Binary files /dev/null and b/src/assets/images/buttons/button_inactive.png differ diff --git a/src/assets/images/buttons/button_success.png b/src/assets/images/buttons/button_success.png new file mode 100644 index 0000000..b788d0a Binary files /dev/null and b/src/assets/images/buttons/button_success.png differ diff --git a/src/assets/images/buttons/button_success_active.png b/src/assets/images/buttons/button_success_active.png new file mode 100644 index 0000000..adb2d1b Binary files /dev/null and b/src/assets/images/buttons/button_success_active.png differ diff --git a/src/assets/images/buttons/button_success_hover.png b/src/assets/images/buttons/button_success_hover.png new file mode 100644 index 0000000..e41d115 Binary files /dev/null and b/src/assets/images/buttons/button_success_hover.png differ diff --git a/src/assets/images/buttons/checkbox.png b/src/assets/images/buttons/checkbox.png new file mode 100644 index 0000000..657dea8 Binary files /dev/null and b/src/assets/images/buttons/checkbox.png differ diff --git a/src/assets/images/buttons/checkbox_checked.png b/src/assets/images/buttons/checkbox_checked.png new file mode 100644 index 0000000..606ea5b Binary files /dev/null and b/src/assets/images/buttons/checkbox_checked.png differ diff --git a/src/assets/images/buttons/decline.png b/src/assets/images/buttons/decline.png new file mode 100644 index 0000000..5887342 Binary files /dev/null and b/src/assets/images/buttons/decline.png differ diff --git a/src/assets/images/buttons/toggle_bg.png b/src/assets/images/buttons/toggle_bg.png new file mode 100644 index 0000000..ffb1ca4 Binary files /dev/null and b/src/assets/images/buttons/toggle_bg.png differ diff --git a/src/assets/images/buttons/toggle_left.png b/src/assets/images/buttons/toggle_left.png new file mode 100644 index 0000000..52c4e58 Binary files /dev/null and b/src/assets/images/buttons/toggle_left.png differ diff --git a/src/assets/images/buttons/toggle_right.png b/src/assets/images/buttons/toggle_right.png new file mode 100644 index 0000000..0b28e70 Binary files /dev/null and b/src/assets/images/buttons/toggle_right.png differ diff --git a/src/assets/images/buttons/volter_bold_btn.png b/src/assets/images/buttons/volter_bold_btn.png new file mode 100644 index 0000000..4a690a5 Binary files /dev/null and b/src/assets/images/buttons/volter_bold_btn.png differ diff --git a/src/assets/images/buttons/volter_bold_btn_active.png b/src/assets/images/buttons/volter_bold_btn_active.png new file mode 100644 index 0000000..43b2ab1 Binary files /dev/null and b/src/assets/images/buttons/volter_bold_btn_active.png differ diff --git a/src/assets/images/buttons/volter_bold_btn_hover.png b/src/assets/images/buttons/volter_bold_btn_hover.png new file mode 100644 index 0000000..355bcce Binary files /dev/null and b/src/assets/images/buttons/volter_bold_btn_hover.png differ diff --git a/src/assets/images/buttons/volter_normal_btn.png b/src/assets/images/buttons/volter_normal_btn.png new file mode 100644 index 0000000..68d7468 Binary files /dev/null and b/src/assets/images/buttons/volter_normal_btn.png differ diff --git a/src/assets/images/buttons/volter_normal_btn_active.png b/src/assets/images/buttons/volter_normal_btn_active.png new file mode 100644 index 0000000..f7f81be Binary files /dev/null and b/src/assets/images/buttons/volter_normal_btn_active.png differ diff --git a/src/assets/images/buttons/volter_normal_btn_hover.png b/src/assets/images/buttons/volter_normal_btn_hover.png new file mode 100644 index 0000000..fbaf75c Binary files /dev/null and b/src/assets/images/buttons/volter_normal_btn_hover.png differ diff --git a/src/assets/images/chat/deleteaudio.png b/src/assets/images/chat/deleteaudio.png new file mode 100644 index 0000000..ba4c3a6 Binary files /dev/null and b/src/assets/images/chat/deleteaudio.png differ diff --git a/src/assets/images/chat/equis.png b/src/assets/images/chat/equis.png new file mode 100644 index 0000000..8cbad96 Binary files /dev/null and b/src/assets/images/chat/equis.png differ diff --git a/src/assets/images/chat/mas.png b/src/assets/images/chat/mas.png new file mode 100644 index 0000000..987fcf9 Binary files /dev/null and b/src/assets/images/chat/mas.png differ diff --git a/src/assets/images/chat/microphone-off.png b/src/assets/images/chat/microphone-off.png new file mode 100644 index 0000000..839e894 Binary files /dev/null and b/src/assets/images/chat/microphone-off.png differ diff --git a/src/assets/images/chat/microphone-on.png b/src/assets/images/chat/microphone-on.png new file mode 100644 index 0000000..9690cea Binary files /dev/null and b/src/assets/images/chat/microphone-on.png differ diff --git a/src/assets/images/chat/sticker.png b/src/assets/images/chat/sticker.png new file mode 100644 index 0000000..e6f21ba Binary files /dev/null and b/src/assets/images/chat/sticker.png differ diff --git a/src/assets/images/chat/stickers-icon.png b/src/assets/images/chat/stickers-icon.png new file mode 100644 index 0000000..28f813d Binary files /dev/null and b/src/assets/images/chat/stickers-icon.png differ diff --git a/src/assets/images/icons/builderstool.png b/src/assets/images/icons/builderstool.png new file mode 100644 index 0000000..5458f2f Binary files /dev/null and b/src/assets/images/icons/builderstool.png differ diff --git a/src/assets/images/icons/disablebubble.png b/src/assets/images/icons/disablebubble.png new file mode 100644 index 0000000..bbf1390 Binary files /dev/null and b/src/assets/images/icons/disablebubble.png differ diff --git a/src/assets/images/icons/enablebubble.png b/src/assets/images/icons/enablebubble.png new file mode 100644 index 0000000..217109c Binary files /dev/null and b/src/assets/images/icons/enablebubble.png differ diff --git a/src/assets/images/icons/room-history-back-disabled.png b/src/assets/images/icons/room-history-back-disabled.png new file mode 100644 index 0000000..78a4475 Binary files /dev/null and b/src/assets/images/icons/room-history-back-disabled.png differ diff --git a/src/assets/images/icons/room-history-back-enabled.png b/src/assets/images/icons/room-history-back-enabled.png new file mode 100644 index 0000000..bed6a42 Binary files /dev/null and b/src/assets/images/icons/room-history-back-enabled.png differ diff --git a/src/assets/images/icons/room-history-disabled.png b/src/assets/images/icons/room-history-disabled.png new file mode 100644 index 0000000..fcd8119 Binary files /dev/null and b/src/assets/images/icons/room-history-disabled.png differ diff --git a/src/assets/images/icons/room-history-enabled.png b/src/assets/images/icons/room-history-enabled.png new file mode 100644 index 0000000..287227b Binary files /dev/null and b/src/assets/images/icons/room-history-enabled.png differ diff --git a/src/assets/images/icons/room-history-next-disabled.png b/src/assets/images/icons/room-history-next-disabled.png new file mode 100644 index 0000000..3f82d0e Binary files /dev/null and b/src/assets/images/icons/room-history-next-disabled.png differ diff --git a/src/assets/images/icons/room-history-next-enabled.png b/src/assets/images/icons/room-history-next-enabled.png new file mode 100644 index 0000000..3de01c0 Binary files /dev/null and b/src/assets/images/icons/room-history-next-enabled.png differ diff --git a/src/assets/images/inventory/allow_recycle.png b/src/assets/images/inventory/allow_recycle.png new file mode 100644 index 0000000..550ca11 Binary files /dev/null and b/src/assets/images/inventory/allow_recycle.png differ diff --git a/src/assets/images/inventory/allow_trade.png b/src/assets/images/inventory/allow_trade.png new file mode 100644 index 0000000..b47fb88 Binary files /dev/null and b/src/assets/images/inventory/allow_trade.png differ diff --git a/src/assets/images/inventory/botsempty.png b/src/assets/images/inventory/botsempty.png new file mode 100644 index 0000000..cddc21a Binary files /dev/null and b/src/assets/images/inventory/botsempty.png differ diff --git a/src/assets/images/inventory/confirmed.png b/src/assets/images/inventory/confirmed.png new file mode 100644 index 0000000..89dfb81 Binary files /dev/null and b/src/assets/images/inventory/confirmed.png differ diff --git a/src/assets/images/inventory/empty.png b/src/assets/images/inventory/empty.png index d975b41..352aa84 100644 Binary files a/src/assets/images/inventory/empty.png and b/src/assets/images/inventory/empty.png differ diff --git a/src/assets/images/inventory/furniempty.png b/src/assets/images/inventory/furniempty.png new file mode 100644 index 0000000..443e496 Binary files /dev/null and b/src/assets/images/inventory/furniempty.png differ diff --git a/src/assets/images/inventory/item.png b/src/assets/images/inventory/item.png new file mode 100644 index 0000000..01a3d2d Binary files /dev/null and b/src/assets/images/inventory/item.png differ diff --git a/src/assets/images/inventory/lock_locked.png b/src/assets/images/inventory/lock_locked.png new file mode 100644 index 0000000..7d9a3cb Binary files /dev/null and b/src/assets/images/inventory/lock_locked.png differ diff --git a/src/assets/images/inventory/lock_open.png b/src/assets/images/inventory/lock_open.png new file mode 100644 index 0000000..39bd355 Binary files /dev/null and b/src/assets/images/inventory/lock_open.png differ diff --git a/src/assets/images/inventory/not_allow_recycle.png b/src/assets/images/inventory/not_allow_recycle.png new file mode 100644 index 0000000..febfdc8 Binary files /dev/null and b/src/assets/images/inventory/not_allow_recycle.png differ diff --git a/src/assets/images/inventory/not_allow_trade.png b/src/assets/images/inventory/not_allow_trade.png new file mode 100644 index 0000000..dc07c79 Binary files /dev/null and b/src/assets/images/inventory/not_allow_trade.png differ diff --git a/src/assets/images/inventory/petsempty.png b/src/assets/images/inventory/petsempty.png new file mode 100644 index 0000000..35bb785 Binary files /dev/null and b/src/assets/images/inventory/petsempty.png differ diff --git a/src/assets/images/inventory/selected_item.png b/src/assets/images/inventory/selected_item.png new file mode 100644 index 0000000..838b3b4 Binary files /dev/null and b/src/assets/images/inventory/selected_item.png differ diff --git a/src/assets/images/inventory/trading_bg.png b/src/assets/images/inventory/trading_bg.png new file mode 100644 index 0000000..c678de6 Binary files /dev/null and b/src/assets/images/inventory/trading_bg.png differ diff --git a/src/assets/images/loading/connecting-duck-spritesheet.png b/src/assets/images/loading/connecting-duck-spritesheet.png new file mode 100644 index 0000000..36c5dae Binary files /dev/null and b/src/assets/images/loading/connecting-duck-spritesheet.png differ diff --git a/src/assets/images/loading/connecting_duck_01.png b/src/assets/images/loading/connecting_duck_01.png new file mode 100644 index 0000000..e3772c8 Binary files /dev/null and b/src/assets/images/loading/connecting_duck_01.png differ diff --git a/src/assets/images/loading/connecting_duck_02.png b/src/assets/images/loading/connecting_duck_02.png new file mode 100644 index 0000000..86499a3 Binary files /dev/null and b/src/assets/images/loading/connecting_duck_02.png differ diff --git a/src/assets/images/loading/connecting_duck_03.png b/src/assets/images/loading/connecting_duck_03.png new file mode 100644 index 0000000..15a2bb9 Binary files /dev/null and b/src/assets/images/loading/connecting_duck_03.png differ diff --git a/src/assets/images/loading/connecting_duck_04.png b/src/assets/images/loading/connecting_duck_04.png new file mode 100644 index 0000000..90860f2 Binary files /dev/null and b/src/assets/images/loading/connecting_duck_04.png differ diff --git a/src/assets/images/loading/connecting_duck_05.png b/src/assets/images/loading/connecting_duck_05.png new file mode 100644 index 0000000..a72154a Binary files /dev/null and b/src/assets/images/loading/connecting_duck_05.png differ diff --git a/src/assets/images/loading/connecting_duck_06.png b/src/assets/images/loading/connecting_duck_06.png new file mode 100644 index 0000000..0e51a51 Binary files /dev/null and b/src/assets/images/loading/connecting_duck_06.png differ diff --git a/src/assets/images/loading/connecting_duck_07.png b/src/assets/images/loading/connecting_duck_07.png new file mode 100644 index 0000000..76c9e34 Binary files /dev/null and b/src/assets/images/loading/connecting_duck_07.png differ diff --git a/src/assets/images/loading/progress_habbos.gif b/src/assets/images/loading/progress_habbos.gif new file mode 100644 index 0000000..2224994 Binary files /dev/null and b/src/assets/images/loading/progress_habbos.gif differ diff --git a/src/assets/images/room/arrow-left.png b/src/assets/images/room/arrow-left.png new file mode 100644 index 0000000..1ca51d2 Binary files /dev/null and b/src/assets/images/room/arrow-left.png differ diff --git a/src/assets/images/room/arrow-right.png b/src/assets/images/room/arrow-right.png new file mode 100644 index 0000000..f7610ed Binary files /dev/null and b/src/assets/images/room/arrow-right.png differ diff --git a/src/assets/images/room/chatinput.png b/src/assets/images/room/chatinput.png new file mode 100644 index 0000000..235c3ce Binary files /dev/null and b/src/assets/images/room/chatinput.png differ diff --git a/src/assets/images/room/chatstyles_selector.png b/src/assets/images/room/chatstyles_selector.png new file mode 100644 index 0000000..35c2f9a Binary files /dev/null and b/src/assets/images/room/chatstyles_selector.png differ diff --git a/src/assets/images/room/chatstyles_selector_window.png b/src/assets/images/room/chatstyles_selector_window.png new file mode 100644 index 0000000..f6357db Binary files /dev/null and b/src/assets/images/room/chatstyles_selector_window.png differ diff --git a/src/assets/images/room/context_menu_arrow.png b/src/assets/images/room/context_menu_arrow.png new file mode 100644 index 0000000..f7e6a5f Binary files /dev/null and b/src/assets/images/room/context_menu_arrow.png differ diff --git a/src/assets/images/room/context_menu_arrow_hover.png b/src/assets/images/room/context_menu_arrow_hover.png new file mode 100644 index 0000000..fe46347 Binary files /dev/null and b/src/assets/images/room/context_menu_arrow_hover.png differ diff --git a/src/assets/images/room/context_menu_arrow_up.png b/src/assets/images/room/context_menu_arrow_up.png new file mode 100644 index 0000000..82001bc Binary files /dev/null and b/src/assets/images/room/context_menu_arrow_up.png differ diff --git a/src/assets/images/room/context_menu_arrow_up_hover.png b/src/assets/images/room/context_menu_arrow_up_hover.png new file mode 100644 index 0000000..738fd81 Binary files /dev/null and b/src/assets/images/room/context_menu_arrow_up_hover.png differ diff --git a/src/assets/images/room/context_menu_bg.png b/src/assets/images/room/context_menu_bg.png new file mode 100644 index 0000000..ef15843 Binary files /dev/null and b/src/assets/images/room/context_menu_bg.png differ diff --git a/src/assets/images/room/context_menu_btn_bg.png b/src/assets/images/room/context_menu_btn_bg.png new file mode 100644 index 0000000..6df4fd5 Binary files /dev/null and b/src/assets/images/room/context_menu_btn_bg.png differ diff --git a/src/assets/images/room/context_pointer_after.png b/src/assets/images/room/context_pointer_after.png new file mode 100644 index 0000000..46c7fba Binary files /dev/null and b/src/assets/images/room/context_pointer_after.png differ diff --git a/src/assets/images/room/infostand_buttons.png b/src/assets/images/room/infostand_buttons.png new file mode 100644 index 0000000..278e065 Binary files /dev/null and b/src/assets/images/room/infostand_buttons.png differ diff --git a/src/assets/images/room/infostand_buttons_active.png b/src/assets/images/room/infostand_buttons_active.png new file mode 100644 index 0000000..4809781 Binary files /dev/null and b/src/assets/images/room/infostand_buttons_active.png differ diff --git a/src/assets/images/room/infostand_buttons_hover.png b/src/assets/images/room/infostand_buttons_hover.png new file mode 100644 index 0000000..307cbbe Binary files /dev/null and b/src/assets/images/room/infostand_buttons_hover.png differ diff --git a/src/assets/images/room/name_bg.png b/src/assets/images/room/name_bg.png new file mode 100644 index 0000000..d12d8fc Binary files /dev/null and b/src/assets/images/room/name_bg.png differ diff --git a/src/assets/images/room/pointer_after.png b/src/assets/images/room/pointer_after.png new file mode 100644 index 0000000..a2c6d51 Binary files /dev/null and b/src/assets/images/room/pointer_after.png differ diff --git a/src/assets/images/room/report-room.png b/src/assets/images/room/report-room.png new file mode 100644 index 0000000..37672aa Binary files /dev/null and b/src/assets/images/room/report-room.png differ diff --git a/src/assets/images/wardrobe/hd.png b/src/assets/images/wardrobe/hd.png new file mode 100644 index 0000000..307d6f7 Binary files /dev/null and b/src/assets/images/wardrobe/hd.png differ diff --git a/src/assets/images/wardrobe/head.png b/src/assets/images/wardrobe/head.png new file mode 100644 index 0000000..977012d Binary files /dev/null and b/src/assets/images/wardrobe/head.png differ diff --git a/src/assets/images/wardrobe/legs.png b/src/assets/images/wardrobe/legs.png new file mode 100644 index 0000000..5978a3a Binary files /dev/null and b/src/assets/images/wardrobe/legs.png differ diff --git a/src/assets/images/wardrobe/torso.png b/src/assets/images/wardrobe/torso.png new file mode 100644 index 0000000..a58918b Binary files /dev/null and b/src/assets/images/wardrobe/torso.png differ diff --git a/src/assets/images/wardrobe/wardrobe.png b/src/assets/images/wardrobe/wardrobe.png new file mode 100644 index 0000000..6913da7 Binary files /dev/null and b/src/assets/images/wardrobe/wardrobe.png differ diff --git a/src/assets/styles/bootstrap/_accordion.scss b/src/assets/styles/bootstrap/_accordion.scss index 2d6ab38..fc62ceb 100644 --- a/src/assets/styles/bootstrap/_accordion.scss +++ b/src/assets/styles/bootstrap/_accordion.scss @@ -93,6 +93,7 @@ padding: $accordion-body-padding-y $accordion-body-padding-x; } + // Flush accordion items // // Remove borders and border-radius to keep accordion items edge-to-edge. @@ -107,12 +108,8 @@ border-left: 0; @include border-radius(0); - &:first-child { - border-top: 0; - } - &:last-child { - border-bottom: 0; - } + &:first-child { border-top: 0; } + &:last-child { border-bottom: 0; } .accordion-button { @include border-radius(0); diff --git a/src/assets/styles/bootstrap/_alert.scss b/src/assets/styles/bootstrap/_alert.scss index 670a7bf..80b6a43 100644 --- a/src/assets/styles/bootstrap/_alert.scss +++ b/src/assets/styles/bootstrap/_alert.scss @@ -1,7 +1,7 @@ -@use 'sass:math'; // // Base styles // +@use 'sass:math'; .alert { position: relative; @@ -22,6 +22,7 @@ font-weight: $alert-link-font-weight; } + // Dismissible alerts // // Expand the right padding and account for the close button's positioning. @@ -39,6 +40,7 @@ } } + // scss-docs-start alert-modifiers // Generate contextual modifier classes for colorizing the alert. diff --git a/src/assets/styles/bootstrap/_breadcrumb.scss b/src/assets/styles/bootstrap/_breadcrumb.scss index bbd5552..f7fafe7 100644 --- a/src/assets/styles/bootstrap/_breadcrumb.scss +++ b/src/assets/styles/bootstrap/_breadcrumb.scss @@ -18,14 +18,7 @@ float: left; // Suppress inline spacings and underlining of the separator padding-right: $breadcrumb-item-padding-x; color: $breadcrumb-divider-color; - content: var( - --#{$variable-prefix}breadcrumb-divider, - escape-svg($breadcrumb-divider) - ) - #{"/* rtl:"} var( - --#{$variable-prefix}breadcrumb-divider, - escape-svg($breadcrumb-divider-flipped) - ) #{"*/"}; + content: var(--#{$variable-prefix}breadcrumb-divider, escape-svg($breadcrumb-divider)) #{"/* rtl:"} var(--#{$variable-prefix}breadcrumb-divider, escape-svg($breadcrumb-divider-flipped)) #{"*/"}; } } diff --git a/src/assets/styles/bootstrap/_button-group.scss b/src/assets/styles/bootstrap/_button-group.scss index e7b961c..13aa056 100644 --- a/src/assets/styles/bootstrap/_button-group.scss +++ b/src/assets/styles/bootstrap/_button-group.scss @@ -61,20 +61,17 @@ // // Remix the default button sizing classes into new ones for easier manipulation. -.btn-group-sm > .btn { - @extend .btn-sm; -} -.btn-group-lg > .btn { - @extend .btn-lg; -} +.btn-group-sm > .btn { @extend .btn-sm; } +.btn-group-lg > .btn { @extend .btn-lg; } + // // Split button dropdowns // .dropdown-toggle-split { - padding-right: $btn-padding-x * 0.75; - padding-left: $btn-padding-x * 0.75; + padding-right: $btn-padding-x * .75; + padding-left: $btn-padding-x * .75; &::after, .dropup &::after, @@ -88,15 +85,16 @@ } .btn-sm + .dropdown-toggle-split { - padding-right: $btn-padding-x-sm * 0.75; - padding-left: $btn-padding-x-sm * 0.75; + padding-right: $btn-padding-x-sm * .75; + padding-left: $btn-padding-x-sm * .75; } .btn-lg + .dropdown-toggle-split { - padding-right: $btn-padding-x-lg * 0.75; - padding-left: $btn-padding-x-lg * 0.75; + padding-right: $btn-padding-x-lg * .75; + padding-left: $btn-padding-x-lg * .75; } + // The clickable button for toggling the menu // Set the same inset shadow as the :active state .btn-group.show .dropdown-toggle { @@ -108,6 +106,7 @@ } } + // // Vertical button groups // diff --git a/src/assets/styles/bootstrap/_buttons.scss b/src/assets/styles/bootstrap/_buttons.scss index 672fd60..3c2cba9 100644 --- a/src/assets/styles/bootstrap/_buttons.scss +++ b/src/assets/styles/bootstrap/_buttons.scss @@ -16,12 +16,7 @@ user-select: none; background-color: transparent; border: $btn-border-width solid transparent; - @include button-size( - $btn-padding-y, - $btn-padding-x, - $btn-font-size, - $btn-border-radius - ); + @include button-size($btn-padding-y, $btn-padding-x, $btn-font-size, $btn-border-radius); @include transition($btn-transition); &:hover { @@ -55,6 +50,7 @@ } } + // // Alternate buttons // @@ -73,6 +69,7 @@ } // scss-docs-end btn-variant-loops + // // Link buttons // @@ -105,131 +102,15 @@ // No need for an active state here } + // // Button Sizes // -.btn-toggle { - border-image-source: url("@/assets/images/buttons/toggle_bg.png"); - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - cursor: pointer; - - .toggle-icon { - background-repeat: no-repeat; - width: 6px; - height: 8px; - - &.left { - background-image: url("@/assets/images/buttons/toggle_left.png"); - } - - &.right { - background-image: url("@/assets/images/buttons/toggle_right.png"); - } - } -} - -.infostand-buttons { - border-image-source: url(@/assets/images/room/infostand_buttons.png); - border-image-slice: 3 3 3 3 fill; - border-image-width: 3px 3px 3px 3px; - font-size: 9px; - color: #ffffff; - height: 25px; - margin-top: 5px; - - &:hover { - border-image-source: url(@/assets/images/room/infostand_buttons_hover.png); - } - - &:active { - border-image-source: url(@/assets/images/room/infostand_buttons_active.png); - } -} - -.volter-bold-button { - border-image-source: url(@/assets/images/buttons/volter_bold_btn.png); - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - font-size: 9px; - height: 20px; - margin-top: 5px; - - &:hover { - border-image-source: url(@/assets/images/buttons/volter_bold_btn_hover.png); - } - - &:active { - border-image-source: url(@/assets/images/buttons/volter_bold_btn_active.png); - } -} - -.volter-button { - border-image-source: url(@/assets/images/buttons/volter_normal_btn.png); - border-image-slice: 4 4 4 4 fill; - border-image-width: 4px 4px 4px 4px; - font-size: 9px; - height: 20px; - margin-top: 5px; - - &:hover { - border-image-source: url(@/assets/images/buttons/volter_normal_btn_hover.png); - } - - &:active { - border-image-source: url(@/assets/images/buttons/volter_normal_btn_active.png); - } - &.active { - border-image-source: url(@/assets/images/buttons/volter_normal_btn_active.png); - } -} - -.notification-buttons { - border-image-source: url(@/assets/images/room/infostand_buttons.png); - border-image-slice: 3 3 3 3 fill; - border-image-width: 3px 3px 3px 3px; - color: #ffffff; - height: 25px; - font-size: 13px; - padding: 0; - border-radius: 13px; - - &:hover { - border-image-source: url(@/assets/images/room/infostand_buttons_hover.png); - } - - &:active { - border-image-source: url(@/assets/images/room/infostand_buttons_active.png); - } -} - -.notification-text-link { - font-size: 13px; -} - -.gift-color-btn { - outline: 1px solid #000; - border: 3px solid #fff; - min-height: 22px; - min-width: 23px; - -} - .btn-lg { - @include button-size( - $btn-padding-y-lg, - $btn-padding-x-lg, - $btn-font-size-lg, - $btn-border-radius-lg - ); + @include button-size($btn-padding-y-lg, $btn-padding-x-lg, $btn-font-size-lg, $btn-border-radius-lg); } .btn-sm { - @include button-size( - $btn-padding-y-sm, - $btn-padding-x-sm, - $btn-font-size-sm, - $btn-border-radius-sm - ); + @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-border-radius-sm); } diff --git a/src/assets/styles/bootstrap/_card.scss b/src/assets/styles/bootstrap/_card.scss index 94f1b4c..22890f5 100644 --- a/src/assets/styles/bootstrap/_card.scss +++ b/src/assets/styles/bootstrap/_card.scss @@ -29,7 +29,7 @@ @include border-top-radius($card-inner-border-radius); } - &:last-child { + &:last-child { border-bottom-width: 0; @include border-bottom-radius($card-inner-border-radius); } @@ -56,7 +56,7 @@ } .card-subtitle { - margin-top: -$card-title-spacer-y * 0.5; + margin-top: -$card-title-spacer-y * .5; margin-bottom: 0; } @@ -86,9 +86,7 @@ border-bottom: $card-border-width solid $card-border-color; &:first-child { - @include border-radius( - $card-inner-border-radius $card-inner-border-radius 0 0 - ); + @include border-radius($card-inner-border-radius $card-inner-border-radius 0 0); } } @@ -99,20 +97,19 @@ border-top: $card-border-width solid $card-border-color; &:last-child { - @include border-radius( - 0 0 $card-inner-border-radius $card-inner-border-radius - ); + @include border-radius(0 0 $card-inner-border-radius $card-inner-border-radius); } } + // // Header navs // .card-header-tabs { - margin-right: -$card-cap-padding-x * 0.5; + margin-right: -$card-cap-padding-x * .5; margin-bottom: -$card-cap-padding-y; - margin-left: -$card-cap-padding-x * 0.5; + margin-left: -$card-cap-padding-x * .5; border-bottom: 0; @if $nav-tabs-link-active-bg != $card-bg { @@ -124,8 +121,8 @@ } .card-header-pills { - margin-right: -$card-cap-padding-x * 0.5; - margin-left: -$card-cap-padding-x * 0.5; + margin-right: -$card-cap-padding-x * .5; + margin-left: -$card-cap-padding-x * .5; } // Card image @@ -155,6 +152,7 @@ @include border-bottom-radius($card-inner-border-radius); } + // // Card groups // diff --git a/src/assets/styles/bootstrap/_carousel.scss b/src/assets/styles/bootstrap/_carousel.scss index 6ea3d65..3d8fb15 100644 --- a/src/assets/styles/bootstrap/_carousel.scss +++ b/src/assets/styles/bootstrap/_carousel.scss @@ -55,6 +55,7 @@ /* rtl:end:ignore */ + // // Alternate transitions // @@ -81,6 +82,7 @@ } } + // // Left/right controls for nav // @@ -115,19 +117,11 @@ } .carousel-control-prev { left: 0; - background-image: if( - $enable-gradients, - linear-gradient(90deg, rgba($black, 0.25), rgba($black, 0.001)), - null - ); + background-image: if($enable-gradients, linear-gradient(90deg, rgba($black, .25), rgba($black, .001)), null); } .carousel-control-next { right: 0; - background-image: if( - $enable-gradients, - linear-gradient(270deg, rgba($black, 0.25), rgba($black, 0.001)), - null - ); + background-image: if($enable-gradients, linear-gradient(270deg, rgba($black, .25), rgba($black, .001)), null); } // Icons for within @@ -201,15 +195,16 @@ } } + // Optional captions // // .carousel-caption { position: absolute; - right: (100% - $carousel-caption-width) * 0.5; + right: (100% - $carousel-caption-width) * .5; bottom: $carousel-caption-spacer; - left: (100% - $carousel-caption-width) * 0.5; + left: (100% - $carousel-caption-width) * .5; padding-top: $carousel-caption-padding-y; padding-bottom: $carousel-caption-padding-y; color: $carousel-caption-color; diff --git a/src/assets/styles/bootstrap/_close.scss b/src/assets/styles/bootstrap/_close.scss index 27fc146..32a0f68 100644 --- a/src/assets/styles/bootstrap/_close.scss +++ b/src/assets/styles/bootstrap/_close.scss @@ -9,8 +9,7 @@ height: $btn-close-height; padding: $btn-close-padding-y $btn-close-padding-x; color: $btn-close-color; - background: transparent escape-svg($btn-close-bg) center / $btn-close-width - auto no-repeat; // include transparent for button elements + background: transparent escape-svg($btn-close-bg) center / $btn-close-width auto no-repeat; // include transparent for button elements border: 0; // for button elements @include border-radius(); opacity: $btn-close-opacity; diff --git a/src/assets/styles/bootstrap/_dropdown.scss b/src/assets/styles/bootstrap/_dropdown.scss index d3fbf68..adc1143 100644 --- a/src/assets/styles/bootstrap/_dropdown.scss +++ b/src/assets/styles/bootstrap/_dropdown.scss @@ -116,6 +116,7 @@ } } + // Dividers (basically an `
`) within the dropdown .dropdown-divider { height: 0; diff --git a/src/assets/styles/bootstrap/_functions.scss b/src/assets/styles/bootstrap/_functions.scss index 893c682..1f5a283 100644 --- a/src/assets/styles/bootstrap/_functions.scss +++ b/src/assets/styles/bootstrap/_functions.scss @@ -1,10 +1,11 @@ -@use 'sass:math'; // Bootstrap functions // // Utility mixins and functions for evaluating source code across our variables, maps, and mixins. // Ascending // Used to evaluate Sass maps like our grid breakpoints. +@use 'sass:math'; + @mixin _assert-ascending($map, $map-name) { $prev-key: null; $prev-num: null; @@ -39,10 +40,7 @@ } @function rgba-css-var($identifier, $target) { - @return rgba( - var(--#{$variable-prefix}#{$identifier}-rgb), - var(--#{$variable-prefix}#{$target}-opacity) - ); + @return rgba(var(--#{$variable-prefix}#{$identifier}-rgb), var(--#{$variable-prefix}#{$target}-opacity)); } // stylelint-disable scss/dollar-variable-pattern @@ -53,18 +51,10 @@ // allow to pass the $key and $value of the map as an function argument $_args: (); @each $arg in $args { - $_args: append( - $_args, - if($arg == "$key", $key, if($arg == "$value", $value, $arg)) - ); + $_args: append($_args, if($arg == "$key", $key, if($arg == "$value", $value, $arg))); } - $_map: map-merge( - $_map, - ( - $key: call(get-function($func), $_args...), - ) - ); + $_map: map-merge($_map, ($key: call(get-function($func), $_args...))); } @return $_map; @@ -96,12 +86,7 @@ $result: (); @each $key, $value in $map { @if (index($values, $key) != null) { - $result: map-merge( - $result, - ( - $key: $value, - ) - ); + $result: map-merge($result, ($key: $value)); } } @return $result; @@ -129,12 +114,7 @@ $index: str-index($string, $search); @if $index { - @return str-slice($string, 1, $index - 1) + $replace + - str-replace( - str-slice($string, $index + str-length($search)), - $search, - $replace - ); + @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace); } @return $string; @@ -164,37 +144,9 @@ // A list of pre-calculated numbers of pow(divide((divide($value, 255) + .055), 1.055), 2.4). (from 0 to 255) // stylelint-disable-next-line scss/dollar-variable-default, scss/dollar-variable-pattern -$_luminance-list: 0.0008 0.001 0.0011 0.0013 0.0015 0.0017 0.002 0.0022 0.0025 - 0.0027 0.003 0.0033 0.0037 0.004 0.0044 0.0048 0.0052 0.0056 0.006 0.0065 - 0.007 0.0075 0.008 0.0086 0.0091 0.0097 0.0103 0.011 0.0116 0.0123 0.013 - 0.0137 0.0144 0.0152 0.016 0.0168 0.0176 0.0185 0.0194 0.0203 0.0212 0.0222 - 0.0232 0.0242 0.0252 0.0262 0.0273 0.0284 0.0296 0.0307 0.0319 0.0331 0.0343 - 0.0356 0.0369 0.0382 0.0395 0.0409 0.0423 0.0437 0.0452 0.0467 0.0482 0.0497 - 0.0513 0.0529 0.0545 0.0561 0.0578 0.0595 0.0612 0.063 0.0648 0.0666 0.0685 - 0.0704 0.0723 0.0742 0.0762 0.0782 0.0802 0.0823 0.0844 0.0865 0.0887 0.0908 - 0.0931 0.0953 0.0976 0.0999 0.1022 0.1046 0.107 0.1095 0.1119 0.1144 0.117 - 0.1195 0.1221 0.1248 0.1274 0.1301 0.1329 0.1356 0.1384 0.1413 0.1441 0.147 - 0.15 0.1529 0.1559 0.159 0.162 0.1651 0.1683 0.1714 0.1746 0.1779 0.1812 - 0.1845 0.1878 0.1912 0.1946 0.1981 0.2016 0.2051 0.2086 0.2122 0.2159 0.2195 - 0.2232 0.227 0.2307 0.2346 0.2384 0.2423 0.2462 0.2502 0.2542 0.2582 0.2623 - 0.2664 0.2705 0.2747 0.2789 0.2831 0.2874 0.2918 0.2961 0.3005 0.305 0.3095 - 0.314 0.3185 0.3231 0.3278 0.3325 0.3372 0.3419 0.3467 0.3515 0.3564 0.3613 - 0.3663 0.3712 0.3763 0.3813 0.3864 0.3916 0.3968 0.402 0.4072 0.4125 0.4179 - 0.4233 0.4287 0.4342 0.4397 0.4452 0.4508 0.4564 0.4621 0.4678 0.4735 0.4793 - 0.4851 0.491 0.4969 0.5029 0.5089 0.5149 0.521 0.5271 0.5333 0.5395 0.5457 - 0.552 0.5583 0.5647 0.5711 0.5776 0.5841 0.5906 0.5972 0.6038 0.6105 0.6172 - 0.624 0.6308 0.6376 0.6445 0.6514 0.6584 0.6654 0.6724 0.6795 0.6867 0.6939 - 0.7011 0.7084 0.7157 0.7231 0.7305 0.7379 0.7454 0.7529 0.7605 0.7682 0.7758 - 0.7835 0.7913 0.7991 0.807 0.8148 0.8228 0.8308 0.8388 0.8469 0.855 0.8632 - 0.8714 0.8796 0.8879 0.8963 0.9047 0.9131 0.9216 0.9301 0.9387 0.9473 0.956 - 0.9647 0.9734 0.9823 0.9911 1; +$_luminance-list: .0008 .001 .0011 .0013 .0015 .0017 .002 .0022 .0025 .0027 .003 .0033 .0037 .004 .0044 .0048 .0052 .0056 .006 .0065 .007 .0075 .008 .0086 .0091 .0097 .0103 .011 .0116 .0123 .013 .0137 .0144 .0152 .016 .0168 .0176 .0185 .0194 .0203 .0212 .0222 .0232 .0242 .0252 .0262 .0273 .0284 .0296 .0307 .0319 .0331 .0343 .0356 .0369 .0382 .0395 .0409 .0423 .0437 .0452 .0467 .0482 .0497 .0513 .0529 .0545 .0561 .0578 .0595 .0612 .063 .0648 .0666 .0685 .0704 .0723 .0742 .0762 .0782 .0802 .0823 .0844 .0865 .0887 .0908 .0931 .0953 .0976 .0999 .1022 .1046 .107 .1095 .1119 .1144 .117 .1195 .1221 .1248 .1274 .1301 .1329 .1356 .1384 .1413 .1441 .147 .15 .1529 .1559 .159 .162 .1651 .1683 .1714 .1746 .1779 .1812 .1845 .1878 .1912 .1946 .1981 .2016 .2051 .2086 .2122 .2159 .2195 .2232 .227 .2307 .2346 .2384 .2423 .2462 .2502 .2542 .2582 .2623 .2664 .2705 .2747 .2789 .2831 .2874 .2918 .2961 .3005 .305 .3095 .314 .3185 .3231 .3278 .3325 .3372 .3419 .3467 .3515 .3564 .3613 .3663 .3712 .3763 .3813 .3864 .3916 .3968 .402 .4072 .4125 .4179 .4233 .4287 .4342 .4397 .4452 .4508 .4564 .4621 .4678 .4735 .4793 .4851 .491 .4969 .5029 .5089 .5149 .521 .5271 .5333 .5395 .5457 .552 .5583 .5647 .5711 .5776 .5841 .5906 .5972 .6038 .6105 .6172 .624 .6308 .6376 .6445 .6514 .6584 .6654 .6724 .6795 .6867 .6939 .7011 .7084 .7157 .7231 .7305 .7379 .7454 .7529 .7605 .7682 .7758 .7835 .7913 .7991 .807 .8148 .8228 .8308 .8388 .8469 .855 .8632 .8714 .8796 .8879 .8963 .9047 .9131 .9216 .9301 .9387 .9473 .956 .9647 .9734 .9823 .9911 1; -@function color-contrast( - $background, - $color-contrast-dark: $color-contrast-dark, - $color-contrast-light: $color-contrast-light, - $min-contrast-ratio: $min-contrast-ratio -) { +@function color-contrast($background, $color-contrast-dark: $color-contrast-dark, $color-contrast-light: $color-contrast-light, $min-contrast-ratio: $min-contrast-ratio) { $foregrounds: $color-contrast-light, $color-contrast-dark, $white, $black; $max-ratio: 0; $max-ratio-color: null; @@ -218,11 +170,7 @@ $_luminance-list: 0.0008 0.001 0.0011 0.0013 0.0015 0.0017 0.002 0.0022 0.0025 $l1: luminance($background); $l2: luminance(opaque($background, $foreground)); - @return if( - $l1 > $l2, - divide($l1 + 0.05, $l2 + 0.05), - divide($l2 + 0.05, $l1 + 0.05) - ); + @return if($l1 > $l2, divide($l1 + .05, $l2 + .05), divide($l2 + .05, $l1 + .05)); } // Return WCAG2.0 relative luminance @@ -232,25 +180,15 @@ $_luminance-list: 0.0008 0.001 0.0011 0.0013 0.0015 0.0017 0.002 0.0022 0.0025 $rgb: ( "r": red($color), "g": green($color), - "b": blue($color), + "b": blue($color) ); @each $name, $value in $rgb { - $value: if( - divide($value, 255) < 0.03928, - divide(divide($value, 255), 12.92), - nth($_luminance-list, $value + 1) - ); - $rgb: map-merge( - $rgb, - ( - $name: $value, - ) - ); + $value: if(divide($value, 255) < .03928, divide(divide($value, 255), 12.92), nth($_luminance-list, $value + 1)); + $rgb: map-merge($rgb, ($name: $value)); } - @return (map-get($rgb, "r") * 0.2126) + (map-get($rgb, "g") * 0.7152) + - (map-get($rgb, "b") * 0.0722); + @return (map-get($rgb, "r") * .2126) + (map-get($rgb, "g") * .7152) + (map-get($rgb, "b") * .0722); } // Return opaque color @@ -272,11 +210,7 @@ $_luminance-list: 0.0008 0.001 0.0011 0.0013 0.0015 0.0017 0.002 0.0022 0.0025 // Shade the color if the weight is positive, else tint it @function shift-color($color, $weight) { - @return if( - $weight * 1% > 0, - shade-color($color, $weight), - tint-color($color, -$weight) - ); + @return if($weight * 1% > 0, shade-color($color, $weight), tint-color($color, -$weight)); } // scss-docs-end color-functions @@ -290,20 +224,11 @@ $_luminance-list: 0.0008 0.001 0.0011 0.0013 0.0015 0.0017 0.002 0.0022 0.0025 @return $value1; } - @if type-of($value1) == - number and - type-of($value2) == - number and - comparable($value1, $value2) - { + @if type-of($value1) == number and type-of($value2) == number and comparable($value1, $value2) { @return $value1 + $value2; } - @return if( - $return-calc == true, - calc(#{$value1} + #{$value2}), - $value1 + unquote(" + ") + $value2 - ); + @return if($return-calc == true, calc(#{$value1} + #{$value2}), $value1 + unquote(" + ") + $value2); } @function subtract($value1, $value2, $return-calc: true) { @@ -319,12 +244,7 @@ $_luminance-list: 0.0008 0.001 0.0011 0.0013 0.0015 0.0017 0.002 0.0022 0.0025 @return $value1; } - @if type-of($value1) == - number and - type-of($value2) == - number and - comparable($value1, $value2) - { + @if type-of($value1) == number and type-of($value2) == number and comparable($value1, $value2) { @return $value1 - $value2; } @@ -332,19 +252,11 @@ $_luminance-list: 0.0008 0.001 0.0011 0.0013 0.0015 0.0017 0.002 0.0022 0.0025 $value2: unquote("(") + $value2 + unquote(")"); } - @return if( - $return-calc == true, - calc(#{$value1} - #{$value2}), - $value1 + unquote(" - ") + $value2 - ); + @return if($return-calc == true, calc(#{$value1} - #{$value2}), $value1 + unquote(" - ") + $value2); } @function divide($dividend, $divisor, $precision: 10) { - $sign: if( - $dividend > 0 and $divisor > 0 or $dividend < 0 and $divisor < 0, - 1, - -1 - ); + $sign: if($dividend > 0 and $divisor > 0 or $dividend < 0 and $divisor < 0, 1, -1); $dividend: math.abs($dividend); $divisor: math.abs($divisor); @if $dividend == 0 { @@ -363,7 +275,7 @@ $_luminance-list: 0.0008 0.001 0.0011 0.0013 0.0015 0.0017 0.002 0.0022 0.0025 $quotient: $quotient + 1; } $result: $result * 10 + $quotient; - $factor: $factor * 0.1; + $factor: $factor * .1; $remainder: $remainder * 10; $precision: $precision - 1; @if ($precision < 0 and $remainder >= $divisor * 5) { @@ -377,11 +289,9 @@ $_luminance-list: 0.0008 0.001 0.0011 0.0013 0.0015 0.0017 0.002 0.0022 0.0025 "px": 1px, "rem": 1rem, "em": 1em, - "%": 1%, + "%": 1% ); - @if ( - $dividend-unit != $divisor-unit and map-has-key($unit-map, $dividend-unit) - ) { + @if ($dividend-unit != $divisor-unit and map-has-key($unit-map, $dividend-unit)) { $result: $result * map-get($unit-map, $dividend-unit); } @return $result; diff --git a/src/assets/styles/bootstrap/_images.scss b/src/assets/styles/bootstrap/_images.scss index 61677ac..3d6a101 100644 --- a/src/assets/styles/bootstrap/_images.scss +++ b/src/assets/styles/bootstrap/_images.scss @@ -9,6 +9,7 @@ @include img-fluid(); } + // Image thumbnails .img-thumbnail { padding: $thumbnail-padding; @@ -31,7 +32,7 @@ } .figure-img { - margin-bottom: $spacer * 0.5; + margin-bottom: $spacer * .5; line-height: 1; } diff --git a/src/assets/styles/bootstrap/_list-group.scss b/src/assets/styles/bootstrap/_list-group.scss index b4a9730..455acef 100644 --- a/src/assets/styles/bootstrap/_list-group.scss +++ b/src/assets/styles/bootstrap/_list-group.scss @@ -1,8 +1,9 @@ -@use 'sass:math'; // Base class // // Easily usable on