Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS cleanup #588

Merged
merged 2 commits into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions webapp/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,6 @@ body {
border-left-color: #d9534f;
}

.table-item-id {
font-size: 1.2em;
font-weight: normal;
}

.formatted-refcode {
font-size: 1.2em;
font-weight: normal;
font-family: "Roboto Mono", monospace;
}

.fa-orcid {
color: #a6ce39;
}
Expand Down
9 changes: 2 additions & 7 deletions webapp/src/components/BatchCreateSampleModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
<font-awesome-icon
:icon="['fas', 'chevron-right']"
fixed-width
class="collapse-arrow"
class="collapse-arrow clickable"
:class="{ expanded: templateIsOpen }"
/>
<label class="blue-label collapse-clickable ml-2"> Template: </label>
<label class="blue-label clickable pl-2"> Template: </label>
</div>
<label
for="batchSampleNRows"
Expand Down Expand Up @@ -523,17 +523,12 @@ export default {

.collapse-arrow {
transition: all 0.4s;
cursor: pointer;
}

.collapse-arrow:hover {
color: #7ca7ca;
}

.collapse-clickable {
cursor: pointer;
}

.expanded {
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
Expand Down
44 changes: 0 additions & 44 deletions webapp/src/components/CellPreparationInformation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,55 +106,11 @@ export default {
width: 700px;
}

.first-column {
position: relative;
}

.swap-constituent-icon {
cursor: pointer;
position: absolute;
font-size: regular;
color: #bbb;
float: right;
transform: translateY(30%);
transition: transform 0.4s ease;
width: 1.5rem;
left: -1.5rem;
}

.fade-enter-active,
.fade-leave-active {
transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
opacity: 0;
}

.select-in-row {
width: 100%;
}

.subheading {
color: darkslategrey;
font-size: small;
font-weight: 600;
text-transform: uppercase;
margin-bottom: 0px;
}

table {
margin-bottom: 0rem;
}

.borderless td,
.borderless th {
border: none;
}

.empty-search {
opacity: 0.5;
font-style: italic;
}
</style>
25 changes: 0 additions & 25 deletions webapp/src/components/CollectionRelationshipVisualization.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,3 @@ export default {
},
};
</script>

<style scoped>
.nav-link {
cursor: pointer;
}

.contents-item {
cursor: pointer;
}

.contents-blocktype {
font-style: italic;
color: gray;
margin-right: 1rem;
}

.contents-blocktitle {
color: #004175;
}

#contents-ol {
margin-bottom: 0rem;
padding-left: 1rem;
}
</style>
15 changes: 1 addition & 14 deletions webapp/src/components/CompactConstituentTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
>
<transition name="fade">
<font-awesome-icon
class="add-row-button"
class="add-row-button clickable"
v-if="!addNewConstituentIsActive"
:icon="['far', 'plus-square']"
/>
Expand Down Expand Up @@ -179,7 +179,6 @@ td {
}

