diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 8a6c3a6..a4d1319 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -54,7 +54,6 @@ a:hover, a:active, a:focus { border-color: lightgrey; } - .table-header { background-color: #e5e7e9; color: #3b3b3b; @@ -80,6 +79,10 @@ input[type="text"], input[type="date"], input[type="time"], select { box-sizing: border-box; } +input::placeholder, select::placeholder { + color: #757575; +} + input[type="text"], select { width: 100%; } @@ -108,18 +111,6 @@ label { padding: 8px; } -.btn-danger, -.btn-primary, -.btn-secondary { - box-shadow: none !important; - color: white !important; -} - -.btn-link:hover { - text-decoration: none; -} - - .desc { max-width: 100px; } @@ -217,61 +208,6 @@ label { } } -.form-group.required label:after { - content: "*"; - color: #ee0000; - margin-left: 0.25rem; -} - -a, a:link, a:visited { - box-shadow: inset 0 -4px 0 #FDB515; - transition: background 0.25s ease-in-out, color 0.25s ease-in-out; - text-decoration: none; - color: black; - - &.no-link-style { - box-shadow: none; - } - - li & { - box-shadow: inset 0 -2px 0 #FDB515; - - .navbar-nav & { - box-shadow: none; - } - } -} - -a:hover, a:active, a:focus { - background: #FDB515; - - &.no-link-style { - background: none; - } -} - -.tblheader { - font-weight: bold; - color: blue; -} - -// Some of the styles above were butchering Bootstrap buttons in tables -.btn-danger, -.btn-primary, -.btn-secondary { - box-shadow: none !important; - color: white !important; -} - -.btn-link:hover { - text-decoration: none; -} - -.btn.btn-primary:disabled { - background-color: lightgrey; - border-color: lightgrey; -} - .page { padding-left: 2px; padding-right: 2px; diff --git a/app/views/forms/insert_form.html.erb b/app/views/forms/insert_form.html.erb index 55d8424..a350174 100644 --- a/app/views/forms/insert_form.html.erb +++ b/app/views/forms/insert_form.html.erb @@ -7,7 +7,7 @@ <%= form_with(url: items_path, local: true, multipart: true) do |form| %>