mirror of
https://github.com/Dadechin/XRoomDashboardFront.git
synced 2025-07-05 01:34:34 +00:00
Compare commits
No commits in common. "e62892a0b49df543dad227d7c43a1a31ff597718" and "2d003c644b11c7e4f41d11981b22b90ef2e8e78b" have entirely different histories.
e62892a0b4
...
2d003c644b
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div style="padding-bottom: 2.5rem;">
|
<div>
|
||||||
<!-- License Info -->
|
<!-- License Info -->
|
||||||
<div class="card license-card">
|
<div class="card license-card">
|
||||||
<span>لایسنسهای قابل استفاده: {{ remainingCapacity }}</span>
|
<span>لایسنسهای قابل استفاده: {{ remainingCapacity }}</span>
|
||||||
|
@ -34,245 +34,113 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- User List with Swiper -->
|
<!-- User List -->
|
||||||
<div class="user-cards">
|
<div class="user-cards">
|
||||||
<swiper
|
<div v-for="(user, index) in userList" :key="index" class="user-card">
|
||||||
v-if="isMobile"
|
<div class="user-card-header">
|
||||||
:slidesPerView="1.2"
|
<img :src="user.avatar" class="user-avatar" alt="avatar" />
|
||||||
:spaceBetween="15"
|
<div class="user-info-box">
|
||||||
:freeMode="true"
|
<div class="user-info-tags">
|
||||||
:pagination="{ clickable: false }"
|
<div class="user-name">{{ user.name }}</div>
|
||||||
:modules="modules"
|
<div class="user-email">{{ user.email }}</div>
|
||||||
:breakpoints="{
|
|
||||||
768: { slidesPerView: 2.3, spaceBetween: 15 },
|
|
||||||
1024: { slidesPerView: 1.6, spaceBetween: 15 },
|
|
||||||
1280: { slidesPerView: 1.1, spaceBetween: 25 },
|
|
||||||
}"
|
|
||||||
class="swiper-container"
|
|
||||||
>
|
|
||||||
<swiper-slide v-for="(user, index) in userList" :key="index">
|
|
||||||
<div class="user-card">
|
|
||||||
<div class="user-card-header">
|
|
||||||
<div style="display: flex;align-items: center;gap: 8px;">
|
|
||||||
<img :src="user.avatar" class="user-avatar" alt="avatar" />
|
|
||||||
<div class="user-info-tags">
|
|
||||||
<div class="user-name">{{ user.name }}</div>
|
|
||||||
<div class="user-email">{{ user.email }}</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="user-info-box">
|
|
||||||
<div class="user-activity">
|
|
||||||
<div class="user-role">{{ user.role }}</div>
|
|
||||||
<div class="user-version">{{ user.version }}</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="user-footer">
|
<div class="user-activity">
|
||||||
<span>اکانت XRoom</span>
|
<div class="user-role">{{ user.role }}</div>
|
||||||
<div class="user-actions">
|
<div class="user-version">{{ user.version }}</div>
|
||||||
<button>
|
|
||||||
<svg
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
width="25"
|
|
||||||
height="25"
|
|
||||||
viewBox="0 0 20 20"
|
|
||||||
fill="none"
|
|
||||||
>
|
|
||||||
<path
|
|
||||||
d="M16.666 5.83325H9.16602"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
d="M11.666 14.1667H4.16602"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
d="M14.166 16.6667C15.5467 16.6667 16.666 15.5475 16.666 14.1667C16.666 12.786 15.5467 11.6667 14.166 11.6667C12.7853 11.6667 11.666 12.786 11.666 14.1667C11.666 15.5475 12.7853 16.6667 14.166 16.6667Z"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
d="M5.83398 8.33325C7.2147 8.33325 8.33398 7.21396 8.33398 5.83325C8.33398 4.45254 7.2147 3.33325 5.83398 3.33325C4.45327 3.33325 3.33398 4.45254 3.33398 5.83325C3.33398 7.21396 4.45327 8.33325 5.83398 8.33325Z"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
</svg>
|
|
||||||
</button>
|
|
||||||
<button>
|
|
||||||
<svg
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
width="25"
|
|
||||||
height="25"
|
|
||||||
viewBox="0 0 20 20"
|
|
||||||
fill="none"
|
|
||||||
>
|
|
||||||
<path
|
|
||||||
d="M2.5 5H17.5"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
d="M15.8327 5V16.6667C15.8327 17.5 14.9993 18.3333 14.166 18.3333H5.83268C4.99935 18.3333 4.16602 17.5 4.16602 16.6667V5"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
d="M6.66602 5.00008V3.33341C6.66602 2.50008 7.49935 1.66675 8.33268 1.66675H11.666C12.4993 1.66675 13.3327 2.50008 13.3327 3.33341V5.00008"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
d="M8.33398 9.16675V14.1667"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
d="M11.666 9.16675V14.1667"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
</svg>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</swiper-slide>
|
|
||||||
</swiper>
|
|
||||||
|
|
||||||
<div v-else class="user-cards-grid">
|
|
||||||
<div v-for="(user, index) in userList" :key="index" class="user-card">
|
|
||||||
<div class="user-card-header">
|
|
||||||
<img :src="user.avatar" class="user-avatar" alt="avatar" />
|
|
||||||
<div class="user-info-box">
|
|
||||||
<div class="user-info-tags">
|
|
||||||
<div class="user-name">{{ user.name }}</div>
|
|
||||||
<div class="user-email">{{ user.email }}</div>
|
|
||||||
</div>
|
|
||||||
<div class="user-activity">
|
|
||||||
<div class="user-role">{{ user.role }}</div>
|
|
||||||
<div class="user-version">{{ user.version }}</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="user-footer">
|
|
||||||
<span>اکانت XRoom</span>
|
|
||||||
<div class="user-actions">
|
|
||||||
<button>
|
|
||||||
<svg
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
width="25"
|
|
||||||
height="25"
|
|
||||||
viewBox="0 0 20 20"
|
|
||||||
fill="none"
|
|
||||||
>
|
|
||||||
<path
|
|
||||||
d="M16.666 5.83325H9.16602"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
d="M11.666 14.1667H4.16602"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
d="M14.166 16.6667C15.5467 16.6667 16.666 15.5475 16.666 14.1667C16.666 12.786 15.5467 11.6667 14.166 11.6667C12.7853 11.6667 11.666 12.786 11.666 14.1667C11.666 15.5475 12.7853 16.6667 14.166 16.6667Z"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
d="M5.83398 8.33325C7.2147 8.33325 8.33398 7.21396 8.33398 5.83325C8.33398 4.45254 7.2147 3.33325 5.83398 3.33325C4.45327 3.33325 3.33398 4.45254 3.33398 5.83325C3.33398 7.21396 4.45327 8.33325 5.83398 8.33325Z"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
</svg>
|
|
||||||
</button>
|
|
||||||
<button>
|
|
||||||
<svg
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
width="25"
|
|
||||||
height="25"
|
|
||||||
viewBox="0 0 20 20"
|
|
||||||
fill="none"
|
|
||||||
>
|
|
||||||
<path
|
|
||||||
d="M2.5 5H17.5"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
d="M15.8327 5V16.6667C15.8327 17.5 14.9993 18.3333 14.166 18.3333H5.83268C4.99935 18.3333 4.16602 17.5 4.16602 16.6667V5"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
d="M6.66602 5.00008V3.33341C6.66602 2.50008 7.49935 1.66675 8.33268 1.66675H11.666C12.4993 1.66675 13.3327 2.50008 13.3327 3.33341V5.00008"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
d="M8.33398 9.16675V14.1667"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
<path
|
|
||||||
d="M11.666 9.16675V14.1667"
|
|
||||||
stroke="white"
|
|
||||||
stroke-width="1.5"
|
|
||||||
stroke-linecap="round"
|
|
||||||
stroke-linejoin="round"
|
|
||||||
/>
|
|
||||||
</svg>
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Add User Card -->
|
<div class="user-footer">
|
||||||
<div class="user-card add-card" @click="openAddUserModal">
|
<span>اکانت XRoom</span>
|
||||||
<span class="add-text">
|
<div class="user-actions">
|
||||||
<span style="font-size: 23px; margin-left: 0.5rem;">+</span>
|
<button>
|
||||||
اضافه کردن کاربر جدید
|
<svg
|
||||||
</span>
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="25"
|
||||||
|
height="25"
|
||||||
|
viewBox="0 0 20 20"
|
||||||
|
fill="none"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M16.666 5.83325H9.16602"
|
||||||
|
stroke="white"
|
||||||
|
stroke-width="1.5"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
/>
|
||||||
|
<path
|
||||||
|
d="M11.666 14.1667H4.16602"
|
||||||
|
stroke="white"
|
||||||
|
stroke-width="1.5"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
/>
|
||||||
|
<path
|
||||||
|
d="M14.166 16.6667C15.5467 16.6667 16.666 15.5475 16.666 14.1667C16.666 12.786 15.5467 11.6667 14.166 11.6667C12.7853 11.6667 11.666 12.786 11.666 14.1667C11.666 15.5475 12.7853 16.6667 14.166 16.6667Z"
|
||||||
|
stroke="white"
|
||||||
|
stroke-width="1.5"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
/>
|
||||||
|
<path
|
||||||
|
d="M5.83398 8.33325C7.2147 8.33325 8.33398 7.21396 8.33398 5.83325C8.33398 4.45254 7.2147 3.33325 5.83398 3.33325C4.45327 3.33325 3.33398 4.45254 3.33398 5.83325C3.33398 7.21396 4.45327 8.33325 5.83398 8.33325Z"
|
||||||
|
stroke="white"
|
||||||
|
stroke-width="1.5"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
<button>
|
||||||
|
<svg
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
width="25"
|
||||||
|
height="25"
|
||||||
|
viewBox="0 0 20 20"
|
||||||
|
fill="none"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M2.5 5H17.5"
|
||||||
|
stroke="white"
|
||||||
|
stroke-width="1.5"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
/>
|
||||||
|
<path
|
||||||
|
d="M15.8327 5V16.6667C15.8327 17.5 14.9993 18.3333 14.166 18.3333H5.83268C4.99935 18.3333 4.16602 17.5 4.16602 16.6667V5"
|
||||||
|
stroke="white"
|
||||||
|
stroke-width="1.5"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
/>
|
||||||
|
<path
|
||||||
|
d="M6.66602 5.00008V3.33341C6.66602 2.50008 7.49935 1.66675 8.33268 1.66675H11.666C12.4993 1.66675 13.3327 2.50008 13.3327 3.33341V5.00008"
|
||||||
|
stroke="white"
|
||||||
|
stroke-width="1.5"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
/>
|
||||||
|
<path
|
||||||
|
d="M8.33398 9.16675V14.1667"
|
||||||
|
stroke="white"
|
||||||
|
stroke-width="1.5"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
/>
|
||||||
|
<path
|
||||||
|
d="M11.666 9.16675V14.1667"
|
||||||
|
stroke="white"
|
||||||
|
stroke-width="1.5"
|
||||||
|
stroke-linecap="round"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Add User Card -->
|
<!-- Add User Card -->
|
||||||
<div class="user-card add-card swiper-add-user" @click="openAddUserModal">
|
<div class="user-card add-card" @click="openAddUserModal">
|
||||||
<span class="add-text">
|
<span class="add-text">
|
||||||
<span style="font-size: 23px; margin-left: 0.5rem;">+</span>
|
<span style="font-size: 23px; margin-left: 0.5rem;">+</span>
|
||||||
اضافه کردن کاربر جدید
|
اضافه کردن کاربر جدید
|
||||||
|
@ -280,8 +148,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Add User Modal -->
|
<!-- Add User Modal -->
|
||||||
<AddUserModal
|
<AddUserModal
|
||||||
:is-visible="isAddUserModalVisible"
|
:is-visible="isAddUserModalVisible"
|
||||||
|
@ -291,16 +157,12 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import AddUserModal from '@/components/AddUserModal.vue';
|
import AddUserModal from '@/components/AddUserModal.vue';
|
||||||
import { Swiper, SwiperSlide } from 'swiper/vue';
|
|
||||||
import 'swiper/css';
|
|
||||||
import { FreeMode, Pagination } from 'swiper/modules';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'TeamUser',
|
name: 'TeamUser',
|
||||||
components: { AddUserModal, Swiper, SwiperSlide },
|
components: { AddUserModal },
|
||||||
props: {
|
props: {
|
||||||
userList: { type: Array, default: () => [] },
|
userList: { type: Array, default: () => [] },
|
||||||
teamMemberCapacity: { type: Number, default: 0 },
|
teamMemberCapacity: { type: Number, default: 0 },
|
||||||
|
@ -309,9 +171,7 @@ export default {
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
modules: [FreeMode, Pagination],
|
|
||||||
isAddUserModalVisible: false,
|
isAddUserModalVisible: false,
|
||||||
isMobile: window.innerWidth <= 1024,
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
@ -338,23 +198,12 @@ export default {
|
||||||
goToBuySubscription() {
|
goToBuySubscription() {
|
||||||
this.$emit('change-tab', 'buy-subscription');
|
this.$emit('change-tab', 'buy-subscription');
|
||||||
},
|
},
|
||||||
handleResize() {
|
|
||||||
this.isMobile = window.innerWidth <= 1024;
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
mounted() {
|
|
||||||
window.addEventListener('resize', this.handleResize);
|
|
||||||
},
|
|
||||||
beforeUnmount() {
|
|
||||||
window.removeEventListener('resize', this.handleResize);
|
|
||||||
},
|
|
||||||
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
/* Base Styles */
|
/* User Info Section */
|
||||||
.user-info {
|
.user-info {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -370,7 +219,7 @@ export default {
|
||||||
.user-email {
|
.user-email {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #4f5a69;
|
color: #4F5A69;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-info-tags,
|
.user-info-tags,
|
||||||
|
@ -384,14 +233,21 @@ export default {
|
||||||
padding-left: 2rem;
|
padding-left: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* User Cards Section */
|
||||||
.user-cards {
|
.user-cards {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 2rem;
|
||||||
margin-top: 2.5rem;
|
margin-top: 2.5rem;
|
||||||
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-card {
|
.user-card {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 8px;
|
border-radius: 16px;
|
||||||
box-shadow: 0 1px 4px 0 #00000029;
|
box-shadow: 0 1px 4px 0 #00000029;
|
||||||
|
width: 48%;
|
||||||
|
height: 158px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
@ -403,7 +259,6 @@ export default {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
padding: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-info-box {
|
.user-info-box {
|
||||||
|
@ -445,6 +300,8 @@ export default {
|
||||||
color: #3a57e8;
|
color: #3a57e8;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
|
width: 48%;
|
||||||
|
height: 158px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -463,7 +320,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.license-card {
|
.license-card {
|
||||||
max-width: 100%;
|
max-width: 1600px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -473,6 +330,7 @@ export default {
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* User Footer Section */
|
||||||
.user-footer {
|
.user-footer {
|
||||||
background: #3a57e8;
|
background: #3a57e8;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
@ -495,255 +353,16 @@ export default {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* User Avatar */
|
||||||
.user-avatar {
|
.user-avatar {
|
||||||
width: 70px;
|
width: 70px;
|
||||||
height: 7rem;
|
height: 86px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
align-self: flex-end;
|
align-self: flex-end;
|
||||||
margin-top: 0;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Swiper Styles */
|
|
||||||
.swiper-container {
|
|
||||||
width: 100%;
|
|
||||||
padding-bottom: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.swiper-slide {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.swiper-add-user {
|
|
||||||
display : none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Mobile Styles (max-width: 600px) */
|
|
||||||
@media (max-width: 600px) {
|
|
||||||
|
|
||||||
.swiper-add-user {
|
|
||||||
display : block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-card {
|
|
||||||
width: 100%;
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-card {
|
|
||||||
width: 100%;
|
|
||||||
height: 100px;
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.license-card {
|
|
||||||
flex-direction: row;
|
|
||||||
align-items: flex-start;
|
|
||||||
gap: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-info-box {
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: flex-end;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-activity {
|
|
||||||
padding-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-avatar {
|
|
||||||
margin-top: 0;
|
|
||||||
width: 50px;
|
|
||||||
height: 80px;
|
|
||||||
object-fit: cover;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-name {
|
|
||||||
font-size: 14px;
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 700;
|
|
||||||
color: #101010;
|
|
||||||
white-space: nowrap;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
overflow-x: clip;
|
|
||||||
width: 90px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-email {
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-role {
|
|
||||||
font-size: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-footer span {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-info-tags, .user-activity {
|
|
||||||
gap: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-actions svg {
|
|
||||||
width: 18px !important;
|
|
||||||
height: 18px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-version , .user-role{
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 500;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
overflow-x: clip;
|
|
||||||
white-space: nowrap;
|
|
||||||
width: 80px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.license-card span {
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.buy-subscription {
|
|
||||||
font-size : 14px;
|
|
||||||
gap : 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.buy-subscription svg {
|
|
||||||
|
|
||||||
height: 18px;
|
|
||||||
width: 18px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-text {
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Tablet Styles (min-width: 600px and max-width: 1024px) */
|
|
||||||
@media (min-width: 600px) and (max-width: 1025px) {
|
|
||||||
|
|
||||||
.swiper-add-user {
|
|
||||||
display : block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-card {
|
|
||||||
width: 100%;
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-card {
|
|
||||||
width: 100%;
|
|
||||||
height: 100px;
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.license-card {
|
|
||||||
flex-direction: row;
|
|
||||||
align-items: flex-start;
|
|
||||||
gap: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-info-box {
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: flex-end;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-activity {
|
|
||||||
padding-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-avatar {
|
|
||||||
margin-top: 0;
|
|
||||||
width: 50px;
|
|
||||||
height: 80px;
|
|
||||||
object-fit: cover;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-name {
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: 700;
|
|
||||||
color: #101010;
|
|
||||||
white-space: nowrap;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
overflow-x: clip;
|
|
||||||
width: 90px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-email {
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-role {
|
|
||||||
font-size: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-footer span {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-info-tags, .user-activity {
|
|
||||||
gap: 1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-actions svg {
|
|
||||||
width: 18px !important;
|
|
||||||
height: 18px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-version , .user-role{
|
|
||||||
font-size: 15px;
|
|
||||||
font-weight: 500;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
overflow-x: clip;
|
|
||||||
white-space: nowrap;
|
|
||||||
width: 80px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.license-card span {
|
|
||||||
font-size: 15x;
|
|
||||||
}
|
|
||||||
|
|
||||||
.buy-subscription {
|
|
||||||
font-size : 15px;
|
|
||||||
gap : 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.buy-subscription svg {
|
|
||||||
|
|
||||||
height: 18px;
|
|
||||||
width: 18px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-text {
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Desktop Styles (min-width: 1024px) */
|
|
||||||
@media (min-width: 1025px) {
|
|
||||||
.user-cards-grid {
|
|
||||||
display: flex;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
gap: 2rem;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user-card {
|
|
||||||
width: 48%;
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.add-card {
|
|
||||||
width: 48%;
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
</style>
|
</style>
|
|
@ -169,7 +169,7 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<style scoped>
|
<style>
|
||||||
/* Base styles applied across all screen sizes */
|
/* Base styles applied across all screen sizes */
|
||||||
.section-title {
|
.section-title {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
|
|
@ -478,7 +478,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-description {
|
.section-description {
|
||||||
margin: 1rem 0 3rem !important;
|
margin-bottom: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-description p {
|
.section-description p {
|
||||||
|
|
|
@ -236,94 +236,68 @@ export default {
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
||||||
.section-title {
|
.section-title {
|
||||||
font-weight: 700;
|
font-size: 20px;
|
||||||
color: #101010;
|
font-weight: 600;
|
||||||
font-size: 19px;
|
color: #2d3748;
|
||||||
line-height: 26.6px;
|
margin-top: 20px;
|
||||||
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-description {
|
.section-description {
|
||||||
margin: 1rem 0 3rem;
|
margin-bottom: 3rem;
|
||||||
font-size: 20px;
|
margin-top: 1rem;
|
||||||
font-weight: 600;
|
font-size: 20px;
|
||||||
color: #2d3748;
|
font-weight: 600;
|
||||||
|
color: #2d3748;
|
||||||
|
margin: 1rem 0 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-description p {
|
.section-description p {
|
||||||
line-height: 190%;
|
line-height: 190%;
|
||||||
color: #4f5a69;
|
color: #4F5A69;
|
||||||
font-size: 15px;
|
font-size: 16px;
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
font-weight: 500;
|
|
||||||
text-align: justify;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* .dashboard-page {
|
||||||
|
margin-right: 360px;
|
||||||
|
padding: 20px;
|
||||||
|
direction: rtl;
|
||||||
|
font-family: IRANSansXFaNum, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
background-color: #f8f9fa;
|
||||||
|
border-radius: 20px;
|
||||||
|
padding: 35px 80px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
*/
|
||||||
.tab-buttons {
|
.tab-buttons {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 25px;
|
gap: 25px;
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
justify-content: space-between;
|
|
||||||
padding : 8px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-btn {
|
.tab-btn {
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
color: gray;
|
color: gray;
|
||||||
font-size: 16px;
|
font-size: 17px;
|
||||||
padding: 8px 16px;
|
padding: 8px 16px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-bottom: 2px solid transparent;
|
border-bottom: 2px solid transparent;
|
||||||
transition: all 0.2s ease-in-out;
|
transition: all 0.2s ease-in-out;
|
||||||
padding-right: 0px;
|
padding-right: 0;
|
||||||
padding-left: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-btn.active {
|
.tab-btn.active {
|
||||||
color: #3a57e8;
|
color: #3a57e8;
|
||||||
border-bottom: 2px solid #3a57e8;
|
border-bottom: 2px solid #3a57e8;
|
||||||
font-size: 16px;
|
font-size: 20px;
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 600px) and (max-width: 1024px) {
|
|
||||||
.tab-buttons {
|
|
||||||
justify-content: flex-start;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@media (min-width: 1024px) and (max-width: 1280px) {
|
|
||||||
.section-title {
|
|
||||||
font-size: 20px;
|
|
||||||
font-weight: 600;
|
|
||||||
color: #101010;
|
|
||||||
margin: 20px 0 10px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@media (min-width: 1280px) {
|
|
||||||
.section-title {
|
|
||||||
font-size: 21px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.section-description p {
|
|
||||||
font-size: 17.5px;
|
|
||||||
}
|
|
||||||
.tab-btn {
|
|
||||||
font-size: 18px;
|
|
||||||
padding: 8px 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tab-btn.active {
|
|
||||||
font-size: 21px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tab-buttons {
|
|
||||||
padding: 0;
|
|
||||||
justify-content: flex-start;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user