projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c8ed19
)
Show object icons in the margin on data browers pages
author
Leo Koppelkamm
<diebuche@gmail.com>
Sun, 5 May 2013 15:07:47 +0000
(17:07 +0200)
committer
Tom Hughes
<tom@compton.nu>
Sun, 5 May 2013 16:16:34 +0000
(17:16 +0100)
Avoids indenting the text which looks odd, especially for things
which don't have an icon.
app/assets/stylesheets/browse.css.scss
patch
|
blob
|
history
diff --git
a/app/assets/stylesheets/browse.css.scss
b/app/assets/stylesheets/browse.css.scss
index dd1bf30c23bd42d2494e0e42dde4c7811b1f5904..14ea3b289ae9e4313008c853ba43277434ff4786 100644
(file)
--- a/
app/assets/stylesheets/browse.css.scss
+++ b/
app/assets/stylesheets/browse.css.scss
@@
-1,6
+1,14
@@
-.node { padding-left: 25px; }
-.way { padding-left: 25px; }
-.relation { padding-left: 25px; }
+/* Make space for icons */
+
+.node, .way, .relation {
+ padding-left: 25px;
+
+ &:first-child {
+ margin-left: -25px;
+ }
+}
+
+/* Deleted objects */
.deleted { text-decoration: line-through; }