patternfly-sass 3.45.3 → 3.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/dist/img/bg-login-2.png +0 -0
- data/dist/img/bg-login.png +0 -0
- data/dist/img/rcue-full.svg +221 -0
- data/dist/img/rcue.svg +92 -0
- data/dist/img/redhat_reverse.png +0 -0
- data/dist/js/patternfly-settings-base.js +1 -1
- data/dist/js/patternfly-settings.js +1 -1
- data/dist/js/patternfly-settings.min.js +1 -1
- data/dist/js/patternfly.js +1 -1
- data/dist/js/patternfly.min.js +1 -1
- data/dist/sass/patternfly/_rcue-about-modal.scss +45 -0
- data/dist/sass/patternfly/_rcue-additions.scss +11 -0
- data/dist/sass/patternfly/_rcue-login.scss +75 -0
- data/dist/sass/patternfly/_rcue-variables.scss +57 -0
- data/dist/sass/patternfly/_rcue.scss +6 -0
- data/dist/sass/rcue/_about-modal.scss +44 -0
- data/dist/sass/rcue/_alerts.scss +44 -0
- data/dist/sass/rcue/_badges.scss +11 -0
- data/dist/sass/rcue/_blank-slate.scss +35 -0
- data/dist/sass/rcue/_bootstrap-combobox.scss +35 -0
- data/dist/sass/rcue/_bootstrap-datepicker.scss +132 -0
- data/dist/sass/rcue/_bootstrap-mixin-overrides.scss +33 -0
- data/dist/sass/rcue/_bootstrap-select.scss +108 -0
- data/dist/sass/rcue/_bootstrap-slider.scss +66 -0
- data/dist/sass/rcue/_bootstrap-switch.scss +19 -0
- data/dist/sass/rcue/_bootstrap-touchspin.scss +31 -0
- data/dist/sass/rcue/_bootstrap-treeview.scss +89 -0
- data/dist/sass/rcue/_breadcrumbs.scss +20 -0
- data/dist/sass/rcue/_buttons.scss +50 -0
- data/dist/sass/rcue/_card-view.scss +105 -0
- data/dist/sass/rcue/_cards.scss +238 -0
- data/dist/sass/rcue/_charts.scss +125 -0
- data/dist/sass/rcue/_close.scss +16 -0
- data/dist/sass/rcue/_color-variables.scss +85 -0
- data/dist/sass/rcue/_context-selector.scss +124 -0
- data/dist/sass/rcue/_datatables.scss +186 -0
- data/dist/sass/rcue/_dropdowns.scss +235 -0
- data/dist/sass/rcue/_experimental-features.scss +48 -0
- data/dist/sass/rcue/_filter.scss +38 -0
- data/dist/sass/rcue/_fonts.scss +124 -0
- data/dist/sass/rcue/_footer.scss +19 -0
- data/dist/sass/rcue/_forms.scss +192 -0
- data/dist/sass/rcue/_icons.scss +368 -0
- data/dist/sass/rcue/_infotip.scss +145 -0
- data/dist/sass/rcue/_labels.scss +17 -0
- data/dist/sass/rcue/_layouts.scss +140 -0
- data/dist/sass/rcue/_links.scss +5 -0
- data/dist/sass/rcue/_list-group.scss +18 -0
- data/dist/sass/rcue/_list-pf.scss +177 -0
- data/dist/sass/rcue/_list-view-dnd.scss +53 -0
- data/dist/sass/rcue/_list-view.scss +304 -0
- data/dist/sass/rcue/_login.scss +334 -0
- data/dist/sass/rcue/_mixins.scss +81 -0
- data/dist/sass/rcue/_modals.scss +38 -0
- data/dist/sass/rcue/_nav-vertical-alt.scss +168 -0
- data/dist/sass/rcue/_navbar-alt.scss +141 -0
- data/dist/sass/rcue/_navbar-vertical.scss +153 -0
- data/dist/sass/rcue/_navbar.scss +546 -0
- data/dist/sass/rcue/_notifications-drawer.scss +249 -0
- data/dist/sass/rcue/_pager.scss +68 -0
- data/dist/sass/rcue/_pagination.scss +121 -0
- data/dist/sass/rcue/_panels.scss +134 -0
- data/dist/sass/rcue/_patternfly-additions.scss +74 -0
- data/dist/sass/rcue/_patternfly.scss +31 -0
- data/dist/sass/rcue/_popovers.scss +38 -0
- data/dist/sass/rcue/_progress-bars.scss +121 -0
- data/dist/sass/rcue/_rcue-about-modal.scss +45 -0
- data/dist/sass/rcue/_rcue-login.scss +75 -0
- data/dist/sass/rcue/_rcue-variables.scss +57 -0
- data/dist/sass/rcue/_search.scss +64 -0
- data/dist/sass/rcue/_sidebar.scss +176 -0
- data/dist/sass/rcue/_skip-to-content.scss +12 -0
- data/dist/sass/rcue/_spinner.scss +72 -0
- data/dist/sass/rcue/_syntax-highlighting.scss +36 -0
- data/dist/sass/rcue/_table-view.scss +188 -0
- data/dist/sass/rcue/_tables.scss +90 -0
- data/dist/sass/rcue/_tabs.scss +118 -0
- data/dist/sass/rcue/_time-picker.scss +81 -0
- data/dist/sass/rcue/_toast.scss +75 -0
- data/dist/sass/rcue/_toolbar.scss +190 -0
- data/dist/sass/rcue/_tooltip.scss +15 -0
- data/dist/sass/rcue/_tree-list-view.scss +83 -0
- data/dist/sass/rcue/_type.scss +29 -0
- data/dist/sass/rcue/_variables.scss +580 -0
- data/dist/sass/rcue/_vertical-nav.scss +952 -0
- data/dist/sass/rcue/_wizard.scss +576 -0
- data/lib/patternfly-sass/version.rb +1 -1
- metadata +83 -2
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Patternfly Mixins
|
|
3
|
+
// --------------------------------------------------
|
|
4
|
+
// PatternFly-specific mixins
|
|
5
|
+
|
|
6
|
+
// Patternfly button variants.
|
|
7
|
+
@mixin button-variant($color, $background, $background-image-start, $background-image-stop, $border){
|
|
8
|
+
background-color: $background;
|
|
9
|
+
@include gradient-vertical($background-image-start, $background-image-stop);
|
|
10
|
+
border-color: $border;
|
|
11
|
+
color: $color;
|
|
12
|
+
|
|
13
|
+
&:hover,
|
|
14
|
+
&:focus,
|
|
15
|
+
&:active,
|
|
16
|
+
&.active,
|
|
17
|
+
.open .dropdown-toggle#{&} {
|
|
18
|
+
background-color: $background;
|
|
19
|
+
background-image: none;
|
|
20
|
+
border-color: $border;
|
|
21
|
+
color: $color;
|
|
22
|
+
}
|
|
23
|
+
&:active,
|
|
24
|
+
&.active,
|
|
25
|
+
.open .dropdown-toggle#{&} {
|
|
26
|
+
background-image: none;
|
|
27
|
+
&:hover,
|
|
28
|
+
&:focus,
|
|
29
|
+
&.focus {
|
|
30
|
+
background-color: darken($background, 5%);
|
|
31
|
+
border-color: darken($border, 7%);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
&.disabled,
|
|
35
|
+
&[disabled],
|
|
36
|
+
fieldset[disabled] & {
|
|
37
|
+
&,
|
|
38
|
+
&:hover,
|
|
39
|
+
&:focus,
|
|
40
|
+
&:active,
|
|
41
|
+
&.active {
|
|
42
|
+
background-color: $background;
|
|
43
|
+
border-color: $border;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// SASS CONVERSION FIX.
|
|
49
|
+
// Allows inclusion of sr-only rules in nested media queries where @extends .sr-only
|
|
50
|
+
// will not work.
|
|
51
|
+
@mixin sr-only-pf(){
|
|
52
|
+
position: absolute;
|
|
53
|
+
width: 1px;
|
|
54
|
+
height: 1px;
|
|
55
|
+
margin: -1px;
|
|
56
|
+
padding: 0;
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
clip: rect(0, 0, 0, 0);
|
|
59
|
+
border: 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@mixin tab-indicator($background: $gray-light-pf, $left: 15px, $right: 15px){
|
|
63
|
+
&:before {
|
|
64
|
+
background: $background;
|
|
65
|
+
bottom: -1px;
|
|
66
|
+
content: "";
|
|
67
|
+
display: block;
|
|
68
|
+
height: 2px;
|
|
69
|
+
left: $left;
|
|
70
|
+
position: absolute;
|
|
71
|
+
right: $right;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// Ellipse overflow text
|
|
76
|
+
.text-overflow-pf {
|
|
77
|
+
overflow: hidden;
|
|
78
|
+
text-overflow: ellipsis;
|
|
79
|
+
white-space: nowrap;
|
|
80
|
+
word-wrap: normal;
|
|
81
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Modals
|
|
3
|
+
// --------------------------------------------------
|
|
4
|
+
|
|
5
|
+
// Modal header
|
|
6
|
+
// Top section of the modal w/ title and dismiss
|
|
7
|
+
.modal-header {
|
|
8
|
+
background-color: $color-pf-black-150;
|
|
9
|
+
border-bottom: none;
|
|
10
|
+
padding: $modal-title-padding-vertical $modal-title-padding-horizontal;
|
|
11
|
+
}
|
|
12
|
+
// Close icon
|
|
13
|
+
.modal-header .close {
|
|
14
|
+
margin-top: 2px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Title text within header
|
|
18
|
+
.modal-title {
|
|
19
|
+
font-size: 13px;
|
|
20
|
+
font-weight: 700;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Footer (for actions)
|
|
24
|
+
.modal-footer {
|
|
25
|
+
border-top: none;
|
|
26
|
+
margin-top: 15px;
|
|
27
|
+
padding: ($modal-inner-padding - 1) $modal-inner-padding $modal-inner-padding;
|
|
28
|
+
> .btn {
|
|
29
|
+
padding-left: 10px;
|
|
30
|
+
padding-right: 10px;
|
|
31
|
+
> .fa-angle-left {
|
|
32
|
+
margin-right: 5px;
|
|
33
|
+
}
|
|
34
|
+
> .fa-angle-right {
|
|
35
|
+
margin-left: 5px;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Nav Vertical Alt
|
|
3
|
+
// --------------------------------------------------
|
|
4
|
+
|
|
5
|
+
.layout-pf-alt-fixed.transitions .nav-pf-vertical-alt {
|
|
6
|
+
transition: $flyout-transition-pf;
|
|
7
|
+
|
|
8
|
+
&.collapsed .list-group-item .list-group-item-value {
|
|
9
|
+
transition: opacity 0ms 100ms, opacity 100ms linear;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.list-group-item {
|
|
13
|
+
.badge {
|
|
14
|
+
transition: $flyout-transition-pf;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.list-group-item-value {
|
|
18
|
+
transition: opacity 500ms ease-out;
|
|
19
|
+
transition-delay: 150ms;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.nav-pf-vertical-alt {
|
|
25
|
+
background: $nav-pf-vertical-alt-bg-color;
|
|
26
|
+
|
|
27
|
+
.ie9.layout-pf-alt-fixed & {
|
|
28
|
+
box-sizing: content-box; // IE9 incorrectly sizes the width if using padding-box
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.layout-pf-alt-fixed & {
|
|
32
|
+
border-right: 1px solid $nav-pf-vertical-alt-border-color;
|
|
33
|
+
bottom: 0;
|
|
34
|
+
overflow-x: hidden;
|
|
35
|
+
overflow-y: auto;
|
|
36
|
+
left: 0;
|
|
37
|
+
position: fixed;
|
|
38
|
+
top: $navbar-pf-alt-height; // move out of way of navbar-pf-alt
|
|
39
|
+
width: $nav-pf-vertical-alt-width;
|
|
40
|
+
z-index: $zindex-navbar-fixed;
|
|
41
|
+
|
|
42
|
+
&.collapsed {
|
|
43
|
+
width: $nav-pf-vertical-alt-collapsed-width !important;
|
|
44
|
+
|
|
45
|
+
.list-group-item {
|
|
46
|
+
.badge {
|
|
47
|
+
padding: 2px 3px;
|
|
48
|
+
right: 21px;
|
|
49
|
+
top: 36px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.list-group-item-value {
|
|
53
|
+
opacity: 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&.hidden {
|
|
59
|
+
display: none;
|
|
60
|
+
|
|
61
|
+
&.show-mobile-nav {
|
|
62
|
+
box-shadow: 0 0 3px rgba($color-pf-black, (15/100));
|
|
63
|
+
display: block !important;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.layout-pf-alt-fixed-with-footer & {
|
|
69
|
+
bottom: $footer-pf-alt-height;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.list-group {
|
|
73
|
+
border-top: 0;
|
|
74
|
+
margin-bottom: 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.list-group-item {
|
|
78
|
+
padding: 0;
|
|
79
|
+
|
|
80
|
+
a {
|
|
81
|
+
color: $gray-dark;
|
|
82
|
+
display: block;
|
|
83
|
+
font-size: ($font-size-base + 2);
|
|
84
|
+
height: $nav-pf-vertical-alt-link-height;
|
|
85
|
+
padding: $nav-pf-vertical-alt-link-padding;
|
|
86
|
+
position: relative;
|
|
87
|
+
white-space: nowrap;
|
|
88
|
+
|
|
89
|
+
&:focus {
|
|
90
|
+
color: $gray-dark;
|
|
91
|
+
text-decoration: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&:hover {
|
|
95
|
+
color: $nav-pf-vertical-alt-active-color;
|
|
96
|
+
text-decoration: none;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&.active {
|
|
101
|
+
background-color: $nav-pf-vertical-alt-bg-color;
|
|
102
|
+
border-color: $list-group-border;
|
|
103
|
+
|
|
104
|
+
&:before {
|
|
105
|
+
background: $nav-pf-vertical-alt-active-color;
|
|
106
|
+
content: " ";
|
|
107
|
+
display: block;
|
|
108
|
+
height: 100%;
|
|
109
|
+
left: 0;
|
|
110
|
+
position: absolute;
|
|
111
|
+
top: 0;
|
|
112
|
+
width: 5px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
a {
|
|
116
|
+
color: $nav-pf-vertical-alt-active-color;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.badge {
|
|
121
|
+
background: $gray-dark;
|
|
122
|
+
border: 1px solid $nav-pf-vertical-alt-bg-color;
|
|
123
|
+
border-radius: 3px;
|
|
124
|
+
color: $nav-pf-vertical-alt-badge-color;
|
|
125
|
+
font-weight: 700;
|
|
126
|
+
font-size: ($font-size-base - 3);
|
|
127
|
+
padding: 5px;
|
|
128
|
+
position: absolute;
|
|
129
|
+
right: 15px;
|
|
130
|
+
text-align: center;
|
|
131
|
+
top: 21px;
|
|
132
|
+
|
|
133
|
+
&.notifications {
|
|
134
|
+
background: $notification-badge-color;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.fa,
|
|
139
|
+
.glyphicon,
|
|
140
|
+
.pficon {
|
|
141
|
+
float: left;
|
|
142
|
+
font-size: 18px;
|
|
143
|
+
line-height: 30px;
|
|
144
|
+
margin-right: 10px;
|
|
145
|
+
text-align: center;
|
|
146
|
+
width: 18px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.list-group-item-value {
|
|
150
|
+
display: inline-block;
|
|
151
|
+
line-height: 30px;
|
|
152
|
+
opacity: 1;
|
|
153
|
+
overflow: hidden;
|
|
154
|
+
text-overflow: ellipsis;
|
|
155
|
+
width: 140px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.list-group-item-separator {
|
|
161
|
+
border-top-width: 5px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.sidebar-pf & {
|
|
165
|
+
margin-left: (-($grid-gutter-width / 2));
|
|
166
|
+
margin-right: (-($grid-gutter-width / 2));
|
|
167
|
+
}
|
|
168
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Navbar Alt
|
|
3
|
+
// --------------------------------------------------
|
|
4
|
+
|
|
5
|
+
.navbar-pf-alt {
|
|
6
|
+
background-color: $navbar-pf-alt-bg-color;
|
|
7
|
+
background-image: $navbar-pf-alt-bg-img;
|
|
8
|
+
background-repeat: $navbar-pf-alt-bg-repeat;
|
|
9
|
+
background-size: $navbar-pf-alt-bg-size;
|
|
10
|
+
border: none;
|
|
11
|
+
border-radius: 0;
|
|
12
|
+
border-top: $navbar-pf-alt-border-width $navbar-pf-alt-border-style $navbar-pf-alt-border-color;
|
|
13
|
+
margin-bottom: 0;
|
|
14
|
+
|
|
15
|
+
.infotip.bottom-right .arrow {
|
|
16
|
+
left: 90%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.layout-pf-alt-fixed & {
|
|
20
|
+
left: 0;
|
|
21
|
+
position: fixed;
|
|
22
|
+
right: 0;
|
|
23
|
+
top: 0;
|
|
24
|
+
z-index: $zindex-navbar-fixed;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.nav {
|
|
28
|
+
&.navbar-nav > li > .dropdown-menu.infotip {
|
|
29
|
+
margin-top: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.nav-item-iconic {
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
line-height: 1;
|
|
35
|
+
max-height: ($navbar-pf-alt-height - $navbar-pf-alt-border-width); // to keep Firefox from oversizing icons
|
|
36
|
+
padding: $navbar-pf-alt-nav-item-iconic-padding;
|
|
37
|
+
position: relative;
|
|
38
|
+
|
|
39
|
+
&:hover,
|
|
40
|
+
&:focus {
|
|
41
|
+
background-color: transparent;
|
|
42
|
+
|
|
43
|
+
.caret,
|
|
44
|
+
.fa,
|
|
45
|
+
.glyphicon,
|
|
46
|
+
.pficon {
|
|
47
|
+
color: $navbar-pf-alt-active-color;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.badge {
|
|
52
|
+
background-color: $notification-badge-color;
|
|
53
|
+
border-radius: 20px;
|
|
54
|
+
color: $navbar-pf-alt-active-color;
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
font-size: ($font-size-base - 3);
|
|
57
|
+
font-weight: 700;
|
|
58
|
+
margin: 0 0 -11px -12px;
|
|
59
|
+
min-width: 0;
|
|
60
|
+
padding: 2px 4px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.caret,
|
|
64
|
+
.fa,
|
|
65
|
+
.pficon {
|
|
66
|
+
color: $navbar-pf-alt-color;
|
|
67
|
+
font-size: ($font-size-base + 4);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.caret {
|
|
71
|
+
font-size: $font-size-base;
|
|
72
|
+
width: auto;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.open > .nav-item-iconic {
|
|
78
|
+
&,
|
|
79
|
+
&:hover,
|
|
80
|
+
&:focus {
|
|
81
|
+
background: transparent;
|
|
82
|
+
|
|
83
|
+
.caret,
|
|
84
|
+
.fa,
|
|
85
|
+
.pficon {
|
|
86
|
+
color: $navbar-pf-alt-active-color;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.navbar-brand {
|
|
93
|
+
color: $navbar-pf-alt-navbar-brand-color;
|
|
94
|
+
height: auto;
|
|
95
|
+
margin: $navbar-pf-alt-navbar-brand-margin;
|
|
96
|
+
min-height: $navbar-pf-alt-navbar-brand-min-height;
|
|
97
|
+
padding: $navbar-pf-alt-navbar-brand-padding;
|
|
98
|
+
|
|
99
|
+
.navbar-brand-name {
|
|
100
|
+
display: inline;
|
|
101
|
+
margin-left: $navbar-pf-alt-navbar-brand-name-margin;
|
|
102
|
+
margin-right: $navbar-pf-alt-navbar-brand-name-margin;
|
|
103
|
+
// hide once screen gets too small
|
|
104
|
+
@media (max-width: $navbar-pf-alt-navbar-brand-name-breakpoint) {
|
|
105
|
+
display: none;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.navbar-brand-icon {
|
|
110
|
+
display: inline;
|
|
111
|
+
margin-left: $navbar-pf-alt-navbar-brand-icon-margin;
|
|
112
|
+
margin-right: $navbar-pf-alt-navbar-brand-icon-margin;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.navbar-iconic {
|
|
117
|
+
margin-right: 0;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.navbar-toggle {
|
|
121
|
+
border: 0;
|
|
122
|
+
display: block;
|
|
123
|
+
float: left;
|
|
124
|
+
margin: $navbar-pf-alt-navbar-toggle-margin;
|
|
125
|
+
|
|
126
|
+
&:hover,
|
|
127
|
+
&:focus {
|
|
128
|
+
.icon-bar {
|
|
129
|
+
background: $navbar-pf-alt-navbar-toggle-icon-bar-hover-bg;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
+ .navbar-brand {
|
|
134
|
+
margin-left: 0;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.icon-bar {
|
|
138
|
+
background: $navbar-pf-alt-color;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Navigation Bar for use with vertical navigation
|
|
3
|
+
// --------------------------------------------------
|
|
4
|
+
|
|
5
|
+
.navbar-pf-vertical {
|
|
6
|
+
background-color: $navbar-pf-vertical-bg-color;
|
|
7
|
+
border: none;
|
|
8
|
+
border-radius: 0;
|
|
9
|
+
border-top: $navbar-pf-vertical-border-width $navbar-pf-vertical-border-style $navbar-pf-vertical-border-color;
|
|
10
|
+
margin-bottom: 0;
|
|
11
|
+
|
|
12
|
+
.infotip.bottom-right .arrow {
|
|
13
|
+
left: 90%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.layout-pf-fixed & {
|
|
17
|
+
left: 0;
|
|
18
|
+
position: fixed;
|
|
19
|
+
right: 0;
|
|
20
|
+
top: 0;
|
|
21
|
+
z-index: $zindex-navbar-fixed;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.nav {
|
|
25
|
+
&.navbar-nav > li > .dropdown-menu.infotip {
|
|
26
|
+
margin-top: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.nav-item-iconic {
|
|
30
|
+
color: $navbar-pf-vertical-color;
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
line-height: 1;
|
|
33
|
+
max-height: ($navbar-pf-vertical-height - $navbar-pf-vertical-border-width); // to keep Firefox from oversizing icons
|
|
34
|
+
padding: $navbar-pf-vertical-nav-item-iconic-padding;
|
|
35
|
+
position: relative;
|
|
36
|
+
|
|
37
|
+
&:hover {
|
|
38
|
+
outline: 0!important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:focus {
|
|
42
|
+
outline: thin dotted;
|
|
43
|
+
outline: 5px auto -webkit-focus-ring-color;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:hover,
|
|
47
|
+
&:focus {
|
|
48
|
+
background-color: $navbar-pf-item-hover-bg-color;
|
|
49
|
+
text-decoration: none;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.badge {
|
|
53
|
+
background-color: $notification-badge-color;
|
|
54
|
+
border-radius: 20px;
|
|
55
|
+
color: $navbar-pf-item-active-color;
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
font-size: ($font-size-base - 3);
|
|
58
|
+
font-weight: 700;
|
|
59
|
+
left: 20px;
|
|
60
|
+
margin: 0;
|
|
61
|
+
padding: 2px 4px;
|
|
62
|
+
position: absolute;
|
|
63
|
+
min-width: 10px;
|
|
64
|
+
min-height: 10px;
|
|
65
|
+
top: 18px;
|
|
66
|
+
|
|
67
|
+
&.badge-pf-bordered {
|
|
68
|
+
border: 1px solid $navbar-pf-vertical-bg-color;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.caret,
|
|
73
|
+
.fa,
|
|
74
|
+
.pficon {
|
|
75
|
+
color: $navbar-pf-vertical-color;
|
|
76
|
+
font-size: ($font-size-base + 4);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.caret {
|
|
80
|
+
font-size: $font-size-base;
|
|
81
|
+
width: auto;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.open > .nav-item-iconic {
|
|
86
|
+
&,
|
|
87
|
+
&:hover,
|
|
88
|
+
&:focus {
|
|
89
|
+
background: $navbar-pf-item-open-bg-color;
|
|
90
|
+
color: $navbar-pf-item-active-color;
|
|
91
|
+
|
|
92
|
+
.caret,
|
|
93
|
+
.fa,
|
|
94
|
+
.pficon {
|
|
95
|
+
color: $navbar-pf-item-active-color;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.navbar-brand {
|
|
102
|
+
color: $navbar-pf-vertical-navbar-brand-color;
|
|
103
|
+
height: auto;
|
|
104
|
+
margin: $navbar-pf-vertical-navbar-brand-margin;
|
|
105
|
+
min-height: $navbar-pf-vertical-navbar-brand-min-height;
|
|
106
|
+
padding: $navbar-pf-vertical-navbar-brand-padding;
|
|
107
|
+
|
|
108
|
+
.navbar-brand-name {
|
|
109
|
+
display: inline-block;
|
|
110
|
+
margin: $navbar-pf-vertical-navbar-brand-name-margin;
|
|
111
|
+
// hide once screen gets too small
|
|
112
|
+
@media (max-width: $navbar-pf-vertical-navbar-brand-name-breakpoint) {
|
|
113
|
+
display: none;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.navbar-brand-icon {
|
|
118
|
+
display: inline-block;
|
|
119
|
+
margin: $navbar-pf-vertical-navbar-brand-icon-margin;
|
|
120
|
+
max-height: $navbar-pf-vertical-navbar-brand-max-height;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.navbar-brand-txt {
|
|
124
|
+
line-height: $navbar-pf-vertical-navbar-brand-line-height;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.navbar-iconic {
|
|
129
|
+
margin-right: 0;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.navbar-toggle {
|
|
133
|
+
border: 0;
|
|
134
|
+
display: block;
|
|
135
|
+
float: left;
|
|
136
|
+
margin: $navbar-pf-vertical-navbar-toggle-margin;
|
|
137
|
+
|
|
138
|
+
&:hover,
|
|
139
|
+
&:focus {
|
|
140
|
+
.icon-bar {
|
|
141
|
+
background: $navbar-pf-vertical-navbar-toggle-icon-bar-hover-bg;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
+ .navbar-brand {
|
|
146
|
+
margin-left: 0;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.icon-bar {
|
|
150
|
+
background: $navbar-pf-vertical-color;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|