News updated

pull/1055/head
Yiğit FINDIKLI 2021-03-15 17:21:25 +03:00
parent 1611b8211f
commit da1cb32e63
3 changed files with 12 additions and 10 deletions

View File

@ -2,9 +2,11 @@
<div class="layout-wrapper" :class="containerClass"> <div class="layout-wrapper" :class="containerClass">
<div class="layout-news" v-if="newsActive"> <div class="layout-news" v-if="newsActive">
<div class="layout-news-container"> <div class="layout-news-container">
<img class="layouts-news-mockup-image" src="./assets/images/topbar-ultima-device.png"> <a href="https://www.primefaces.org/store" target="_blank">
<a href="https://www.primefaces.org/layouts/ultima-vue" target="_blank" tabindex="-1" style="text-decoration: none" class="layout-news-button"> <img class="layouts-news-mockup-image" src="./assets/images/topbar-primesale-2021.png">
LEARN MORE<i class="pi pi-angle-right"></i> </a>
<a href="https://www.primefaces.org/store" target="_blank" tabindex="-1" style="text-decoration: none" class="layout-news-button">
LEARN MORE
</a> </a>
<a tabindex="0" class="layout-news-close" @click="hideNews"> <a tabindex="0" class="layout-news-close" @click="hideNews">
<i class="pi pi-times"></i> <i class="pi pi-times"></i>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@ -4,7 +4,7 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin-left: 250px; margin-left: 250px;
background-image: linear-gradient(to left, #1565c0, #0D47A1); background-image: linear-gradient(to left, #e2821a, #e49e18);
.layout-news-container { .layout-news-container {
width: 100%; width: 100%;
@ -17,22 +17,22 @@
font-size: 20px; font-size: 20px;
img.layouts-news-mockup-image { img.layouts-news-mockup-image {
height: 70px; max-width: 350px;
} }
.layout-news-button { .layout-news-button {
border: 1px solid #ffffff; border: 2px solid #212121;
color: #ffffff; color: #212121;
font-size: 15px; font-size: 15px;
padding: .3em .3em .5em 1em; padding: 0.5em 1em;
font-weight: bold; font-weight: bolder;
border-radius: 3px; border-radius: 3px;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
flex-shrink: 0; flex-shrink: 0;
transition: background-color 0.15s; transition: background-color 0.15s;
margin-left: -1rem; margin-left: 1rem;
position: relative; position: relative;
z-index: 1; z-index: 1;