superdesk-ui-framework 3.0.1-beta.3 → 3.0.1-beta.30
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.
- package/app/fonts/sd_icons.eot +0 -0
- package/app/fonts/sd_icons.svg +14 -7
- package/app/fonts/sd_icons.ttf +0 -0
- package/app/fonts/sd_icons.woff +0 -0
- package/app/scripts/toggleBoxNext.js +1 -1
- package/app/styles/_big-icon-font.scss +1 -1
- package/app/styles/_buttons.scss +11 -6
- package/app/styles/_content-divider.scss +63 -8
- package/app/styles/_helpers.scss +24 -1
- package/app/styles/_icon-font.scss +17 -10
- package/app/styles/_labels.scss +0 -1
- package/app/styles/_master-desk.scss +3 -2
- package/app/styles/_modals.scss +6 -3
- package/app/styles/_normalize.scss +4 -0
- package/app/styles/_sd-tag-input.scss +256 -296
- package/app/styles/_simple-list.scss +0 -2
- package/app/styles/_table-list.scss +116 -12
- package/app/styles/app.scss +1 -0
- package/app/styles/components/_list-item.scss +36 -17
- package/app/styles/components/_sd-collapse-box.scss +6 -6
- package/app/styles/components/_sd-comment-box.scss +8 -4
- package/app/styles/components/_sd-editor-popup.scss +4 -4
- package/app/styles/components/_sd-grid-item.scss +30 -16
- package/app/styles/components/_sd-media-carousel.scss +37 -2
- package/app/styles/components/_sd-photo-preview.scss +3 -3
- package/app/styles/components/_sd-searchbar.scss +7 -0
- package/app/styles/components/_subnav.scss +470 -470
- package/app/styles/design-tokens/_design-tokens-general.scss +1 -1
- package/app/styles/design-tokens/_new-colors.scss +30 -13
- package/app/styles/dropdowns/_basic-dropdown.scss +6 -0
- package/app/styles/form-elements/_forms-general.scss +81 -7
- package/app/styles/form-elements/_input-wrap.scss +138 -0
- package/app/styles/form-elements/_inputs.scss +368 -110
- package/app/styles/grids/_grid-layout.scss +34 -1
- package/app/styles/interface-elements/_side-panel.scss +1 -1
- package/app/styles/layout/_basic-layout.scss +2 -2
- package/app/styles/layout/_editor.scss +10 -4
- package/app/styles/primereact/_pr-datepicker.scss +4 -2
- package/app/styles/primereact/_pr-dialog.scss +5 -0
- package/app/styles/primereact/_pr-dropdown.scss +17 -1
- package/app/styles/primereact/_pr-menu.scss +6 -5
- package/app/styles/variables/_colors.scss +21 -21
- package/app-typescript/components/Badge.tsx +3 -2
- package/app-typescript/components/ContentDivider.tsx +3 -0
- package/app-typescript/components/DatePicker.tsx +40 -52
- package/app-typescript/components/Dropdown.tsx +127 -82
- package/app-typescript/components/DurationInput.tsx +400 -0
- package/app-typescript/components/EmptyState.tsx +2 -1
- package/app-typescript/components/Form/FormLabel.tsx +8 -1
- package/app-typescript/components/Form/FormRowNew.tsx +41 -0
- package/app-typescript/components/Form/InputBase.tsx +95 -0
- package/app-typescript/components/Form/InputNew.tsx +107 -0
- package/app-typescript/components/Form/InputWrapper.tsx +79 -0
- package/app-typescript/components/Form/index.tsx +4 -0
- package/app-typescript/components/Input.tsx +28 -45
- package/app-typescript/components/Label.tsx +65 -10
- package/app-typescript/components/Layouts/AuthoringContainer.tsx +2 -1
- package/app-typescript/components/Layouts/AuthoringFrame.tsx +2 -1
- package/app-typescript/components/Layouts/AuthoringFrameRightBar.tsx +21 -2
- package/app-typescript/components/Layouts/AuthoringInnerHeader.tsx +1 -1
- package/app-typescript/components/Layouts/AuthoringMain.tsx +4 -2
- package/app-typescript/components/Layouts/CoreLayout.tsx +2 -1
- package/app-typescript/components/Layouts/CoreLayoutMain.tsx +7 -1
- package/app-typescript/components/Layouts/Layout.tsx +1 -1
- package/app-typescript/components/LeftMenu.tsx +127 -122
- package/app-typescript/components/Lists/ContentList.tsx +66 -33
- package/app-typescript/components/Lists/TableList.tsx +348 -151
- package/app-typescript/components/Menu.tsx +2 -2
- package/app-typescript/components/MultiSelect.tsx +37 -50
- package/app-typescript/components/NavButton.tsx +2 -1
- package/app-typescript/components/Navigation/BottomNav.tsx +3 -2
- package/app-typescript/components/SearchBar.tsx +39 -12
- package/app-typescript/components/Select.tsx +23 -41
- package/app-typescript/components/SelectWithTemplate.tsx +32 -7
- package/app-typescript/components/Spacer.tsx +87 -0
- package/app-typescript/components/TimePicker.tsx +38 -15
- package/app-typescript/components/TreeSelect.tsx +546 -212
- package/app-typescript/index.ts +6 -1
- package/dist/examples.bundle.css +344 -71
- package/dist/examples.bundle.js +48203 -45174
- package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +65 -54
- package/dist/playgrounds/react-playgrounds/Index.tsx +1 -0
- package/dist/playgrounds/react-playgrounds/Multiedit.tsx +321 -0
- package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +26 -23
- package/dist/playgrounds/react-playgrounds/Rundowns.tsx +20 -21
- package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +12 -3
- package/dist/playgrounds/react-playgrounds/TestGround.tsx +379 -25
- package/dist/playgrounds/react-playgrounds/components/Layout.tsx +1 -1
- package/dist/react/Badges.tsx +18 -0
- package/dist/react/ContentDivider.tsx +22 -18
- package/dist/react/ContentList.tsx +200 -18
- package/dist/react/DatePicker.tsx +21 -1
- package/dist/react/Dropdowns.tsx +580 -48
- package/dist/react/DurationInput.tsx +108 -0
- package/dist/react/Index.tsx +5 -0
- package/dist/react/Inputs.tsx +147 -2
- package/dist/react/Labels.tsx +51 -1
- package/dist/react/LeftNavigations.tsx +71 -44
- package/dist/react/MultiSelect.tsx +10 -7
- package/dist/react/NavButtons.tsx +31 -1
- package/dist/react/SelectWithTemplate.tsx +6 -1
- package/dist/react/TableList.tsx +79 -186
- package/dist/react/TimePicker.tsx +22 -12
- package/dist/react/Togglebox.tsx +1 -1
- package/dist/react/TreeSelect.tsx +295 -51
- package/dist/react/tree-select/TreeSelect.tsx +273 -0
- package/dist/react/tree-select/example-1.tsx +71 -0
- package/dist/react/tree-select/example-2.tsx +59 -0
- package/dist/sd_icons.eot +0 -0
- package/dist/sd_icons.svg +14 -7
- package/dist/sd_icons.ttf +0 -0
- package/dist/sd_icons.woff +0 -0
- package/dist/superdesk-ui.bundle.css +2282 -782
- package/dist/superdesk-ui.bundle.js +37312 -21800
- package/dist/vendor.bundle.js +27 -27
- package/examples/css/docs-page.css +4 -4
- package/examples/index.js +4 -0
- package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +65 -54
- package/examples/pages/playgrounds/react-playgrounds/Index.tsx +1 -0
- package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +321 -0
- package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +26 -23
- package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +20 -21
- package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +12 -3
- package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +379 -25
- package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +1 -1
- package/examples/pages/react/Badges.tsx +18 -0
- package/examples/pages/react/ContentDivider.tsx +22 -18
- package/examples/pages/react/ContentList.tsx +200 -18
- package/examples/pages/react/DatePicker.tsx +21 -1
- package/examples/pages/react/Dropdowns.tsx +580 -48
- package/examples/pages/react/DurationInput.tsx +108 -0
- package/examples/pages/react/Index.tsx +5 -0
- package/examples/pages/react/Inputs.tsx +147 -2
- package/examples/pages/react/Labels.tsx +51 -1
- package/examples/pages/react/LeftNavigations.tsx +71 -44
- package/examples/pages/react/MultiSelect.tsx +10 -7
- package/examples/pages/react/NavButtons.tsx +31 -1
- package/examples/pages/react/SelectWithTemplate.tsx +6 -1
- package/examples/pages/react/TableList.tsx +79 -186
- package/examples/pages/react/TimePicker.tsx +22 -12
- package/examples/pages/react/Togglebox.tsx +1 -1
- package/examples/pages/react/TreeSelect.tsx +295 -51
- package/examples/pages/react/tree-select/TreeSelect.tsx +273 -0
- package/examples/pages/react/tree-select/example-1.tsx +71 -0
- package/examples/pages/react/tree-select/example-2.tsx +59 -0
- package/package.json +5 -5
- package/react/components/Badge.d.ts +1 -0
- package/react/components/Badge.js +2 -2
- package/react/components/ContentDivider.d.ts +1 -0
- package/react/components/ContentDivider.js +2 -0
- package/react/components/DatePicker.d.ts +1 -0
- package/react/components/DatePicker.js +6 -22
- package/react/components/Dropdown.d.ts +6 -5
- package/react/components/Dropdown.js +57 -30
- package/react/components/DurationInput.d.ts +42 -0
- package/react/components/DurationInput.js +364 -0
- package/react/components/EmptyState.d.ts +1 -0
- package/react/components/EmptyState.js +1 -1
- package/react/components/Form/FormLabel.d.ts +4 -1
- package/react/components/Form/FormLabel.js +9 -3
- package/react/components/Form/FormRowNew.d.ts +12 -0
- package/react/components/Form/FormRowNew.js +67 -0
- package/react/components/Form/InputBase.d.ts +41 -0
- package/react/components/Form/InputBase.js +86 -0
- package/react/components/Form/InputNew.d.ts +45 -0
- package/react/components/Form/InputNew.js +75 -0
- package/react/components/Form/InputWrapper.d.ts +28 -0
- package/react/components/Form/InputWrapper.js +91 -0
- package/react/components/Form/index.d.ts +4 -0
- package/react/components/Form/index.js +9 -1
- package/react/components/Input.js +5 -34
- package/react/components/Label.d.ts +2 -0
- package/react/components/Label.js +34 -3
- package/react/components/Layouts/AuthoringContainer.d.ts +1 -0
- package/react/components/Layouts/AuthoringContainer.js +1 -1
- package/react/components/Layouts/AuthoringFrame.d.ts +1 -0
- package/react/components/Layouts/AuthoringFrame.js +1 -1
- package/react/components/Layouts/AuthoringFrameRightBar.d.ts +9 -2
- package/react/components/Layouts/AuthoringFrameRightBar.js +14 -3
- package/react/components/Layouts/AuthoringInnerHeader.js +1 -1
- package/react/components/Layouts/AuthoringMain.js +1 -1
- package/react/components/Layouts/CoreLayout.d.ts +1 -0
- package/react/components/Layouts/CoreLayout.js +1 -1
- package/react/components/Layouts/CoreLayoutMain.d.ts +1 -0
- package/react/components/Layouts/CoreLayoutMain.js +8 -1
- package/react/components/Layouts/Layout.js +1 -1
- package/react/components/LeftMenu.d.ts +3 -1
- package/react/components/LeftMenu.js +8 -1
- package/react/components/Lists/ContentList.d.ts +51 -0
- package/react/components/Lists/ContentList.js +110 -0
- package/react/components/Lists/TableList.d.ts +64 -0
- package/react/components/Lists/TableList.js +240 -0
- package/react/components/Menu.js +1 -1
- package/react/components/MultiSelect.d.ts +40 -0
- package/react/components/MultiSelect.js +70 -0
- package/react/components/NavButton.d.ts +1 -1
- package/react/components/Navigation/BottomNav.d.ts +1 -0
- package/react/components/Navigation/BottomNav.js +2 -2
- package/react/components/SearchBar.d.ts +3 -2
- package/react/components/SearchBar.js +28 -4
- package/react/components/Select.d.ts +1 -1
- package/react/components/Select.js +4 -26
- package/react/components/SelectWithTemplate.d.ts +11 -1
- package/react/components/SelectWithTemplate.js +19 -10
- package/react/components/TimePicker.d.ts +11 -1
- package/react/components/TimePicker.js +10 -3
- package/react/components/TreeSelect.d.ts +82 -0
- package/react/components/TreeSelect.js +521 -0
- package/react/index.d.ts +6 -0
- package/react/index.js +16 -3
- package/.vscode/settings.json +0 -5
- package/app-typescript/dist/components/Alert.d.ts +0 -16
- package/app-typescript/dist/components/Autocomplete.d.ts +0 -48
- package/app-typescript/dist/components/Avatar.d.ts +0 -33
- package/app-typescript/dist/components/Badge.d.ts +0 -13
- package/app-typescript/dist/components/Button.d.ts +0 -23
- package/app-typescript/dist/components/ButtonGroup.d.ts +0 -12
- package/app-typescript/dist/components/CheckButtonGroup.d.ts +0 -11
- package/app-typescript/dist/components/CheckGroup.d.ts +0 -9
- package/app-typescript/dist/components/Checkbox.d.ts +0 -19
- package/app-typescript/dist/components/CheckboxButton.d.ts +0 -19
- package/app-typescript/dist/components/DatePicker.d.ts +0 -37
- package/app-typescript/dist/components/Divider.d.ts +0 -9
- package/app-typescript/dist/components/DonutChart.d.ts +0 -12
- package/app-typescript/dist/components/Dropdown.d.ts +0 -28
- package/app-typescript/dist/components/DropdownFirst.d.ts +0 -42
- package/app-typescript/dist/components/EmptyState.d.ts +0 -11
- package/app-typescript/dist/components/FormLabel.d.ts +0 -9
- package/app-typescript/dist/components/Genie.d.ts +0 -13
- package/app-typescript/dist/components/GridItem.d.ts +0 -69
- package/app-typescript/dist/components/GridList.d.ts +0 -14
- package/app-typescript/dist/components/HeadingText.d.ts +0 -10
- package/app-typescript/dist/components/HelloWorld.d.ts +0 -8
- package/app-typescript/dist/components/Icon.d.ts +0 -12
- package/app-typescript/dist/components/IconButton.d.ts +0 -12
- package/app-typescript/dist/components/IconLabel.d.ts +0 -11
- package/app-typescript/dist/components/Input.d.ts +0 -24
- package/app-typescript/dist/components/Label.d.ts +0 -15
- package/app-typescript/dist/components/LeftMenu.d.ts +0 -26
- package/app-typescript/dist/components/Loader.d.ts +0 -8
- package/app-typescript/dist/components/NavButton.d.ts +0 -15
- package/app-typescript/dist/components/Popover.d.ts +0 -13
- package/app-typescript/dist/components/PropsList.d.ts +0 -15
- package/app-typescript/dist/components/Radio.d.ts +0 -19
- package/app-typescript/dist/components/RadioButton.d.ts +0 -20
- package/app-typescript/dist/components/Select.d.ts +0 -29
- package/app-typescript/dist/components/SelectWithTemplate.d.ts +0 -32
- package/app-typescript/dist/components/SlidingToolbar.d.ts +0 -8
- package/app-typescript/dist/components/StrechBar.d.ts +0 -4
- package/app-typescript/dist/components/SubNav.d.ts +0 -10
- package/app-typescript/dist/components/Switch.d.ts +0 -12
- package/app-typescript/dist/components/TabCustom.d.ts +0 -25
- package/app-typescript/dist/components/TabList.d.ts +0 -22
- package/app-typescript/dist/components/Tag.d.ts +0 -9
- package/app-typescript/dist/components/TagInput.d.ts +0 -7
- package/app-typescript/dist/components/TagInputTest.d.ts +0 -18
- package/app-typescript/dist/components/TimePicker.d.ts +0 -11
- package/app-typescript/dist/components/Tooltip.d.ts +0 -11
- package/app-typescript/dist/components/_Positioner.d.ts +0 -27
- package/app-typescript/dist/index.d.ts +0 -56
- package/patches/@superdesk+primereact+5.0.2-4.patch +0 -57
- package/yarn-error.log +0 -111
@@ -21,100 +21,93 @@
|
|
21
21
|
background: $subnav-background-darker !important;
|
22
22
|
}
|
23
23
|
&--dark-blue-grey, &--blueGreyDarker {
|
24
|
-
|
25
|
-
|
24
|
+
background: $subnav-background-dark-blue-grey !important;
|
25
|
+
color: $white;
|
26
26
|
.navbtn:hover {
|
27
|
-
|
28
|
-
|
27
|
+
background: rgba(255, 255, 255, 0.20);
|
28
|
+
}
|
29
29
|
}
|
30
30
|
&--mid-blue-grey, &--blueGrey {
|
31
|
-
|
32
|
-
|
31
|
+
background: $subnav-background-blue-grey !important;
|
32
|
+
color: $white;
|
33
33
|
}
|
34
34
|
&--absolute {
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
35
|
+
position: absolute;
|
36
|
+
top:48px;
|
37
|
+
left:0;
|
38
|
+
right:0;
|
39
39
|
}
|
40
40
|
+ .subnav,
|
41
41
|
&--lower-z-index {
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
42
|
+
z-index: 2;
|
43
|
+
}
|
44
|
+
.sd-check__group {
|
45
|
+
padding: 0;
|
46
|
+
display: flex;
|
47
|
+
flex-direction: row;
|
48
|
+
align-items: center;
|
49
|
+
}
|
50
50
|
}
|
51
51
|
.subnav__element-grow {
|
52
|
-
|
52
|
+
flex-grow: 1;
|
53
53
|
}
|
54
54
|
.subnav__page-title {
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
55
|
+
padding: 0 1.6rem;
|
56
|
+
color: inherit;
|
57
|
+
font-size: 1.8rem;
|
58
|
+
line-height: 2.8rem;
|
59
|
+
flex-grow: 1;
|
60
|
+
@include text-overflow();
|
61
|
+
@include text-normal();
|
62
|
+
&--no-grow {
|
63
|
+
flex-grow: 0;
|
64
|
+
}
|
65
65
|
}
|
66
66
|
.subnav__desk-stage {
|
67
67
|
flex-grow: 1;
|
68
68
|
}
|
69
69
|
|
70
70
|
.subnav__divider {
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
71
|
+
display: inline-flex;
|
72
|
+
height: 100%;
|
73
|
+
&--small {
|
74
|
+
width: $sd-base-increment * 1.5;
|
75
|
+
}
|
76
|
+
&--medium {
|
77
|
+
width: $sd-base-increment * 2;
|
78
|
+
}
|
79
|
+
&--large {
|
80
|
+
width: $sd-base-increment * 3;
|
81
|
+
}
|
82
|
+
&--x-large {
|
83
|
+
width: $sd-base-increment * 4;
|
84
|
+
}
|
85
85
|
}
|
86
86
|
|
87
87
|
|
88
88
|
.subnav {
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
89
|
+
&.subnav--level2 {
|
90
|
+
position: absolute;
|
91
|
+
top:0;
|
92
|
+
left: 0;
|
93
|
+
z-index: 2;
|
94
|
+
box-shadow: none;
|
95
|
+
}
|
96
|
+
.sd-nav-tabs {
|
97
|
+
box-shadow: none;
|
98
|
+
}
|
99
99
|
}
|
100
100
|
|
101
101
|
.subnav__sliding-toolbar {
|
102
|
-
|
102
|
+
@include sliding-toolbar; // See mixins.scss for details
|
103
103
|
}
|
104
104
|
|
105
105
|
// ============================================================================
|
106
106
|
// NEW NAVBUTTONS
|
107
107
|
// ============================================================================
|
108
108
|
|
109
|
-
$navbutton-border-color: var(--sd-colour-line--x-light);
|
110
|
-
$navbutton-bg-color: transparent;
|
111
109
|
$navbutton-transition: all 0.2s ease-out, color 0.1s ease-out;
|
112
|
-
$navbutton-
|
113
|
-
$navbutton-bg-color-active: var(--color-navbutton-bg-active);
|
114
|
-
$navbutton-bg-color-darker: var(--color-navbutton-bg-100);
|
115
|
-
$navbutton-bg-color-darker-hover: var(--color-navbutton-bg-100-hover);
|
116
|
-
|
117
|
-
$navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-70), 0 0 0 2px $sd-colour--focus-shadow;
|
110
|
+
$navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-70), inset 0 0 0 3px var(--sd-colour-interactive--alpha-40);
|
118
111
|
|
119
112
|
@mixin navbutton-base {
|
120
113
|
position: relative;
|
@@ -126,13 +119,13 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
126
119
|
align-items: center;
|
127
120
|
justify-content: center;
|
128
121
|
|
129
|
-
background:
|
130
|
-
color:
|
122
|
+
background: transparent;
|
123
|
+
color: var(--color-text);
|
131
124
|
text-align: center;
|
132
125
|
|
133
126
|
text-decoration: none;
|
134
127
|
border: 0;
|
135
|
-
border: 0px solid
|
128
|
+
border: 0px solid var(--sd-colour-line--x-light);
|
136
129
|
border-inline-width: 1px 0;
|
137
130
|
cursor: pointer;
|
138
131
|
transition: $navbutton-transition;
|
@@ -147,13 +140,14 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
147
140
|
color: currentColor;
|
148
141
|
}
|
149
142
|
&:hover {
|
150
|
-
background:
|
143
|
+
background: var(--color-navbutton-bg-hover);
|
151
144
|
> i {
|
152
145
|
opacity: 1;
|
153
146
|
}
|
154
147
|
}
|
155
148
|
&:active {
|
156
|
-
background:
|
149
|
+
background: transparent;
|
150
|
+
box-shadow: inset 0 0 0 4px var(--color-navbutton-shadow-active);
|
157
151
|
> i {
|
158
152
|
opacity: 1;
|
159
153
|
}
|
@@ -167,211 +161,223 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
167
161
|
}
|
168
162
|
|
169
163
|
.sd-navbtn {
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
164
|
+
@include navbutton-base;
|
165
|
+
&.sd-navbtn--highlight {
|
166
|
+
background: var(--sd-colour-highlight);
|
167
|
+
border-color: var(--sd-colour-highlight);
|
168
|
+
color: $white;
|
169
|
+
&:hover {
|
170
|
+
background-color: var(--sd-colour-highlight--hover);
|
171
|
+
border-color: var(--sd-colour-highlight--hover);
|
172
|
+
}
|
173
|
+
&:active {
|
174
|
+
background: var(--sd-colour-highlight);
|
175
|
+
border-color: var(--sd-colour-highlight);
|
176
|
+
|
177
|
+
}
|
178
178
|
}
|
179
|
-
|
180
|
-
|
181
|
-
|
179
|
+
&.sd-navbtn--darker {
|
180
|
+
background: var(--color-navbutton-bg-100);
|
181
|
+
&:hover {
|
182
|
+
background-color: var(--color-navbutton-bg-100-hover);
|
183
|
+
}
|
184
|
+
&:active {
|
185
|
+
background: var(--color-navbutton-bg-100);
|
186
|
+
}
|
182
187
|
}
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
+
&.sd-navbtn--dark {
|
189
|
+
background: var(--color-navbutton-bg-dark);
|
190
|
+
color: $white;
|
191
|
+
&:hover {
|
192
|
+
background-color: var(--color-navbutton-bg-dark-hover);
|
193
|
+
}
|
194
|
+
&:active {
|
195
|
+
background: var(--color-navbutton-bg-dark);
|
196
|
+
}
|
188
197
|
}
|
189
|
-
|
190
|
-
|
198
|
+
&.sd-navbtn--primary,
|
199
|
+
&.sd-navbtn--active {
|
200
|
+
background: var(--sd-colour-interactive);
|
201
|
+
border-color: var(--sd-colour-interactive);
|
202
|
+
color: $white;
|
203
|
+
&:hover {
|
204
|
+
background-color: var(--sd-colour-interactive--hover);
|
205
|
+
border-color: var(--sd-colour-interactive--hover);
|
206
|
+
}
|
207
|
+
&:active {
|
208
|
+
background: var(--sd-colour-interactive);
|
209
|
+
border-color: var(--sd-colour-interactive);
|
210
|
+
}
|
211
|
+
|
212
|
+
}
|
213
|
+
&--left {
|
214
|
+
border-width: 0 1px 0 0;
|
215
|
+
}
|
216
|
+
&--textual {
|
217
|
+
width: auto;
|
218
|
+
@include sd-padding('1', 'x');
|
219
|
+
.sd-navbtn__text {
|
220
|
+
display: inline-flex;
|
221
|
+
font-size: 1.4rem;
|
222
|
+
position: relative;
|
223
|
+
@include sd-margin('0-5', 'x');
|
224
|
+
margin-right: $sd-base-increment / 2;
|
225
|
+
margin-left: $sd-base-increment;
|
226
|
+
}
|
227
|
+
i {
|
228
|
+
margin-left: $sd-base-increment / 2;
|
229
|
+
}
|
191
230
|
}
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
&:hover {
|
198
|
-
background-color: var(--sd-colour-interactive--darken-10);
|
199
|
-
border-color: var(--sd-colour-interactive--darken-20);
|
200
|
-
}
|
201
|
-
&:active{
|
202
|
-
background-color: var(--sd-colour-interactive--lighten-10);
|
203
|
-
border-color: var(--sd-colour-interactive--darken-10);
|
204
|
-
}
|
205
|
-
|
206
|
-
}
|
207
|
-
&--left {
|
208
|
-
border-width: 0 1px 0 0;
|
209
|
-
}
|
210
|
-
&--textual {
|
211
|
-
width: auto;
|
212
|
-
@include sd-padding('1', 'x');
|
213
|
-
.sd-navbtn__text {
|
214
|
-
display: inline-flex;
|
215
|
-
font-size: 1.4rem;
|
216
|
-
position: relative;
|
217
|
-
@include sd-margin('0-5', 'x');
|
218
|
-
margin-right: $sd-base-increment / 2;
|
219
|
-
margin-left: $sd-base-increment;
|
231
|
+
.badge {
|
232
|
+
position: absolute;
|
233
|
+
top: $sd-base-increment / 2;
|
234
|
+
right: $sd-base-increment / 2;
|
235
|
+
z-index: 1;
|
220
236
|
}
|
221
|
-
i {
|
222
|
-
margin-left: $sd-base-increment / 2;
|
223
|
-
}
|
224
|
-
}
|
225
|
-
.badge {
|
226
|
-
position: absolute;
|
227
|
-
top: $sd-base-increment / 2;
|
228
|
-
right: $sd-base-increment / 2;
|
229
|
-
z-index: 1;
|
230
|
-
}
|
231
237
|
}
|
232
238
|
.dropdown {
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
239
|
+
.sd-navbtn {
|
240
|
+
&.sd-navbtn--textual {
|
241
|
+
.sd-navbtn__text {
|
242
|
+
color: currentColor;
|
243
|
+
padding-right: 16px;
|
244
|
+
&::after {
|
245
|
+
content: '';
|
246
|
+
display: inline-flex;
|
247
|
+
width: 0;
|
248
|
+
height: 0;
|
249
|
+
position: absolute;
|
250
|
+
top: calc(50% - 2px);
|
251
|
+
right: 0;
|
252
|
+
vertical-align: middle;
|
253
|
+
//margin-top: -2px;
|
254
|
+
margin-left: 8px;
|
255
|
+
border-left: 4px solid transparent;
|
256
|
+
border-right: 4px solid transparent;
|
257
|
+
border-top: 4px solid currentColor;
|
258
|
+
opacity: .75;
|
259
|
+
@include transition(all, 0.1s, ease-in);
|
260
|
+
}
|
261
|
+
}
|
262
|
+
}
|
263
|
+
}
|
258
264
|
}
|
259
265
|
|
260
266
|
.dropdown.open {
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
267
|
+
.sd-navbtn {
|
268
|
+
background-color: var(--color-dropdown-menu-Bg);
|
269
|
+
position: relative;
|
270
|
+
box-shadow: 0 8px 0 0px var(--color-dropdown-menu-Bg), -2px -1px 8px -2px rgba(0, 0, 0, 0.24), 3px -1px 8px -2px rgba(0, 0, 0, 0.24);
|
271
|
+
border-color: transparent !important;
|
272
|
+
z-index: 2001;
|
273
|
+
i {
|
274
|
+
opacity: 1;
|
275
|
+
color: $sd-colour-interactive;
|
276
|
+
}
|
277
|
+
&.sd-navbtn--textual {
|
278
|
+
.sd-navbtn__text {
|
279
|
+
color: $sd-colour-interactive;
|
280
|
+
&::after {
|
281
|
+
opacity: 1;
|
282
|
+
}
|
283
|
+
}
|
276
284
|
}
|
277
|
-
}
|
278
285
|
}
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
}
|
286
|
+
.sd-create-btn {
|
287
|
+
background-color: var(--color-dropdown-menu-Bg);
|
288
|
+
position: relative;
|
289
|
+
box-shadow: 0 8px 0 0px var(--color-dropdown-menu-Bg), -2px -1px 8px -2px rgba(0, 0, 0, 0.24), 3px -1px 8px -2px rgba(0, 0, 0, 0.24);
|
290
|
+
border-color: transparent !important;
|
291
|
+
z-index: 1001;
|
292
|
+
}
|
287
293
|
}
|
288
294
|
|
289
295
|
.navbtn {
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
296
|
+
position: relative;
|
297
|
+
display: inline-flex;
|
298
|
+
flex-direction: row;
|
299
|
+
align-items: center;
|
300
|
+
justify-content: center;
|
301
|
+
height: $subnav-height;
|
302
|
+
width: 4.8rem;
|
303
|
+
padding: 0;
|
304
|
+
background: transparent;
|
305
|
+
color: $sd-text;
|
306
|
+
text-align: center;
|
307
|
+
text-decoration: none;
|
308
|
+
border: 0px solid transparent;
|
309
|
+
border-color: var(--sd-colour-line--x-light);
|
310
|
+
border-inline-width: 1px 0;
|
311
|
+
cursor:pointer;
|
312
|
+
background: transparent;
|
313
|
+
transition: background-color 0.2s ease-out, color 0.1s ease-out;
|
314
|
+
i {
|
315
|
+
opacity: 0.75;
|
316
|
+
vertical-align: baseline !important;
|
317
|
+
transition: opacity 0.2s ease-out;
|
318
|
+
}
|
319
|
+
[class^="big-icon--"],
|
320
|
+
[class*=" big-icon--"] {
|
321
|
+
line-height: 1;
|
322
|
+
color: $sd-text;
|
323
|
+
display: block;
|
324
|
+
}
|
325
|
+
.big-icon--send-to {
|
326
|
+
margin-left: 0.3rem;
|
327
|
+
}
|
328
|
+
[class^="icon-"],
|
329
|
+
[class*=" icon-"] {
|
330
|
+
color: $sd-text;
|
331
|
+
}
|
332
|
+
&:hover {
|
333
|
+
background: var(--color-navbutton-bg-hover);
|
334
|
+
> i {
|
335
|
+
opacity: 1;
|
336
|
+
}
|
337
|
+
}
|
338
|
+
&.navbtn--left {
|
339
|
+
border-inline-width: 0 1px;
|
340
|
+
}
|
341
|
+
&.navbtn--blue {
|
342
|
+
background: $sd-colour-interactive;
|
343
|
+
border-color: var(--sd-colour-interactive--lighten-10);
|
344
|
+
color: $white;
|
345
|
+
&.disabled {
|
346
|
+
background: var(--sd-colour-interactive--lighten-30);
|
347
|
+
}
|
348
|
+
}
|
349
|
+
&.navbtn--text-only {
|
350
|
+
width: auto;
|
351
|
+
line-height: $subnav-height;
|
352
|
+
padding: 0 20px;
|
353
|
+
border-inline-width: 0 1px;
|
354
|
+
font-size: 1.5rem;
|
355
|
+
}
|
356
|
+
&.navbtn--border-r {
|
357
|
+
border-inline-end: 1px !important;
|
358
|
+
}
|
359
|
+
&.navbtn--highlighted {
|
360
|
+
background-color: $purple !important;
|
361
|
+
transition: all 0.3s;
|
362
|
+
padding: 0 0 0 9px;
|
363
|
+
color: $white;
|
358
364
|
&:hover {
|
359
|
-
|
360
|
-
}
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
365
|
+
background-color: darken($purple, 10%);
|
366
|
+
}
|
367
|
+
}
|
368
|
+
&.navbtn--darker {
|
369
|
+
background-color: rgba(0, 0, 0, 0.05);
|
370
|
+
}
|
371
|
+
&.navbtn--active {
|
372
|
+
background-color: $sd-colour-interactive;
|
373
|
+
> i {
|
368
374
|
opacity: 1;
|
369
375
|
color: $white;
|
370
376
|
}
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
377
|
+
}
|
378
|
+
&.navbtn--publish {
|
379
|
+
background-color: rgba(0, 0, 0, 0.05);
|
380
|
+
}
|
375
381
|
}
|
376
382
|
|
377
383
|
.dropdown.open {
|
@@ -386,152 +392,152 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
386
392
|
}
|
387
393
|
}
|
388
394
|
.sd-create-btn {
|
389
|
-
|
390
|
-
|
391
|
-
|
395
|
+
i {
|
396
|
+
color: $white;
|
397
|
+
}
|
392
398
|
}
|
393
399
|
}
|
394
400
|
|
395
401
|
.subnav__stretch-bar {
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
402
|
+
display: flex;
|
403
|
+
flex-grow: 1;
|
404
|
+
flex-shrink: 1;
|
405
|
+
@include sd-margin('1-5', 'x');
|
406
|
+
align-items: center;
|
407
|
+
&.subnav__stretch-bar--right {
|
408
|
+
text-align: end;
|
409
|
+
justify-content: flex-end;
|
410
|
+
}
|
405
411
|
}
|
406
412
|
.subnav__content-bar {
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
413
|
+
display: flex;
|
414
|
+
flex-direction: row;
|
415
|
+
flex-grow: 0;
|
416
|
+
flex-shrink: 1;
|
417
|
+
@include sd-margin('1-5', 'x');
|
418
|
+
align-items: center;
|
419
|
+
&.subnav__content-bar--right {
|
420
|
+
text-align: end;
|
421
|
+
justify-content: flex-end;
|
422
|
+
}
|
417
423
|
}
|
418
424
|
.subnav__spacer {
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
425
|
+
width: 1px;
|
426
|
+
height: $subnav-height;
|
427
|
+
flex-grow: 0;
|
428
|
+
border-left: 1px solid rgba(0,0,0,.1);
|
429
|
+
margin: auto 2rem;
|
430
|
+
&--dotted {
|
431
|
+
border-left: 1px dotted rgba(0,0,0,.3);
|
432
|
+
height: $subnav-height / 2;
|
433
|
+
}
|
434
|
+
&--no-r-margin {
|
435
|
+
margin-right: -0.1rem;
|
436
|
+
}
|
437
|
+
&--no-l-margin {
|
438
|
+
margin-left: 0;
|
439
|
+
}
|
440
|
+
&--no-margin {
|
441
|
+
margin-left: 0;
|
442
|
+
margin-right: 0;
|
443
|
+
}
|
438
444
|
|
439
445
|
}
|
440
446
|
.subnav__button-stack {
|
441
|
-
|
442
|
-
display: flex;
|
443
|
-
flex-wrap: nowrap;
|
444
|
-
align-items: center;
|
445
|
-
|
446
|
-
&--square-buttons {
|
447
|
-
height:48px;
|
448
|
-
margin: 0 0 0 16px;
|
447
|
+
position: relative;
|
449
448
|
display: flex;
|
450
449
|
flex-wrap: nowrap;
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
450
|
+
align-items: center;
|
451
|
+
|
452
|
+
&--square-buttons {
|
453
|
+
height:48px;
|
454
|
+
margin: 0 0 0 16px;
|
455
|
+
display: flex;
|
456
|
+
flex-wrap: nowrap;
|
457
|
+
flex-grow: 0;
|
458
|
+
flex-shrink: 1;
|
459
|
+
max-width: 100%;
|
460
|
+
}
|
461
|
+
&--custom-buttons {
|
462
|
+
margin: 0 auto;
|
463
|
+
padding: 10px 12px;
|
464
|
+
border: 1px solid rgba(0,0,0,0.1);
|
465
|
+
border-width: 0 1px;
|
466
|
+
box-sizing: border-box;
|
467
|
+
display: flex;
|
468
|
+
max-width: 100%;
|
469
|
+
.btn {
|
470
|
+
flex-grow: 0;
|
471
|
+
margin:0 4px;
|
472
|
+
}
|
473
|
+
.btn__text--short {
|
474
|
+
display: none;
|
475
|
+
}
|
476
|
+
.btn__text {
|
477
|
+
display: inline;
|
478
|
+
}
|
466
479
|
}
|
467
|
-
|
468
|
-
|
480
|
+
&--right {
|
481
|
+
text-align: end;
|
482
|
+
padding-right: 2rem;
|
483
|
+
}
|
484
|
+
&--padded {
|
485
|
+
padding: 0 1rem;
|
486
|
+
flex-shrink: 0;
|
469
487
|
}
|
470
|
-
.btn__text {
|
471
|
-
display: inline;
|
472
|
-
}
|
473
|
-
}
|
474
|
-
&--right {
|
475
|
-
text-align: end;
|
476
|
-
padding-right: 2rem;
|
477
|
-
}
|
478
|
-
&--padded {
|
479
|
-
padding: 0 1rem;
|
480
|
-
flex-shrink: 0;
|
481
|
-
}
|
482
488
|
}
|
483
489
|
|
484
490
|
.subnav__button-stack--custom-buttons {
|
485
|
-
.btn__text--short {
|
486
|
-
display: none;
|
487
|
-
}
|
488
|
-
.btn__text {
|
489
|
-
display: inline;
|
490
|
-
}
|
491
|
-
}
|
492
|
-
.compact {
|
493
|
-
.subnav__button-stack--custom-buttons {
|
494
491
|
.btn__text--short {
|
495
|
-
|
492
|
+
display: none;
|
496
493
|
}
|
497
494
|
.btn__text {
|
498
|
-
|
495
|
+
display: inline;
|
496
|
+
}
|
497
|
+
}
|
498
|
+
.compact {
|
499
|
+
.subnav__button-stack--custom-buttons {
|
500
|
+
.btn__text--short {
|
501
|
+
display: inline;
|
502
|
+
}
|
503
|
+
.btn__text {
|
504
|
+
display: none;
|
505
|
+
}
|
499
506
|
}
|
500
|
-
}
|
501
507
|
}
|
502
508
|
|
503
509
|
.subnav__button-stack--default {
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
}
|
512
|
-
.btn--close {
|
513
|
-
.btn__text--alt-icon {
|
514
|
-
display: none;
|
510
|
+
display: flex;
|
511
|
+
flex-grow: 1;
|
512
|
+
justify-content: flex-end;
|
513
|
+
padding: 10px 0;
|
514
|
+
.btn {
|
515
|
+
flex-grow: 0;
|
516
|
+
margin:0 4px;
|
515
517
|
}
|
516
|
-
.
|
517
|
-
|
518
|
+
.btn--close {
|
519
|
+
.btn__text--alt-icon {
|
520
|
+
display: none;
|
521
|
+
}
|
522
|
+
.btn__text {
|
523
|
+
display: inline;
|
524
|
+
}
|
518
525
|
}
|
519
|
-
}
|
520
526
|
}
|
521
527
|
|
522
528
|
.subnav__button-stack--default {
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
529
|
+
&.compact {
|
530
|
+
.btn--close {
|
531
|
+
padding: 0 3px 0 6px;
|
532
|
+
.btn__text--alt-icon {
|
533
|
+
display: inline;
|
534
|
+
opacity: 0.7;
|
535
|
+
}
|
536
|
+
.btn__text {
|
537
|
+
display: none;
|
538
|
+
}
|
539
|
+
}
|
533
540
|
}
|
534
|
-
}
|
535
541
|
}
|
536
542
|
|
537
543
|
// ============================================================================
|
@@ -539,138 +545,132 @@ $navbutton-focus-box-shadow: inset 0 0 0 1px var(--sd-colour-interactive--alpha-
|
|
539
545
|
// ============================================================================
|
540
546
|
|
541
547
|
.subnav--responsive {
|
542
|
-
|
543
|
-
|
544
|
-
}
|
545
|
-
|
546
|
-
.subnav__stretch-bar {
|
547
|
-
margin-right: 0;
|
548
|
-
}
|
549
|
-
|
550
|
-
.subnav__spacer {
|
551
|
-
margin-left: 1.2rem;
|
552
|
-
}
|
553
|
-
|
554
|
-
#planning-dropdown {
|
555
|
-
display: none;
|
556
|
-
margin-left: -1.2rem;
|
557
|
-
}
|
558
|
-
|
559
|
-
.dropdown__toggle {
|
560
|
-
white-space: nowrap;
|
561
|
-
position: relative;
|
562
|
-
overflow: hidden;
|
563
|
-
text-overflow: ellipsis;
|
564
|
-
padding-right: 2.6rem !important;
|
565
|
-
.dropdown__caret {
|
566
|
-
position: absolute;
|
567
|
-
top: 50%;
|
568
|
-
inset-inline-end: 1rem;
|
569
|
-
}
|
570
|
-
}
|
571
|
-
.navbtn {
|
572
|
-
flex-shrink: 0;
|
573
|
-
}
|
574
|
-
.navbtn.navbtn--text-only {
|
575
|
-
flex-shrink: 1;
|
576
|
-
padding: 0 1.2rem;
|
577
|
-
}
|
578
|
-
}
|
579
|
-
|
580
|
-
.sd-page-content--slide-in--open {
|
581
|
-
.subnav--responsive {
|
582
|
-
.sd-check__wrapper + .sd-check__wrapper {
|
583
|
-
margin-left: 0.4rem;
|
548
|
+
.navbtn.navbtn--text-only {
|
549
|
+
font-size: 1.4rem;
|
584
550
|
}
|
585
|
-
|
586
551
|
.subnav__stretch-bar {
|
587
|
-
|
588
|
-
margin-right: 0;
|
552
|
+
margin-right: 0;
|
589
553
|
}
|
590
|
-
|
591
|
-
|
592
|
-
|
554
|
+
.subnav__spacer {
|
555
|
+
margin-left: 1.2rem;
|
556
|
+
}
|
557
|
+
#planning-dropdown {
|
558
|
+
display: none;
|
559
|
+
margin-left: -1.2rem;
|
560
|
+
}
|
561
|
+
.dropdown__toggle {
|
562
|
+
white-space: nowrap;
|
563
|
+
position: relative;
|
564
|
+
overflow: hidden;
|
565
|
+
text-overflow: ellipsis;
|
566
|
+
padding-right: 2.6rem !important;
|
567
|
+
.dropdown__caret {
|
568
|
+
position: absolute;
|
569
|
+
top: 50%;
|
570
|
+
inset-inline-end: 1rem;
|
571
|
+
}
|
572
|
+
}
|
573
|
+
.navbtn {
|
574
|
+
flex-shrink: 0;
|
593
575
|
}
|
594
|
-
|
595
576
|
.navbtn.navbtn--text-only {
|
596
|
-
|
577
|
+
flex-shrink: 1;
|
578
|
+
padding: 0 1.2rem;
|
579
|
+
}
|
580
|
+
}
|
581
|
+
|
582
|
+
.sd-page-content--slide-in--open {
|
583
|
+
.subnav--responsive {
|
584
|
+
.sd-check__wrapper + .sd-check__wrapper {
|
585
|
+
margin-left: 0.4rem;
|
586
|
+
}
|
587
|
+
|
588
|
+
.subnav__stretch-bar {
|
589
|
+
margin: 0 1.2rem;
|
590
|
+
margin-right: 0;
|
591
|
+
}
|
592
|
+
.subnav__button-stack--padded {
|
593
|
+
padding: 0 0.6rem;
|
594
|
+
}
|
595
|
+
.navbtn.navbtn--text-only {
|
596
|
+
font-size: 1.3rem;
|
597
|
+
}
|
597
598
|
}
|
598
|
-
}
|
599
599
|
}
|
600
600
|
|
601
601
|
// ------------- MEDIA QUERIES ---------------------
|
602
602
|
// -------------------------------------------------
|
603
603
|
|
604
604
|
@media only screen and (max-width: 1366px) {
|
605
|
-
|
606
|
-
|
607
|
-
|
605
|
+
.sd-page-content--slide-in--open .sd-page-content__content-block--30-slide {
|
606
|
+
width: 50rem;
|
607
|
+
}
|
608
608
|
|
609
|
-
|
610
|
-
|
611
|
-
|
609
|
+
.sd-page-content--slide-in--open .sd-page-content__content-block--main {
|
610
|
+
width: calc(100vw - 54.8rem);
|
611
|
+
}
|
612
612
|
}
|
613
613
|
|
614
614
|
// Editing Closed
|
615
615
|
|
616
616
|
@media only screen and (max-width: 800px) {
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
617
|
+
.subnav--responsive {
|
618
|
+
#planning-dropdown {
|
619
|
+
display: block;
|
620
|
+
}
|
621
|
+
#planning-buttons {
|
622
|
+
display: none;
|
623
|
+
}
|
624
|
+
.dropdown__toggle {
|
625
|
+
max-width: 160px;
|
626
|
+
}
|
627
|
+
&.compact--level-1 {
|
628
|
+
.dropdown__toggle {
|
629
|
+
max-width: 160px;
|
630
|
+
}
|
631
|
+
}
|
631
632
|
}
|
632
|
-
}
|
633
633
|
}
|
634
634
|
@media only screen and (max-width: 1024px) {
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
635
|
+
.subnav--responsive.compact--level-1 {
|
636
|
+
#planning-dropdown {
|
637
|
+
display: block;
|
638
|
+
}
|
639
|
+
#planning-buttons {
|
640
|
+
display: none;
|
641
|
+
}
|
641
642
|
}
|
642
|
-
}
|
643
643
|
}
|
644
644
|
|
645
645
|
// Editing Open
|
646
|
-
|
646
|
+
|
647
647
|
@media only screen and (max-width: 1480px) {
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
648
|
+
.sd-page-content--slide-in--open {
|
649
|
+
.subnav--responsive {
|
650
|
+
&.compact--level-1 {
|
651
|
+
#planning-dropdown {
|
652
|
+
display: block;
|
653
|
+
}
|
654
|
+
#planning-buttons {
|
655
|
+
display: none;
|
656
|
+
}
|
657
|
+
}
|
653
658
|
}
|
654
|
-
#planning-buttons {
|
655
|
-
display: none;
|
656
|
-
}
|
657
|
-
}
|
658
659
|
}
|
659
|
-
}
|
660
660
|
}
|
661
661
|
|
662
662
|
@media only screen and (max-width: 1250px) {
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
663
|
+
.sd-page-content--slide-in--open {
|
664
|
+
.subnav--responsive {
|
665
|
+
#planning-dropdown {
|
666
|
+
display: block;
|
667
|
+
}
|
668
|
+
#planning-buttons {
|
669
|
+
display: none;
|
670
|
+
}
|
671
|
+
.dropdown__toggle {
|
672
|
+
max-width: 160px;
|
673
|
+
}
|
674
|
+
}
|
674
675
|
}
|
675
|
-
}
|
676
676
|
}
|