From 7cf0e1f049f362c1e3eaeb55289183f0e25271a0 Mon Sep 17 00:00:00 2001 From: Daniel Scalzi Date: Tue, 12 Jun 2018 04:12:22 -0400 Subject: [PATCH] Various CSS updates. Most of the UI is now unselectable. The account selecton styles now conform with the auth account styles. --- app/app.ejs | 1 + app/assets/css/launcher.css | 14 +++++++++----- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/app/app.ejs b/app/app.ejs index 7ba4a6b1..f30df0e6 100644 --- a/app/app.ejs +++ b/app/app.ejs @@ -11,6 +11,7 @@ transition: background-image 1s ease; background-image: url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBkZWZhdWx0IHF1YWxpdHkK/9sAQwAIBgYHBgUIBwcHCQkICgwUDQwLCwwZEhMPFB0aHx4dGhwcICQuJyAiLCMcHCg3KSwwMTQ0NB8nOT04MjwuMzQy/9sAQwEJCQkMCwwYDQ0YMiEcITIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy/8AAEQgAPwBwAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/aAAwDAQACEQMRAD8A8VooopDCiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKAP/9k='); background-size: cover; + -webkit-user-select: none; } #main { display: none; diff --git a/app/assets/css/launcher.css b/app/assets/css/launcher.css index 6d1ba8f2..8df8ccfd 100644 --- a/app/assets/css/launcher.css +++ b/app/assets/css/launcher.css @@ -1245,6 +1245,7 @@ input:checked + .toggleSwitchSlider:before { } .settingsAuthAccountDetailValue { font-size: 14px; + -webkit-user-select: initial; } /* Account actions container. */ @@ -1520,6 +1521,7 @@ input:checked + .toggleSwitchSlider:before { height: 82vh; width: 82vw; display: flex; + -webkit-user-select: initial; } /* News article status container (left). */ @@ -1543,8 +1545,6 @@ input:checked + .toggleSwitchSlider:before { font-size: 20px; font-weight: bold; font-family: 'Avenir Medium'; -} -#newsArticleTitle { color: white; text-decoration: none; transition: 0.25s ease; @@ -1659,6 +1659,7 @@ input:checked + .toggleSwitchSlider:before { justify-content: center; align-items: center; margin-bottom: 10px; + -webkit-user-select: none; } /* Navigation status span. */ @@ -1920,6 +1921,7 @@ input:checked + .toggleSwitchSlider:before { position: absolute; right: 95px; text-align: right; + -webkit-user-select: initial; } /* Social media icon content container. */ @@ -2459,12 +2461,14 @@ input:checked + .toggleSwitchSlider:before { font-size: 20px; font-weight: bold; letter-spacing: 1px; + -webkit-user-select: initial; } /* Overlay description styles. */ #overlayDesc { font-size: 12px; font-weight: bold; + -webkit-user-select: initial; } /* Div which contains action buttons. */ @@ -2596,8 +2600,8 @@ input:checked + .toggleSwitchSlider:before { .accountListing { color: white; - border: 1px solid rgba(170, 170, 170, 0.5); - border-radius: 4px; + border: 1px solid rgba(126, 126, 126, 0.57); + border-radius: 3px; padding: 5px 45px; width: 250px; display: flex; @@ -2607,7 +2611,7 @@ input:checked + .toggleSwitchSlider:before { transition: 0.25s ease; cursor: pointer; position: relative; - background: rgba(255, 255, 255, 0.25); + background: rgba(0, 0, 0, 0.25); } .accountListing[selected] { cursor: default; diff --git a/package-lock.json b/package-lock.json index cca4da2e..eab44d8e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "westeroscraftlauncher", - "version": "0.0.1-alpha.10", + "version": "0.0.1-alpha.11", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index d3caaf7f..4234f5c5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "westeroscraftlauncher", - "version": "0.0.1-alpha.10", + "version": "0.0.1-alpha.11", "description": "Custom modded launcher for Westeroscraft", "productName": "WesterosCraft Launcher", "main": "index.js",