Skip to content

Commit

Permalink
Deal with admin2 stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Nov 30, 2024
1 parent 4d81661 commit 46987f5
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 40 deletions.
17 changes: 0 additions & 17 deletions app/assets/stylesheets/_admin2.scss

This file was deleted.

2 changes: 2 additions & 0 deletions app/assets/stylesheets/admin.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@
// Styling for Bootstrap 5 for Quepid
@import "bootstrap-add-bs5";

@import "cal-heatmap";

// This is the css for the admin pages only.
@import "admin2";
15 changes: 15 additions & 0 deletions app/assets/stylesheets/admin2.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.scale-with-label-element {
display: block;
}

.scale-label {
display: inline-block;
float: right;
margin-left: 10px;
width: calc(100% - 50px);
}

/* give some space to the top of the admin page */
main > .container {
padding: 20px 15px 0;
}
16 changes: 0 additions & 16 deletions app/assets/stylesheets/admin_users.css.scss

This file was deleted.

3 changes: 0 additions & 3 deletions app/assets/stylesheets/application.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
@import "fonts";
@import "signup";

//This guy pushes down the top of the page a bit
@import "admin2";


.public-share {
.clipboard-icon {
Expand Down
2 changes: 0 additions & 2 deletions app/assets/stylesheets/core.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
@import "bootstrap-add";
@import "base";

// only in admin? Not in core? @import "admin2";

// Tour/Guides
@import "tether-shepherd/dist/css/shepherd-theme-arrows";
@import "tour";
Expand Down
2 changes: 0 additions & 2 deletions app/views/admin/users/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
<%= stylesheet_link_tag 'admin_users', media: 'all' %>

<div class="clearfix">

<h1><%= @user.display_name %></h1>
Expand Down

0 comments on commit 46987f5

Please sign in to comment.