Skip to content

A free open source IT asset/license management system

Use readonly style with light/dark on LDAP settings

snipeb3c59b2cc39a
diff --git a/resources/views/settings/ldap.blade.php b/resources/views/settings/ldap.blade.php
index 46ee33f5b5..9b4b27ce94 100644
--- a/resources/views/settings/ldap.blade.php
+++ b/resources/views/settings/ldap.blade.php
@@ -14,6 +14,7 @@
{{-- Page content --}}
@section('content')
+
<style>
.checkbox label {
padding-right: 40px;
@@ -25,14 +26,27 @@
}
/*
- Don't make the password field *look* readonly - this is for usability, so admins don't think they can't edit this field.
- */
- .form-control[readonly] {
- background-color: white;
- color: #555555;
- cursor:text;
+ Don't make the password field *look* readonly - this is for usability, so admins don't think they can't edit this field.
+ */
+
+ input[type='text'][disabled],
+ input[disabled],
+ textarea[disabled],
+ input[readonly],
+ textarea[readonly],
+ .form-control[disabled],
+ .form-control[readonly],
+ fieldset[disabled]
+ {
+ cursor:text !important;
+ background-color: var(--table-stripe-bg) !important;
+ color: var(--color-fg) !important;
+ }
+ input:required, select:required {
+ border-right: 5px solid orange !important;
}
+
.table-wrapper {
overflow-x: auto;
display: block;