This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Commit e72fd89 Marcy Sutton
committed
1 parent 61245b7 commit e72fd89 Copy full SHA for e72fd89
File tree 14 files changed +190
-157
lines changed
14 files changed +190
-157
lines changed Original file line number Diff line number Diff line change 4
4
overflow : hidden;
5
5
max-width : 100% ;
6
6
max-height : 100% ;
7
- font-size : 16px ;
8
7
}
9
-
10
- a {
11
- color : # 3f51b5 ;
12
- text-decoration : none;
13
- }
14
- a : hover , a : focus {
15
- text-decoration : underline;
16
- }
17
-
18
8
table {
19
9
margin-bottom : 20px ;
20
10
max-width : 100% ;
37
27
background-color : # f5f5f5 ;
38
28
}
39
29
40
- ul {
41
- margin : 0 ;
42
- padding : 0 ;
43
- }
44
- ul li {
45
- margin-left : 16px ;
46
- padding : 0 ;
47
- margin-top : 3px ;
48
- list-style-position : inside;
49
- }
50
- ul li : first-child {
51
- margin-top : 0 ;
52
- }
53
-
54
30
ul .skip-links li {
55
31
list-style : none;
56
32
margin : 0 ;
@@ -238,10 +214,13 @@ code:not(.highlight) {
238
214
}
239
215
/* End Docs Menu */
240
216
241
- .docs-logotype {
242
- line-height : 40px ;
243
- text-indent : 15px ;
217
+ .docs-logo : focus {
218
+ outline : none;
244
219
}
220
+ .docs-logotype {
221
+ line-height : 40px ;
222
+ text-indent : 15px ;
223
+ }
245
224
.docs-menu-icon {
246
225
background : none;
247
226
border : none;
@@ -264,7 +243,10 @@ code:not(.highlight) {
264
243
display : none;
265
244
}
266
245
}
267
-
246
+ [role = main ]: focus ,
247
+ .docs-toolbar-tools : focus {
248
+ outline : none;
249
+ }
268
250
docs-demo {
269
251
display : block;
270
252
margin-top : 16px ;
@@ -480,7 +462,6 @@ code.api-type {
480
462
}
481
463
482
464
.layout-title {
483
- color : # 999999 ;
484
465
font-size : 14px ;
485
466
font-weight : bold;
486
467
text-transform : uppercase;
@@ -539,5 +520,5 @@ md-content.demo-source-container > hljs > pre > code.highlight {
539
520
}
540
521
541
522
.api-section h3 {
542
- padding-top : 20px ;
523
+ padding-top : 20px ;
543
524
}
Original file line number Diff line number Diff line change 22
22
23
23
< md-toolbar >
24
24
< h1 class ="md-toolbar-tools ">
25
- < a ng-href ="/ " layout ="row " flex >
25
+ < a ng-href ="/ " layout ="row " flex class =" docs-logo " >
26
26
< svg version ="1.1 " xmlns ="http://www.w3.org/2000/svg " xmlns:xlink ="http://www.w3.org/1999/xlink " x ="0px " y ="0px " viewBox ="0 0 100 100 " enable-background ="new 0 0 100 100 " xml:space ="preserve " style ="
27
27
width: 40px; height: 40px; ">
28
28
< path d ="M 50 0 L 100 14 L 92 80 L 50 100 L 8 80 L 0 14 Z " fill ="#b2b2b2 "> </ path >
@@ -65,7 +65,7 @@ <h2 class="menu-heading" ng-if="section.type === 'heading'" id="heading_{{ secti
65
65
< div layout ="column " tabIndex ="-1 " role ="main " flex >
66
66
< md-toolbar >
67
67
68
- < div class ="md-toolbar-tools " ng-click ="openMenu() ">
68
+ < div class ="md-toolbar-tools docs-toolbar-tools " ng-click ="openMenu() " tabIndex =" -1 ">
69
69
< button class ="docs-menu-icon " hide-gt-sm aria-label ="Toggle Menu ">
70
70
< md-icon md-svg-src ="img/icons/ic_menu_24px.svg "> </ md-icon >
71
71
</ button >
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ var config = {
66
66
'src/core/style/variables.scss' ,
67
67
'src/core/style/mixins.scss' ,
68
68
'src/core/style/structure.scss' ,
69
+ 'src/core/style/typography.scss' ,
69
70
'src/core/style/layout.scss'
70
71
] ,
71
72
scssStandaloneFiles : [
Original file line number Diff line number Diff line change @@ -2,13 +2,20 @@ $checkbox-width: 18px !default;
2
2
$checkbox-height : $checkbox-width !default ;
3
3
4
4
md-checkbox {
5
+ box-sizing : border-box ;
5
6
display : block ;
6
7
margin : 15px ;
7
8
white-space : nowrap ;
8
9
cursor : pointer ;
9
10
outline : none ;
10
11
user-select : none ;
11
12
13
+ * ,
14
+ * :before ,
15
+ * :after {
16
+ box-sizing : border-box ;
17
+ }
18
+
12
19
.md-container {
13
20
position : relative ;
14
21
top : 4px ;
Original file line number Diff line number Diff line change 1
1
md-grid-list {
2
+ box-sizing : border-box ;
2
3
display : block ;
3
4
position : relative ;
4
5
6
+ * ,
7
+ * :before ,
8
+ * :after {
9
+ box-sizing : border-box ;
10
+ }
11
+
5
12
md-grid-tile {
6
13
display : block ;
7
14
position : absolute ;
Original file line number Diff line number Diff line change 3
3
padding : 25px ;
4
4
width : 100% ;
5
5
}
6
+ .appDemoFontIcons ,
7
+ .appDemoFontIcons * : before ,
8
+ .appDemoFontIcons * : after {
9
+ box-sizing : border-box;
10
+ }
6
11
7
12
/* Bootstrap Overrides */
8
13
[class ^= "icon-" ]: before ,
Original file line number Diff line number Diff line change @@ -3,11 +3,18 @@ $radio-height: $radio-width !default;
3
3
4
4
md-radio-button ,
5
5
.md-switch-thumb { // Used in switch
6
+ box-sizing : border-box ;
6
7
display : block ;
7
8
margin : 15px ;
8
9
white-space : nowrap ;
9
10
cursor : pointer ;
10
11
12
+ * ,
13
+ * :before ,
14
+ * :after {
15
+ box-sizing : border-box ;
16
+ }
17
+
11
18
input {
12
19
display : none ;
13
20
}
@@ -23,7 +30,7 @@ md-radio-button,
23
30
.md-ripple-container {
24
31
position : absolute ;
25
32
display : block ;
26
- width : $radio-width * 3 ;
33
+ width : $radio-width * 3 ;
27
34
height : $radio-width * 3 ;
28
35
left : - $radio-width ;
29
36
top : - $radio-width ;
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ $sidenav-default-width: 304px !default;
2
2
$sidenav-min-space : 56px !default ;
3
3
4
4
md-sidenav {
5
+ box-sizing : border-box ;
5
6
position : absolute ;
6
7
7
8
width : $sidenav-default-width ;
@@ -13,6 +14,20 @@ md-sidenav {
13
14
overflow : auto ;
14
15
flex-direction : column ;
15
16
17
+ * ,
18
+ * :before ,
19
+ * :after {
20
+ box-sizing : border-box ;
21
+ }
22
+
23
+ ul {
24
+ list-style : none ;
25
+ }
26
+
27
+ & :focus {
28
+ outline : none ;
29
+ }
30
+
16
31
& .md-closed {
17
32
display : none ;
18
33
}
Original file line number Diff line number Diff line change @@ -4,10 +4,17 @@ $tabs-tab-width: $baseline-grid * 12 !default;
4
4
$tabs-header-height : 48px !default ;
5
5
6
6
md-tabs {
7
+ box-sizing : border-box ;
7
8
display : block ;
8
9
width : 100% ;
9
10
font-weight : 500 ;
10
11
overflow : auto ;
12
+
13
+ * ,
14
+ * :before ,
15
+ * :after {
16
+ box-sizing : border-box ;
17
+ }
11
18
}
12
19
13
20
.md-header {
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ $toolbar-indent-margin: 64px !default;
6
6
$toolbar-padding : 16px !default ;
7
7
8
8
md-toolbar {
9
+ box-sizing : border-box ;
9
10
display : flex ;
10
11
flex-direction : column ;
11
12
@@ -18,6 +19,12 @@ md-toolbar {
18
19
19
20
box-shadow : $whiteframe-shadow-z1 ;
20
21
22
+ * ,
23
+ * :before ,
24
+ * :after {
25
+ box-sizing : border-box ;
26
+ }
27
+
21
28
& .md-tall {
22
29
height : $toolbar-tall-height ;
23
30
min-height : $toolbar-tall-height ;
Original file line number Diff line number Diff line change 11
11
12
12
[layout ] {
13
13
box-sizing : border-box ;
14
+ display : -webkit-box ;
15
+ display : -webkit-flex ;
16
+ display : -moz-box ;
17
+ display : -moz-flex ;
18
+ display : -ms-flexbox ;
14
19
display : flex ;
15
20
}
16
21
40
45
min-height : 100% ;
41
46
width : 100% ;
42
47
}
43
- @-moz-document url-prefix() {
48
+ @-moz-document url-prefix() {
44
49
[layout-fill ] {
45
50
margin : 0 ;
46
51
width : 100% ;
69
74
@mixin layout-for-name ($name ) {
70
75
[layout-#{$name } ] {
71
76
box-sizing : border-box ;
77
+ display : -webkit-box ;
78
+ display : -webkit-flex ;
79
+ display : -moz-box ;
80
+ display : -moz-flex ;
81
+ display : -ms-flexbox ;
72
82
display : flex ;
73
83
}
74
84
[layout-#{$name } = column ] {
86
96
}
87
97
88
98
[#{$flexName } ] {
99
+ box-sizing : border-box ;
89
100
flex : 1 ;
90
101
}
91
102
Original file line number Diff line number Diff line change 17
17
color : $color ;
18
18
}
19
19
}
20
+ @function map-to-string ($map ) {
21
+ $map-str : ' {' ;
22
+ $keys : map-keys ($map );
23
+ $len : length ($keys );
24
+ @for $i from 1 through $len {
25
+ $key : nth ($keys , $i );
26
+ $value : map-get ($map , $key );
27
+ $map-str : $map-str + ' _' + $key + ' _: _' + map-get ($map , $key ) + ' _' ;
28
+ @if $i != $len {
29
+ $map-str : $map-str + ' ,' ;
30
+ }
31
+ }
32
+ @return $map-str + ' }' ;
33
+ }
You can’t perform that action at this time.
0 commit comments