Skip to content

Commit

Permalink
Moved CSS to the application level
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorcorrea committed Dec 16, 2024
1 parent b0fcef3 commit 7c9b7fb
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 22 deletions.
22 changes: 21 additions & 1 deletion app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ body {
background-color: $gray-10;
padding: 0rem 0.375em;
justify-content: center;
align-items: center;
align-items: center;
}


Expand Down Expand Up @@ -123,3 +123,23 @@ body {
overflow: hidden;
outline: none;
}

/* Data users in the Edit form */
#data-users-table {
border-color: gray;
border-style: solid;
border-width: 1px;
}

#data-users-table > thead {
background-color: lightgray;
}

.added-user-textbox {
border: none !important;
background-color: white !important;
}

.delete-user-row {
color: red;
}
21 changes: 0 additions & 21 deletions app/views/projects/_edit_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
<style>
#data-users-table {
border-color: gray;
border-style: solid;
border-width: 1px;
}

#data-users-table > thead {
background-color: lightgray;
}

.added-user-textbox {
border: none !important;
background-color: white !important;
}

.delete-user-row {
color: red;
}
</style>

<%= render 'form_errors' %>
<div id="edit">
<h2>Project Roles</h2>
Expand Down

0 comments on commit 7c9b7fb

Please sign in to comment.