discourse/app/assets/stylesheets/desktop/poster_expansion.scss
2014-04-14 15:58:52 +10:00

141 lines
2.1 KiB
SCSS

// 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 $primary_border_color;
margin-top: -2px;
background-color: $primary_background_color;
padding: 12px 12px 5px 12px;
h1 {
display: inline-block;
min-width: 120px;
font-size: 30px;
line-height: 33px;
margin-bottom: 8px;
a {
color: $primary_text_color;
}
}
h2 {
font-size: 20px;
line-height: 22px;
font-weight: normal;
margin-bottom: 5px;
a {
color: $primary_text_color;
}
}
h3 {
font-size: 13px;
font-weight: normal;
margin-top: 0;
color: $secondary_text_color;
}
.groups {
font-size: 13px;
font-weight: normal;
margin-top: 0;
color: $secondary_text_color;
.group-link {
color: $primary_text_color;
}
}
.bottom {
clear: both;
padding-top: 10px;
}
img.avatar {
float: left;
padding-right: 10px;
}
p {
margin: 0 0 5px 0;
}
p.loading {
margin-top: 45px;
color: $secondary_text_color;
}
.btn {
margin: 0 0 7px 0;
}
.new-user a {
color: $secondary_text_color;
}
&.show-badges {
width: 560px;
.names {
width: 250px;
float: left;
}
.metadata {
float: right;
max-width: 180px;
}
h2 {
line-height: 12px;
}
.badge-section {
margin-top: 20px;
h3 {
line-height: 43px;
color: $primary_text_color;
font-size: 14px;
margin-bottom: -8px;
}
}
}
}
.user-badge, .more-user-badges {
font-size: 12px;
margin: 0;
line-height: 16px;
display: inline-block;
.fa {
padding-right: 5px;
font-size: 16px;
}
}
.user-badge {
padding: 3px 8px;
border: 1px solid $secondary-border-color;
}
.more-user-badges {
padding: 4px 8px;
}
.badge-type-1 .fa-certificate {
color: #A67D3D;
}
.badge-type-2 .fa-certificate {
color: silver;
}
.badge-type-1 .fa-certificate {
color: gold;
}