فهرست منبع

styled buttons

Serghey Rodin 12 سال پیش
والد
کامیت
2ae41a0172
2فایلهای تغییر یافته به همراه15 افزوده شده و 17 حذف شده
  1. 4 4
      web/css/jquery-custom-dialogs.css
  2. 11 13
      web/css/main.css

+ 4 - 4
web/css/jquery-custom-dialogs.css

@@ -58,7 +58,7 @@
 .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; }
 .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; }
 .ui-widget-content { border: 1px solid #aaaaaa; color: #222222; }
 .ui-widget-content { border: 1px solid #aaaaaa; color: #222222; }
 .ui-widget-content a { color: #222222; }
 .ui-widget-content a { color: #222222; }
-.ui-widget-header { background: #505050; color: #fff; font-size: 10pt; font-weight: bold;}
+.ui-widget-header { background: #505050; color: #444; font-size: 10pt; font-weight: bold;}
 .ui-widget-header a { color: #222222; }
 .ui-widget-header a { color: #222222; }
 
 
 /* Interaction Cues
 /* Interaction Cues
@@ -376,9 +376,9 @@
  * http://docs.jquery.com/UI/Button#theming
  * http://docs.jquery.com/UI/Button#theming
  */
  */
 .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .10pt; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
 .ui-button { display: inline-block; position: relative; padding: 0; margin-right: .10pt; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
-.ui-button { filter:chroma(color=#000000); cursor: pointer; color: #555; background-color: #fafafa; border: 1px solid #d3d3d3; border-radius: 3px 3px 3px 3px; font-weight: bold; font-size: 14px; padding: 2px 16px; width: 108px; height: 34px; }
-.ui-button:hover { border: 1px solid #f79b44; }
-.ui-button:active { background-color: #f79b44; color: #fff; }
+.ui-button { filter:chroma(color=#000000); cursor: pointer; color: #555; background-color: #ececec; border: 1px solid #e0e0e0; border-radius: 3px 3px 3px 3px; font-weight: bold; font-size: 14px; padding: 2px 16px; width: 108px; height: 34px; }
+.ui-button:hover { border: 1px solid #f79b44; background-color: #f79b44; color: #fff;}
+.ui-button:active { background-color: #999; color: #fff; border: 1px solid #999; }
 .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
 .ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
 button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
 button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
 .ui-button-icons-only { width: 3.4em; } 
 .ui-button-icons-only { width: 3.4em; } 

+ 11 - 13
web/css/main.css

@@ -247,11 +247,8 @@ form {
 
 
 .submenu-button-main:hover {
 .submenu-button-main:hover {
     color: #fff;
     color: #fff;
-    border: 1px solid #f79b44;
-    background-color: #f79b44;
-    color: #fff;
-    border: 1px solid #87a1c2;
-    background-color: #87a1c2;
+    border: 1px solid #999;
+    background-color: #999;
 }
 }
 
 
 .submenu-button:hover {
 .submenu-button:hover {
@@ -262,7 +259,6 @@ form {
     color: #555;
     color: #555;
     background-color: #ececec;
     background-color: #ececec;
     border: 1px solid #e0e0e0;
     border: 1px solid #e0e0e0;
-
 }
 }
 
 
 .submenu-button:active {
 .submenu-button:active {
@@ -743,25 +739,27 @@ form {
 .button {
 .button {
     filter:chroma(color=#000000);
     filter:chroma(color=#000000);
     cursor: pointer;
     cursor: pointer;
-    color: #505050;
-    background-color: #fafafa;
-    border: 1px solid #c0c0c0;
     border-radius: 3px 3px 3px 3px;
     border-radius: 3px 3px 3px 3px;
     font-size: 14px;
     font-size: 14px;
     font-weight: bold;
     font-weight: bold;
     padding: 2px 16px;
     padding: 2px 16px;
     width: 108px;
     width: 108px;
     height: 34px;
     height: 34px;
+    color: #fff;
+    border: 1px solid #f79b44;
+    background-color: #f79b44;
 }
 }
 
 
 .button:hover {
 .button:hover {
-    border: 1px solid #f79b44;
+    color: #fff;
+    border: 1px solid #999;
+    background-color: #999;
 }
 }
 
 
 .button:active {
 .button:active {
-    color: #fff;
-    border: 1px solid #f79b44;
-    background-color: #f79b44;
+    color: #555;
+    background-color: #ececec;
+    border: 1px solid #e0e0e0;
 }
 }
 
 
 .genpass {
 .genpass {