web/storagenode: text selection on specific elements disabled (#3492)

This commit is contained in:
Vitalii Shpital 2019-11-05 17:53:37 +02:00 committed by GitHub
parent 257d3946d5
commit 466cc8ab0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 17 additions and 1 deletions

View File

@ -72,6 +72,7 @@ export default class BarInfo extends Vue {
font-size: 14px; font-size: 14px;
line-height: 21px; line-height: 21px;
color: #586c86; color: #586c86;
user-select: none;
} }
&__amount { &__amount {

View File

@ -69,6 +69,7 @@ export default class ChecksArea extends Vue {
line-height: 21px; line-height: 21px;
color: #586c86; color: #586c86;
margin: 0 5px 0 0; margin: 0 5px 0 0;
user-select: none;
} }
.checks-area-image { .checks-area-image {

View File

@ -59,6 +59,7 @@ export default class PayoutArea extends Vue {
&__label { &__label {
font-size: 14px; font-size: 14px;
color: #586c86; color: #586c86;
user-select: none;
} }
&__bold-text { &__bold-text {

View File

@ -203,6 +203,7 @@ export default class SNOContentFilling extends Vue {
font-size: 18px; font-size: 18px;
line-height: 57px; line-height: 57px;
color: #535f77; color: #535f77;
user-select: none;
} }
&__chart-area, &__chart-area,
@ -226,6 +227,7 @@ export default class SNOContentFilling extends Vue {
&__title { &__title {
font-size: 14px; font-size: 14px;
color: #586c86; color: #586c86;
user-select: none;
} }
&__amount { &__amount {

View File

@ -157,6 +157,7 @@ export default class SNOContentTitle extends Vue {
&__name { &__name {
display: flex; display: flex;
align-items: center; align-items: center;
user-select: none;
&__title { &__title {
margin: 0; margin: 0;
@ -176,6 +177,7 @@ export default class SNOContentTitle extends Vue {
align-items: center; align-items: center;
font-size: 12px; font-size: 12px;
position: relative; position: relative;
user-select: none;
&__online-status { &__online-status {
margin: 0 5px 0 5px; margin: 0 5px 0 5px;

View File

@ -7,6 +7,7 @@
<StorjIcon <StorjIcon
class="footer__content-holder__icon" class="footer__content-holder__icon"
alt="storj icon" alt="storj icon"
@click="scrollUp"
/> />
<a class="footer__content-holder__community-link" href="https://forum.storj.io/c/sno-category" target="_blank" rel="noopener">Community</a> <a class="footer__content-holder__community-link" href="https://forum.storj.io/c/sno-category" target="_blank" rel="noopener">Community</a>
<a class="footer__content-holder__support-link" href="https://support.storj.io" target="_blank" rel="noopener">Support</a> <a class="footer__content-holder__support-link" href="https://support.storj.io" target="_blank" rel="noopener">Support</a>
@ -24,7 +25,11 @@ import StorjIcon from '@/../static/images/storjIcon.svg';
StorjIcon, StorjIcon,
}, },
}) })
export default class SNOFooter extends Vue {} export default class SNOFooter extends Vue {
public scrollUp(): void {
window.scrollTo(0, 0);
}
}
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@ -35,6 +40,7 @@ export default class SNOFooter extends Vue {}
justify-content: center; justify-content: center;
background-color: #f8f9fb; background-color: #f8f9fb;
align-items: center; align-items: center;
user-select: none;
&__content-holder { &__content-holder {
width: 822px; width: 822px;
@ -44,6 +50,7 @@ export default class SNOFooter extends Vue {}
&__icon { &__icon {
min-width: 125px; min-width: 125px;
cursor: pointer;
} }
&__community-link, &__community-link,

View File

@ -107,6 +107,7 @@ export default class SNOHeader extends Vue {
&__title { &__title {
min-width: 55px; min-width: 55px;
margin-right: 5px; margin-right: 5px;
user-select: none;
} }
&__id { &__id {

View File

@ -68,6 +68,7 @@ export default class SatelliteSelection extends Vue {
&__bold-text { &__bold-text {
margin-right: 3px; margin-right: 3px;
user-select: none;
} }
&__image { &__image {