Permalink
Browse files

Fixed up weird style bugs

  • Loading branch information...
1 parent 2fe060c commit cfcfd5a58f00665f9ca261ab78507c773dd76581 @nakajima committed Jul 3, 2010
Showing with 19 additions and 7 deletions.
  1. +1 −1 app/views/layouts/bookmarklets.html.erb
  2. +18 −6 public/stylesheets/styles.css
@@ -11,7 +11,7 @@
<%= javascript_include_tag 'effects' %>
<%= javascript_include_tag 'application' %>
</head>
-<body>
+<body class="<%= controller.action_name %>">
<% if flash.has_key?(:notice) %>
<p class="flash" onclick="dismissFlash();"><%= flash[:notice] %></p>
@@ -18,9 +18,6 @@ a {
text-decoration: none;
padding: 3px 5px;
margin-left: -3px;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
}
a:hover {
@@ -116,6 +113,12 @@ textarea {
width: 50%;
}
+#new-link a {
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px;
+}
+
#source {
font-size: 14px;
padding: 1em;
@@ -130,19 +133,28 @@ textarea {
float: left;
}
-#the-list a {
+#the-list a, .show a {
display: inline-block;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
}
.about {
position: absolute;
top: 2px;
- right: -6px;
+ right: 0;
font-size: 12px;
- padding: 2px 12px 2px 6px;
+ padding: 2px 6px;
background: #000;
color: #fff;
line-height: 20px;
+ -webkit-border-top-left-radius: 3px;
+ -webkit-border-bottom-left-radius: 3px;
+ -moz-border-radius-topleft: 3px;
+ -moz-border-radius-bottomleft: 3px;
+ border-top-left-radius: 3px;
+ border-bottom-left-radius: 3px;
}
.about:hover {

0 comments on commit cfcfd5a

Please sign in to comment.