Optymalizacja kodu i assetów; poprawki w działaniu
|
Before Width: | Height: | Size: 9.0 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
@@ -1,4 +0,0 @@
|
||||
<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="60" height="60" fill="#898989"/>
|
||||
<path d="M20.088 25.672C20 25.816 19.908 25.924 19.812 25.996C19.716 26.06 19.596 26.092 19.452 26.092C19.3 26.092 19.128 26.028 18.936 25.9C18.752 25.772 18.52 25.632 18.24 25.48C17.968 25.32 17.644 25.176 17.268 25.048C16.892 24.912 16.444 24.844 15.924 24.844C15.444 24.844 15.02 24.904 14.652 25.024C14.292 25.144 13.988 25.312 13.74 25.528C13.492 25.744 13.304 26 13.176 26.296C13.056 26.584 12.996 26.9 12.996 27.244C12.996 27.684 13.112 28.052 13.344 28.348C13.576 28.636 13.88 28.884 14.256 29.092C14.64 29.3 15.076 29.484 15.564 29.644C16.052 29.796 16.548 29.96 17.052 30.136C17.564 30.312 18.064 30.512 18.552 30.736C19.04 30.96 19.472 31.244 19.848 31.588C20.232 31.932 20.54 32.352 20.772 32.848C21.004 33.344 21.12 33.948 21.12 34.66C21.12 35.428 20.988 36.148 20.724 36.82C20.46 37.492 20.076 38.08 19.572 38.584C19.076 39.08 18.46 39.472 17.724 39.76C16.996 40.048 16.164 40.192 15.228 40.192C14.676 40.192 14.136 40.136 13.608 40.024C13.088 39.92 12.588 39.772 12.108 39.58C11.636 39.38 11.192 39.14 10.776 38.86C10.36 38.58 9.988 38.268 9.66 37.924L10.476 36.58C10.548 36.468 10.64 36.38 10.752 36.316C10.864 36.252 10.988 36.22 11.124 36.22C11.308 36.22 11.512 36.308 11.736 36.484C11.96 36.652 12.228 36.84 12.54 37.048C12.86 37.248 13.244 37.436 13.692 37.612C14.14 37.78 14.676 37.864 15.3 37.864C16.316 37.864 17.1 37.616 17.652 37.12C18.212 36.624 18.492 35.94 18.492 35.068C18.492 34.58 18.376 34.184 18.144 33.88C17.912 33.568 17.604 33.308 17.22 33.1C16.844 32.892 16.412 32.716 15.924 32.572C15.436 32.428 14.94 32.276 14.436 32.116C13.932 31.948 13.436 31.756 12.948 31.54C12.46 31.316 12.024 31.028 11.64 30.676C11.264 30.316 10.96 29.876 10.728 29.356C10.496 28.828 10.38 28.172 10.38 27.388C10.38 26.764 10.5 26.16 10.74 25.576C10.988 24.992 11.344 24.476 11.808 24.028C12.28 23.572 12.86 23.208 13.548 22.936C14.236 22.664 15.02 22.528 15.9 22.528C16.892 22.528 17.8 22.684 18.624 22.996C19.456 23.308 20.172 23.752 20.772 24.328L20.088 25.672ZM29.5296 31.528C30.1536 31.528 30.7016 31.448 31.1736 31.288C31.6536 31.128 32.0496 30.904 32.3616 30.616C32.6816 30.32 32.9216 29.964 33.0816 29.548C33.2416 29.132 33.3216 28.668 33.3216 28.156C33.3216 27.652 33.2416 27.2 33.0816 26.8C32.9296 26.4 32.6976 26.06 32.3856 25.78C32.0736 25.5 31.6776 25.288 31.1976 25.144C30.7256 24.992 30.1696 24.916 29.5296 24.916H26.9616V31.528H29.5296ZM29.5296 22.72C30.6576 22.72 31.6336 22.852 32.4576 23.116C33.2896 23.38 33.9736 23.752 34.5096 24.232C35.0536 24.704 35.4576 25.276 35.7216 25.948C35.9856 26.612 36.1176 27.348 36.1176 28.156C36.1176 28.98 35.9776 29.736 35.6976 30.424C35.4176 31.104 35.0016 31.692 34.4496 32.188C33.8976 32.676 33.2096 33.06 32.3856 33.34C31.5696 33.612 30.6176 33.748 29.5296 33.748H26.9616V40H24.1536V22.72H29.5296ZM49.59 37.732L49.578 40H38.802V22.72H49.578V24.988H41.622V30.196H47.982V32.392H41.622V37.732H49.59Z" fill="#B6FF3E"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.0 KiB |
@@ -1,4 +0,0 @@
|
||||
<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="60" height="60" fill="#898989"/>
|
||||
<path d="M19.088 25.672C19 25.816 18.908 25.924 18.812 25.996C18.716 26.06 18.596 26.092 18.452 26.092C18.3 26.092 18.128 26.028 17.936 25.9C17.752 25.772 17.52 25.632 17.24 25.48C16.968 25.32 16.644 25.176 16.268 25.048C15.892 24.912 15.444 24.844 14.924 24.844C14.444 24.844 14.02 24.904 13.652 25.024C13.292 25.144 12.988 25.312 12.74 25.528C12.492 25.744 12.304 26 12.176 26.296C12.056 26.584 11.996 26.9 11.996 27.244C11.996 27.684 12.112 28.052 12.344 28.348C12.576 28.636 12.88 28.884 13.256 29.092C13.64 29.3 14.076 29.484 14.564 29.644C15.052 29.796 15.548 29.96 16.052 30.136C16.564 30.312 17.064 30.512 17.552 30.736C18.04 30.96 18.472 31.244 18.848 31.588C19.232 31.932 19.54 32.352 19.772 32.848C20.004 33.344 20.12 33.948 20.12 34.66C20.12 35.428 19.988 36.148 19.724 36.82C19.46 37.492 19.076 38.08 18.572 38.584C18.076 39.08 17.46 39.472 16.724 39.76C15.996 40.048 15.164 40.192 14.228 40.192C13.676 40.192 13.136 40.136 12.608 40.024C12.088 39.92 11.588 39.772 11.108 39.58C10.636 39.38 10.192 39.14 9.776 38.86C9.36 38.58 8.988 38.268 8.66 37.924L9.476 36.58C9.548 36.468 9.64 36.38 9.752 36.316C9.864 36.252 9.988 36.22 10.124 36.22C10.308 36.22 10.512 36.308 10.736 36.484C10.96 36.652 11.228 36.84 11.54 37.048C11.86 37.248 12.244 37.436 12.692 37.612C13.14 37.78 13.676 37.864 14.3 37.864C15.316 37.864 16.1 37.616 16.652 37.12C17.212 36.624 17.492 35.94 17.492 35.068C17.492 34.58 17.376 34.184 17.144 33.88C16.912 33.568 16.604 33.308 16.22 33.1C15.844 32.892 15.412 32.716 14.924 32.572C14.436 32.428 13.94 32.276 13.436 32.116C12.932 31.948 12.436 31.756 11.948 31.54C11.46 31.316 11.024 31.028 10.64 30.676C10.264 30.316 9.96 29.876 9.728 29.356C9.496 28.828 9.38 28.172 9.38 27.388C9.38 26.764 9.5 26.16 9.74 25.576C9.988 24.992 10.344 24.476 10.808 24.028C11.28 23.572 11.86 23.208 12.548 22.936C13.236 22.664 14.02 22.528 14.9 22.528C15.892 22.528 16.8 22.684 17.624 22.996C18.456 23.308 19.172 23.752 19.772 24.328L19.088 25.672ZM28.5296 31.528C29.1536 31.528 29.7016 31.448 30.1736 31.288C30.6536 31.128 31.0496 30.904 31.3616 30.616C31.6816 30.32 31.9216 29.964 32.0816 29.548C32.2416 29.132 32.3216 28.668 32.3216 28.156C32.3216 27.652 32.2416 27.2 32.0816 26.8C31.9296 26.4 31.6976 26.06 31.3856 25.78C31.0736 25.5 30.6776 25.288 30.1976 25.144C29.7256 24.992 29.1696 24.916 28.5296 24.916H25.9616V31.528H28.5296ZM28.5296 22.72C29.6576 22.72 30.6336 22.852 31.4576 23.116C32.2896 23.38 32.9736 23.752 33.5096 24.232C34.0536 24.704 34.4576 25.276 34.7216 25.948C34.9856 26.612 35.1176 27.348 35.1176 28.156C35.1176 28.98 34.9776 29.736 34.6976 30.424C34.4176 31.104 34.0016 31.692 33.4496 32.188C32.8976 32.676 32.2096 33.06 31.3856 33.34C30.5696 33.612 29.6176 33.748 28.5296 33.748H25.9616V40H23.1536V22.72H28.5296ZM40.61 30.112H41.414C41.718 30.112 41.966 30.072 42.158 29.992C42.35 29.904 42.522 29.768 42.674 29.584L47.906 23.344C48.09 23.112 48.278 22.952 48.47 22.864C48.67 22.768 48.918 22.72 49.214 22.72H51.614L45.434 30.016C45.266 30.224 45.102 30.4 44.942 30.544C44.79 30.68 44.622 30.792 44.438 30.88C44.678 30.968 44.894 31.092 45.086 31.252C45.278 31.404 45.466 31.608 45.65 31.864L52.058 40H49.61C49.434 40 49.282 39.988 49.154 39.964C49.034 39.94 48.926 39.904 48.83 39.856C48.742 39.808 48.662 39.748 48.59 39.676C48.526 39.604 48.466 39.524 48.41 39.436L43.01 32.836C42.93 32.732 42.85 32.644 42.77 32.572C42.69 32.5 42.594 32.44 42.482 32.392C42.378 32.344 42.258 32.312 42.122 32.296C41.986 32.272 41.826 32.26 41.642 32.26H40.61V40H37.802V22.72H40.61V30.112Z" fill="#F2E147"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.6 KiB |
@@ -1,60 +0,0 @@
|
||||
<svg width="79" height="127" viewBox="0 0 79 127" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="icon-loading">
|
||||
<g id="Rectangle 37">
|
||||
<rect id="Rectangle 38" x="36.9999" y="79" width="6" height="16" fill="#FF0000"/>
|
||||
<rect id="Rectangle 40" x="36.9999" y="111" width="6" height="16" fill="#FF0000"/>
|
||||
<rect id="Rectangle 39" x="36.9999" y="95" width="6" height="16" fill="white"/>
|
||||
</g>
|
||||
<g id="Group 8">
|
||||
<path id="Vector 15" d="M59.5018 41.0003H23.0018C-1.49817 41.0003 -0.498171 79.5003 23.0018 79.5003H59.5018C83.0018 79.5003 84.0018 41.0003 59.5018 41.0003Z" fill="#3F3E3E"/>
|
||||
<g id="Group 51">
|
||||
<circle id="light-left" cx="22.9999" cy="60" r="9" fill="#FF1313" fill-opacity="1"/>
|
||||
|
||||
<animate
|
||||
attributeType="XML"
|
||||
attributeName="opacity"
|
||||
values="0.25;1;1;0.25;0.25"
|
||||
dur="1s"
|
||||
repeatCount="indefinite"
|
||||
/>
|
||||
</g>
|
||||
|
||||
<g id="Group 51">
|
||||
<circle id="light-right" cx="57.9999" cy="60" r="9" fill="#FF1313" fill-opacity="1"/>
|
||||
|
||||
<animate
|
||||
attributeType="XML"
|
||||
attributeName="opacity"
|
||||
values="1;0.25;0.25;1;1"
|
||||
dur="1s"
|
||||
repeatCount="indefinite"
|
||||
/>
|
||||
</g>
|
||||
|
||||
|
||||
</g>
|
||||
<g id="Group 52">
|
||||
<rect id="Rectangle 36" x="37.9999" y="10" width="4" height="31" fill="#525252"/>
|
||||
<g id="Vector 23">
|
||||
<path id="Rectangle 28" d="M4.09756 32.3241L10.9579 29.2933L14.1908 36.611L7.33047 39.6418L3.42724 36.9932L4.09756 32.3241Z" fill="#FF0000"/>
|
||||
<path id="Rectangle 30" d="M10.9579 29.2933L20.105 25.2522L23.3379 32.5698L14.1908 36.611L12.5743 32.9521L10.9579 29.2933Z" fill="white"/>
|
||||
<path id="Rectangle 34" d="M20.105 25.2522L29.2521 21.211L32.485 28.5287L23.3379 32.5698L21.7214 28.911L20.105 25.2522Z" fill="#FF0000"/>
|
||||
<path id="Rectangle 35" d="M47.5463 13.1288L56.6934 9.08762L59.9263 16.4053L50.7792 20.4464L49.1627 16.7876L47.5463 13.1288Z" fill="#FF0000"/>
|
||||
<path id="Rectangle 31" d="M29.2521 21.211L38.3992 17.1699L41.6321 24.4876L32.485 28.5287L30.8685 24.8699L29.2521 21.211Z" fill="white"/>
|
||||
<path id="Rectangle 32" d="M38.3992 17.1699L47.5463 13.1288L50.7792 20.4464L41.6321 24.4876L40.0156 20.8287L38.3992 17.1699Z" fill="white"/>
|
||||
<path id="Rectangle 33" d="M56.6934 9.08762L65.8404 5.04649L69.0734 12.3642L59.9263 16.4053L58.3098 12.7465L56.6934 9.08762Z" fill="white"/>
|
||||
<path id="Rectangle 29" d="M73.1581 1.81359L65.8405 5.04649L69.0734 12.3642L76.391 9.13126L76.604 4.6642L73.1581 1.81359Z" fill="#FF0000"/>
|
||||
</g>
|
||||
<g id="Vector 24">
|
||||
<path id="Rectangle 28_2" d="M6.36567 3.47438L13.3598 6.18222L10.4714 13.6426L3.47731 10.9348L2.59012 6.30195L6.36567 3.47438Z" fill="#FF0000"/>
|
||||
<path id="Rectangle 30_2" d="M13.3597 6.18222L22.6852 9.79268L19.7969 17.2531L10.4714 13.6426L11.9156 9.91241L13.3597 6.18222Z" fill="white"/>
|
||||
<path id="Rectangle 34_2" d="M22.6853 9.79268L32.0108 13.4031L29.1224 20.8635L19.7969 17.2531L21.2411 13.5229L22.6853 9.79268Z" fill="#FF0000"/>
|
||||
<path id="Rectangle 35_2" d="M50.6617 20.6241L59.9872 24.2345L57.0989 31.6949L47.7734 28.0844L49.2176 24.3542L50.6617 20.6241Z" fill="#FF0000"/>
|
||||
<path id="Rectangle 31_2" d="M32.0107 13.4031L41.3362 17.0136L38.4479 24.474L29.1224 20.8635L30.5666 17.1333L32.0107 13.4031Z" fill="white"/>
|
||||
<path id="Rectangle 32_2" d="M41.3363 17.0136L50.6618 20.6241L47.7734 28.0844L38.4479 24.474L39.8921 20.7438L41.3363 17.0136Z" fill="white"/>
|
||||
<path id="Rectangle 33_2" d="M59.9872 24.2345L69.3127 27.845L66.4243 35.3054L57.0988 31.6949L58.543 27.9647L59.9872 24.2345Z" fill="white"/>
|
||||
<path id="Rectangle 29_2" d="M76.7731 30.7333L69.3127 27.845L66.4243 35.3054L73.8847 38.1937L77.194 35.1856L76.7731 30.7333Z" fill="#FF0000"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 6.3 KiB |
@@ -1,5 +0,0 @@
|
||||
<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="60" height="60" fill="#898989"/>
|
||||
<path d="M19.088 39.672C19 39.816 18.908 39.924 18.812 39.996C18.716 40.06 18.596 40.092 18.452 40.092C18.3 40.092 18.128 40.028 17.936 39.9C17.752 39.772 17.52 39.632 17.24 39.48C16.968 39.32 16.644 39.176 16.268 39.048C15.892 38.912 15.444 38.844 14.924 38.844C14.444 38.844 14.02 38.904 13.652 39.024C13.292 39.144 12.988 39.312 12.74 39.528C12.492 39.744 12.304 40 12.176 40.296C12.056 40.584 11.996 40.9 11.996 41.244C11.996 41.684 12.112 42.052 12.344 42.348C12.576 42.636 12.88 42.884 13.256 43.092C13.64 43.3 14.076 43.484 14.564 43.644C15.052 43.796 15.548 43.96 16.052 44.136C16.564 44.312 17.064 44.512 17.552 44.736C18.04 44.96 18.472 45.244 18.848 45.588C19.232 45.932 19.54 46.352 19.772 46.848C20.004 47.344 20.12 47.948 20.12 48.66C20.12 49.428 19.988 50.148 19.724 50.82C19.46 51.492 19.076 52.08 18.572 52.584C18.076 53.08 17.46 53.472 16.724 53.76C15.996 54.048 15.164 54.192 14.228 54.192C13.676 54.192 13.136 54.136 12.608 54.024C12.088 53.92 11.588 53.772 11.108 53.58C10.636 53.38 10.192 53.14 9.776 52.86C9.36 52.58 8.988 52.268 8.66 51.924L9.476 50.58C9.548 50.468 9.64 50.38 9.752 50.316C9.864 50.252 9.988 50.22 10.124 50.22C10.308 50.22 10.512 50.308 10.736 50.484C10.96 50.652 11.228 50.84 11.54 51.048C11.86 51.248 12.244 51.436 12.692 51.612C13.14 51.78 13.676 51.864 14.3 51.864C15.316 51.864 16.1 51.616 16.652 51.12C17.212 50.624 17.492 49.94 17.492 49.068C17.492 48.58 17.376 48.184 17.144 47.88C16.912 47.568 16.604 47.308 16.22 47.1C15.844 46.892 15.412 46.716 14.924 46.572C14.436 46.428 13.94 46.276 13.436 46.116C12.932 45.948 12.436 45.756 11.948 45.54C11.46 45.316 11.024 45.028 10.64 44.676C10.264 44.316 9.96 43.876 9.728 43.356C9.496 42.828 9.38 42.172 9.38 41.388C9.38 40.764 9.5 40.16 9.74 39.576C9.988 38.992 10.344 38.476 10.808 38.028C11.28 37.572 11.86 37.208 12.548 36.936C13.236 36.664 14.02 36.528 14.9 36.528C15.892 36.528 16.8 36.684 17.624 36.996C18.456 37.308 19.172 37.752 19.772 38.328L19.088 39.672ZM28.5296 45.528C29.1536 45.528 29.7016 45.448 30.1736 45.288C30.6536 45.128 31.0496 44.904 31.3616 44.616C31.6816 44.32 31.9216 43.964 32.0816 43.548C32.2416 43.132 32.3216 42.668 32.3216 42.156C32.3216 41.652 32.2416 41.2 32.0816 40.8C31.9296 40.4 31.6976 40.06 31.3856 39.78C31.0736 39.5 30.6776 39.288 30.1976 39.144C29.7256 38.992 29.1696 38.916 28.5296 38.916H25.9616V45.528H28.5296ZM28.5296 36.72C29.6576 36.72 30.6336 36.852 31.4576 37.116C32.2896 37.38 32.9736 37.752 33.5096 38.232C34.0536 38.704 34.4576 39.276 34.7216 39.948C34.9856 40.612 35.1176 41.348 35.1176 42.156C35.1176 42.98 34.9776 43.736 34.6976 44.424C34.4176 45.104 34.0016 45.692 33.4496 46.188C32.8976 46.676 32.2096 47.06 31.3856 47.34C30.5696 47.612 29.6176 47.748 28.5296 47.748H25.9616V54H23.1536V36.72H28.5296ZM40.61 44.112H41.414C41.718 44.112 41.966 44.072 42.158 43.992C42.35 43.904 42.522 43.768 42.674 43.584L47.906 37.344C48.09 37.112 48.278 36.952 48.47 36.864C48.67 36.768 48.918 36.72 49.214 36.72H51.614L45.434 44.016C45.266 44.224 45.102 44.4 44.942 44.544C44.79 44.68 44.622 44.792 44.438 44.88C44.678 44.968 44.894 45.092 45.086 45.252C45.278 45.404 45.466 45.608 45.65 45.864L52.058 54H49.61C49.434 54 49.282 53.988 49.154 53.964C49.034 53.94 48.926 53.904 48.83 53.856C48.742 53.808 48.662 53.748 48.59 53.676C48.526 53.604 48.466 53.524 48.41 53.436L43.01 46.836C42.93 46.732 42.85 46.644 42.77 46.572C42.69 46.5 42.594 46.44 42.482 46.392C42.378 46.344 42.258 46.312 42.122 46.296C41.986 46.272 41.826 46.26 41.642 46.26H40.61V54H37.802V36.72H40.61V44.112Z" fill="#F2E147"/>
|
||||
<path d="M38.436 8.72V26H35.964V14.156C35.964 13.964 35.968 13.756 35.976 13.532C35.992 13.3 36.012 13.068 36.036 12.836L30.48 23.096C30.264 23.52 29.932 23.732 29.484 23.732H29.088C28.632 23.732 28.3 23.52 28.092 23.096L22.452 12.812C22.476 13.044 22.492 13.276 22.5 13.508C22.516 13.74 22.524 13.956 22.524 14.156V26H20.052V8.72H22.152C22.4 8.72 22.592 8.744 22.728 8.792C22.864 8.832 22.988 8.964 23.1 9.188L28.644 19.232C28.764 19.464 28.876 19.704 28.98 19.952C29.092 20.192 29.192 20.44 29.28 20.696C29.376 20.44 29.476 20.188 29.58 19.94C29.692 19.684 29.808 19.44 29.928 19.208L35.388 9.188C35.5 8.964 35.624 8.832 35.76 8.792C35.896 8.744 36.088 8.72 36.336 8.72H38.436Z" fill="#FFB800"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 4.3 KiB |
@@ -1,4 +0,0 @@
|
||||
<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="60" height="60" fill="#898989"/>
|
||||
<path d="M38.436 22.72V40H35.964V28.156C35.964 27.964 35.968 27.756 35.976 27.532C35.992 27.3 36.012 27.068 36.036 26.836L30.48 37.096C30.264 37.52 29.932 37.732 29.484 37.732H29.088C28.632 37.732 28.3 37.52 28.092 37.096L22.452 26.812C22.476 27.044 22.492 27.276 22.5 27.508C22.516 27.74 22.524 27.956 22.524 28.156V40H20.052V22.72H22.152C22.4 22.72 22.592 22.744 22.728 22.792C22.864 22.832 22.988 22.964 23.1 23.188L28.644 33.232C28.764 33.464 28.876 33.704 28.98 33.952C29.092 34.192 29.192 34.44 29.28 34.696C29.376 34.44 29.476 34.188 29.58 33.94C29.692 33.684 29.808 33.44 29.928 33.208L35.388 23.188C35.5 22.964 35.624 22.832 35.76 22.792C35.896 22.744 36.088 22.72 36.336 22.72H38.436Z" fill="#FFB800"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 862 B |
|
Before Width: | Height: | Size: 6.4 KiB |
@@ -1,5 +0,0 @@
|
||||
<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="60" height="60" fill="#898989"/>
|
||||
<path d="M19.088 38.672C19 38.816 18.908 38.924 18.812 38.996C18.716 39.06 18.596 39.092 18.452 39.092C18.3 39.092 18.128 39.028 17.936 38.9C17.752 38.772 17.52 38.632 17.24 38.48C16.968 38.32 16.644 38.176 16.268 38.048C15.892 37.912 15.444 37.844 14.924 37.844C14.444 37.844 14.02 37.904 13.652 38.024C13.292 38.144 12.988 38.312 12.74 38.528C12.492 38.744 12.304 39 12.176 39.296C12.056 39.584 11.996 39.9 11.996 40.244C11.996 40.684 12.112 41.052 12.344 41.348C12.576 41.636 12.88 41.884 13.256 42.092C13.64 42.3 14.076 42.484 14.564 42.644C15.052 42.796 15.548 42.96 16.052 43.136C16.564 43.312 17.064 43.512 17.552 43.736C18.04 43.96 18.472 44.244 18.848 44.588C19.232 44.932 19.54 45.352 19.772 45.848C20.004 46.344 20.12 46.948 20.12 47.66C20.12 48.428 19.988 49.148 19.724 49.82C19.46 50.492 19.076 51.08 18.572 51.584C18.076 52.08 17.46 52.472 16.724 52.76C15.996 53.048 15.164 53.192 14.228 53.192C13.676 53.192 13.136 53.136 12.608 53.024C12.088 52.92 11.588 52.772 11.108 52.58C10.636 52.38 10.192 52.14 9.776 51.86C9.36 51.58 8.988 51.268 8.66 50.924L9.476 49.58C9.548 49.468 9.64 49.38 9.752 49.316C9.864 49.252 9.988 49.22 10.124 49.22C10.308 49.22 10.512 49.308 10.736 49.484C10.96 49.652 11.228 49.84 11.54 50.048C11.86 50.248 12.244 50.436 12.692 50.612C13.14 50.78 13.676 50.864 14.3 50.864C15.316 50.864 16.1 50.616 16.652 50.12C17.212 49.624 17.492 48.94 17.492 48.068C17.492 47.58 17.376 47.184 17.144 46.88C16.912 46.568 16.604 46.308 16.22 46.1C15.844 45.892 15.412 45.716 14.924 45.572C14.436 45.428 13.94 45.276 13.436 45.116C12.932 44.948 12.436 44.756 11.948 44.54C11.46 44.316 11.024 44.028 10.64 43.676C10.264 43.316 9.96 42.876 9.728 42.356C9.496 41.828 9.38 41.172 9.38 40.388C9.38 39.764 9.5 39.16 9.74 38.576C9.988 37.992 10.344 37.476 10.808 37.028C11.28 36.572 11.86 36.208 12.548 35.936C13.236 35.664 14.02 35.528 14.9 35.528C15.892 35.528 16.8 35.684 17.624 35.996C18.456 36.308 19.172 36.752 19.772 37.328L19.088 38.672ZM28.5296 44.528C29.1536 44.528 29.7016 44.448 30.1736 44.288C30.6536 44.128 31.0496 43.904 31.3616 43.616C31.6816 43.32 31.9216 42.964 32.0816 42.548C32.2416 42.132 32.3216 41.668 32.3216 41.156C32.3216 40.652 32.2416 40.2 32.0816 39.8C31.9296 39.4 31.6976 39.06 31.3856 38.78C31.0736 38.5 30.6776 38.288 30.1976 38.144C29.7256 37.992 29.1696 37.916 28.5296 37.916H25.9616V44.528H28.5296ZM28.5296 35.72C29.6576 35.72 30.6336 35.852 31.4576 36.116C32.2896 36.38 32.9736 36.752 33.5096 37.232C34.0536 37.704 34.4576 38.276 34.7216 38.948C34.9856 39.612 35.1176 40.348 35.1176 41.156C35.1176 41.98 34.9776 42.736 34.6976 43.424C34.4176 44.104 34.0016 44.692 33.4496 45.188C32.8976 45.676 32.2096 46.06 31.3856 46.34C30.5696 46.612 29.6176 46.748 28.5296 46.748H25.9616V53H23.1536V35.72H28.5296ZM40.61 43.112H41.414C41.718 43.112 41.966 43.072 42.158 42.992C42.35 42.904 42.522 42.768 42.674 42.584L47.906 36.344C48.09 36.112 48.278 35.952 48.47 35.864C48.67 35.768 48.918 35.72 49.214 35.72H51.614L45.434 43.016C45.266 43.224 45.102 43.4 44.942 43.544C44.79 43.68 44.622 43.792 44.438 43.88C44.678 43.968 44.894 44.092 45.086 44.252C45.278 44.404 45.466 44.608 45.65 44.864L52.058 53H49.61C49.434 53 49.282 52.988 49.154 52.964C49.034 52.94 48.926 52.904 48.83 52.856C48.742 52.808 48.662 52.748 48.59 52.676C48.526 52.604 48.466 52.524 48.41 52.436L43.01 45.836C42.93 45.732 42.85 45.644 42.77 45.572C42.69 45.5 42.594 45.44 42.482 45.392C42.378 45.344 42.258 45.312 42.122 45.296C41.986 45.272 41.826 45.26 41.642 45.26H40.61V53H37.802V35.72H40.61V43.112Z" fill="#F2E147"/>
|
||||
<path d="M29.068 15C29.708 15 30.268 14.924 30.748 14.772C31.228 14.612 31.628 14.392 31.948 14.112C32.268 13.832 32.508 13.5 32.668 13.116C32.828 12.724 32.908 12.292 32.908 11.82C32.908 10.876 32.596 10.156 31.972 9.66C31.348 9.164 30.404 8.916 29.14 8.916H26.86V15H29.068ZM37.204 24H34.696C34.2 24 33.84 23.808 33.616 23.424L29.584 17.604C29.448 17.404 29.3 17.26 29.14 17.172C28.98 17.084 28.74 17.04 28.42 17.04H26.86V24H24.052V6.72H29.14C30.276 6.72 31.252 6.836 32.068 7.068C32.892 7.3 33.568 7.632 34.096 8.064C34.624 8.488 35.012 9 35.26 9.6C35.516 10.2 35.644 10.868 35.644 11.604C35.644 12.204 35.552 12.764 35.368 13.284C35.192 13.804 34.932 14.276 34.588 14.7C34.252 15.124 33.836 15.492 33.34 15.804C32.844 16.116 32.28 16.36 31.648 16.536C31.992 16.744 32.288 17.036 32.536 17.412L37.204 24Z" fill="#2B2B2B"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 4.4 KiB |
@@ -1,4 +0,0 @@
|
||||
<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="60" height="60" fill="#898989"/>
|
||||
<path d="M29.068 31C29.708 31 30.268 30.924 30.748 30.772C31.228 30.612 31.628 30.392 31.948 30.112C32.268 29.832 32.508 29.5 32.668 29.116C32.828 28.724 32.908 28.292 32.908 27.82C32.908 26.876 32.596 26.156 31.972 25.66C31.348 25.164 30.404 24.916 29.14 24.916H26.86V31H29.068ZM37.204 40H34.696C34.2 40 33.84 39.808 33.616 39.424L29.584 33.604C29.448 33.404 29.3 33.26 29.14 33.172C28.98 33.084 28.74 33.04 28.42 33.04H26.86V40H24.052V22.72H29.14C30.276 22.72 31.252 22.836 32.068 23.068C32.892 23.3 33.568 23.632 34.096 24.064C34.624 24.488 35.012 25 35.26 25.6C35.516 26.2 35.644 26.868 35.644 27.604C35.644 28.204 35.552 28.764 35.368 29.284C35.192 29.804 34.932 30.276 34.588 30.7C34.252 31.124 33.836 31.492 33.34 31.804C32.844 32.116 32.28 32.36 31.648 32.536C31.992 32.744 32.288 33.036 32.536 33.412L37.204 40Z" fill="#2B2B2B"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 988 B |
@@ -17,7 +17,7 @@
|
||||
<transition name="warning" mode="out-in">
|
||||
<div :key="historyDataStatus.status">
|
||||
<div class="journal_warning loading" v-if="isDataLoading || isDataInit">
|
||||
{{ $t('app.loading') }}
|
||||
{{ $t('app.loading') }}
|
||||
</div>
|
||||
|
||||
<div v-else-if="isDataError" class="journal_warning error">
|
||||
@@ -145,7 +145,6 @@ export default defineComponent({
|
||||
|
||||
data: () => ({
|
||||
icons: {
|
||||
loading: require('@/assets/icon-loading.svg'),
|
||||
arrow: require('@/assets/icon-arrow-asc.svg'),
|
||||
},
|
||||
|
||||
@@ -208,13 +207,12 @@ export default defineComponent({
|
||||
mounted() {
|
||||
const query = this.$route.query;
|
||||
|
||||
console.log("Mounted");
|
||||
|
||||
console.log('Mounted');
|
||||
|
||||
if (query.sceneryName || query.dispatcherName) {
|
||||
this.searchersValues[1].value = query.sceneryName?.toString() || "";
|
||||
this.searchersValues[0].value = query.dispatcherName?.toString() || "";
|
||||
|
||||
this.searchersValues[1].value = query.sceneryName?.toString() || '';
|
||||
this.searchersValues[0].value = query.dispatcherName?.toString() || '';
|
||||
|
||||
this.search();
|
||||
|
||||
return;
|
||||
@@ -265,7 +263,8 @@ export default defineComponent({
|
||||
if (
|
||||
element.getBoundingClientRect().bottom * 0.85 < window.innerHeight &&
|
||||
this.scrollDataLoaded &&
|
||||
!this.scrollNoMoreData
|
||||
!this.scrollNoMoreData &&
|
||||
window.scrollY > window.innerHeight
|
||||
)
|
||||
this.addHistoryData();
|
||||
},
|
||||
|
||||
@@ -209,7 +209,6 @@ export default defineComponent({
|
||||
|
||||
data: () => ({
|
||||
icons: {
|
||||
loading: require('@/assets/icon-loading.svg'),
|
||||
arrow: require('@/assets/icon-arrow-asc.svg'),
|
||||
},
|
||||
|
||||
@@ -297,7 +296,8 @@ export default defineComponent({
|
||||
if (
|
||||
element.getBoundingClientRect().bottom * 0.85 < window.innerHeight &&
|
||||
this.scrollDataLoaded &&
|
||||
!this.scrollNoMoreData
|
||||
!this.scrollNoMoreData &&
|
||||
window.scrollY > window.innerHeight
|
||||
)
|
||||
this.addHistoryData();
|
||||
},
|
||||
|
||||
@@ -1,43 +1,55 @@
|
||||
<template>
|
||||
<section class="info-icons">
|
||||
<img
|
||||
v-if="station.generalInfo?.controlType"
|
||||
:src="require(`@/assets/icon-${station.generalInfo.controlType}.svg`)"
|
||||
:alt="station.generalInfo.controlType"
|
||||
<section class="info-icons" v-if="station.generalInfo">
|
||||
<span
|
||||
class="scenery-icon icon-info"
|
||||
:class="station.generalInfo.controlType.replace('+', '-')"
|
||||
:title="$t('desc.control-type') + $t(`controls.${station.generalInfo.controlType}`)"
|
||||
/>
|
||||
v-html="getControlTypeAbbrev(station.generalInfo.controlType)"
|
||||
>
|
||||
</span>
|
||||
|
||||
<img
|
||||
v-if="station.generalInfo?.SUP"
|
||||
class="icon-info"
|
||||
v-if="station.generalInfo.SUP"
|
||||
:src="require(`@/assets/icon-SUP.svg`)"
|
||||
alt="SUP (RASP-UZK)"
|
||||
:title="$t('desc.SUP')"
|
||||
/>
|
||||
|
||||
<img
|
||||
v-if="station.generalInfo?.signalType"
|
||||
class="icon-info"
|
||||
v-if="station.generalInfo.signalType"
|
||||
:src="require(`@/assets/icon-${station.generalInfo.signalType}.svg`)"
|
||||
:alt="station.generalInfo.signalType"
|
||||
:title="$t('desc.signals-type') + $t(`signals.${station.generalInfo.signalType}`)"
|
||||
/>
|
||||
|
||||
<img v-if="station.generalInfo?.default" :src="icons.td2" alt="default scenery" :title="$t('desc.default')" />
|
||||
<img
|
||||
v-if="station.generalInfo.default"
|
||||
class="icon-info"
|
||||
:src="icons.td2"
|
||||
alt="default scenery"
|
||||
:title="$t('desc.default')"
|
||||
/>
|
||||
|
||||
<img
|
||||
v-if="station.generalInfo?.nonPublic"
|
||||
class="icon-info"
|
||||
v-if="station.generalInfo.nonPublic"
|
||||
:src="icons.lock"
|
||||
alt="non public scenery"
|
||||
:title="$t('desc.non-public')"
|
||||
/>
|
||||
|
||||
<img
|
||||
v-if="station.generalInfo?.unavailable"
|
||||
class="icon-info"
|
||||
v-if="station.generalInfo.unavailable"
|
||||
:src="icons.unavailable"
|
||||
alt="icon unavailable"
|
||||
:title="$t('desc.unavailable')"
|
||||
/>
|
||||
|
||||
<img
|
||||
class="icon-info"
|
||||
v-if="station.generalInfo && station.generalInfo.lines != ''"
|
||||
:src="icons.real"
|
||||
alt="real scenery"
|
||||
@@ -50,10 +62,12 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
import stationInfoMixin from '@/mixins/stationInfoMixin';
|
||||
|
||||
import Station from '@/scripts/interfaces/Station';
|
||||
|
||||
export default defineComponent({
|
||||
mixins: [stationInfoMixin],
|
||||
props: {
|
||||
station: {
|
||||
type: Object as () => Station,
|
||||
@@ -75,13 +89,22 @@ export default defineComponent({
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "../../../styles/icons.scss";
|
||||
.info-icons {
|
||||
img {
|
||||
width: 3.5em;
|
||||
margin: 1em 0.5em;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.icon-info {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
border: 2px solid #4e4e4e;
|
||||
border-radius: 0.5em;
|
||||
}
|
||||
width: 3em;
|
||||
font-size: 1.2em;
|
||||
|
||||
margin: 1em 0.5em;
|
||||
|
||||
border: 2px solid #4e4e4e;
|
||||
border-radius: 0.5em;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
unavailable: station.generalInfo?.unavailable,
|
||||
}"
|
||||
>
|
||||
<b v-if="station.generalInfo?.project" style="color: salmon;">{{ station.generalInfo.project }}</b>
|
||||
<b v-if="station.generalInfo?.project" style="color: salmon">{{ station.generalInfo.project }}</b>
|
||||
{{ station.name }}
|
||||
</td>
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
<span
|
||||
v-if="
|
||||
station.generalInfo.reqLevel > -1 &&
|
||||
!station.generalInfo.nonPublic &&
|
||||
!station.generalInfo.unavailable
|
||||
!station.generalInfo.nonPublic &&
|
||||
!station.generalInfo.unavailable
|
||||
"
|
||||
:style="calculateExpStyle(station.generalInfo.reqLevel)"
|
||||
>
|
||||
@@ -83,9 +83,7 @@
|
||||
</span>
|
||||
</span>
|
||||
|
||||
<span v-else>
|
||||
?
|
||||
</span>
|
||||
<span v-else> ? </span>
|
||||
</td>
|
||||
|
||||
<td class="station_status">
|
||||
@@ -115,9 +113,7 @@
|
||||
<span
|
||||
v-if="station.generalInfo && station.generalInfo.routes.twoWayCatenaryRouteNames.length > 0"
|
||||
class="track catenary"
|
||||
:title="
|
||||
`Liczba zelektryfikowanych szlaków dwutorowych: ${station.generalInfo.routes.twoWayCatenaryRouteNames.length}`
|
||||
"
|
||||
:title="`Liczba zelektryfikowanych szlaków dwutorowych: ${station.generalInfo.routes.twoWayCatenaryRouteNames.length}`"
|
||||
>
|
||||
{{ station.generalInfo.routes.twoWayCatenaryRouteNames.length }}
|
||||
</span>
|
||||
@@ -125,9 +121,7 @@
|
||||
<span
|
||||
v-if="station.generalInfo && station.generalInfo.routes.twoWayNoCatenaryRouteNames.length > 0"
|
||||
class="track no-catenary"
|
||||
:title="
|
||||
`Liczba niezelektryfikowanych szlaków dwutorowych: ${station.generalInfo.routes.twoWayNoCatenaryRouteNames.length}`
|
||||
"
|
||||
:title="`Liczba niezelektryfikowanych szlaków dwutorowych: ${station.generalInfo.routes.twoWayNoCatenaryRouteNames.length}`"
|
||||
>
|
||||
{{ station.generalInfo.routes.twoWayNoCatenaryRouteNames.length }}
|
||||
</span>
|
||||
@@ -137,9 +131,7 @@
|
||||
<span
|
||||
v-if="station.generalInfo && station.generalInfo.routes.oneWayCatenaryRouteNames.length > 0"
|
||||
class="track catenary"
|
||||
:title="
|
||||
`Liczba zelektryfikowanych szlaków jednotorowych: ${station.generalInfo.routes.oneWayCatenaryRouteNames.length}`
|
||||
"
|
||||
:title="`Liczba zelektryfikowanych szlaków jednotorowych: ${station.generalInfo.routes.oneWayCatenaryRouteNames.length}`"
|
||||
>
|
||||
{{ station.generalInfo.routes.oneWayCatenaryRouteNames.length }}
|
||||
</span>
|
||||
@@ -147,47 +139,54 @@
|
||||
<span
|
||||
v-if="station.generalInfo && station.generalInfo.routes.oneWayNoCatenaryRouteNames.length > 0"
|
||||
class="track no-catenary"
|
||||
:title="
|
||||
`Liczba niezelektryfikowanych szlaków jednotorowych: ${station.generalInfo.routes.oneWayNoCatenaryRouteNames.length}`
|
||||
"
|
||||
:title="`Liczba niezelektryfikowanych szlaków jednotorowych: ${station.generalInfo.routes.oneWayNoCatenaryRouteNames.length}`"
|
||||
>
|
||||
{{ station.generalInfo.routes.oneWayNoCatenaryRouteNames.length }}
|
||||
</span>
|
||||
</td>
|
||||
|
||||
<td class="station_info">
|
||||
<img
|
||||
<span v-if="station.generalInfo">
|
||||
<span
|
||||
class="scenery-icon icon-info"
|
||||
:class="station.generalInfo.controlType.replace('+', '-')"
|
||||
:title="$t('desc.control-type') + $t(`controls.${station.generalInfo.controlType}`)"
|
||||
v-html="getControlTypeAbbrev(station.generalInfo.controlType)"
|
||||
>
|
||||
</span>
|
||||
<!-- <img
|
||||
class="icon-info"
|
||||
v-if="station.generalInfo?.controlType"
|
||||
:src="require(`@/assets/icon-${station.generalInfo.controlType}.svg`)"
|
||||
:alt="station.generalInfo.controlType"
|
||||
:title="$t('desc.control-type') + $t(`controls.${station.generalInfo.controlType}`)"
|
||||
/>
|
||||
/> -->
|
||||
<img
|
||||
class="icon-info"
|
||||
v-if="station.generalInfo.SUP"
|
||||
:src="require(`@/assets/icon-SUP.svg`)"
|
||||
alt="SUP (RASP-UZK)"
|
||||
:title="$t('desc.SUP')"
|
||||
/>
|
||||
|
||||
<img
|
||||
class="icon-info"
|
||||
v-if="station.generalInfo?.SUP"
|
||||
:src="require(`@/assets/icon-SUP.svg`)"
|
||||
alt="SUP (RASP-UZK)"
|
||||
:title="$t('desc.SUP')"
|
||||
/>
|
||||
<img
|
||||
class="icon-info"
|
||||
v-if="station.generalInfo.signalType"
|
||||
:src="require(`@/assets/icon-${station.generalInfo.signalType}.svg`)"
|
||||
:alt="station.generalInfo.signalType"
|
||||
:title="$t('desc.signals-type') + $t(`signals.${station.generalInfo.signalType}`)"
|
||||
/>
|
||||
|
||||
<img
|
||||
class="icon-info"
|
||||
v-if="station.generalInfo?.signalType"
|
||||
:src="require(`@/assets/icon-${station.generalInfo.signalType}.svg`)"
|
||||
:alt="station.generalInfo.signalType"
|
||||
:title="$t('desc.signals-type') + $t(`signals.${station.generalInfo.signalType}`)"
|
||||
/>
|
||||
<img
|
||||
class="icon-info"
|
||||
v-if="station.generalInfo && station.generalInfo.routes.sblRouteNames.length > 0"
|
||||
:src="SBLIcon"
|
||||
alt="SBL"
|
||||
:title="$t('desc.SBL') + `${station.generalInfo.routes.sblRouteNames.join(',')}`"
|
||||
/>
|
||||
</span>
|
||||
|
||||
<img
|
||||
v-if="station.generalInfo && station.generalInfo.routes.sblRouteNames.length > 0"
|
||||
:src="SBLIcon"
|
||||
alt="SBL"
|
||||
:title="$t('desc.SBL') + `${station.generalInfo.routes.sblRouteNames.join(',')}`"
|
||||
/>
|
||||
|
||||
<img v-if="!station.generalInfo" :src="unknownIcon" alt="icon-unknown" :title="$t('desc.unknown')" />
|
||||
<img v-else class="icon-info" :src="unknownIcon" alt="icon-unknown" :title="$t('desc.unknown')" />
|
||||
</td>
|
||||
|
||||
<td class="station_users" :class="{ inactive: !station.onlineInfo }">
|
||||
@@ -230,6 +229,8 @@
|
||||
|
||||
<script lang="ts">
|
||||
import styleMixin from '@/mixins/styleMixin';
|
||||
import dateMixin from '@/mixins/dateMixin';
|
||||
import stationInfoMixin from '@/mixins/stationInfoMixin';
|
||||
|
||||
import { DataStatus } from '@/scripts/enums/DataStatus';
|
||||
import { computed, ComputedRef, defineComponent } from '@vue/runtime-core';
|
||||
@@ -237,7 +238,6 @@ import { useStore } from '@/store';
|
||||
import { GETTERS } from '@/constants/storeConstants';
|
||||
import Station from '@/scripts/interfaces/Station';
|
||||
import { StoreData } from '@/scripts/interfaces/StoreData';
|
||||
import dateMixin from '@/mixins/dateMixin';
|
||||
|
||||
export default defineComponent({
|
||||
props: {
|
||||
@@ -255,7 +255,7 @@ export default defineComponent({
|
||||
changeSorter: { type: Function, required: true },
|
||||
},
|
||||
|
||||
mixins: [styleMixin, dateMixin],
|
||||
mixins: [styleMixin, dateMixin, stationInfoMixin],
|
||||
|
||||
data: () => ({
|
||||
likeIcon: require('@/assets/icon-like.svg'),
|
||||
@@ -270,7 +270,6 @@ export default defineComponent({
|
||||
unknownIcon: require('@/assets/icon-unknown.svg'),
|
||||
abandonedIcon: require('@/assets/icon-abandoned.svg'),
|
||||
|
||||
|
||||
ascIcon: require('@/assets/icon-arrow-asc.svg'),
|
||||
descIcon: require('@/assets/icon-arrow-desc.svg'),
|
||||
|
||||
@@ -322,6 +321,7 @@ export default defineComponent({
|
||||
<style lang="scss" scoped>
|
||||
@import '../../styles/responsive.scss';
|
||||
@import '../../styles/variables.scss';
|
||||
@import '../../styles/icons.scss';
|
||||
|
||||
$rowCol: #4b4b4b;
|
||||
|
||||
@@ -461,12 +461,22 @@ td.station {
|
||||
}
|
||||
}
|
||||
|
||||
&_info,
|
||||
&_tracks {
|
||||
img {
|
||||
width: 2.2em;
|
||||
&_info {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
.icon-info {
|
||||
font-size: 0.8rem;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
|
||||
line-height: 2rem;
|
||||
|
||||
margin: 0 0.2em;
|
||||
vertical-align: middle;
|
||||
|
||||
outline: 2px solid #444;
|
||||
border-radius: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
import { defineComponent } from 'vue';
|
||||
|
||||
export default defineComponent({
|
||||
methods: {
|
||||
getControlTypeAbbrev(controlType: string) {
|
||||
switch (controlType) {
|
||||
case 'mechaniczne':
|
||||
return 'M';
|
||||
case 'SCS-SPK':
|
||||
return 'S/S';
|
||||
case 'ręczne':
|
||||
return 'R';
|
||||
case 'mechaniczne+SPK':
|
||||
return 'M';
|
||||
case 'ręczne+SPK':
|
||||
return 'R';
|
||||
case 'mechaniczne+SCS':
|
||||
return 'M';
|
||||
default:
|
||||
return controlType;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -8,11 +8,11 @@
|
||||
}
|
||||
|
||||
&-enter-active {
|
||||
transition: all 100ms ease-out;
|
||||
transition: all 120ms ease-out;
|
||||
}
|
||||
|
||||
&-leave-active {
|
||||
transition: all 100ms ease-out;
|
||||
transition: all 120ms ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
.scenery-icon {
|
||||
display: inline-block;
|
||||
|
||||
user-select: none;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
|
||||
text-align: center;
|
||||
|
||||
font-weight: bold;
|
||||
|
||||
background-color: #888;
|
||||
|
||||
&.SPK,
|
||||
&.mechaniczne-SPK,
|
||||
&.ręczne-SPK {
|
||||
color: gold;
|
||||
}
|
||||
|
||||
&.SCS,
|
||||
&.mechaniczne-SCS,
|
||||
&.ręczne-SCS {
|
||||
color: #00fff2;
|
||||
}
|
||||
|
||||
&.SPE {
|
||||
color: lawngreen;
|
||||
}
|
||||
|
||||
&.mechaniczne {
|
||||
color: rgb(255, 170, 42);
|
||||
}
|
||||
|
||||
&.ręczne {
|
||||
color: #111;
|
||||
}
|
||||
|
||||
&.SCS-SPK {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||