Skip to content

Business intelligence made simple

Reduced inline styles [skip ci]

Andrew Kaned933c83f02d2
diff --git a/app/assets/stylesheets/blazer/application.css b/app/assets/stylesheets/blazer/application.css
index 354e55bb..c689cdbf 100644
--- a/app/assets/stylesheets/blazer/application.css
+++ b/app/assets/stylesheets/blazer/application.css
@@ -179,6 +179,10 @@ input.search:focus {
color: #999;
}
+.header-div {
+ line-height: 34px;
+}
+
#code {
max-height: 236px;
overflow: hidden;
@@ -243,3 +247,8 @@ h2 {
.selectize-dropdown .create {
padding: 5px 8px;
}
+
+.user-header {
+ width: 20%;
+ text-align: right;
+}
diff --git a/app/views/blazer/checks/index.html.erb b/app/views/blazer/checks/index.html.erb
index af34a442..f95e079e 100644
--- a/app/views/blazer/checks/index.html.erb
+++ b/app/views/blazer/checks/index.html.erb
@@ -1,7 +1,7 @@
<% blazer_title "Checks" %>
<div id="header">
- <div class="pull-right" style="line-height: 34px;">
+ <div class="pull-right header-div">
<div class="btn-group">
<%= link_to "New Check", new_check_path, class: "btn btn-info" %>
<button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
diff --git a/app/views/blazer/queries/home.html.erb b/app/views/blazer/queries/home.html.erb
index 540de1b1..25fed7e7 100644
--- a/app/views/blazer/queries/home.html.erb
+++ b/app/views/blazer/queries/home.html.erb
@@ -1,6 +1,6 @@
<div id="queries">
<div id="header">
- <div class="pull-right" style="line-height: 34px;">
+ <div class="pull-right header-div">
<% if blazer_user %>
<%= link_to "All", root_path, class: !params[:filter] ? "active" : nil, style: "margin-right: 40px;" %>
@@ -36,7 +36,7 @@
<tr>
<th>Name</th>
<% if Blazer.user_class %>
- <th style="width: 20%; text-align: right;">Mastermind</th>
+ <th class="user-header">Mastermind</th>
<% end%>
</tr>
</thead>
diff --git a/app/views/blazer/uploads/index.html.erb b/app/views/blazer/uploads/index.html.erb
index 342df1b8..9c51ee9c 100644
--- a/app/views/blazer/uploads/index.html.erb
+++ b/app/views/blazer/uploads/index.html.erb
@@ -1,7 +1,7 @@
<% blazer_title "Uploads" %>
<div id="header">
- <div class="pull-right" style="line-height: 34px;">
+ <div class="pull-right header-div">
<div class="btn-group">
<%= link_to "New Upload", new_upload_path, class: "btn btn-info" %>
<button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
@@ -28,7 +28,7 @@
<th>Table</th>
<th style="width: 60%;"></th>
<% if Blazer.user_class %>
- <th style="width: 20%; text-align: right;">Mastermind</th>
+ <th class="user-header">Mastermind</th>
<% end%>
</tr>
</thead>