5
5
notification- drawer- wrapper {
6
6
.drawer-pf {
7
7
height : calc (100vh ~ " -" (@navbar-os-header-height-mobile + @project-bar-height-mobile ));
8
+ opacity : 1 ;
8
9
position : fixed ;
10
+ right : 0 ;
9
11
top : (@navbar-os-header-height-mobile + @project-bar-height-mobile );
12
+ transition : top 150ms ease-in-out , opacity 150ms ;
10
13
z-index : @zindex-navbar-fixed - 2 ; // two less than navbar, one less than project-bar
11
14
@media (max-width : 350px ) {
12
15
left : 0 ;
@@ -22,6 +25,14 @@ notification-drawer-wrapper {
22
25
left : 270px ;
23
26
}
24
27
}
28
+ & .hide {
29
+ opacity : 0 ;
30
+ top : 38px ;
31
+ }
32
+ & .hide-add ,
33
+ & .hide-remove {
34
+ display : block !important ;
35
+ }
25
36
.tech-preview & {
26
37
height : calc (100vh ~ " -" (@navbar-os-header-height-mobile + @project-bar-height-mobile + @tech-preview-banner-height ));
27
38
top : (@navbar-os-header-height-mobile + @project-bar-height-mobile + @tech-preview-banner-height );
@@ -31,6 +42,9 @@ notification-drawer-wrapper {
31
42
}
32
43
}
33
44
}
45
+ .drawer-pf-close , .drawer-pf-toggle-expand {
46
+ padding : 2px 10px ;
47
+ }
34
48
// the whole block is clickable, need to set pointer on all of these
35
49
// for the correct visual
36
50
.drawer-pf-notification ,
@@ -48,34 +62,69 @@ notification-drawer-wrapper {
48
62
}
49
63
}
50
64
}
65
+ .drawer-pf-notification-info {
66
+ font-size : @font-size-small ;
67
+ }
51
68
.drawer-pf-notification-inner {
52
69
padding : 15px ;
53
70
.pficon-close {
54
- color : @color-pf-black ;
71
+ color : @color-pf-black-400 ;
72
+ & :hover ,& :focus ,& :active {
73
+ color : @color-pf-black-700 ;
74
+ }
55
75
}
56
76
}
57
- .expanded-notification .drawer-pf-notification-message {
58
- max-width : 35% ; // keeps flex in check in case of a really long message
77
+ .drawer-pf-title h3 {
78
+ font-size : @font-size-base - 1 ;
79
+ }
80
+ .expanded-notification {
81
+ .drawer-pf-notification-info {
82
+ .text-muted ;
83
+ }
84
+ .drawer-pf-notification-message-expanded {
85
+ font-size : @font-size-base - 1 ;
86
+ padding : 10px 10px 10px 42px ;
87
+ .text-muted ;
88
+ }
89
+ & .unread {
90
+ .drawer-pf-notification-info {
91
+ color : inherit ;
92
+ }
93
+ .drawer-pf-notification-message-expanded {
94
+ color : inherit ;
95
+ font-weight : normal ;
96
+ .word-break ();
97
+ }
98
+ }
59
99
}
60
100
}
61
101
62
102
.panel-heading {
63
103
.panel-title {
104
+ color : @color-pf-black-700 ;
105
+ font-size : @font-size-h4 ;
106
+ font-weight : bold ;
107
+ line-height : normal ;
64
108
// TODO: hack to eliminate side-to-side wobble
65
109
// There is a hard-coded <h4> that wraps the header:
66
110
// - https://github.com/patternfly/angular-patternfly/issues/539
67
111
// I'm putting quite a bit of markup inside the header,
68
112
// need to tinker to eliminate this rule.
69
- overflow : hidden ;
113
+ overflow :hidden ;
70
114
.container-fluid {
71
115
margin-left : 0 ;
72
116
margin-right : 0 ;
73
117
padding-left : 0 ;
74
118
padding-right : 0 ;
75
119
}
76
- }
77
- .small {
78
- .small ();
79
- color : @color-pf-black ;
120
+ .panel-counter {
121
+ font-size : @font-size-small ;
122
+ font-weight : normal ;
123
+ padding : 0 ;
124
+ a {
125
+ display : inline-block ;
126
+ font-style : normal ;
127
+ }
128
+ }
80
129
}
81
130
}
0 commit comments