.add-row-button {
cursor: pointer;
position: absolute;
font-size: regular;
color: #bbb;
Expand All @@ -204,18 +203,6 @@ td {
width: 100%;
}

.clickable {
cursor: pointer;
}

.subheading {
color: darkslategrey;
font-size: small;
font-weight: 600;
text-transform: uppercase;
margin-bottom: 0px;
}

.borderless tr,
.borderless td {
border: none !important;
Expand Down
10 changes: 10 additions & 0 deletions webapp/src/components/FormattedCollectionName.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,13 @@ export default {
emits: ["collectionIdClicked"],
};
</script>

<style scoped>
.formatted-collection-name {
border-width: 1px;
}

.formatted-collection-name:hover {
border-width: 1.5px !important;
}
</style>
3 changes: 0 additions & 3 deletions webapp/src/components/FormattedRefcode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ export default {
</script>

<style scoped>
.clickable {
cursor: pointer;
}
.badge {
color: black;
}
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/ItemGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export default {
};
</script>

<style scoped>
<style>
#flex-container {
flex-flow: column;
}
Expand Down
25 changes: 0 additions & 25 deletions webapp/src/components/ItemRelationshipVisualization.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,3 @@ export default {
},
};
</script>

<style scoped>
.nav-link {
cursor: pointer;
}

.contents-item {
cursor: pointer;
}

.contents-blocktype {
font-style: italic;
color: gray;
margin-right: 1rem;
}

.contents-blocktitle {
color: #004175;
}

#contents-ol {
margin-bottom: 0rem;
padding-left: 1rem;
}
</style>
6 changes: 5 additions & 1 deletion webapp/src/components/LoginDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
class="disabled dropdown-item btn login btn-link btn-default"
aria-label="Login via ORCID"
:href="this.apiUrl + '/login/orcid'"
><font-awesome-icon :icon="['fab', 'orcid']" /> Login via ORCID</a
><font-awesome-icon class="orcid-icon" :icon="['fab', 'orcid']" /> Login via ORCID</a
>
<a
type="button"
Expand Down Expand Up @@ -141,4 +141,8 @@ export default {
.user-display-name {
font-weight: bold;
}

.orcid-icon {
color: #a6ce39;
}
</style>
4 changes: 2 additions & 2 deletions webapp/src/components/MessageBubble.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<span class="system-prompt-label" v-if="role === 'system'">system prompt:</span>
<div ref="markdownDiv" v-show="!showRaw" class="markdown-content" v-html="markdownContent" />
<div class="raw-content" v-show="showRaw">{{ message.content }}</div>
<div class="float-right raw-toggle" @click="showRaw = !showRaw">
<div class="float-right raw-toggle clickable" @click="showRaw = !showRaw">
<span :class="{ 'font-weight-bold': showRaw }"> raw </span> |
<span :class="{ 'font-weight-bold': !showRaw }">formatted</span>
</div>
Expand Down Expand Up @@ -168,8 +168,8 @@ export default {
font-size: 0.875rem;
color: rgb(100, 100, 100);
opacity: 0.5;
cursor: pointer;
}

.raw-toggle:hover {
opacity: 1;
}
Expand Down
6 changes: 0 additions & 6 deletions webapp/src/components/RelationshipVisualization.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,6 @@ export default {
cursor: pointer;
}

.contents-blocktype {
font-style: italic;
color: gray;
margin-right: 1rem;
}

.contents-blocktitle {
color: #004175;
}
Expand Down
5 changes: 3 additions & 2 deletions webapp/src/components/SampleTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ export default {
</script>

<style scoped>
.clickable {
cursor: pointer;
.table-item-id {
font-size: 1.2em;
font-weight: normal;
}
</style>
48 changes: 0 additions & 48 deletions webapp/src/components/SynthesisInformation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,59 +82,11 @@ export default {
</script>

<style scoped>
.first-column {
position: relative;
}

.swap-constituent-icon {
cursor: pointer;
position: absolute;
font-size: regular;
color: #bbb;
float: right;
transform: translateY(30%);
transition: transform 0.4s ease;
width: 1.5rem;
left: -1.5rem;
}

.fade-enter-active,
.fade-leave-active {
transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
opacity: 0;
}

.select-in-row {
width: 100%;
}

.subheading {
color: darkslategrey;
font-size: small;
font-weight: 600;
text-transform: uppercase;
margin-bottom: 0px;
}

table {
margin-bottom: 0rem;
}

.borderless td,
.borderless th {
border: none;
}

.red-border {
border-color: red;
}

.empty-search {
opacity: 0.5;
font-style: italic;
}
</style>
6 changes: 0 additions & 6 deletions webapp/src/components/TableOfContents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,6 @@ export default {
cursor: pointer;
}

.contents-blocktype {
font-style: italic;
color: gray;
margin-right: 1rem;
}

.contents-blocktitle {
color: #004175;
}
Expand Down
4 changes: 0 additions & 4 deletions webapp/src/components/ToggleableCollectionFormGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ export default {
</script>

<style scoped>
.clickable {
cursor: pointer;
}

.text-italic {
opacity: 0.7;
}
Expand Down
Loading
Loading