notifications are full-width on all screen sizes

This commit is contained in:
Nathan Woulfe
2019-02-13 16:33:02 +10:00
parent 1f7092e2a8
commit 7aac3dc1bf
2 changed files with 22 additions and 32 deletions

View File

@@ -62,10 +62,6 @@ body.umb-drawer-is-visible #mainwrapper{
margin: 0;
}
#umb-notifications-wrapper {
left: 80px;
}
#contentcolumn {
left: 0px;
}
@@ -171,13 +167,11 @@ body.umb-drawer-is-visible #mainwrapper{
}
@media (min-width: 1101px) {
#contentwrapper, #umb-notifications-wrapper {left: 360px;}
#speechbubble {left: 360px;}
#contentwrapper, #speechbubble {left: 360px;}
.emptySection #contentwrapper {left:0px;}
}
//empty section modification
.emptySection #umb-notifications-wrapper {left: 80px;}
.emptySection #speechbubble {left: 0;}
.emptySection #navigation {display: none}

View File

@@ -1,35 +1,31 @@
.umb-notifications {
z-index: 1000;
position: absolute;
bottom: @editorFooterHeight;
left: 0;
right: 0;
border-bottom: none;
margin: auto;
padding: 0px;
border: none;
background: none;
border-radius: 0;
z-index: 1000;
position: absolute;
bottom: @editorFooterHeight;
left: 0;
right: 0;
@media (min-width: 1101px) {
left: 360px;
}
}
.umb-notifications__notifications {
list-style: none;
margin: 0;
position: relative;
}
list-style: none;
margin: 0;
position: relative;
}
.umb-notifications__notification {
padding: 5px 20px;
text-shadow: none;
font-size: 14px;
border: none;
border-radius: 0;
position: relative;
margin-bottom: 0;
padding: 5px 20px;
text-shadow: none;
font-size: 14px;
border: none;
position: relative;
margin-bottom: 0;
}
.umb-notifications__notification.-extra-padding {
padding-top: 20px;
padding-bottom: 20px;
padding-top: 20px;
padding-bottom: 20px;
}