discourse/app/assets/stylesheets/desktop/poster_expansion.scss

117 lines
1.7 KiB
SCSS
Raw Normal View History

// styles that apply to the "share" popup when sharing a link to a post or topic
#poster-expansion {
position: absolute;
width: 460px;
left: 20px;
z-index: 990;
box-shadow: 0 2px 6px scale-color($primary, $lightness: 90%);
margin-top: -2px;
background-color: $secondary;
padding: 12px 12px 5px 12px;
h1 {
display: inline-block;
min-width: 120px;
font-size: 30px;
line-height: 33px;
margin-bottom: 8px;
2013-10-05 04:55:54 +08:00
a {
color: $primary;
2013-10-05 04:55:54 +08:00
}
}
h2 {
font-size: 20px;
line-height: 22px;
font-weight: normal;
2013-10-17 02:09:48 +08:00
margin-bottom: 5px;
a {
color: $primary;
}
}
h3 {
font-size: 13px;
font-weight: normal;
margin-top: 0;
color: $primary;
}
.groups {
font-size: 13px;
font-weight: normal;
margin-top: 0;
color: $primary;
.group-link {
color: $primary;
}
}
.metadata {
float: right;
max-width: 180px;
text-align: right;
margin-top: 5px;
}
.bottom {
clear: both;
padding-top: 10px;
}
img.avatar {
float: left;
padding-right: 10px;
}
p {
margin: 0 0 5px 0;
}
2013-10-05 03:33:03 +08:00
p.loading {
margin-top: 45px;
color: $primary;
2013-10-05 03:33:03 +08:00
}
.btn {
margin: 0 0 7px 0;
}
2013-12-20 07:58:48 +08:00
.new-user a {
2014-05-14 16:05:24 +08:00
color: scale-color($primary, $lightness: 70%);
2013-12-20 07:58:48 +08:00
}
&.show-badges {
width: 560px;
.names {
width: 250px;
float: left;
}
h2 {
2014-04-14 13:58:36 +08:00
line-height: 12px;
}
.badge-section {
2014-04-14 13:58:36 +08:00
margin-top: 20px;
h3 {
line-height: 43px;
color: $primary;
font-size: 14px;
margin-bottom: -8px;
}
}
2014-04-14 13:58:36 +08:00
2014-04-16 18:02:57 +08:00
.more-user-badges {
@extend .user-badge;
padding: 4px 8px;
}
2014-04-14 13:58:36 +08:00
}
}