1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-20 12:31:29 +00:00

update notifications to make them more visible

cleanup some minor stuff in pref-users
This commit is contained in:
Andrew Dolgov
2019-03-05 20:09:06 +03:00
parent 2b54413599
commit ef6d2b8a4e
10 changed files with 64 additions and 86 deletions

View File

@@ -127,30 +127,32 @@ body.ttrss_main a:hover {
text-decoration: underline;
}
body.ttrss_main #notify.visible {
transform: translate(0, -45px);
opacity: 100;
}
body.ttrss_main #notify {
bottom: -45px;
right: 0px;
height: 30px;
left: 0px;
border-width: 1px 0px 0px 0px;
bottom: 20px;
right: 20px;
min-width: 200px;
max-width: 350px;
border-width: 1px;
border-style: solid;
position: fixed;
font-size: 13px;
font-size: 14px;
z-index: 99;
display: flex;
opacity: 0;
align-items: center;
transition: all 0.5s ease-in-out;
}
body.ttrss_main #notify > * {
padding: 4px;
padding: 10px;
transition: opacity 0.2s linear;
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
}
body.ttrss_main #notify img {
vertical-align: middle;
}
body.ttrss_main #notify .msg {
flex-grow: 2;
padding: 0 10px;
line-height: 20px;
}
body.ttrss_main #notify .icon-close {
cursor: pointer;

File diff suppressed because one or more lines are too long

View File

@@ -142,26 +142,25 @@ body.ttrss_main {
}
#notify.visible {
transform: translate(0, -45px);
opacity: 100;
}
#notify {
bottom : -45px;
right : 0px;
height : 30px;
left : 0px;
border-width : 1px 0px 0px 0px;
bottom : 20px;
right : 20px;
min-width : 200px;
max-width : 350px;
border-width : 1px;
border-style : solid;
position : fixed;
font-size : 13px;
font-size : 14px;
z-index : 99;
display : flex;
opacity: 0;
align-items : center;
transition: all 0.5s ease-in-out;
> * {
padding : 4px;
}
padding : 10px;
transition: opacity 0.2s linear;
box-shadow : 0px 0px 8px rgba(0,0,0,0.1);
img {
vertical-align : middle;
@@ -169,6 +168,8 @@ body.ttrss_main {
.msg {
flex-grow : 2;
padding : 0 10px;
line-height : 20px;
}
.icon-close {