Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Commit 577ba4c

Browse files
committed
Release: 4.0.0
1 parent 2ec36ba commit 577ba4c

File tree

8 files changed

+90
-40
lines changed

8 files changed

+90
-40
lines changed

Gruntfile.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ module.exports = function (grunt) {
2222
command: './node_modules/.bin/gulp build'
2323
},
2424
gulp_dev: {
25-
command: './node_modules/.bin/gulp'
25+
command: './node_modules/.bin/gulp',
26+
options: {
27+
execOptions: {
28+
maxBuffer: Infinity
29+
}
30+
}
2631
}
2732
},
2833
aws_s3: {

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"name": "auth0-styleguide",
3-
"version": "3.8.4"
3+
"version": "4.0.0"
44
}

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "auth0-styleguide",
3-
"version": "3.8.4",
3+
"version": "4.0.0",
44
"dependencies": {},
55
"fonts": [
66
"lib/budicon/fonts/*",

landing/styles/main.styl

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -280,18 +280,19 @@
280280
.btn
281281
margin-right: 30px;
282282

283-
span
284-
height: 4px;
285-
background: $color-red;
286-
display: inline-block;
287-
width: 47px;
288-
margin-right: 2px;
289-
&.blue
290-
background-color: $color-blue;
291-
&.blue-light
292-
background-color: $color-blue-light;
293-
&.gray
294-
background-color: $color-gray
283+
.lines
284+
span
285+
height: 4px;
286+
background: $color-red;
287+
display: inline-block;
288+
width: 47px;
289+
margin-right: 2px;
290+
&.blue
291+
background-color: $color-blue;
292+
&.blue-light
293+
background-color: $color-blue-light;
294+
&.gray
295+
background-color: $color-gray
295296

296297
// typography table box black
297298
.theme-dark

landing/templates/splash.jade

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@
22

33
.splash.theme-dark
44
.splash-intro
5-
span.red
6-
span.blue
7-
span.blue-light
8-
span.gray
9-
5+
.lines
6+
span.red
7+
span.blue
8+
span.blue-light
9+
span.gray
10+
1011
h1 Styleguide
1112
p Conjunction of design patterns, components and resources used across our products.
1213

13-
a(href="").btn.btn-success.btn-lg Fork from github
14-
a(href="").btn.btn-default.btn-lg Download Sketch
14+
a(href="").btn.btn-success.btn-lg
15+
span.btn-icon.icon-budicon-493
16+
| Fork from github
17+
a(href="").btn.btn-default.btn-lg
18+
span.btn-icon.icon-budicon-493
19+
| Download Sketch

lib/buttons/demo.jade

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
.row
1+
.row.bg-color-dark
22
.col-sm-3
33
p
44
.btn Default
5-
p
6-
.btn.btn-xs Default
5+
//- p
6+
//- .btn.btn-xs Default
77
p
88
.btn.btn-sm Default
99
p
@@ -16,57 +16,67 @@
1616
.col-sm-3
1717
p
1818
.btn.btn-success Success
19-
p
20-
.btn.btn-success.btn-xs Success
19+
//- p
20+
//- .btn.btn-success.btn-xs Success
2121
p
2222
.btn.btn-success.btn-sm Success
2323
p
2424
.btn.btn-success.btn-md Success
2525
p
2626
.btn.btn-success.btn-lg Success
2727
p
28-
.btn.btn-success.icon-budicon-493 Success with icon
28+
.btn.btn-success
29+
span.btn-icon.icon-budicon-120
30+
| Success with icon
2931

3032
.col-sm-3
3133
p
3234
.btn.btn-primary Primary
33-
p
34-
.btn.btn-primary.btn-xs Primary
35+
//- p
36+
//- .btn.btn-primary.btn-xs Primary
3537
p
3638
.btn.btn-primary.btn-sm Primary
3739
p
3840
.btn.btn-primary.btn-md Primary
3941
p
4042
.btn.btn-primary.btn-lg Primary
4143
p
42-
.btn.btn-primary.icon-budicon-493 Primary with icon
44+
.btn.btn-primary
45+
span.btn-icon.icon-budicon-120
46+
| Primary with icon
4347

4448
.col-sm-3
4549
p
4650
.btn.btn-warning Warning
47-
p
48-
.btn.btn-warning.btn-xs Warning
51+
//- p
52+
//- .btn.btn-warning.btn-xs Warning
4953
p
5054
.btn.btn-warning.btn-sm Warning
5155
p
5256
.btn.btn-warning.btn-md Warning
5357
p
5458
.btn.btn-warning.btn-lg Warning
5559
p
56-
.btn.btn-warning.icon-budicon-493 Warning with icon
60+
.btn.btn-warning
61+
span.btn-icon.icon-budicon-493
62+
| Warning with icon
5763

5864

59-
.row
65+
.row.bg-color-dark
6066
.col-sm-3
6167
p
6268
.btn.btn-danger Warning
63-
p
64-
.btn.btn-danger.btn-xs Warning
69+
//- p
70+
//- .btn.btn-danger.btn-xs Warning
6571
p
6672
.btn.btn-danger.btn-sm Warning
6773
p
6874
.btn.btn-danger.btn-md Warning
6975
p
70-
.btn.btn-danger.btn-lg Warning
76+
.btn.btn-danger.btn-lg
77+
span.btn-icon.icon-budicon-493
78+
| Warning
7179
p
72-
.btn.btn-danger.icon-budicon-493 Warning with icon
80+
.btn.btn-danger
81+
span.btn-icon.icon-budicon-493
82+
| Warning with icon

lib/buttons/index.styl

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,3 +239,32 @@ fieldset[disabled] .btn,
239239
.glyphs.css-mapping input{margin:0;margin-top:5px;padding:8px;line-height:16px;font-size:16px;display:block;width:100px;height:40px;border:1px solid #d8e0e5;-webkit-border-radius:5px;border-radius:5px;background:#fff;outline:0;float:right;}
240240
.glyphs.css-mapping input:focus{border:1px solid #fbde4a;-webkit-box-shadow:inset 0 0 3px #fbde4a;box-shadow:inset 0 0 3px #fbde4a}
241241
.glyphs.css-mapping input:hover{-webkit-box-shadow:inset 0 0 3px #fbde4a;box-shadow:inset 0 0 3px #fbde4a}
242+
243+
244+
245+
.btn
246+
overflow: hidden;
247+
position: relative;
248+
span.btn-icon
249+
margin-right: 46px;
250+
display: inline-block
251+
&::before
252+
border-right: 1px solid rgba(255,255,255,.1);
253+
display: inline-block
254+
position: absolute;
255+
width: 20px;
256+
top: 0;
257+
padding-right: 29px;
258+
line-height: 40px;
259+
260+
&.btn-default
261+
span
262+
&::before
263+
border-right: 1px solid rgba(0,0,0,.1);
264+
265+
&.btn-lg
266+
span.btn-icon
267+
&::before
268+
line-height: 51px;
269+
width: 10px;
270+
margin-left: -10px;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "auth0-styleguide",
3-
"version": "3.8.4",
3+
"version": "4.0.0",
44
"engines": {
55
"node": "0.10.x"
66
},

0 commit comments

Comments
 (0)