mirror of https://github.com/zulip/zulip.git
hotspots: Change styling of intro to reply hotspot.
Updated the styling so that it looks like other hotspots.
This commit is contained in:
parent
b27201056c
commit
138cef0906
|
@ -248,18 +248,22 @@
|
||||||
width: 350px;
|
width: 350px;
|
||||||
max-width: 95%;
|
max-width: 95%;
|
||||||
box-shadow: 0 5px 10px rgba(133, 136, 142, 0.1);
|
box-shadow: 0 5px 10px rgba(133, 136, 142, 0.1);
|
||||||
border: 1px solid #f2f2f2;
|
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: #f9f9f9;
|
background: #f9f9f9;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hotspot-inline-top {
|
.hotspot-inline-top .hotspot-title {
|
||||||
height: 10px;
|
background: #00b08d;
|
||||||
|
margin: 0;
|
||||||
|
color: hsl(0, 0%, 100%);
|
||||||
|
font-weight: 600;
|
||||||
|
line-height: 24px;
|
||||||
|
padding: 5px 13px;
|
||||||
|
font-size: 1.15em;
|
||||||
border-top-left-radius: 4px;
|
border-top-left-radius: 4px;
|
||||||
border-top-right-radius: 4px;
|
border-top-right-radius: 4px;
|
||||||
background-color: #43ad90;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.hotspot-inline-left {
|
.hotspot-inline-left {
|
||||||
|
@ -276,6 +280,7 @@
|
||||||
|
|
||||||
#hotspot_intro_reply_icon {
|
#hotspot_intro_reply_icon {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
background: hsl(0, 0%, 100%);
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: perspective(1px) translateY(-75%);
|
transform: perspective(1px) translateY(-75%);
|
||||||
}
|
}
|
||||||
|
|
|
@ -402,7 +402,8 @@ on a dark background, and don't change the dark labels dark either. */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Popover: */
|
/* Popover: */
|
||||||
.hotspot.overlay .hotspot-popover {
|
.hotspot.overlay .hotspot-popover,
|
||||||
|
#hotspot_intro_reply_icon {
|
||||||
border-color: hsla(0, 0%, 0%, 0.2) !important;
|
border-color: hsla(0, 0%, 0%, 0.2) !important;
|
||||||
/* Based on the `.hotspot-popover` shadow in `hotspots.css`, but with a new
|
/* Based on the `.hotspot-popover` shadow in `hotspots.css`, but with a new
|
||||||
color. */
|
color. */
|
||||||
|
@ -444,6 +445,7 @@ on a dark background, and don't change the dark labels dark either. */
|
||||||
|
|
||||||
/* Content: */
|
/* Content: */
|
||||||
.hotspot.overlay .hotspot-popover .hotspot-popover-content,
|
.hotspot.overlay .hotspot-popover .hotspot-popover-content,
|
||||||
|
#hotspot_intro_reply_icon,
|
||||||
.hotspot.overlay .hotspot-popover .hotspot-popover-bottom {
|
.hotspot.overlay .hotspot-popover .hotspot-popover-bottom {
|
||||||
background-color: hsl(212, 28%, 18%);
|
background-color: hsl(212, 28%, 18%);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="hotspot-inline trailing_bookend bookend hotspot-message" id="hotspot_intro_reply_icon">
|
<div class="hotspot-inline trailing_bookend bookend hotspot-message" id="hotspot_intro_reply_icon">
|
||||||
<div class="hotspot-inline-top"></div>
|
<div class="hotspot-inline-top"><h1 class="hotspot-title">Send a reply</h1></div>
|
||||||
<div class="hotspot-inline-left">
|
<div class="hotspot-inline-left">
|
||||||
<img class="hotspot-img" alt="" src="/static/images/hotspots/whale.svg">
|
<img class="hotspot-img" alt="" src="/static/images/hotspots/whale.svg">
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue