Koha/koha-tmpl/intranet-tmpl/prog/css/src/mainpage.scss
Owen Leonard b28d329d8a Bug 33707: News vs Quote of the day styling on staff interface main page
This patch makes minor adjustments to the global and staff home page CSS
so that the display of news and quote-of-the-day are more consistent.

To test, apply the patch and rebuild the staff interface CSS.

- If necessary, add at least one news item (Tools -> News -> New entry)
  and at least one quote (Tools -> Quote editor -> New quote).
- View the staff interface home page to confirm that the style of the
  news area and the quotes is consistent.

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2023-05-16 11:47:29 +02:00

108 lines
2 KiB
SCSS

@import "variables";
#area-news,
#area-quote {
h3 {
margin: 0;
opacity: .7;
padding: .3em .3em 0 .3em;
}
}
.newsitem {
background-color: #FFF;
border-bottom: 1px solid #EEE;
border-radius: 6px;
margin: .3em;
opacity: .75;
padding: 3px;
}
.newsfooter {
color: #808080;
font-size: 80%;
}
ul {
&.biglinks-list {
padding: 0;
li {
list-style-type: none;
margin-bottom: 1em;
a {
&.icon_general {
align-items: center;
background-color: #E0E0E0;
border-radius: 6px;
color: #000;
display: flex;
font-size: large;
height: 50px;
padding: 10px;
text-decoration: none;
&:hover {
background-color: $background-color-primary;
color: #FFF;
img {
filter: invert( 100% );
}
}
.fa-fw {
font-size: 1.5em;
margin-right: .2em;
}
.fa-stack-2x {
font-size: 1.3em;
}
.fa-stack-1x {
color: #CCC;
font-size: .9em;
left: -5px;
top: -1px;
}
}
}
}
img {
max-height: 100%;
}
}
}
#area-pending {
clear: left;
width: 100%;
}
.pending-info {
margin-bottom: 2px;
margin-left: 8px;
margin-top: 2px;
}
.pending-number-link {
font-size: 1.1em;
font-weight: bold;
}
#area-userblock {
margin-top: 10px;
width: 100%;
}
.user-info {
margin: 8px;
}
.intranet-main .row {
margin-left: 0;
margin-right: 0;
}