File tree 6 files changed +44
-6
lines changed
ui/packages/consul-ui/app
6 files changed +44
-6
lines changed Original file line number Diff line number Diff line change
1
+ {{ yield }}
Original file line number Diff line number Diff line change
1
+ import Component from '@ember/component' ;
2
+
3
+ export default Component . extend ( {
4
+ tagName : '' ,
5
+ } ) ;
Original file line number Diff line number Diff line change
1
+ <div
2
+ class =" notice {{ @type }} "
3
+ ...attributes
4
+ >
5
+ {{ yield (hash
6
+ Header = (component ' anonymous' tagName =" header" )
7
+ Body = (component ' anonymous' )
8
+ )}}
9
+ </div >
Original file line number Diff line number Diff line change 1
1
%notice {
2
2
position : relative ;
3
- padding : 1em ;
3
+ padding : 0.8rem ;
4
+ }
5
+ %notice header {
6
+ margin-bottom : 0.1rem ;
7
+ }
8
+ %notice header > * {
9
+ margin-bottom : 0 ;
10
+ }
11
+ %notice p {
12
+ margin-bottom : 0.3rem ;
13
+ line-height : 1.4 ;
4
14
}
5
15
/* this is probably skin */
6
16
%notice {
7
- padding-left : calc (1 em + 32 px );
17
+ padding-left : calc (0.8 rem + 1.4 rem );
8
18
}
9
19
%notice ::before {
10
20
position : absolute ;
11
- left : 16px ;
12
- top : 16px ;
21
+ top : 0.8rem ;
22
+ left : 0.6rem ;
23
+ font-size : 1rem ;
13
24
}
Original file line number Diff line number Diff line change 1
1
%notice {
2
2
border-radius : $decor-radius-100 ;
3
- border-width : 1px ;
3
+ border : 1px solid ;
4
+ }
5
+ %notice p :last-child a :only-child {
6
+ @extend %p3 ;
7
+ font-weight : $typo-weight-bold ;
4
8
}
5
9
%notice-success ,
6
10
%notice-info ,
16
20
@extend %frame-green-500 ;
17
21
}
18
22
%notice-info {
19
- @extend %frame-blue-500 ;
23
+ border-color : $blue-100 ;
24
+ background-color : $gray-010 ;
25
+ color : $black ;
26
+ }
27
+ %notice-info header * {
28
+ color : $blue-700 ;
20
29
}
21
30
%notice-highlight {
22
31
@extend %frame-gray-800 ;
Original file line number Diff line number Diff line change 32
32
.notice.policy-management {
33
33
@extend %notice-highlight ;
34
34
}
35
+ .notice.crd ::before {
36
+ @extend %with-logo-kubernetes-color-icon ;
37
+ }
You can’t perform that action at this time.
0 commit comments