discourse/app/assets/stylesheets/common/base/share_link.scss

63 lines
1 KiB
SCSS
Raw Normal View History

2013-09-05 15:37:07 -04:00
// styles that apply to the "share" popup when sharing a link to a post or topic
#share-link {
position: absolute;
left: 20px;
z-index: 1200;
2014-08-06 09:31:13 -04:00
box-shadow: 0 1px 5px rgba(0,0,0, .4);
2014-10-18 23:07:55 -04:00
background-color: $secondary;
padding: 6px 10px 10px 10px;
2013-09-05 15:37:07 -04:00
width: 300px;
display: none;
&.visible {
display: block;
}
input[type=text], .share-for-touch .overflow-ellipsis {
2013-09-05 15:37:07 -04:00
width: 96%;
}
.share-for-touch {
margin: 14px 0;
}
2013-09-05 15:37:07 -04:00
h3 {
font-size: 0.929em;
2013-09-05 15:37:07 -04:00
}
.social-link {
margin-left: 2px;
margin-right: 8px;
float: left;
font-size: 1.571em;
2013-09-05 15:37:07 -04:00
}
.link {
margin-right: 2px;
float: right;
font-size: 1.429em;
2013-09-05 15:37:07 -04:00
a {
color: $primary;
2013-09-05 15:37:07 -04:00
}
}
2014-06-24 03:55:43 -04:00
h3 {
margin: 5px 0;
float: left;
}
.date {
float: right;
margin: 5px;
color: scale-color($primary, $lightness: 50%);
}
input[type=text] {
font-size: 1.143em;
2014-06-24 03:55:43 -04:00
margin-bottom: 10px;
}
2013-09-05 15:37:07 -04:00
}
.discourse-no-touch #share-link .share-for-touch {
display: none;
}
.discourse-touch #share-link input[type=text] {
display: none;
}