From dff0eef78737dc54eb227af2080e80ecdd3e3999 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 5 Mar 2017 19:51:01 +0000 Subject: [PATCH 1/1] Remove inline styles --- app/assets/stylesheets/common.scss | 30 +++++++++++++++++++++++++++++- app/views/layouts/map.html.erb | 2 +- app/views/layouts/site.html.erb | 2 +- app/views/oauth/authorize.html.erb | 2 +- app/views/site/export.html.erb | 2 +- app/views/trace/view.html.erb | 4 ++-- app/views/user/_terms.html.erb | 2 +- 7 files changed, 36 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index bb0e6f0d4..47e76fceb 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -148,6 +148,8 @@ small, aside { .red { color: $red; } +.piwik { border: 0; } + /* Rules for icons */ .icon { @@ -604,7 +606,7 @@ body.compact { display: block; } - #sidebar_content { + #sidebar_loader, #sidebar_content { display: none; } } @@ -1477,6 +1479,18 @@ tr.turn:hover { } } +/* Rules for the trace view */ + +.trace-view { + .trace_pending { + color: red; + } + + .geo { + display: inline; + } +} + /* Rules for the new trace form */ #new_trace { @@ -1709,6 +1723,14 @@ tr.turn:hover { margin-bottom: $lineheight; overflow: auto; height: 20em; + + li { + list-style: inherit; + } + + ol ol { + list-style-type: lower-alpha; + } } #decline { @@ -1767,6 +1789,12 @@ tr.turn:hover { border-radius: 0 2px 2px 0; } +/* Rules for the oauth authorization page */ + +.oauth-authorize ul { + list-style: none; +} + /* Rules for messages pages */ .messages { diff --git a/app/views/layouts/map.html.erb b/app/views/layouts/map.html.erb index 3f11edf59..9cd4f8a64 100644 --- a/app/views/layouts/map.html.erb +++ b/app/views/layouts/map.html.erb @@ -36,7 +36,7 @@
-