forked from jquery-archive/css-chassis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuttons.js
107 lines (105 loc) · 1.89 KB
/
buttons.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
( function( root, factory ) {
if ( typeof define === "function" && define.amd ) {
define( [ "./chassis" ], factory );
} else if ( typeof exports === "object" ) {
module.exports = factory( require( "./chassis" ) );
} else {
root.chassis = factory( root.chassis );
}
}( this, function( chassis ) {
chassis.uiButton = {
"ui-btn": {
name: "Generic Button Styles",
value: {
"font-weight": 500,
"margin": ".25em",
"text-transform": "none"
}
},
"ui-btn-default": {
name: "Default Button",
value: {
"color": "#383838",
"background": "#ffffff"
}
},
"ui-btn-primary": {
name: "Primary Button",
value: {
"color": "#ffffff",
"background": "#337ab7"
}
},
"ui-btn-success": {
name: "Success Button",
value: {
"color": "#ffffff",
"background": "#5cb85c"
}
},
"ui-btn-info": {
name: "Info Button",
value: {
"color": "#ffffff",
"background": "#5bc0de"
}
},
"ui-btn-warning": {
name: "Warning Button",
value: {
"color": "#ffffff",
"background": "#f0ad4e"
}
},
"ui-btn-danger": {
name: "Danger Button",
value: {
"color": "#ffffff",
"background": "#d9534f"
}
},
"ui-btn-disabled": {
name: "Disabled Button",
value: {
"opacity": ".6"
}
},
"ui-btn-lg": {
name: "Large Button",
value: {
"border-radius": "2px",
"font-size": "16px",
"line-height": "16px",
"padding": ".75em 1.25em"
}
},
"ui-btn-md": {
name: "Medium Sized Button",
value: {
"border-radius": "2px",
"font-size": "14px",
"line-height": "14px",
"padding": ".5em 1em"
}
},
"ui-btn-sm": {
name: "Small Button",
value: {
"border-radius": "2px",
"font-size": "12px",
"line-height": "12px",
"padding": ".35em .75em"
}
},
"ui-btn-xs": {
name: "Extra Small Button",
value: {
"border-radius": "2px",
"font-size": "12px",
"line-height": "12px",
"padding": ".2em .35em"
}
}
};
return chassis;
} ) );