@import '/@/assets/_base.scss'; @import '/@/assets/_base-vars.scss'; @import '/@/assets/theme.editor.scss'; @import '/@/components//basic/dialog/dialog.scss'; @import '/@/components//basic/dialog/toast.scss'; @import '/@/components//basic/button/button.scss'; .tab-layer { width: 100%; text-align: center; display: flex; justify-content: center; align-items: center; z-index: 10; position: fixed; left: 50%; transform: translateX(-50%); top: 2.3rem; pointer-events: none; } .tabs { pointer-events: auto; position: relative; display: flex; background: #222222; border-radius: 6px; padding: 2px; justify-content: center; align-items: center; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: inset 0px 0px 6px 0px rgba(0, 0, 0, 0.5); .background { position: absolute; left: 2px; top: 2px; bottom: 2px; width: 50%; border-radius: 4px; background: #444444; box-shadow: 2px 0px 4px 0px rgba(0, 0, 0, 0.3); z-index: 0; transition: left 0.3s; } span { flex: 1; color: #fff; opacity: 0.5; border-radius: 6px; height: 0.94737rem; font-size: 0.36842rem; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; padding-left: 10px; padding-right: 10px; white-space: nowrap; z-index: 1; i { font-size: 0.47368rem; margin-right: 4px; pointer-events: none; } } span.active { opacity: 1; } } [xui_tags_view] { .tag-body { /* display: none; */ position: absolute; left: 50%; bottom: 50px; transform: translateX(-50%) scale(0); transform-origin: bottom; transition: all 0.3s cubic-bezier(0.35, 0.32, 0.65, 0.63); // pointer-events: none; .tag-commodity { min-width: 230px; height: 76px; background: rgba(255, 255, 255, 0.8); box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16); border-radius: 2px; position: relative; margin-bottom: 30px; &::before { content: ''; display: inline-block; left: 50%; transform: translateX(-50%); width: 2px; height: 28px; bottom: -30px; background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)); position: absolute; } .tag-avatar { position: absolute; z-index: 99; width: 80px; height: 80px; background: #ffffff; box-shadow: 0px 3px 6px 0px rgb(0 0 0 / 16%); border-radius: 2px; top: -14px; left: -12px; background-size: cover; pointer-events: none; } > p { color: #131d34; font-size: 16px; pointer-events: none; } .tag-title { font-weight: bold; color: #131d34; padding: 10px 10px 10px 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 240px; font-size: 14px; } .tag-info { color: #444444; padding: 0 20px 0 76px; font-size: 12px; width: 240px; > div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 240px; } } } &.show { transform: translateX(-50%) scale(1); } } } .gudieDisabled { pointer-events: none !important; * { pointer-events: none !important; } } @media (orientation: landscape) { .tab-layer { top: 1.2rem; .tabs { height: 0.7rem; > span { height: 0.7rem; font-size: 0.25rem; } } } } [xui_sync_paint] { canvas { top: 0; left: 0; } }