diff --git a/css/color.css b/css/color.css index d7bfcff..ced10e8 100644 --- a/css/color.css +++ b/css/color.css @@ -97,7 +97,7 @@ input[type="checkbox"]:checked+label { background-color: rgba(255, 255, 255, 0.25); } -.side_element a { +.side_element a, .rt * { color: lightgray; } diff --git a/css/mobile.css b/css/mobile.css index 1cc0f22..f9a82cd 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -174,6 +174,10 @@ aside { position: relative; } +.fw .topbutton { + width: 80px; +} + .topicon { text-decoration: none; display: inline; diff --git a/css/style.css b/css/style.css index 86a54b5..1001a9d 100644 --- a/css/style.css +++ b/css/style.css @@ -85,6 +85,10 @@ textarea { position:fixed; top:0px; left:0px; } +.fw { + float:right; +} + .wrapper { width: 100%; clear: both; diff --git a/login/index.php b/login/index.php index 776fa81..7747300 100644 --- a/login/index.php +++ b/login/index.php @@ -7,9 +7,10 @@ include "../include/init.php"; include "../include/functions.php"; $message = ""; +$instance = (isset($setting['lockedto']) ? $setting['lockedto'] : (isset($_POST['user']) ? $_POST['user'] : null)); +if (!empty($instance)){ -if (isset($_POST['user']) || isset($_GET['instance'])){ - $instance = strtolower((isset($_POST['user']) ? htmlentities($_POST['user']) : htmlentities($_GET['instance']))); + $instance = strtolower($instance); $check = json_decode(file_get_contents("https://$instance/api/v1/instance"),true); if(is_null($check['title'])){ diff --git a/logout/index.php b/logout/index.php index 490c43a..2b399ea 100644 --- a/logout/index.php +++ b/logout/index.php @@ -1,4 +1,4 @@ - .post { + border-left:4px solid #ff6300; +} + /* .postform,.searchmobile { background-color: #eeaa88; diff --git a/themes/longhorn/css/color.css b/themes/longhorn/css/color.css index a6c2a25..25c05e5 100644 --- a/themes/longhorn/css/color.css +++ b/themes/longhorn/css/color.css @@ -295,7 +295,7 @@ button,.postform input[type="submit"],.reply input[type="submit"] { border-radius:0px !important; } -.notif *{ +.notif a, .notif span{ color:white; }