Skip to content

Commit

Permalink
Remove old css (#505)
Browse files Browse the repository at this point in the history
* Remove unknown property css warnings
* remove warning on font, appears it should be a font-family
* bump asset version
  • Loading branch information
epugh committed Aug 2, 2021
1 parent 54c8db6 commit 4e6d463
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 23 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -469,6 +469,8 @@ $ bundle exec rake client_dev

This will start a local Sinatra server at `http://localhost:9292` where you'll be able to preview your changes. Refreshing the page should be enough to see any changes you make to files in the `lib/html` directory.

Make sure to prepend `bundle exec` before any Rake tasks you run.

## Running the Specs

You need Memcached and Redis services running for the specs.
Expand Down
12 changes: 1 addition & 11 deletions lib/html/includes.css
Expand Up @@ -69,7 +69,7 @@
.profiler-result .custom-fields-title,
.profiler-queries .custom-fields-title {
color: #555;
font: Helvetica, Arial, sans-serif;
font-family: Helvetica, Arial, sans-serif;
font-size: 14px; }
.mp-snapshots .ta-left,
.profiler-result .ta-left,
Expand Down Expand Up @@ -241,8 +241,6 @@
left: 0px; }
.profiler-results.profiler-top.profiler-left.profiler-no-controls .profiler-totals, .profiler-results.profiler-top.profiler-left.profiler-no-controls .profiler-result:last-child .profiler-button,
.profiler-results.profiler-top.profiler-left .profiler-controls {
-webkit-border-bottom-right-radius: 10px;
-moz-border-radius-bottomright: 10px;
border-bottom-right-radius: 10px; }
.profiler-results.profiler-top.profiler-left .profiler-button,
.profiler-results.profiler-top.profiler-left .profiler-controls {
Expand All @@ -251,8 +249,6 @@
right: 0px; }
.profiler-results.profiler-top.profiler-right.profiler-no-controls .profiler-totals, .profiler-results.profiler-top.profiler-right.profiler-no-controls .profiler-result:last-child .profiler-button,
.profiler-results.profiler-top.profiler-right .profiler-controls {
-webkit-border-bottom-left-radius: 10px;
-moz-border-radius-bottomleft: 10px;
border-bottom-left-radius: 10px; }
.profiler-results.profiler-top.profiler-right .profiler-button,
.profiler-results.profiler-top.profiler-right .profiler-controls {
Expand All @@ -263,8 +259,6 @@
left: 0px; }
.profiler-results.profiler-bottom.profiler-left.profiler-no-controls .profiler-totals, .profiler-results.profiler-bottom.profiler-left.profiler-no-controls .profiler-result:first-child .profiler-button,
.profiler-results.profiler-bottom.profiler-left .profiler-controls {
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topright: 10px;
border-top-right-radius: 10px; }
.profiler-results.profiler-bottom.profiler-left .profiler-button,
.profiler-results.profiler-bottom.profiler-left .profiler-controls {
Expand All @@ -273,8 +267,6 @@
right: 0px; }
.profiler-results.profiler-bottom.profiler-right.profiler-no-controls .profiler-totals, .profiler-results.profiler-bottom.profiler-right.profiler-no-controls .profiler-result:first-child .profiler-button,
.profiler-results.profiler-bottom.profiler-right .profiler-controls {
-webkit-border-bottom-top-radius: 10px;
-moz-border-radius-topleft: 10px;
border-top-left-radius: 10px; }
.profiler-results.profiler-bottom.profiler-right .profiler-button,
.profiler-results.profiler-bottom.profiler-right .profiler-controls {
Expand Down Expand Up @@ -332,8 +324,6 @@
text-align: left;
line-height: 18px;
overflow: auto;
-moz-box-shadow: 0px 1px 15px #555;
-webkit-box-shadow: 0px 1px 15px #555;
box-shadow: 0px 1px 15px #555; }
.profiler-results .profiler-popup .profiler-info {
margin-bottom: 3px;
Expand Down
12 changes: 1 addition & 11 deletions lib/html/includes.scss
@@ -1,6 +1,4 @@
@mixin box-shadow($dx, $dy, $radius, $color) {
-moz-box-shadow: $dx $dy $radius $color;
-webkit-box-shadow: $dx $dy $radius $color;
box-shadow: $dx $dy $radius $color;
}

Expand Down Expand Up @@ -58,7 +56,7 @@ $zindex: 2147483640; // near 32bit max 2147483647
}
.custom-fields-title {
color: $textColor;
font: $normalFonts;
font-family: $normalFonts;
font-size: 14px;
}
.ta-left { text-align: left; }
Expand Down Expand Up @@ -328,8 +326,6 @@ $zindex: 2147483640; // near 32bit max 2147483647
&.profiler-no-controls .profiler-totals,
&.profiler-no-controls .profiler-result:last-child .profiler-button,
.profiler-controls {
-webkit-border-bottom-right-radius: $radius;
-moz-border-radius-bottomright: $radius;
border-bottom-right-radius: $radius;
}

Expand All @@ -345,8 +341,6 @@ $zindex: 2147483640; // near 32bit max 2147483647
&.profiler-no-controls .profiler-totals,
&.profiler-no-controls .profiler-result:last-child .profiler-button,
.profiler-controls {
-webkit-border-bottom-left-radius: $radius;
-moz-border-radius-bottomleft: $radius;
border-bottom-left-radius: $radius;
}

Expand All @@ -366,8 +360,6 @@ $zindex: 2147483640; // near 32bit max 2147483647
&.profiler-no-controls .profiler-totals,
&.profiler-no-controls .profiler-result:first-child .profiler-button,
.profiler-controls {
-webkit-border-top-right-radius: $radius;
-moz-border-radius-topright: $radius;
border-top-right-radius: $radius;
}

Expand All @@ -383,8 +375,6 @@ $zindex: 2147483640; // near 32bit max 2147483647
&.profiler-no-controls .profiler-totals,
&.profiler-no-controls .profiler-result:first-child .profiler-button,
.profiler-controls {
-webkit-border-bottom-top-radius: $radius;
-moz-border-radius-topleft: $radius;
border-top-left-radius: $radius;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/mini_profiler/asset_version.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
module Rack
class MiniProfiler
ASSET_VERSION = 'ec6d5541ecbc11a48798626c16a61342'
ASSET_VERSION = '35a79b300ab5afa978cb59af0b05e059'
end
end

0 comments on commit 4e6d463

Please sign in to comment.