mirror of
https://github.com/Dadechin/XRoomDashboardFront.git
synced 2025-07-02 00:04:35 +00:00
Compare commits
5 Commits
e62892a0b4
...
449cd33d26
Author | SHA1 | Date | |
---|---|---|---|
![]() |
449cd33d26 | ||
![]() |
2d914d5c77 | ||
![]() |
62fbec1e98 | ||
![]() |
b6a31d88c1 | ||
![]() |
13d05d6473 |
|
@ -21,16 +21,14 @@
|
|||
</div>
|
||||
|
||||
<!-- Plan Cards -->
|
||||
<div style="display: flex; justify-content: space-between; flex-wrap: wrap;">
|
||||
<div v-for="(plan, key) in plans" :key="key" class="plan-card">
|
||||
<div class="card-inner">
|
||||
<h4>{{ plan.name }}</h4>
|
||||
<div class="card-price-title">
|
||||
<p>{{ (plan.price * memberCount).toLocaleString() }} تومان</p>
|
||||
<small>برای {{ memberCount }} کاربر، در {{ plan.name.toLowerCase() }}</small>
|
||||
</div>
|
||||
<button class="primary-button" @click="selectPlan(key)">انتخاب طرح اشتراک</button>
|
||||
<div class="plan-card-container">
|
||||
<div v-for="(plan, key) in plans" :key="key" class="plan-card">
|
||||
<h4>{{ plan.name }}</h4>
|
||||
<div class="card-price-title">
|
||||
<p>{{ (plan.price * memberCount).toLocaleString() }} تومان</p>
|
||||
<small>برای {{ memberCount }} کاربر، در {{ plan.name.toLowerCase() }}</small>
|
||||
</div>
|
||||
<button class="primary-button" @click="selectPlan(key)">انتخاب طرح اشتراک</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -146,91 +144,373 @@ export default {
|
|||
.buy-subscription-container {
|
||||
direction: rtl;
|
||||
font-family: IRANSansXFaNum, sans-serif;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.plan-card {
|
||||
background-color: white;
|
||||
border-radius: 16px;
|
||||
padding: 1px 1px 2px 1px;
|
||||
width: 32%;
|
||||
text-align: center;
|
||||
height: 25rem;
|
||||
background: linear-gradient(to right, #001940, #4364F7);
|
||||
}
|
||||
|
||||
.card-inner {
|
||||
background-color: white;
|
||||
border-radius: 14px;
|
||||
height: 100%;
|
||||
padding: 18px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
padding-top: 4rem;
|
||||
}
|
||||
|
||||
.plan-card h4 {
|
||||
font-size: 25px;
|
||||
color: #101010;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
|
||||
.primary-button {
|
||||
background-color: #3a57e8;
|
||||
color: white;
|
||||
border: none;
|
||||
padding: 12px 24px;
|
||||
font-size: 14px;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.primary-button:hover {
|
||||
background-color: #2e45c8;
|
||||
}
|
||||
|
||||
/* Base styles applied across all screen sizes */
|
||||
.subscription-title {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.subscription-title h3 {
|
||||
color: #101010;
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
color: #101010;
|
||||
font-weight: 600;
|
||||
font-size: 19px;
|
||||
line-height: 26.6px;
|
||||
margin-bottom: 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.subscription-title span {
|
||||
color: #4F5A69;
|
||||
line-height: 190%;
|
||||
font-size: 16px;
|
||||
color: #4f5a69;
|
||||
line-height: 190%;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
text-align: right;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.user-count {
|
||||
text-align: start;
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
.user-count label {
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
color: #101010;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.user-count select {
|
||||
padding: 8px 12px;
|
||||
border-radius: 8px;
|
||||
border-left: 16px solid transparent !important;
|
||||
box-shadow: #00000029 0px 1px 4px 0px;
|
||||
border: none;
|
||||
padding: 8px 12px;
|
||||
border-radius: 8px;
|
||||
border: none;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
.user-count select:focus {
|
||||
outline: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.card-price-title p{
|
||||
color: #101010;
|
||||
font-size: 20px;
|
||||
line-height: 140%;
|
||||
margin-bottom: 8px;
|
||||
.plan-card {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 300px;
|
||||
height: auto;
|
||||
min-height: 350px;
|
||||
border-radius: 20px;
|
||||
background: white;
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 1.5rem;
|
||||
margin: 0 auto 1rem;
|
||||
}
|
||||
|
||||
.plan-card::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
padding: 2px;
|
||||
border-radius: 20px;
|
||||
background: linear-gradient(to right, #001940, #4364f7);
|
||||
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
|
||||
-webkit-mask-composite: xor;
|
||||
mask-composite: exclude;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.plan-card h4 {
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
color: #101010;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.card-price-title p {
|
||||
color: #101010;
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
line-height: 140%;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.card-price-title small {
|
||||
color: #8D99AB;
|
||||
color: #718096;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
line-height: 190%;
|
||||
}
|
||||
|
||||
.primary-button {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 46px;
|
||||
border-radius: 8px;
|
||||
background: white;
|
||||
color: black;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: background 0.8s ease, color 0.3s ease-in-out;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.primary-button::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
padding: 1px;
|
||||
border-radius: 8px;
|
||||
background: linear-gradient(to right, #001940, #4364f7);
|
||||
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
|
||||
-webkit-mask-composite: xor;
|
||||
mask-composite: exclude;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.primary-button:hover {
|
||||
color: #fff;
|
||||
background: linear-gradient(to right, #001940, #4364f7);
|
||||
}
|
||||
|
||||
.invoice-box {
|
||||
margin-top: 2rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.8rem;
|
||||
background: white;
|
||||
padding: 1.5rem;
|
||||
border-radius: 12px;
|
||||
max-width: 400px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.invoice-box h4 {
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
color: #101010;
|
||||
margin-bottom: 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.invoice-box div {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 8px;
|
||||
font-size: 15px;
|
||||
color: #4f5a69;
|
||||
}
|
||||
|
||||
.invoice-box div:last-of-type {
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
color: #101010;
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
/* Media Query for Tablets (600px < width ≤ 1024px) */
|
||||
@media (min-width: 600px) and (max-width: 1024px) {
|
||||
.subscription-title h3 {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.subscription-title span {
|
||||
font-size: 16px;
|
||||
max-width: 90%;
|
||||
}
|
||||
|
||||
.user-count label {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.user-count select {
|
||||
font-size: 16px;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
.plan-card {
|
||||
width: 45%;
|
||||
height: 300px;
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.plan-card::before {
|
||||
padding: 1.5px;
|
||||
}
|
||||
|
||||
.plan-card h4 {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.card-price-title p {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.card-price-title small {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.primary-button {
|
||||
font-size: 16px;
|
||||
max-width: 220px;
|
||||
}
|
||||
|
||||
.invoice-box {
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
.invoice-box h4 {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.invoice-box div {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.invoice-box div:last-of-type {
|
||||
font-size: 17px;
|
||||
line-height: 140%;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.plan-card-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
gap: 2rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
|
||||
/* Media Query for Small Desktops (1024px < width ≤ 1280px) */
|
||||
@media (min-width: 1024px) and (max-width: 1280px) {
|
||||
.subscription-title h3 {
|
||||
font-size: 20px;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.subscription-title span {
|
||||
font-size: 16px;
|
||||
max-width: 90%;
|
||||
}
|
||||
|
||||
.user-count label {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.user-count select {
|
||||
font-size: 16px;
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
.plan-card {
|
||||
width: 48%;
|
||||
height: 300px;
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
|
||||
.plan-card h4 {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.card-price-title p {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.card-price-title small {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.primary-button {
|
||||
font-size: 16px;
|
||||
max-width: 220px;
|
||||
}
|
||||
|
||||
.invoice-box {
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
.plan-card-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
gap: 2rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
|
||||
/* Media Query for Large Desktops (width > 1280px) */
|
||||
@media (min-width: 1280px) {
|
||||
.subscription-title h3 {
|
||||
font-size: 21px;
|
||||
}
|
||||
|
||||
.subscription-title span {
|
||||
font-size: 17px;
|
||||
max-width: 90%;
|
||||
}
|
||||
|
||||
.user-count label {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.user-count select {
|
||||
font-size: 17px;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.plan-card {
|
||||
width: 287px;
|
||||
height: 400px;
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.plan-card::before {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.plan-card h4 {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.card-price-title p {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.card-price-title small {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.primary-button {
|
||||
font-size: 17px;
|
||||
max-width: 220px;
|
||||
}
|
||||
|
||||
.invoice-box {
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
.plan-card-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
gap: 2rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
</style>
|
|
@ -196,7 +196,6 @@ export default {
|
|||
|
||||
|
||||
<style scoped>
|
||||
|
||||
.access-container {
|
||||
direction: rtl;
|
||||
font-family: IRANSansXFaNum, sans-serif;
|
||||
|
@ -259,8 +258,9 @@ export default {
|
|||
|
||||
.info-cards {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: 20px;
|
||||
gap: 1.5rem 0;
|
||||
}
|
||||
|
||||
.info-card {
|
||||
|
@ -273,7 +273,8 @@ export default {
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
height: 20rem;
|
||||
height: 18rem;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.card-content h4 {
|
||||
|
@ -365,4 +366,235 @@ export default {
|
|||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Responsive Design */
|
||||
|
||||
/* Mobile (max-width: 600px) */
|
||||
@media (max-width: 600px) {
|
||||
.access-container {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.access-header {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
padding: 15px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.header-content {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.header-text {
|
||||
margin-right: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.header-text h3 {
|
||||
font-size: 16px;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.header-text p {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.lock-icon {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.primary-button {
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
padding: 10px;
|
||||
font-size: 12px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.info-cards {
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.info-card {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
padding: 15px;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.card-content h4 {
|
||||
font-size: 16px;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.billing-address,
|
||||
.memberships,
|
||||
.payment-method,
|
||||
.subscription-all,
|
||||
.subscription-remainder,
|
||||
.subscription-added,
|
||||
.invalid-subscription {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.billing-phoneNum span,
|
||||
.billing-email span,
|
||||
.subscription-all span,
|
||||
.subscription-remainder span,
|
||||
.subscription-added span {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.secondary-button,
|
||||
.disable-button {
|
||||
font-size: 13px;
|
||||
padding: 8px 12px;
|
||||
}
|
||||
|
||||
.loading,
|
||||
.error {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Tablet (min-width: 600px - max-width: 1024px) */
|
||||
@media (min-width: 600px) and (max-width: 1024px) {
|
||||
.access-container {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.access-header {
|
||||
flex-direction: row;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.header-text h3 {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.header-text p {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.lock-icon {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.primary-button {
|
||||
padding: 10px 20px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.info-cards {
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.info-card {
|
||||
max-width: 48%;
|
||||
height: auto;
|
||||
padding: 15px;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.card-content h4 {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.billing-address,
|
||||
.memberships,
|
||||
.payment-method,
|
||||
.subscription-all,
|
||||
.subscription-remainder,
|
||||
.subscription-added,
|
||||
.invalid-subscription {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.billing-phoneNum span,
|
||||
.billing-email span,
|
||||
.subscription-all span,
|
||||
.subscription-remainder span,
|
||||
.subscription-added span {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.secondary-button,
|
||||
.disable-button {
|
||||
font-size: 14px;
|
||||
padding: 8px 14px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Small Desktop (min-width: 1024px - max-width: 1280px) */
|
||||
@media (min-width: 1024px) and (max-width: 1280px) {
|
||||
.access-container {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.access-header {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.header-text h3 {
|
||||
font-size: 19px;
|
||||
}
|
||||
|
||||
.header-text p {
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.lock-icon {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
}
|
||||
|
||||
.primary-button {
|
||||
padding: 10px 20px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.info-cards {
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.info-card {
|
||||
max-width: 48%;
|
||||
padding: 18px;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.card-content h4 {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.billing-address,
|
||||
.memberships,
|
||||
.payment-method,
|
||||
.subscription-all,
|
||||
.subscription-remainder,
|
||||
.subscription-added,
|
||||
.invalid-subscription {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.billing-phoneNum span,
|
||||
.billing-email span,
|
||||
.subscription-all span,
|
||||
.subscription-remainder span,
|
||||
.subscription-added span {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Large Desktop (min-width: 1280px) */
|
||||
@media (min-width: 1280px) {
|
||||
/* No changes needed as the original styles are optimized for this size */
|
||||
}
|
||||
</style>
|
|
@ -196,8 +196,7 @@ export default {
|
|||
|
||||
.team-logo,
|
||||
.team-info {
|
||||
width: 49%;
|
||||
background-color: #ffffff;
|
||||
background: #ffffff;
|
||||
border: none;
|
||||
border-radius: 16px;
|
||||
padding: 1.5rem;
|
||||
|
@ -322,4 +321,193 @@ export default {
|
|||
float: left;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
/* Mobile (max-width: 600px) */
|
||||
@media (max-width: 600px) {
|
||||
.tab-content {
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.team-logo {
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.team-logo,
|
||||
.team-info {
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.card-title h2,
|
||||
.logo-sample-title h2 {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.card-title p,
|
||||
.logo-sample-title span {
|
||||
font-size: 14px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.logo-info {
|
||||
flex-direction: row;
|
||||
gap: 1rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.logo-info img {
|
||||
height: 100px;
|
||||
max-width: 100px;
|
||||
}
|
||||
|
||||
.logo-info label {
|
||||
font-size: 16px;
|
||||
padding: 8px 20px;
|
||||
}
|
||||
|
||||
.sample-logos {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.sample-logos img {
|
||||
height: 90px;
|
||||
width: 30%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.form-group label {
|
||||
font-size: 14px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.form-group input {
|
||||
font-size: 14px;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.submit-btn {
|
||||
width: 100%;
|
||||
font-size: 16px;
|
||||
height: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Tablet (min-width: 600px - max-width: 1024px) */
|
||||
@media (min-width: 600px) and (max-width: 1024px) {
|
||||
.tab-content {
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.team-logo,
|
||||
.team-info {
|
||||
width: 100%;
|
||||
padding: 1.25rem;
|
||||
}
|
||||
|
||||
.card-title h2,
|
||||
.logo-sample-title h2 {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.card-title p,
|
||||
.logo-sample-title span {
|
||||
font-size: 15px;
|
||||
max-width: 95%;
|
||||
}
|
||||
|
||||
.logo-info {
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.logo-info img {
|
||||
height: 120px;
|
||||
max-width: 120px;
|
||||
}
|
||||
|
||||
.logo-info label {
|
||||
font-size: 16px;
|
||||
padding: 9px 22px;
|
||||
}
|
||||
|
||||
.sample-logos img {
|
||||
height: 120px;
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.form-group label {
|
||||
font-size: 15px;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.form-group input {
|
||||
font-size: 15px;
|
||||
padding: 7px;
|
||||
}
|
||||
|
||||
.submit-btn {
|
||||
width: 100%;
|
||||
font-size: 17px;
|
||||
height: 45px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Small Laptop (min-width: 1024px - max-width: 1280px) */
|
||||
@media (min-width: 1024px) and (max-width: 1280px) {
|
||||
.team-logo,
|
||||
.team-info {
|
||||
width: 100%;
|
||||
padding: 1.25rem;
|
||||
}
|
||||
|
||||
.card-title h2,
|
||||
.logo-sample-title h2 {
|
||||
font-size: 19px;
|
||||
}
|
||||
|
||||
.card-title p,
|
||||
.logo-sample-title span {
|
||||
font-size: 16px;
|
||||
max-width: 90%;
|
||||
}
|
||||
|
||||
.logo-info img {
|
||||
height: 130px;
|
||||
max-width: 130px;
|
||||
}
|
||||
|
||||
.logo-info label {
|
||||
font-size: 17px;
|
||||
padding: 9px 24px;
|
||||
}
|
||||
|
||||
.sample-logos img {
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.form-group label {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.form-group input {
|
||||
font-size: 15px;
|
||||
padding: 7px;
|
||||
}
|
||||
|
||||
.submit-btn {
|
||||
width: 70%;
|
||||
font-size: 17px;
|
||||
height: 45px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Desktop (min-width: 1280px) */
|
||||
@media (min-width: 1280px) {
|
||||
.team-logo,
|
||||
.team-info {
|
||||
width: 49%;
|
||||
}
|
||||
}
|
||||
</style>
|
|
@ -339,7 +339,7 @@ export default {
|
|||
this.$emit('change-tab', 'buy-subscription');
|
||||
},
|
||||
handleResize() {
|
||||
this.isMobile = window.innerWidth <= 1024;
|
||||
this.isMobile = window.innerWidth <= 1280;
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
|
@ -726,8 +726,112 @@ export default {
|
|||
}
|
||||
}
|
||||
|
||||
/* Desktop Styles (min-width: 1024px) */
|
||||
@media (min-width: 1025px) {
|
||||
/* LapTop Styles (min-width: 1025px and max-width: 1280px) */
|
||||
@media (min-width: 1025px) and (max-width: 1280px) {
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Desktop Styles (min-width: 1280px) */
|
||||
@media (min-width: 1280px) {
|
||||
.user-cards-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
|
|
@ -69,8 +69,8 @@
|
|||
</span>
|
||||
<div v-else class="meetings-list">
|
||||
<div v-for="meeting in filteredMeetings" :key="meeting.id" class="meeting-item">
|
||||
<img :src="meeting.image" alt="Meeting Image" class="meeting-image" width="120" height="120" />
|
||||
<div class="meeting-details" style="width:100%;margin-right: 10px;">
|
||||
<img :src="meeting.image" alt="Meeting Image" class="meeting-image" width="48%" height="120" />
|
||||
<div class="meeting-details" style="width : 48%;">
|
||||
<h3 class="meet-title">{{ meeting.title }}</h3>
|
||||
<p class="meet-capacity">
|
||||
<span style="margin-left: 4px;">
|
||||
|
@ -131,7 +131,7 @@
|
|||
:key="filteredMeetings.length + activeFilter + JSON.stringify(filteredMeetings)"
|
||||
:slides-per-view="1.4"
|
||||
:space-between="10"
|
||||
:loop="true"
|
||||
:freeMode="true"
|
||||
:pagination="{ clickable: true }"
|
||||
:breakpoints="{
|
||||
768: { slidesPerView: 3.3, spaceBetween: 15 },
|
||||
|
@ -142,8 +142,8 @@
|
|||
class="swiper-meetings-list"
|
||||
>
|
||||
<swiper-slide v-for="meeting in filteredMeetings" :key="meeting.id" class="swiper-meeting-item">
|
||||
<img :src="meeting.image" alt="Meeting Image" class="meeting-image" width="120" height="120" />
|
||||
<div class="meeting-details" style="width:100%;margin-right: 10px;">
|
||||
<img :src="meeting.image" alt="Meeting Image" class="meeting-image" width="48%" height="120" />
|
||||
<div class="meeting-details" style="width: 48%;padding-left: 4px;">
|
||||
<h3 class="meet-title">{{ meeting.title }}</h3>
|
||||
<p class="meet-capacity">
|
||||
<span style="margin-left: 4px;">
|
||||
|
@ -230,7 +230,7 @@ import CreateMeetingModal from '@/components/CreateMeetingModal.vue';
|
|||
import MeetingInfoModal from '@/components/MeetingInfoModal.vue';
|
||||
import { Swiper, SwiperSlide } from 'swiper/vue';
|
||||
import 'swiper/css';
|
||||
import { Pagination } from 'swiper/modules';
|
||||
import { FreeMode, Pagination } from 'swiper/modules';
|
||||
import axios from 'axios';
|
||||
|
||||
const API_BASE_URL = 'http://my.xroomapp.com:8000';
|
||||
|
@ -250,7 +250,7 @@ export default {
|
|||
showModal: false,
|
||||
showInfoModal: false,
|
||||
selectedMeeting: null,
|
||||
modules: [Pagination],
|
||||
modules: [FreeMode, Pagination],
|
||||
meetings: [],
|
||||
filteredMeetings: [],
|
||||
};
|
||||
|
@ -566,6 +566,7 @@ export default {
|
|||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border: 1px solid #b8c0cb;
|
||||
border-radius: 12px;
|
||||
text-align: right;
|
||||
|
@ -708,6 +709,7 @@ export default {
|
|||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border: 1px solid #b8c0cb;
|
||||
border-radius: 12px;
|
||||
padding: 4px;
|
||||
|
@ -944,11 +946,11 @@ export default {
|
|||
|
||||
|
||||
.meet-title{
|
||||
width: 150px !important;
|
||||
width: 115px !important;
|
||||
}
|
||||
|
||||
.meet-type span {
|
||||
width : 120px !important;
|
||||
width : 75px !important;
|
||||
}
|
||||
|
||||
.info-button {
|
||||
|
@ -970,6 +972,7 @@ export default {
|
|||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border: 1px solid #b8c0cb;
|
||||
border-radius: 12px;
|
||||
padding: 4px;
|
||||
|
@ -998,6 +1001,8 @@ export default {
|
|||
}
|
||||
|
||||
.search-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-width: 85%;
|
||||
width: 100%;
|
||||
margin-left: 1.5rem;
|
||||
|
@ -1043,16 +1048,13 @@ export default {
|
|||
}
|
||||
|
||||
.meeting-item {
|
||||
padding: 8px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.meeting-details {
|
||||
width: 60% !important;
|
||||
}
|
||||
|
||||
.meet-title {
|
||||
font-size: 17px;
|
||||
width : 200px;
|
||||
width : 140px;
|
||||
}
|
||||
|
||||
.meet-capacity,
|
||||
|
|
|
@ -478,11 +478,11 @@ export default {
|
|||
}
|
||||
|
||||
.section-description {
|
||||
margin: 1rem 0 3rem !important;
|
||||
margin: 1rem 0 3rem;
|
||||
}
|
||||
|
||||
.section-description p {
|
||||
line-height: 190%;
|
||||
line-height: 1.9;
|
||||
color: #4f5a69;
|
||||
font-size: 15px;
|
||||
margin-top: 1rem;
|
||||
|
@ -526,11 +526,11 @@ export default {
|
|||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
padding: 0.5rem 1.5rem;
|
||||
padding: .5rem 1.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
gap: .5rem;
|
||||
font-size: 1.125rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
@ -540,9 +540,9 @@ export default {
|
|||
border: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: .5rem;
|
||||
cursor: pointer;
|
||||
padding: 0.5rem 0;
|
||||
padding: .5rem 0;
|
||||
}
|
||||
|
||||
.active-btn {
|
||||
|
@ -583,13 +583,12 @@ export default {
|
|||
gap: 1rem;
|
||||
}
|
||||
|
||||
.file-card,
|
||||
.swiper-file-card {
|
||||
width: calc(33.333% - 0.67rem);
|
||||
.file-card, .swiper-file-card {
|
||||
width: calc(33.333% - .67rem);
|
||||
border: 1px solid #b8c0cb;
|
||||
border-radius: 16px;
|
||||
background: #fff;
|
||||
padding: 0.5rem 0.5rem 1rem;
|
||||
padding: .5rem .5rem 1rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
@ -606,10 +605,7 @@ export default {
|
|||
object-fit: cover;
|
||||
}
|
||||
|
||||
.file-pdf,
|
||||
.file-video,
|
||||
.file-glb,
|
||||
.file-other {
|
||||
.file-pdf, .file-video, .file-glb, .file-other {
|
||||
object-fit: contain;
|
||||
width: 70%;
|
||||
display: block;
|
||||
|
@ -634,7 +630,7 @@ export default {
|
|||
.file-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: .5rem;
|
||||
}
|
||||
|
||||
.file-meta svg {
|
||||
|
@ -663,22 +659,21 @@ export default {
|
|||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
padding: 0.5rem 1.5rem;
|
||||
padding: .5rem 1.5rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
gap: .5rem;
|
||||
font-size: 1.125rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.upload-btn svg,
|
||||
.new-file svg {
|
||||
.upload-btn svg, .new-file svg {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
@media (max-width: 1023px) {
|
||||
@media (max-width: 1280px) {
|
||||
.swiper-file-section {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -724,7 +719,7 @@ export default {
|
|||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
@media (min-width: 1280px) {
|
||||
.file-manager-layout {
|
||||
flex-direction: row;
|
||||
}
|
||||
|
@ -744,7 +739,7 @@ export default {
|
|||
|
||||
.file-card {
|
||||
border-radius: 16px;
|
||||
padding: 0.5rem 0.5rem 1rem;
|
||||
padding: .5rem .5rem 1rem;
|
||||
}
|
||||
|
||||
.file-image {
|
||||
|
@ -752,10 +747,7 @@ export default {
|
|||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.file-pdf,
|
||||
.file-video,
|
||||
.file-glb,
|
||||
.file-other {
|
||||
.file-pdf, .file-video, .file-glb, .file-other {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
@ -787,22 +779,4 @@ export default {
|
|||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1280px) {
|
||||
.section-title {
|
||||
font-size: 21px;
|
||||
}
|
||||
|
||||
.section-description p {
|
||||
font-size: 17.5px;
|
||||
}
|
||||
|
||||
.file-section {
|
||||
display: block;
|
||||
margin-bottom: 3rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user