]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/common.css.scss
Limit button width
[rails.git] / app / assets / stylesheets / common.css.scss
index 8456c4b2fcc40c3bf99522dcccbf0c98eff01772..cd00f7eabfce7b25741c41112815046293390732 100644 (file)
@@ -132,7 +132,7 @@ h6:first-child {
 
 .column-1 {
   width: 50%;
-  margin-bottom: $lineheight/2;
+  margin: 0 0 $lineheight/2 0;
 }
 
 .small_icon {
@@ -362,6 +362,7 @@ table {
     padding: 0;
     width: 15px;
     height: 15px;
+    min-width: 0;
     text-indent: -1000px;
     overflow: hidden;
     background: image-url("sprite.png") 0 0 no-repeat;
@@ -1301,8 +1302,8 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
 }
 
 .content_map.settings_map {
-  float: none;
   width: 50%;
+  float: none;
 }
 
 /* Rules for message in/out box page */
@@ -1451,7 +1452,11 @@ input[type="url"],
 input[type="password"],
 textarea {
   border: 1px solid #ccc;
-  padding: 2px;
+  padding: 2px 5px;
+}
+
+textarea {
+  padding: 5px;
 }
 
 /* Rules for user images */
@@ -1575,15 +1580,20 @@ a.button.submit {
     margin-bottom:0;
     width:50%;
     min-width: 0;
+    max-width: 150px;
+    margin-left: 2px;
+    margin-right: 2px;
   }
   input:first-child,
   .button:first-child {
     border-radius:2px 0 0 2px;
     border-right:1px solid white;
+    margin-left: 0px;
   }
   input:last-child,
-  .button:first-child {
+  .button:last-child {
     border-radius:0 2px 2px 0;
+    margin-right: 0px;
   }
 }