diff --git a/gadjo/static/css/_portal.scss b/gadjo/static/css/_portal.scss index 90f13b4..45ba74a 100644 --- a/gadjo/static/css/_portal.scss +++ b/gadjo/static/css/_portal.scss @@ -1,3 +1,5 @@ +$cell-border-radius: 3px; + div.cell.shown-because-admin { opacity: 0.5; background-image: repeating-linear-gradient(-45deg, #eee 0px, #eee 14px, transparent 15px, transparent 30px); @@ -15,7 +17,7 @@ div#portal-agent-content { background: white; padding: 1rem; margin-bottom: 1rem; - border-radius: 3px; + border-radius: $cell-border-radius; &.transparent { background: transparent; } @@ -26,6 +28,27 @@ div#portal-agent-content { color: white; } } + &.no-bottom-margin { + margin-bottom: 0; + border-radius: $cell-border-radius $cell-border-radius 0 0; + border-bottom: 0; + p:last-child { + margin-bottom: 0; + padding-bottom: 1ex; + } + + div { + margin-top: 0; + border-radius: 0 0 $cell-border-radius $cell-border-radius; + border-top: 0; + &.no-bottom-margin { + border-radius: 0; + } + p:first-child { + margin-top: 0; + padding-top: 1ex; + } + } + } } }