Config update
parent
69cab0e8cb
commit
b733005293
|
@ -9,7 +9,7 @@
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div class="layout-config-content">
|
<div class="layout-config-content">
|
||||||
<div class="free-themes">
|
<div>
|
||||||
<h4>Component Scale</h4>
|
<h4>Component Scale</h4>
|
||||||
<div class="config-scale">
|
<div class="config-scale">
|
||||||
<Button icon="pi pi-minus" @click="decrementScale()" class="p-button-secondary" :disabled="scale === scales[0]"/>
|
<Button icon="pi pi-minus" @click="decrementScale()" class="p-button-secondary" :disabled="scale === scales[0]"/>
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
<p>Built-in component themes created by the <a href="https://www.primefaces.org/designer/primevue">PrimeVue Theme Designer</a>.</p>
|
<p>Built-in component themes created by the <a href="https://www.primefaces.org/designer/primevue">PrimeVue Theme Designer</a>.</p>
|
||||||
|
|
||||||
<h5>Bootstrap</h5>
|
<h5>Bootstrap</h5>
|
||||||
<div class="p-grid">
|
<div class="p-grid free-themes">
|
||||||
<div class="p-col-3">
|
<div class="p-col-3">
|
||||||
<button class="p-link">
|
<button class="p-link">
|
||||||
<img src="./assets/images/themes/bootstrap-light.png" alt="Bootstrap Light" @click="changeTheme($event, 'bootstrap-light')"/>
|
<img src="./assets/images/themes/bootstrap-light.png" alt="Bootstrap Light" @click="changeTheme($event, 'bootstrap-light')"/>
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h5>Material</h5>
|
<h5>Material</h5>
|
||||||
<div class="p-grid">
|
<div class="p-grid free-themes">
|
||||||
<div class="p-col-3">
|
<div class="p-col-3">
|
||||||
<button class="p-link">
|
<button class="p-link">
|
||||||
<img src="./assets/images/themes/material-light.png" alt="Material Light" @click="changeTheme($event, 'material-light')"/>
|
<img src="./assets/images/themes/material-light.png" alt="Material Light" @click="changeTheme($event, 'material-light')"/>
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h5>PrimeOne Design</h5>
|
<h5>PrimeOne Design</h5>
|
||||||
<div class="p-grid">
|
<div class="p-grid free-themes">
|
||||||
<div class="p-col-3">
|
<div class="p-col-3">
|
||||||
<button class="p-link">
|
<button class="p-link">
|
||||||
<img src="./assets/images/themes/saga-blue.png" alt="Saga Blue" @click="changeTheme($event, 'saga-blue')"/>
|
<img src="./assets/images/themes/saga-blue.png" alt="Saga Blue" @click="changeTheme($event, 'saga-blue')"/>
|
||||||
|
@ -129,7 +129,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h5>Legacy</h5>
|
<h5>Legacy</h5>
|
||||||
<div class="p-grid">
|
<div class="p-grid free-themes">
|
||||||
<div class="p-col-3">
|
<div class="p-col-3">
|
||||||
<button class="p-link">
|
<button class="p-link">
|
||||||
<img src="./assets/images/layouts/themeswitcher-nova.png" alt="Nova" @click="changeTheme($event, 'nova')"/>
|
<img src="./assets/images/layouts/themeswitcher-nova.png" alt="Nova" @click="changeTheme($event, 'nova')"/>
|
||||||
|
@ -185,11 +185,10 @@
|
||||||
<span>Rhea</span>
|
<span>Rhea</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="premium-themes">
|
|
||||||
<h4>Premium Vue-CLI Templates</h4>
|
<h4>Premium Vue-CLI Templates</h4>
|
||||||
<p>Beautifully crafted premium <a href="https://cli.vuejs.org">Vue CLI</a> application templates by the PrimeTek design team.</p>
|
<p>Beautifully crafted premium <a href="https://cli.vuejs.org">Vue CLI</a> application templates by the PrimeTek design team.</p>
|
||||||
<div class="p-grid">
|
<div class="p-grid premium-themes">
|
||||||
<div class="p-col-12 p-md-6">
|
<div class="p-col-12 p-md-6">
|
||||||
<a href="https://www.primefaces.org/layouts/ultima-vue">
|
<a href="https://www.primefaces.org/layouts/ultima-vue">
|
||||||
<img alt="Ultima" src="./assets/images/layouts/ultima-vue.jpg">
|
<img alt="Ultima" src="./assets/images/layouts/ultima-vue.jpg">
|
||||||
|
@ -227,7 +226,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
.layout-config-content-wrapper {
|
.layout-config-content-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 0;
|
padding: 2rem;
|
||||||
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.24);
|
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.24);
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
background-color: var(--surface-e);
|
background-color: var(--surface-e);
|
||||||
|
@ -76,6 +76,28 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.config-scale {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin: 1rem 0 2rem 0;
|
||||||
|
|
||||||
|
.p-button {
|
||||||
|
margin-right: .5rem;
|
||||||
|
border: 0 none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
i {
|
||||||
|
margin-right: .5rem;
|
||||||
|
font-size: .75rem;
|
||||||
|
color: var(--text-color-secondary);
|
||||||
|
|
||||||
|
&.scale-active {
|
||||||
|
font-size: 1.25rem;
|
||||||
|
color: $linkColor;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.layout-config-close {
|
.layout-config-close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 25px;
|
width: 25px;
|
||||||
|
@ -105,110 +127,36 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
|
||||||
margin-top: 1.5rem;
|
|
||||||
margin-bottom: .75rem;
|
|
||||||
font-size: 1.5rem;
|
|
||||||
font-weight: 500;
|
|
||||||
color: var(--text-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.p-grid > div {
|
.p-grid > div {
|
||||||
padding: 1rem .5rem;
|
padding: 1rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
button {
|
||||||
margin: 0 0 2rem 0;
|
position: relative;
|
||||||
}
|
display: inline-flex;
|
||||||
|
justify-content: center;
|
||||||
.config-scale {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
margin: 1rem 0 2rem 0;
|
|
||||||
|
|
||||||
.p-button {
|
|
||||||
margin-right: .5rem;
|
|
||||||
border: 0 none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
i {
|
|
||||||
margin-right: .5rem;
|
|
||||||
font-size: .75rem;
|
|
||||||
color: var(--text-color-secondary);
|
|
||||||
|
|
||||||
&.scale-active {
|
|
||||||
font-size: 1.25rem;
|
|
||||||
color: $linkColor;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.free-themes {
|
.free-themes {
|
||||||
padding: 2rem;
|
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 50px;
|
width: 50px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
font-size: 12px;
|
font-size: .875rem;
|
||||||
|
margin-top: .25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.current-theme {
|
|
||||||
box-shadow: 0 0 0 0.2rem $focusBorderColor;
|
|
||||||
}
|
|
||||||
|
|
||||||
.p-grid {
|
|
||||||
button {
|
|
||||||
position: relative;
|
|
||||||
display: inline-flex;
|
|
||||||
justify-content: center;
|
|
||||||
transition: box-shadow .2s, transform .2s;
|
|
||||||
|
|
||||||
i {
|
|
||||||
line-height: inherit;
|
|
||||||
font-size: 28px;
|
|
||||||
color: #41b783;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 50%;
|
|
||||||
margin-left: -18px;
|
|
||||||
margin-top: -18px;
|
|
||||||
padding: .18rem;
|
|
||||||
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.25);
|
|
||||||
background-color: #ffffff;
|
|
||||||
border-radius: 50%;
|
|
||||||
width: 36px;
|
|
||||||
height: 36px;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:focus {
|
|
||||||
box-shadow: 0 0 0 0.2rem $focusBorderColor;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
transform: scale(1.1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.premium-themes {
|
.premium-themes {
|
||||||
padding: 2rem;
|
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
transition: box-shadow .2s, transform .2s;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
transform: scale(1.1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -116,4 +116,10 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.p-col-12 {
|
||||||
|
padding: 2rem;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
Loading…
Reference in New Issue