Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

'主题样式silver'

  • Loading branch information...
commit ccf060b703085727fa1838ecb198ce04bf29787f 1 parent e829893
@switer authored
Showing with 16 additions and 12 deletions.
  1. +8 −7 css/sdkui.css
  2. +5 −5 index.html
  3. +3 −0  input.html
View
15 css/sdkui.css
@@ -22,14 +22,12 @@
.sui-btn-nav {
display: -webkit-box;padding: 7px 15px;
border-bottom: 1px solid #ADADAD;border-top: 1px solid #ADADAD;
- background: -webkit-gradient(linear,0 0,0 100%,from(#E1E1E1),to(#C3C7CF));
}
.sui-btn-nav .sui-btn {
-webkit-box-flex:1;margin: 0;
- border-radius: 0;height: 31px;border: 1px solid #ADADAD;text-shadow: 1px 1px white;
- color: #333;background: -webkit-gradient(linear,0 0,0 100%,from(#F9F9F9),to(#B7B9BE));
-
+ border-radius: 0;height: 31px;border: 1px solid #ADADAD;
+ text-shadow: 1px 1px white;
}
/*面包屑 on*/
.sui-btn-nav .sui-btn.sui-on {text-shadow: 1px 1px black;color:white;background: -webkit-gradient(linear,0 0,0 100%,from(#434547),to(#8D8E8E));}
@@ -40,18 +38,21 @@
.sui-btn-nav .sui-btn.disabled {color:#AAA;}
/*theme*/
-.sui-btn.sui-btn-primary {
+.sui-btn-primary {
border: 1px solid rgba(0, 0, 0, 0.1);
color: #333;background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F8F8F8), color-stop(100%, #E2E2E2));
}
-.sui-btn.sui-btn-inverse {
+.sui-btn-inverse {
border: 1px solid rgba(0, 0, 0, 0.3);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #525252), color-stop(100%, #383838));
}
-.sui-btn.sui-btn-silver {
+.sui-btn-silver {
border: 1px solid #ADADAD;text-shadow: 1px 1px white;
color: #333;background: -webkit-gradient(linear,0 0,0 100%,from(#F9F9F9),to(#B7B9BE));
}
+.sui-nav-silver {
+ background: -webkit-gradient(linear,0 0,0 100%,from(#E1E1E1),to(#C3C7CF));
+}
/*Button style End*/
/*Input style begin*/
.sui-inp-cmp {
View
10 index.html
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Demo</title>
@@ -19,11 +20,10 @@
<input class="sui-btn sui-btn-primary" type="button" value="登录">
<input class="sui-btn" type="button" value="注册">
</div>
- <div class="sui-btn-nav">
- <input class="sui-btn" data-toggle="2000" type="button" value="导航1">
- <input class="sui-btn" type="button" value="导航2">
- <input class="sui-btn" type="button" value="导航3">
+ <div class="sui-btn-nav sui-nav-silver">
+ <input class="sui-btn sui-btn-silver" data-toggle="2000" type="button" value="导航1">
+ <input class="sui-btn sui-btn-silver" type="button" value="导航2">
+ <input class="sui-btn sui-btn-silver" type="button" value="导航3">
</div>
- <input class="sui-inp" type="text" placeholder="6-20位数字"/>
</body>
</html>
View
3  input.html
@@ -14,5 +14,8 @@
<div class="sui-inp-cmp">
<input class="sui-inp" type="text" placeholder="6-20位数字" />
</div>
+ <div class="sui-inp-cmp">
+ <input class="sui-inp" type="text" placeholder="6-20位数字" />
+ </div>
</body>
</html>
Please sign in to comment.
Something went wrong with that request. Please try again.