subscription.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760
  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. !mobytPending && 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. // meta
  483. definePageMeta({
  484. name: 'subscription_page',
  485. })
  486. // Get composables
  487. const ability = useAbility()
  488. const runtimeConfig = useRuntimeConfig()
  489. const { mdAndUp, md } = useDisplay()
  490. const { fetch } = useEntityFetch()
  491. const i18n = useI18n()
  492. const { apiRequestService } = useApiLegacyRequestService()
  493. // Init ref
  494. const showDialogTrialAllReadyDid: Ref<boolean> = ref(false)
  495. const showDialogTrialStopConfirmation: Ref<boolean> = ref(false)
  496. const openedPanels: Ref<Array<string>> = initPanel()
  497. const organizationProfile = getOrganizationProfile()
  498. const accessProfileStore = useAccessProfileStore()
  499. const { mobytStatus, mobytPending } = getMobytInformations()
  500. const { data: dolibarrAccount, pending: dolibarrPending } = fetch(
  501. DolibarrAccount,
  502. organizationProfile.id,
  503. )
  504. const showDolibarrBillsPanel = computed(
  505. () =>
  506. !dolibarrPending.value &&
  507. dolibarrAccount.value &&
  508. dolibarrAccount.value.bills.length > 0,
  509. )
  510. const formatCurrency = (value: number, currency: string): string => {
  511. return value.toLocaleString(i18n.locale.value, {
  512. style: 'currency',
  513. currency,
  514. })
  515. }
  516. const listCheck: Record<string, Array<string>> = {
  517. artist: [
  518. '100 Mo de stockage',
  519. '75 comptes utilisateurs',
  520. 'Gestion de la structure',
  521. 'Site internet restreint',
  522. 'Options disponibles',
  523. ],
  524. artistPremium: [
  525. '1Go de stockage',
  526. '150 comptes utilisateurs',
  527. 'Gestion de la structure',
  528. 'Module de communication',
  529. 'Site internet illimité',
  530. 'Options disponibles',
  531. ],
  532. school: [
  533. '500 Mo ou 1Go de stockage',
  534. '3 comptes administrateurs',
  535. 'Extranet élèves, tuteurs, professeurs*',
  536. 'Gestion de la structure',
  537. 'Suivi pédagogique, facturation, ...',
  538. 'Site internet complet',
  539. 'Options adaptées à chaque structure',
  540. ],
  541. sms: [
  542. 'Envoyez des SMS depuis votre logiciel',
  543. 'Choisissez le nombre de crédits',
  544. ],
  545. domain: [
  546. 'Bénéficiez de votre propre nom de domaine',
  547. "Et d'une adresse mail personnalisée",
  548. ],
  549. }
  550. /**
  551. * Initialisation des panels ouverts
  552. */
  553. function initPanel(): Ref<Array<string>> {
  554. // 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
  555. // TODO: quand le bug ci dessus est résolu, remplacer par `const openedPanels: Ref<Array<string>> = ref([...])`
  556. const openedPanels: Ref<Array<string>> = ref([])
  557. onMounted(() => {
  558. openedPanels.value = [
  559. 'subscription_page',
  560. 'service_detail',
  561. 'purchase_order',
  562. 'bills',
  563. 'opentalent_offers',
  564. 'opentalent_options',
  565. ]
  566. })
  567. return openedPanels
  568. }
  569. /**
  570. * Récupération de l'organization profile
  571. */
  572. function getOrganizationProfile() {
  573. const organizationProfile = useOrganizationProfileStore()
  574. if (organizationProfile.id === null) {
  575. throw new Error("Missing organization's id")
  576. }
  577. return organizationProfile
  578. }
  579. /**
  580. * Récupération des informations Mobyt
  581. */
  582. function getMobytInformations(): {
  583. mobytStatus: Ref<MobytUserStatus | null>
  584. mobytPending: Ref<boolean>
  585. } {
  586. const mobytStatus: Ref<MobytUserStatus | null> = ref(null)
  587. const mobytPending: Ref<boolean> = ref(false)
  588. if (ability.can('manage', 'texto')) {
  589. const { data, pending } = fetch(
  590. MobytUserStatus,
  591. organizationProfile!.id!,
  592. ) as AsyncData<MobytUserStatus | null, Error | null>
  593. mobytStatus.value = data
  594. mobytPending.value = pending
  595. }
  596. return { mobytStatus, mobytPending }
  597. }
  598. /**
  599. * Action lorsque l'on souhaite démarrer l'essai
  600. */
  601. async function startTrial() {
  602. try {
  603. await apiRequestService.get('/trial/is_available')
  604. const v1BaseURL =
  605. runtimeConfig.baseUrlAdminLegacy ||
  606. runtimeConfig.public.baseUrlAdminLegacy
  607. await navigateTo(UrlUtils.join(v1BaseURL, '#', 'trial'), {
  608. external: true,
  609. })
  610. } catch (error) {
  611. showDialogTrialAllReadyDid.value = true
  612. }
  613. }
  614. /**
  615. * Action lorsque l'on souhaite souscrire à artist premium
  616. */
  617. async function subscription() {
  618. const v1BaseURL =
  619. runtimeConfig.baseUrlAdminLegacy || runtimeConfig.public.baseUrlAdminLegacy
  620. await navigateTo(UrlUtils.join(v1BaseURL, '#', 'subscribe'), {
  621. external: true,
  622. })
  623. }
  624. /**
  625. * Action lorsque l'on souhaite afficher la modal de confirmation pour stopper
  626. */
  627. function showStopTrialDialog() {
  628. showDialogTrialStopConfirmation.value = true
  629. }
  630. /**
  631. * Action lorsque l'on souhaite stopper l'essai
  632. */
  633. async function stopTrial() {
  634. usePageStore().loading = true
  635. await apiRequestService.post('/trial/stop')
  636. const v1BaseURL =
  637. runtimeConfig.baseUrlAdminLegacy || runtimeConfig.public.baseUrlAdminLegacy
  638. await navigateTo(UrlUtils.join(v1BaseURL, '#', 'dashboard'), {
  639. external: true,
  640. })
  641. }
  642. const downloadDolibarrBillingDoc = (
  643. type: DOLIBARR_BILLING_DOC_TYPE,
  644. ref: string,
  645. ): void => {
  646. const route = UrlUtils.join(
  647. 'api/dolibarr/download',
  648. type,
  649. encodeURIComponent(ref),
  650. )
  651. useDownloadFromRoute(route, `${ref}.pdf`)
  652. }
  653. </script>
  654. <style scoped lang="scss">
  655. .clickable {
  656. cursor: pointer;
  657. text-decoration: underline;
  658. }
  659. .offer_title {
  660. span {
  661. border-radius: 5px;
  662. display: block;
  663. font-weight: bold;
  664. text-align: center;
  665. padding: 5px;
  666. }
  667. }
  668. .card-container {
  669. .v-row {
  670. display: -webkit-box;
  671. display: -webkit-flex;
  672. display: -ms-flexbox;
  673. display: flex;
  674. flex-wrap: wrap;
  675. }
  676. .v-row > [class*='v-col-'] {
  677. display: flex;
  678. flex-direction: column;
  679. }
  680. .small {
  681. font-size: 6px;
  682. padding-top: 5px;
  683. padding-left: 5px;
  684. }
  685. .priceBlock {
  686. font-size: 15px;
  687. font-weight: normal;
  688. text-transform: none;
  689. .price {
  690. text-transform: uppercase;
  691. font-size: 30px;
  692. font-weight: bold;
  693. }
  694. }
  695. }
  696. .special_conditions {
  697. font-size: 10px;
  698. font-style: italic;
  699. }
  700. .trialBtn {
  701. color: #000;
  702. border: 1px solid rgb(var(--v-theme-artist));
  703. }
  704. .btn {
  705. font-size: 12px;
  706. }
  707. .optionsCard {
  708. :deep(.margin-sup) {
  709. margin-top: 0;
  710. }
  711. }
  712. .stop_btn {
  713. color: rgb(var(--v-theme-danger));
  714. }
  715. .plus_btn {
  716. color: rgb(var(--v-theme-on-neutral));
  717. }
  718. </style>