subscription.vue 24 KB

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