my changes on the ui and theme
This commit is contained in:
parent
bf930ec6eb
commit
5c305a088d
@ -54,7 +54,7 @@ Dark.set(true)
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<q-layout view="hHr LpR fFf">
|
<q-layout view="hHr LpR fFf">
|
||||||
<q-header elevated class="bg-primary text-white" height-hint="98">
|
<q-header elevated class="bg-primary text-white" >
|
||||||
<q-toolbar>
|
<q-toolbar>
|
||||||
<q-toolbar-title>
|
<q-toolbar-title>
|
||||||
<q-avatar size="50px">
|
<q-avatar size="50px">
|
||||||
@ -63,8 +63,7 @@ Dark.set(true)
|
|||||||
<span style="font-family: 'Cinzel Decorative', cursive;">
|
<span style="font-family: 'Cinzel Decorative', cursive;">
|
||||||
Crystal Math Worktable
|
Crystal Math Worktable
|
||||||
</span>
|
</span>
|
||||||
<q-tab v-if="status" @click="logout()" label="Logout" />
|
<q-icon icon="fa-solid fa-arrow-up-left-from-circle" v-if="status" @click="logout()" label="Logout" />
|
||||||
|
|
||||||
</q-toolbar-title>
|
</q-toolbar-title>
|
||||||
</q-toolbar>
|
</q-toolbar>
|
||||||
|
|
||||||
@ -75,7 +74,7 @@ Dark.set(true)
|
|||||||
</q-tabs> -->
|
</q-tabs> -->
|
||||||
</q-header>
|
</q-header>
|
||||||
|
|
||||||
<q-page-container style="display: flex;padding-top: 20px;">
|
<q-page-container style="display: flex;padding-top: 0px;">
|
||||||
<router-view />
|
<router-view />
|
||||||
</q-page-container>
|
</q-page-container>
|
||||||
</q-layout>
|
</q-layout>
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
<defs>
|
<defs>
|
||||||
<pattern id="smallGrid" width="25" height="25" patternUnits="userSpaceOnUse">
|
<pattern id="smallGrid" width="25" height="25" patternUnits="userSpaceOnUse">
|
||||||
<!-- <path d="M 25 0 L 0 0 0 25" fill="none" stroke="gray" stroke-width="0.5"/> -->
|
<!-- <path d="M 25 0 L 0 0 0 25" fill="none" stroke="gray" stroke-width="0.5"/> -->
|
||||||
<circle cx="0.5" cy=".5" r=".25" stroke="gray" fill="transparent" stroke-width="1"/>
|
<circle cx="0.5" cy=".5" r=".25" stroke="#bcbcbc" fill="transparent" stroke-width="1"/>
|
||||||
</pattern>
|
</pattern>
|
||||||
<pattern id="grid" width="250" height="250" patternUnits="userSpaceOnUse">
|
<pattern id="grid" width="250" height="250" patternUnits="userSpaceOnUse">
|
||||||
<rect width="250" height="250" fill="url(#smallGrid)"/>
|
<rect width="250" height="250" fill="url(#smallGrid)"/>
|
||||||
<path d="M 250 0 L 0 0 0 250" fill="none" stroke="gray" stroke-width="2"/>
|
<path d="M 250 0 L 0 0 0 250" fill="none" stroke="#f5f5f5" stroke-width="2"/>
|
||||||
</pattern>
|
</pattern>
|
||||||
</defs>
|
</defs>
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 673 B After Width: | Height: | Size: 679 B |
@ -50,7 +50,7 @@ app.use(Quasar, {
|
|||||||
config: {
|
config: {
|
||||||
brand: {
|
brand: {
|
||||||
primary: '#553564',
|
primary: '#553564',
|
||||||
secondary: '#c1eeff',
|
secondary: '#7da9b2',
|
||||||
accent: '#9C27B0',
|
accent: '#9C27B0',
|
||||||
|
|
||||||
dark: '#1d1d1d',
|
dark: '#1d1d1d',
|
||||||
|
@ -195,7 +195,9 @@ const makeNewRichTextBox = () => {
|
|||||||
richEditModal.value = true;
|
richEditModal.value = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
const richTextStatements = ref<RichTextBox[]>([]);
|
const richTextStatements = ref<RichTextBox[]>([
|
||||||
|
new RichTextBox("Hello World"),
|
||||||
|
]);
|
||||||
|
|
||||||
const richEditModal = ref(false);
|
const richEditModal = ref(false);
|
||||||
const richEditExpression = ref("");
|
const richEditExpression = ref("");
|
||||||
@ -256,16 +258,18 @@ onMounted(() => {
|
|||||||
<q-btn dense flat round icon="menu" @click="toggleLeftDrawer" />
|
<q-btn dense flat round icon="menu" @click="toggleLeftDrawer" />
|
||||||
|
|
||||||
<q-toolbar-title>
|
<q-toolbar-title>
|
||||||
<q-avatar>
|
<q-avatar size="50px">
|
||||||
<img src="https://cdn.quasar.dev/logo-v2/svg/logo-mono-white.svg" />
|
<img src="../assets/l2.svg" />
|
||||||
</q-avatar>Title
|
</q-avatar>
|
||||||
</q-toolbar-title>
|
<span style="font-family: 'Cinzel Decorative', cursive;">
|
||||||
|
Crystal Math Worktable
|
||||||
|
</span>
|
||||||
|
</q-toolbar-title>
|
||||||
|
|
||||||
|
<span v-if="status" @click="logout()" label="Logout">Logout</span>
|
||||||
|
|
||||||
</q-toolbar>
|
</q-toolbar>
|
||||||
<q-tabs>
|
|
||||||
<q-route-tab to="/Scratch" label="Scratch" />
|
|
||||||
<q-route-tab to="/Editor" label="Editor" />
|
|
||||||
<q-tab v-if="status" @click="logout()" label="Logout" />
|
|
||||||
</q-tabs>
|
|
||||||
</q-header>
|
</q-header>
|
||||||
|
|
||||||
<q-drawer show-if-above v-model="leftDrawerOpen" side="left" bordered>
|
<q-drawer show-if-above v-model="leftDrawerOpen" side="left" bordered>
|
||||||
@ -320,7 +324,7 @@ onMounted(() => {
|
|||||||
<!-- drawer content -->
|
<!-- drawer content -->
|
||||||
</q-drawer>
|
</q-drawer>
|
||||||
|
|
||||||
<q-page-container id="editor">
|
<q-page-container id="editor" style='padding=0'>
|
||||||
<!-- <WrapperBox />-->
|
<!-- <WrapperBox />-->
|
||||||
|
|
||||||
<span v-for="statement in statements" style="display: flex">
|
<span v-for="statement in statements" style="display: flex">
|
||||||
@ -416,20 +420,20 @@ onMounted(() => {
|
|||||||
</div>
|
</div>
|
||||||
</q-page-container>
|
</q-page-container>
|
||||||
|
|
||||||
<q-footer reveal elevated class="bg-grey-8 text-white">
|
|
||||||
<q-toolbar>
|
|
||||||
<q-toolbar-title>
|
|
||||||
<div>Status</div>
|
|
||||||
</q-toolbar-title>
|
|
||||||
</q-toolbar>
|
|
||||||
</q-footer>
|
|
||||||
</q-layout>
|
</q-layout>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&display=swap");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#editor {
|
#editor {
|
||||||
background-image: url(../assets/grid.svg);
|
background-image: url(../assets/grid.svg);
|
||||||
background-repeat: repeat;
|
background-repeat: repeat;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
padding-top: 0px
|
||||||
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
$primary : #553564
|
$primary : #553564
|
||||||
$secondary : #26A69A
|
$secondary : #008e80
|
||||||
$accent : #9C27B0
|
$accent : #9C27B0
|
||||||
|
|
||||||
$dark : #1D1D1D
|
$dark : #1D1D1D
|
||||||
@ -8,5 +8,5 @@ $dark : #1D1D1D
|
|||||||
|
|
||||||
$positive : #21BA45
|
$positive : #21BA45
|
||||||
$negative : #C10015
|
$negative : #C10015
|
||||||
$info : #31CCEC
|
$info : #7da9b2
|
||||||
$warning : #F2C037
|
$warning : #F2C037
|
Loading…
Reference in New Issue
Block a user