From 205d48c08fe2097d51e3015e632f7541a01f73e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20R=C3=B6tsch?= Date: Thu, 5 Oct 2017 15:38:29 +0200 Subject: [PATCH] give the language switcher some love --- assets/stylesheets/lesson/index.css | 4 ++++ public/stylesheets/style.css | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/assets/stylesheets/lesson/index.css b/assets/stylesheets/lesson/index.css index 279ff13..814f79d 100644 --- a/assets/stylesheets/lesson/index.css +++ b/assets/stylesheets/lesson/index.css @@ -42,6 +42,9 @@ font-size: 0.7em; color: var(--code-trigger-color); + cursor: pointer; + user-select: none; + &:last-child { margin-right: 0; } @@ -49,6 +52,7 @@ @modifier active { background: var(--code-trigger-bg-active); color: var(--code-trigger-color-active); + cursor: default; } } diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 46dfecd..d22f9ff 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -2066,6 +2066,12 @@ github.com style (c) Vasily Polovnyov font-family: 'robotomedium', Helvetica, sans-serif; font-size: 0.7em; color: #fff; + + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; } .lesson-module-code__trigger:last-child { @@ -2075,6 +2081,7 @@ github.com style (c) Vasily Polovnyov .lesson-module-code__trigger--active { background: #f7f9fa; color: #a9b9c0; + cursor: default; } .lesson-module-code__code {