2013-09-06 03:37:07 +08:00
|
|
|
// styles that apply to the "share" popup when sharing a link to a post or topic
|
|
|
|
|
|
|
|
#share-link {
|
|
|
|
position: absolute;
|
|
|
|
left: 20px;
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("dropdown");
|
2018-02-21 01:18:20 +08:00
|
|
|
box-shadow: shadow("card");
|
2014-10-19 11:07:55 +08:00
|
|
|
background-color: $secondary;
|
2013-11-04 22:16:47 +08:00
|
|
|
padding: 6px 10px 10px 10px;
|
2013-09-06 03:37:07 +08:00
|
|
|
width: 300px;
|
|
|
|
display: none;
|
|
|
|
&.visible {
|
|
|
|
display: block;
|
|
|
|
}
|
2014-12-24 16:11:43 +08:00
|
|
|
input[type=text] {
|
2013-09-06 03:37:07 +08:00
|
|
|
width: 96%;
|
|
|
|
}
|
2014-12-24 16:11:43 +08:00
|
|
|
.share-for-touch .overflow-ellipsis {
|
|
|
|
clear: both;
|
|
|
|
}
|
2014-12-06 05:21:07 +08:00
|
|
|
.share-for-touch {
|
|
|
|
margin: 14px 0;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
h3 {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-0;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2015-07-15 10:26:11 +08:00
|
|
|
.copy-text {
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
margin: 5px 5px 5px 15px;
|
|
|
|
color: $success;
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 0.25s;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-0;
|
2015-07-15 10:26:11 +08:00
|
|
|
&:not(.success) {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
.social-link {
|
|
|
|
margin-left: 2px;
|
|
|
|
margin-right: 8px;
|
|
|
|
float: left;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-4;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2016-06-15 02:01:21 +08:00
|
|
|
.reply-as-new-topic {
|
|
|
|
float: left;
|
2018-01-13 06:27:38 +08:00
|
|
|
line-height: $line-height-large;
|
2016-06-15 02:45:50 +08:00
|
|
|
margin-left: 8px;
|
2018-01-13 06:27:38 +08:00
|
|
|
margin-top: .5em;
|
2016-06-15 02:01:21 +08:00
|
|
|
.fa {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
.link {
|
|
|
|
margin-right: 2px;
|
|
|
|
float: right;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-3;
|
2013-09-06 03:37:07 +08:00
|
|
|
a {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
}
|
2014-06-24 15:55:43 +08:00
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin: 5px 0;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.date {
|
|
|
|
float: right;
|
|
|
|
margin: 5px;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2014-06-24 15:55:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type=text] {
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-1;
|
2014-06-24 15:55:43 +08:00
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2014-12-06 05:21:07 +08:00
|
|
|
|
|
|
|
.discourse-no-touch #share-link .share-for-touch {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.discourse-touch #share-link input[type=text] {
|
|
|
|
display: none;
|
|
|
|
}
|