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;
|
2014-12-05 16:21:07 -05:00
|
|
|
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;
|
2013-11-04 09:16:47 -05:00
|
|
|
padding: 6px 10px 10px 10px;
|
2013-09-05 15:37:07 -04:00
|
|
|
width: 300px;
|
|
|
|
display: none;
|
|
|
|
&.visible {
|
|
|
|
display: block;
|
|
|
|
}
|
2014-12-24 03:11:43 -05:00
|
|
|
input[type=text] {
|
2013-09-05 15:37:07 -04:00
|
|
|
width: 96%;
|
|
|
|
}
|
2014-12-24 03:11:43 -05:00
|
|
|
.share-for-touch .overflow-ellipsis {
|
|
|
|
clear: both;
|
|
|
|
}
|
2014-12-05 16:21:07 -05:00
|
|
|
.share-for-touch {
|
|
|
|
margin: 14px 0;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
h3 {
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 0.929em;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2015-07-14 22:26:11 -04:00
|
|
|
.copy-text {
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
margin: 5px 5px 5px 15px;
|
|
|
|
color: $success;
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 0.25s;
|
|
|
|
font-size: 13px;
|
|
|
|
&:not(.success) {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
.social-link {
|
|
|
|
margin-left: 2px;
|
|
|
|
margin-right: 8px;
|
|
|
|
float: left;
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1.571em;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2016-06-14 14:01:21 -04:00
|
|
|
.reply-as-new-topic {
|
|
|
|
float: left;
|
2016-06-14 14:45:50 -04:00
|
|
|
line-height: 22px;
|
|
|
|
margin-left: 8px;
|
2016-06-14 14:01:21 -04:00
|
|
|
.fa {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
.link {
|
|
|
|
margin-right: 2px;
|
|
|
|
float: right;
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1.429em;
|
2013-09-05 15:37:07 -04:00
|
|
|
a {
|
2016-06-02 02:53:59 -04:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
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;
|
2015-08-20 05:42:12 -04:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2014-06-24 03:55:43 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type=text] {
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1.143em;
|
2014-06-24 03:55:43 -04:00
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2014-12-05 16:21:07 -05:00
|
|
|
|
|
|
|
.discourse-no-touch #share-link .share-for-touch {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.discourse-touch #share-link input[type=text] {
|
|
|
|
display: none;
|
|
|
|
}
|