Skip to content

A free open source IT asset/license management system

Override readonly styles on user edit page

snipea0df7adbd1e5
diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.php
index 92abfee787..bda043514d 100755
--- a/resources/views/users/edit.blade.php
+++ b/resources/views/users/edit.blade.php
@@ -20,12 +20,22 @@
padding-top: 0px;
}
- input[type='text'][disabled], input[disabled], textarea[disabled], input[readonly], textarea[readonly], .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
- background-color: white;
- color: #555555;
- cursor:text;
+ 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;
}
-
</style>