Skip to content
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
3 changes: 2 additions & 1 deletion photon-client/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ if (!is_demo) {
<style lang="scss">
@use "@/assets/styles/settings";
@use "@/assets/styles/variables";
@use "sass:map";

@media #{map-get(settings.$display-breakpoints, 'md-and-down')} {
@media #{map.get(settings.$display-breakpoints, 'md-and-down')} {
html {
font-size: 14px !important;
}
Expand Down
45 changes: 43 additions & 2 deletions photon-client/src/assets/styles/variables.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "@fontsource/prompt";
@use "@fontsource/prompt";

$default-font: "Prompt", sans-serif !default;
$body-font-family: $default-font;
Expand All @@ -24,10 +24,51 @@ html {
background: #005281 !important;
}

.v-card__title {
.v-banner {
padding: 4px !important;
}

.v-card-title,
.v-dialog > .v-overlay__content > .v-card > .v-card-title,
.v-dialog > .v-overlay__content > form > .v-card > .v-card-title {
padding: 20px;
word-break: break-word !important;
}

.v-card-text,
.v-dialog > .v-overlay__content > .v-card > .v-card-text,
.v-dialog > .v-overlay__content > form > .v-card > .v-card-text {
font-size: 1rem;
padding: 20px;
}

.v-card-subtitle,
.v-dialog > .v-overlay__content > .v-card > .v-card-subtitle,
.v-dialog > .v-overlay__content > form > .v-card > .v-card-subtitle {
font-size: 1rem;
padding: 20px;
}

.v-field__input {
padding: 0px !important;
}

.pb-10px {
padding-bottom: 10px !important;
}

.pt-10px {
padding-top: 10px !important;
}

.pl-10px {
padding-left: 10px !important;
}

.pr-10px {
padding-right: 10px !important;
}

.pa-10px {
padding: 10px !important;
}
5 changes: 5 additions & 0 deletions photon-client/src/components/app/photon-log-entry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ const logColorClass = computed<string>(() => {
<template>
<div :class="logColorClass">[{{ source.timestamp.toTimeString().split(" ")[0] }}] {{ source.message }}</div>
</template>
<style scoped>
div {
white-space: pre-wrap;
}
</style>
4 changes: 2 additions & 2 deletions photon-client/src/components/app/photon-log-view.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ document.addEventListener("keydown", (e) => {

<template>
<v-dialog v-model="useStateStore().showLogModal" width="1500" dark>
<v-card class="dialog-container pa-6" color="primary" flat>
<v-card class="dialog-container pa-5" color="primary" flat>
<!-- Logs header -->
<v-row class="pb-3">
<v-col cols="4">
Expand Down Expand Up @@ -168,7 +168,7 @@ document.addEventListener("keydown", (e) => {

.log-display {
/* Dialog data size - options */
height: calc(100% - 66px);
height: calc(100% - 56px);
padding: 10px;
background-color: #232c37 !important;
border-radius: 5px;
Expand Down
Loading
Loading