Skip to content

Commit

Permalink
Merge branch '61-content-component-profile-view' into 81-create-featu…
Browse files Browse the repository at this point in the history
…re-component
  • Loading branch information
Lev Z Király authored and Lev Z Király committed Nov 29, 2023
2 parents 4b2e2e0 + 8d57589 commit a68ec4a
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 4 deletions.
114 changes: 113 additions & 1 deletion components/profile-window-content.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,120 @@ const isLoading = computed(() => {
</template>

<style>
/* stylelint-disable-next-line selector-class-pattern */
/* stylelint-disable selector-class-pattern, color-no-hex, color-named */
.tbProfile {
border: 1px solid rgb(89 83 60);
}
.tdHead {
vertical-align: top;
width: 150px;
padding-right: 5px;
border-bottom: 0.5px dotted rgb(221 157 199);
background: rgb(168 93 143);
color: #fff;
text-align: right;
word-wrap: break-word;
}
.tdProfileTableRight {
vertical-align: top;
padding-left: 5px;
border-bottom: 0.5px dotted rgb(168 93 143);
background: rgb(222 222 222);
color: rgb(168 93 143);
}
.aExplBar {
background-color: transparent;
color: #252771 !important;
text-decoration: none;
cursor: pointer;
}
.aExplBar:hover {
text-decoration: underline;
cursor: pointer;
}
.aVicText {
background-color: transparent;
color: rgb(168 93 143) !important;
text-decoration: none !important;
cursor: pointer;
}
.aVicText:hover {
/* color: white !important; */
background-color: rgb(168 93 143);
color: white !important;
cursor: pointer;
}
.info-block-wrap > .aVicText {
color: #335175 !important;
}
a:hover {
color: #252771;
text-decoration: underline;
}
.spTeiLink {
padding: 5px 8px;
border: 1px solid rgb(168 93 143);
border-radius: 5px;
font-weight: 500;
font-size: 12px;
transition: all 0.3s ease;
}
.spTeiLink:hover {
background-color: #a85c8e;
color: white;
text-decoration: none;
}
.tbHeader {
width: 100%;
margin: 0;
}
.profileHeader {
display: flex;
gap: 3%;
align-items: flex-start;
}
.pNorm {
margin-bottom: 10px;
}
.imgCaption {
padding-bottom: 8px;
font-style: italic;
font-size: 12px;
text-align: center;
}
.h3ProfileTypology {
margin-top: 1rem;
margin-bottom: 0.2rem;
border-bottom: none;
font-weight: 500;
font-size: 1.2rem;
}
.h3Profile {
margin-top: 1rem;
margin-bottom: 0.2rem;
border-bottom: 1px dotted rgb(168 93 143);
font-weight: 500;
font-size: 1.2rem;
}
.dvImgProfile {
order: 1;
}
</style>
6 changes: 3 additions & 3 deletions components/window-content.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const props = defineProps<Props>();

<template>
<GeoMapWindowContent v-if="props.item.kind === 'geo-map'" :params="props.item.params" />
<TextWindowContent v-if="props.item.kind === 'text'" :params="props.item.params" />
<ProfileWindowContent v-if="props.item.kind === 'profile'" :params="props.item.params" />
<FeatureWindowContent v-if="props.item.kind === 'feature'" :params="props.item.params" />
<TextWindowContent v-else-if="props.item.kind === 'text'" :params="props.item.params" />
<ProfileWindowContent v-else-if="props.item.kind === 'profile'" :params="props.item.params" />
<FeatureWindowContent v-else-if="props.item.kind === 'feature'" :params="props.item.params" />
<pre v-else>{{ props }}</pre>
</template>

0 comments on commit a68ec4a

Please sign in to comment.