subscription.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761
  1. <!--
  2. Page 'Mon abonnement'
  3. @see https://ressources.opentalent.fr/display/SPEC/Mon+abonnement
  4. -->
  5. <template>
  6. <div>
  7. <LayoutContainer>
  8. <v-expansion-panels v-model="openedPanels" :multiple="true" class="mt-4">
  9. <UiExpansionPanel title="subscription_page" icon="fas fa-info">
  10. <v-container fluid class="container">
  11. <v-row>
  12. <v-col cols="12" lg="6" sm="12">
  13. {{ $t('version') }} :
  14. <strong>{{
  15. dolibarrAccount ? $t(dolibarrAccount.product) : '-'
  16. }}</strong>
  17. </v-col>
  18. <v-col cols="12" lg="6" sm="12">
  19. {{ $t('client_id') }} :
  20. {{ dolibarrAccount ? dolibarrAccount.clientNumber : '-' }}
  21. </v-col>
  22. </v-row>
  23. </v-container>
  24. </UiExpansionPanel>
  25. <UiExpansionPanel
  26. v-if="dolibarrAccount && dolibarrAccount.contract"
  27. title="service_detail"
  28. icon="fas fa-info"
  29. >
  30. <v-container fluid class="container">
  31. <v-row>
  32. <v-col
  33. v-for="line in dolibarrAccount.contract.lines"
  34. :key="line.id"
  35. cols="12"
  36. lg="12"
  37. >
  38. <strong>{{ line.serviceLabel }}</strong> - {{ $t('until') }} :
  39. {{ $d(line.dateEnd) }}
  40. </v-col>
  41. <v-col v-if="ability.can('manage', 'texto')" cols="12" lg="12">
  42. <strong>{{ $t('remaining_sms_credit') }}</strong> -
  43. <span
  44. v-if="
  45. mobytPendingStatus == 'success' && mobytStatus !== null && mobytStatus.active
  46. "
  47. >
  48. {{
  49. mobytStatus.money.toLocaleString($i18n.locale, {
  50. style: 'currency',
  51. currency: 'EUR',
  52. })
  53. }}
  54. {{
  55. i18n.t('convert_price_to_sms', {
  56. nb_sms: mobytStatus.amount,
  57. })
  58. }}
  59. </span>
  60. </v-col>
  61. </v-row>
  62. </v-container>
  63. </UiExpansionPanel>
  64. <UiExpansionPanel
  65. v-if="dolibarrAccount !== null && dolibarrAccount.order"
  66. title="purchase_order"
  67. icon="fas fa-file"
  68. >
  69. <v-container :fluid="true" class="container">
  70. <v-row>
  71. <v-table>
  72. <thead>
  73. <tr>
  74. <th>{{ $t('reference') }}</th>
  75. <th>{{ $t('date') }}</th>
  76. <th />
  77. </tr>
  78. </thead>
  79. <tbody>
  80. <tr>
  81. <td>{{ dolibarrAccount.order.ref }}</td>
  82. <td>{{ $d(dolibarrAccount.order.date) }}</td>
  83. <td>
  84. <a
  85. class="clickable"
  86. @click="
  87. downloadDolibarrBillingDoc(
  88. DOLIBARR_BILLING_DOC_TYPE.ORDER,
  89. dolibarrAccount.order.ref,
  90. )
  91. "
  92. >
  93. {{ $t('download') }}
  94. </a>
  95. </td>
  96. </tr>
  97. </tbody>
  98. </v-table>
  99. </v-row>
  100. </v-container>
  101. </UiExpansionPanel>
  102. <UiExpansionPanel
  103. v-if="showDolibarrBillsPanel"
  104. title="bills"
  105. icon="fas fa-file"
  106. >
  107. <v-container :fluid="true" class="container">
  108. <v-row>
  109. <v-table v-if="dolibarrAccount !== null">
  110. <thead>
  111. <tr>
  112. <th>{{ $t('reference') }}</th>
  113. <th>{{ $t('date') }}</th>
  114. <th>{{ $t('taxExcludedAmount') }}</th>
  115. <th>{{ $t('status') }}</th>
  116. <th />
  117. </tr>
  118. </thead>
  119. <tbody>
  120. <tr v-for="bill in dolibarrAccount.bills" :key="bill.id">
  121. <td>{{ bill.ref }}</td>
  122. <td>{{ $d(bill.date) }}</td>
  123. <td>
  124. {{
  125. bill.taxExcludedAmount.toLocaleString($i18n.locale, {
  126. style: 'currency',
  127. currency: 'EUR',
  128. })
  129. }}
  130. </td>
  131. <td>
  132. {{ bill.paid === true ? $t('paid') : $t('unpaid') }}
  133. </td>
  134. <td>
  135. <a
  136. class="clickable"
  137. @click="
  138. downloadDolibarrBillingDoc(
  139. DOLIBARR_BILLING_DOC_TYPE.INVOICE,
  140. bill.ref,
  141. )
  142. "
  143. >
  144. {{ $t('download') }}
  145. </a>
  146. </td>
  147. </tr>
  148. </tbody>
  149. </v-table>
  150. </v-row>
  151. </v-container>
  152. </UiExpansionPanel>
  153. <UiExpansionPanel
  154. v-if="!organizationProfile.isManagerProduct"
  155. title="opentalent_offers"
  156. icon="fas fa-plus"
  157. >
  158. <v-container fluid class="container">
  159. <v-row
  160. v-if="!md && mdAndUp && !organizationProfile.isSchool"
  161. class="offer_title"
  162. >
  163. <v-col
  164. cols="12"
  165. :lg="
  166. organizationProfile.isArtistPremiumProduct &&
  167. !organizationProfile.isTrialActive
  168. ? 4
  169. : 8
  170. "
  171. sm="12"
  172. >
  173. <span class="theme-artist"
  174. >Pour les orchestres, chorales, <br />compagnies et troupes
  175. artistiques</span
  176. >
  177. </v-col>
  178. <v-col cols="12" lg="4" sm="12">
  179. <span class="theme-school"
  180. >Pour les établissements d'enseignements <br />
  181. artistiques*</span
  182. >
  183. </v-col>
  184. </v-row>
  185. <v-row class="card-container">
  186. <v-col
  187. v-if="
  188. organizationProfile.isArtistProduct ||
  189. organizationProfile.isTrialActive
  190. "
  191. lg="4"
  192. sm="12"
  193. md="6"
  194. >
  195. <LayoutPagesSubscriptionCard
  196. class="artistCard"
  197. title="Logiciel Artist Standard"
  198. :extra-header="
  199. organizationProfile.isArtistProduct
  200. ? 'Votre version actuelle'
  201. : undefined
  202. "
  203. color="artist"
  204. :list="listCheck.artist"
  205. >
  206. <template #card.subTitle>
  207. <div class="priceBlock">
  208. <span v-if="organizationProfile.isCmf"
  209. ><strong>{{ $t('price_include_cmf') }}*</strong></span
  210. >
  211. <span v-else
  212. ><span class="price">{{
  213. formatCurrency(14.0, 'EUR')
  214. }}</span>
  215. TTC/mois*</span
  216. >
  217. </div>
  218. </template>
  219. <template #card.action>
  220. <v-row>
  221. <v-col
  222. v-if="
  223. !organizationProfile.isArtistProduct &&
  224. !organizationProfile.isTrialActive
  225. "
  226. cols="12"
  227. >
  228. <v-btn
  229. class="theme-artist btn"
  230. href="https://logiciels.opentalent.fr/opentalent-artist"
  231. target="_blank"
  232. >
  233. {{ $t('to_know_more') }}
  234. <i class="fa-solid fa-greater-than small" />
  235. </v-btn>
  236. </v-col>
  237. <v-col cols="12">
  238. <span
  239. v-if="organizationProfile.isCmf"
  240. class="special_conditions"
  241. >
  242. *En cas de non-réadhésion, il reste accessible au
  243. tarif public de 14€ TTC/mois (Tarif 2025. Abonnement
  244. payable annuellement).
  245. </span>
  246. <span v-else class="special_conditions">
  247. *Tarif public 2025. Abonnement payable annuellement.
  248. </span>
  249. </v-col>
  250. </v-row>
  251. </template>
  252. </LayoutPagesSubscriptionCard>
  253. </v-col>
  254. <v-col v-if="organizationProfile.isArtist" lg="4" sm="12" md="6">
  255. <LayoutPagesSubscriptionCard
  256. class="artistCard"
  257. title="Logiciel Artist Premium*"
  258. :extra-header="
  259. organizationProfile.isArtistPremiumProduct
  260. ? organizationProfile.isTrialActive
  261. ? `Version en cours d'essai J-${organizationProfile.trialCountDown}`
  262. : 'Votre version actuelle'
  263. : '1 mois d\'essai offert'
  264. "
  265. color="artist"
  266. :list="listCheck.artistPremium"
  267. >
  268. <template #card.subTitle>
  269. <div
  270. v-if="
  271. !organizationProfile.isArtistPremiumProduct ||
  272. organizationProfile.isTrialActive
  273. "
  274. class="priceBlock"
  275. >
  276. <span class="price">{{
  277. organizationProfile.isCmf
  278. ? formatCurrency(7.5, 'EUR')
  279. : formatCurrency(18.0, 'EUR')
  280. }}</span>
  281. TTC/mois**
  282. </div>
  283. </template>
  284. <template #card.action>
  285. <v-row>
  286. <v-col
  287. v-if="
  288. !organizationProfile.isArtistPremiumProduct &&
  289. (accessProfileStore.isAdmin ||
  290. accessProfileStore.isCaMember)
  291. "
  292. cols="12"
  293. >
  294. <v-btn class="btn trialBtn" @click="startTrial">
  295. {{ $t('try_premium_version') }}
  296. <i class="fa-solid fa-greater-than small" />
  297. </v-btn>
  298. </v-col>
  299. <v-col
  300. v-if="
  301. (!organizationProfile.isArtistPremiumProduct ||
  302. organizationProfile.isTrialActive) &&
  303. (accessProfileStore.isAdmin ||
  304. accessProfileStore.isCaMember)
  305. "
  306. cols="12"
  307. >
  308. <v-btn class="theme-artist btn" @click="subscription">
  309. {{ $t('subscribe_to_the_offer') }}
  310. <i class="fa-solid fa-greater-than small" />
  311. </v-btn>
  312. </v-col>
  313. <v-col
  314. v-if="
  315. organizationProfile.isTrialActive &&
  316. (accessProfileStore.isAdmin ||
  317. accessProfileStore.isCaMember)
  318. "
  319. cols="12"
  320. >
  321. <v-btn class="stop_btn" @click="showStopTrialDialog">
  322. {{ $t('stop_trial') }}
  323. </v-btn>
  324. </v-col>
  325. <v-col cols="12">
  326. <span class="special_conditions">
  327. *Convient aux petites écoles sans besoins spécifiques
  328. de gestion pédagogique, de facturation, etc. Pour une
  329. solution complète optez pour Opentalent School
  330. <span
  331. v-if="
  332. !organizationProfile.isArtistPremiumProduct ||
  333. organizationProfile.isTrialActive
  334. "
  335. >
  336. <br />
  337. **Tarif
  338. <span v-if="organizationProfile.isCmf"
  339. >adhérent CMF</span
  340. ><span v-else>public</span> 2025. Abonnement payable
  341. annuellement.
  342. </span>
  343. </span>
  344. </v-col>
  345. </v-row>
  346. </template>
  347. </LayoutPagesSubscriptionCard>
  348. </v-col>
  349. <v-col
  350. lg="4"
  351. sm="12"
  352. md="6"
  353. :offset="
  354. !md && mdAndUp ? (organizationProfile.isSchool ? 4 : 0) : 0
  355. "
  356. >
  357. <LayoutPagesSubscriptionCard
  358. class="schoolCard"
  359. :title="
  360. !organizationProfile.isSchool
  361. ? 'Logiciel School Standard / Premium'
  362. : organizationProfile.isSchoolPremiumProduct
  363. ? 'Logiciel School Premium'
  364. : 'Logiciel School Standard'
  365. "
  366. :sub-title="!organizationProfile.isSchool ? 'Sur devis' : ''"
  367. :extra-header="
  368. organizationProfile.isSchool
  369. ? 'Votre version actuelle'
  370. : undefined
  371. "
  372. color="school"
  373. :list="listCheck.school"
  374. >
  375. <template #card.action>
  376. <v-row>
  377. <v-col cols="12">
  378. <v-btn
  379. v-if="!organizationProfile.isSchool"
  380. class="theme-school btn"
  381. href="https://logiciels.opentalent.fr/opentalent-school"
  382. target="_blank"
  383. >
  384. {{ $t('to_know_more') }}
  385. <i class="fa-solid fa-greater-than small" />
  386. </v-btn>
  387. </v-col>
  388. <v-col cols="12">
  389. <span class="special_conditions">
  390. *Extranet disponible uniquement dans la version
  391. Opentalent School Premium
  392. </span>
  393. </v-col>
  394. </v-row>
  395. </template>
  396. </LayoutPagesSubscriptionCard>
  397. </v-col>
  398. </v-row>
  399. </v-container>
  400. </UiExpansionPanel>
  401. <UiExpansionPanel title="opentalent_options" icon="fas fa-plus">
  402. <v-container fluid class="container card-container">
  403. <v-row cols="12">
  404. <v-col lg="3" sm="12" md="6">
  405. <LayoutPagesSubscriptionCard
  406. class="optionsCard"
  407. title="SMS"
  408. sub-title="Option payante"
  409. color="primary"
  410. :list="listCheck.sms"
  411. >
  412. <template #card.action>
  413. <v-btn
  414. class="theme-primary btn"
  415. :href="
  416. runtimeConfig.public.fileStorageBaseUrl +
  417. (organizationProfile.isCmf
  418. ? '/Bon_de_commande/Achat_SMS_CMF.pdf'
  419. : '/Bon_de_commande/Achat_SMS_Public.pdf')
  420. "
  421. target="_blank"
  422. >
  423. acheter des credits SMS
  424. <i class="fa-solid fa-greater-than small" />
  425. </v-btn>
  426. </template>
  427. </LayoutPagesSubscriptionCard>
  428. </v-col>
  429. <v-col lg="3" sm="12" md="6">
  430. <LayoutPagesSubscriptionCard
  431. class="optionsCard"
  432. title="Nom de domaine"
  433. sub-title="Option payante"
  434. color="primary"
  435. :list="listCheck.domain"
  436. >
  437. <template #card.action>
  438. <v-btn
  439. class="theme-primary btn"
  440. :href="
  441. runtimeConfig.public.fileStorageBaseUrl +
  442. '/Bon_de_commande/Nom_de_domaine.pdf'
  443. "
  444. target="_blank"
  445. >
  446. souscrire à l'option
  447. <i class="fa-solid fa-greater-than small" />
  448. </v-btn>
  449. </template>
  450. </LayoutPagesSubscriptionCard>
  451. </v-col>
  452. </v-row>
  453. </v-container>
  454. </UiExpansionPanel>
  455. </v-expansion-panels>
  456. </LayoutContainer>
  457. <LayoutDialogTrialAlreadyDid
  458. :show="showDialogTrialAllReadyDid"
  459. @close-dialog="showDialogTrialAllReadyDid = false"
  460. />
  461. <LayoutDialogTrialStopConfirmation
  462. :show="showDialogTrialStopConfirmation"
  463. @close-dialog="showDialogTrialStopConfirmation = false"
  464. @stop-trial="stopTrial"
  465. />
  466. </div>
  467. </template>
  468. <script setup lang="ts">
  469. import { useAbility } from '@casl/vue'
  470. import type { Ref } from 'vue'
  471. import { useDisplay } from 'vuetify'
  472. import type { AsyncData } from '#app'
  473. import { useOrganizationProfileStore } from '~/stores/organizationProfile'
  474. import { useEntityFetch } from '~/composables/data/useEntityFetch'
  475. import DolibarrAccount from '~/models/Organization/DolibarrAccount'
  476. import MobytUserStatus from '~/models/Organization/MobytUserStatus'
  477. import UrlUtils from '~/services/utils/urlUtils'
  478. import { useDownloadFromRoute } from '~/composables/utils/useDownloadFromRoute'
  479. import { useApiLegacyRequestService } from '~/composables/data/useApiLegacyRequestService'
  480. import { usePageStore } from '~/stores/page'
  481. import { DOLIBARR_BILLING_DOC_TYPE } from '~/types/enum/enums'
  482. import type {AsyncDataRequestStatus} from "#app/composables/asyncData";
  483. // meta
  484. definePageMeta({
  485. name: 'subscription_page',
  486. })
  487. // Get composables
  488. const ability = useAbility()
  489. const runtimeConfig = useRuntimeConfig()
  490. const { mdAndUp, md } = useDisplay()
  491. const { fetch } = useEntityFetch()
  492. const i18n = useI18n()
  493. const { apiRequestService } = useApiLegacyRequestService()
  494. // Init ref
  495. const showDialogTrialAllReadyDid: Ref<boolean> = ref(false)
  496. const showDialogTrialStopConfirmation: Ref<boolean> = ref(false)
  497. const openedPanels: Ref<Array<string>> = initPanel()
  498. const organizationProfile = getOrganizationProfile()
  499. const accessProfileStore = useAccessProfileStore()
  500. const { mobytStatus, mobytPendingStatus } = getMobytInformations()
  501. const { data: dolibarrAccount, status: dolibarrStatus } = fetch(
  502. DolibarrAccount,
  503. organizationProfile.id,
  504. )
  505. const showDolibarrBillsPanel = computed(
  506. () =>
  507. dolibarrStatus.value == 'success' &&
  508. dolibarrAccount.value &&
  509. dolibarrAccount.value.bills.length > 0,
  510. )
  511. const formatCurrency = (value: number, currency: string): string => {
  512. return value.toLocaleString(i18n.locale.value, {
  513. style: 'currency',
  514. currency,
  515. })
  516. }
  517. const listCheck: Record<string, Array<string>> = {
  518. artist: [
  519. '100 Mo de stockage',
  520. '75 comptes utilisateurs',
  521. 'Gestion de la structure',
  522. 'Site internet restreint',
  523. 'Options disponibles',
  524. ],
  525. artistPremium: [
  526. '1Go de stockage',
  527. '150 comptes utilisateurs',
  528. 'Gestion de la structure',
  529. 'Module de communication',
  530. 'Site internet illimité',
  531. 'Options disponibles',
  532. ],
  533. school: [
  534. '500 Mo ou 1Go de stockage',
  535. '3 comptes administrateurs',
  536. 'Extranet élèves, tuteurs, professeurs*',
  537. 'Gestion de la structure',
  538. 'Suivi pédagogique, facturation, ...',
  539. 'Site internet complet',
  540. 'Options adaptées à chaque structure',
  541. ],
  542. sms: [
  543. 'Envoyez des SMS depuis votre logiciel',
  544. 'Choisissez le nombre de crédits',
  545. ],
  546. domain: [
  547. 'Bénéficiez de votre propre nom de domaine',
  548. "Et d'une adresse mail personnalisée",
  549. ],
  550. }
  551. /**
  552. * Initialisation des panels ouverts
  553. */
  554. function initPanel(): Ref<Array<string>> {
  555. // On déplie les expansion panels dans le onMounted en attendant la résolution du bug : https://github.com/vuetifyjs/vuetify/issues/16427#issuecomment-1380927133
  556. // TODO: quand le bug ci dessus est résolu, remplacer par `const openedPanels: Ref<Array<string>> = ref([...])`
  557. const openedPanels: Ref<Array<string>> = ref([])
  558. onMounted(() => {
  559. openedPanels.value = [
  560. 'subscription_page',
  561. 'service_detail',
  562. 'purchase_order',
  563. 'bills',
  564. 'opentalent_offers',
  565. 'opentalent_options',
  566. ]
  567. })
  568. return openedPanels
  569. }
  570. /**
  571. * Récupération de l'organization profile
  572. */
  573. function getOrganizationProfile() {
  574. const organizationProfile = useOrganizationProfileStore()
  575. if (organizationProfile.id === null) {
  576. throw new Error("Missing organization's id")
  577. }
  578. return organizationProfile
  579. }
  580. /**
  581. * Récupération des informations Mobyt
  582. */
  583. function getMobytInformations(): {
  584. mobytStatus: Ref<MobytUserStatus | null>
  585. mobytPendingStatus: Ref<boolean>
  586. } {
  587. const mobytStatus: Ref<MobytUserStatus | null> = ref(null)
  588. const mobytPendingStatus: Ref<AsyncDataRequestStatus> = ref('pending')
  589. if (ability.can('manage', 'texto')) {
  590. const { data, status } = fetch(
  591. MobytUserStatus,
  592. organizationProfile!.id!,
  593. ) as AsyncData<MobytUserStatus | null, Error | null>
  594. mobytStatus.value = data
  595. mobytPendingStatus.value = status
  596. }
  597. return { mobytStatus, mobytPendingStatus }
  598. }
  599. /**
  600. * Action lorsque l'on souhaite démarrer l'essai
  601. */
  602. async function startTrial() {
  603. try {
  604. await apiRequestService.get('/trial/is_available')
  605. const v1BaseURL =
  606. runtimeConfig.baseUrlAdminLegacy ||
  607. runtimeConfig.public.baseUrlAdminLegacy
  608. await navigateTo(UrlUtils.join(v1BaseURL, '#', 'trial'), {
  609. external: true,
  610. })
  611. } catch (error) {
  612. showDialogTrialAllReadyDid.value = true
  613. }
  614. }
  615. /**
  616. * Action lorsque l'on souhaite souscrire à artist premium
  617. */
  618. async function subscription() {
  619. const v1BaseURL =
  620. runtimeConfig.baseUrlAdminLegacy || runtimeConfig.public.baseUrlAdminLegacy
  621. await navigateTo(UrlUtils.join(v1BaseURL, '#', 'subscribe'), {
  622. external: true,
  623. })
  624. }
  625. /**
  626. * Action lorsque l'on souhaite afficher la modal de confirmation pour stopper
  627. */
  628. function showStopTrialDialog() {
  629. showDialogTrialStopConfirmation.value = true
  630. }
  631. /**
  632. * Action lorsque l'on souhaite stopper l'essai
  633. */
  634. async function stopTrial() {
  635. usePageStore().loading = true
  636. await apiRequestService.post('/trial/stop')
  637. const v1BaseURL =
  638. runtimeConfig.baseUrlAdminLegacy || runtimeConfig.public.baseUrlAdminLegacy
  639. await navigateTo(UrlUtils.join(v1BaseURL, '#', 'dashboard'), {
  640. external: true,
  641. })
  642. }
  643. const downloadDolibarrBillingDoc = (
  644. type: DOLIBARR_BILLING_DOC_TYPE,
  645. ref: string,
  646. ): void => {
  647. const route = UrlUtils.join(
  648. 'api/dolibarr/download',
  649. type,
  650. encodeURIComponent(ref),
  651. )
  652. useDownloadFromRoute(route, `${ref}.pdf`)
  653. }
  654. </script>
  655. <style scoped lang="scss">
  656. .clickable {
  657. cursor: pointer;
  658. text-decoration: underline;
  659. }
  660. .offer_title {
  661. span {
  662. border-radius: 5px;
  663. display: block;
  664. font-weight: bold;
  665. text-align: center;
  666. padding: 5px;
  667. }
  668. }
  669. .card-container {
  670. .v-row {
  671. display: -webkit-box;
  672. display: -webkit-flex;
  673. display: -ms-flexbox;
  674. display: flex;
  675. flex-wrap: wrap;
  676. }
  677. .v-row > [class*='v-col-'] {
  678. display: flex;
  679. flex-direction: column;
  680. }
  681. .small {
  682. font-size: 6px;
  683. padding-top: 5px;
  684. padding-left: 5px;
  685. }
  686. .priceBlock {
  687. font-size: 15px;
  688. font-weight: normal;
  689. text-transform: none;
  690. .price {
  691. text-transform: uppercase;
  692. font-size: 30px;
  693. font-weight: bold;
  694. }
  695. }
  696. }
  697. .special_conditions {
  698. font-size: 10px;
  699. font-style: italic;
  700. }
  701. .trialBtn {
  702. color: #000;
  703. border: 1px solid rgb(var(--v-theme-artist));
  704. }
  705. .btn {
  706. font-size: 12px;
  707. }
  708. .optionsCard {
  709. :deep(.margin-sup) {
  710. margin-top: 0;
  711. }
  712. }
  713. .stop_btn {
  714. color: rgb(var(--v-theme-danger));
  715. }
  716. .plus_btn {
  717. color: rgb(var(--v-theme-on-neutral));
  718. }
  719. </style>