OSDN Git Service

UI mars theme updated. search field improved
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Wed, 29 Feb 2012 21:21:23 +0000 (23:21 +0200)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Wed, 29 Feb 2012 21:21:23 +0000 (23:21 +0200)
app/assets/stylesheets/ui_mars.scss

index 292b426..b2230f5 100644 (file)
     height:60px;
 
     .search-input { 
-      background:#474D57;
-      border-color:#888;
+      background-image:url("icon-search.png");
+      float: right;
+      text-shadow: none;
+      width: 116px;
+      background-image: url("icon-search.png");
+      background-repeat: no-repeat;
+      background-position: 10px;
+      border-radius: 100px;
+      border: 1px solid rgba(0, 0, 0, 0.7);
+      box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 2px rgba(0, 0, 0, 0.4) inset;
+      background-color: #D2D5DA;
+      background-color: rgba(255, 255, 255, 0.5);
+      padding: 5px;
+      padding-left: 26px;
+      margin-right: 50px;
+
+      &:focus {
+        background-color: white;
+        width: 166px;
+      }
+    }
+    .search-input::-webkit-input-placeholder {
+      color: #666;
     }
     .app_logo {
       width:230px;