Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #1323

Merged
merged 130 commits into from
Nov 23, 2023
Merged

Develop #1323

Show file tree
Hide file tree
Changes from 117 commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
fbccb90
Upgrading storybook 7.3 to 7.4 (#1141)
ghazal-salehi Aug 31, 2023
605d4d4
Qoldev 580 aligning button in service dropdown (#1142)
ghazal-salehi Sep 1, 2023
a616a4f
Bump @babel/preset-env from 7.22.10 to 7.22.14 (#1136)
dependabot[bot] Sep 1, 2023
d5a0a4e
QOLDEV-533 Removing unnecessary space in accordion (#1143)
ghazal-salehi Sep 4, 2023
5c437d9
Qoldev 592 table top border (#1144)
ghazal-salehi Sep 4, 2023
c610268
Bump @babel/preset-env from 7.22.14 to 7.22.15 (#1148)
dependabot[bot] Sep 4, 2023
50b344a
Bump @babel/plugin-transform-runtime from 7.22.10 to 7.22.15 (#1149)
dependabot[bot] Sep 4, 2023
960f9c7
Bump jquery from 3.7.0 to 3.7.1 (#1115)
dependabot[bot] Sep 5, 2023
ccc51ef
QOLDEV-576 Create a story for full-width image (#1153)
ghazal-salehi Sep 6, 2023
e7a83e0
QOLDEV-594 Adding a story for bordered table (#1152)
ghazal-salehi Sep 6, 2023
cc1aa68
QOLDEV-578 Fixing class qg-unstyled for image without border (#1151)
ghazal-salehi Sep 6, 2023
4113322
QOLDEV-592 Excluding NoStripe tables from border: 0 (#1150)
ghazal-salehi Sep 6, 2023
6b83b19
Bump @babel/core from 7.22.11 to 7.22.15 (#1147)
dependabot[bot] Sep 6, 2023
78b8d0c
QOLDEV-591 quixk exit z-index (#1155)
ghazal-salehi Sep 7, 2023
06a6b6f
Qoldev 569 searchable table (#1154)
ghazal-salehi Sep 7, 2023
6019826
QOLDEV-596 Search box clear button (#1156)
ghazal-salehi Sep 7, 2023
9f43821
Bump @babel/core from 7.22.15 to 7.22.17 (#1158)
dependabot[bot] Sep 10, 2023
c06c723
Bump chromatic from 6.24.1 to 7.1.0 (#1157)
dependabot[bot] Sep 11, 2023
eb6e874
QOLDEV-579 improving jQuery datepicker in storybook (#1128)
ghazal-salehi Sep 11, 2023
00c83ec
Bump @babel/runtime from 7.22.11 to 7.22.15 (#1145)
dependabot[bot] Sep 12, 2023
efd713d
QOLDEV-603 Upgrade storybook to 7.4.1 (#1171)
ghazal-salehi Sep 13, 2023
fb3cc74
Bump jest from 29.6.4 to 29.7.0 (#1175)
dependabot[bot] Sep 13, 2023
a6c0616
Bump eslint from 8.48.0 to 8.49.0 (#1166)
dependabot[bot] Sep 14, 2023
2dff0a9
QOLDEV-599 jQuery UI for storybook, Cleaning up tasks (#1159)
ghazal-salehi Sep 14, 2023
ff554ec
QOLDEV-602 Keeping quick exit at the top for long page (#1169)
ghazal-salehi Sep 15, 2023
bcca26a
Bump @babel/core from 7.22.17 to 7.22.19 (#1177)
dependabot[bot] Sep 15, 2023
f3781cf
QOLDEV-569 Styling elements in searchable table (#1168)
ghazal-salehi Sep 15, 2023
0c88dd6
QOLDEV-600 Styling qg-radio-tabs (#1160)
ghazal-salehi Sep 15, 2023
a7bcd13
Bump sass from 1.66.1 to 1.67.0 (#1176)
dependabot[bot] Sep 15, 2023
e508f86
QOLDEV-601 Styling portal links (#1161)
ghazal-salehi Sep 15, 2023
bb4ef66
Bump puppeteer from 21.1.1 to 21.2.1 (#1174)
dependabot[bot] Sep 17, 2023
97cc757
QOLDEV-599 Lint error, and others (#1185)
ghazal-salehi Sep 18, 2023
b9a7836
QOLDEV-608 Upgrade storybook to 7.4.2 (#1186)
ghazal-salehi Sep 18, 2023
b9e7e5a
Bump @babel/preset-env from 7.22.15 to 7.22.20 (#1189)
dependabot[bot] Sep 18, 2023
79c3448
Bump @babel/core from 7.22.19 to 7.22.20 (#1188)
dependabot[bot] Sep 18, 2023
b546e1f
Bump postcss from 8.4.29 to 8.4.30 (#1190)
dependabot[bot] Sep 19, 2023
c00ec1d
QOLDEV-324 Decomissioning old docs in the sourcecode (#1187)
ghazal-salehi Sep 19, 2023
0bf2929
QOLDEV-601 Making main navigation bar and DFV's seamless (#1193)
ghazal-salehi Sep 19, 2023
9c11bd8
Qoldev 569 sortable table for FireFox (#1194)
ghazal-salehi Sep 21, 2023
3037af6
Qoldev 612 global search dropdown (#1195)
ghazal-salehi Sep 21, 2023
d71e437
QOLDEV-622 added CSS for disabled radios and checkboxes
stvp-qld Oct 3, 2023
a49b8a6
QOLDEV-620 Making table-sm bootstrap class working in SWE (#1218)
ghazal-salehi Oct 3, 2023
cf0a560
QOLDEV-577 Removing source code toggle button for mobile stories (#1215)
ghazal-salehi Oct 3, 2023
5b189fc
Upgrade storybook to 7.4.5 (#1214)
ghazal-salehi Oct 3, 2023
e9916fa
Qoldev 618 service finder button (#1217)
ghazal-salehi Oct 3, 2023
4e6be81
QOLDEV-622 disabled radio checkbox storybook files
stvp-qld Oct 3, 2023
2dd59b0
Merge branch 'develop' into QOLDEV-622-disabled-check-radio-style
stvp-qld Oct 3, 2023
7a9027f
Bump jest-puppeteer from 9.0.0 to 9.0.1 (#1225)
dependabot[bot] Oct 4, 2023
a4e7ede
Bump postcss from 8.4.30 to 8.4.31 (#1226)
dependabot[bot] Oct 4, 2023
5180c4b
Bump puppeteer from 21.2.1 to 21.3.6 (#1219)
dependabot[bot] Oct 4, 2023
582b5b6
Bump eslint from 8.49.0 to 8.50.0 (#1223)
dependabot[bot] Oct 4, 2023
fab7195
Bump @babel/runtime from 7.22.15 to 7.23.1 (#1224)
dependabot[bot] Oct 4, 2023
5cf7d19
Bump sass from 1.67.0 to 1.68.0 (#1222)
dependabot[bot] Oct 4, 2023
62a0f9e
Merge branch 'develop' into QOLDEV-622-disabled-check-radio-style
stvp-qld Oct 4, 2023
4d3df89
Merge pull request #1220 from qld-gov-au/QOLDEV-622-disabled-check-ra…
stvp-qld Oct 4, 2023
2d3232a
Qoldev 569 searchable table storybook (#1221)
ghazal-salehi Oct 5, 2023
ab45562
Bump chromatic from 7.1.0 to 7.2.2 (#1233)
dependabot[bot] Oct 5, 2023
e8b4426
Edits to radio and checkbox examples in Storybook
re-becca Oct 5, 2023
cc85e1b
Merge branch 'develop' into QOLDEV-622-disabled-check-radio-style
stvp-qld Oct 5, 2023
0d08d07
Merge pull request #1234 from qld-gov-au/QOLDEV-622-disabled-check-ra…
stvp-qld Oct 5, 2023
01d98dd
Bump @babel/core from 7.22.20 to 7.23.0 (#1237)
dependabot[bot] Oct 6, 2023
8875c6b
Bump @storybook/addon-mdx-gfm from 7.4.5 to 7.4.6 (#1229)
dependabot[bot] Oct 6, 2023
7ab80f4
Revert "Bump @storybook/addon-mdx-gfm from 7.4.5 to 7.4.6 (#1229)" (#…
ghazal-salehi Oct 6, 2023
fcc5f8b
Bump storybook to 7.4.6 (#1240)
ghazal-salehi Oct 8, 2023
de95048
Qoldev 612 global search dropdown blurb (#1239)
ghazal-salehi Oct 8, 2023
53ac9aa
QOLDEV-534 Replacing via.placeholder.com with placehold.co (#1243)
ghazal-salehi Oct 9, 2023
bdd3493
Bump sass from 1.68.0 to 1.69.0 (#1246)
dependabot[bot] Oct 10, 2023
2e7dfad
Bump chromatic from 7.2.2 to 7.2.3 (#1247)
dependabot[bot] Oct 10, 2023
d1313e5
Bump eslint from 8.50.0 to 8.51.0 (#1245)
dependabot[bot] Oct 10, 2023
4aa6322
Bump puppeteer from 21.3.6 to 21.3.8 (#1244)
dependabot[bot] Oct 10, 2023
ed1011d
Bump sass from 1.69.0 to 1.69.2 (#1249)
dependabot[bot] Oct 10, 2023
6207f78
Bump chromatic from 7.2.3 to 7.3.0 (#1250)
dependabot[bot] Oct 11, 2023
58bfb91
Bump storybook-addon-pseudo-states from 2.1.1 to 2.1.2
dependabot[bot] Oct 11, 2023
a82ebe8
Merge pull request #1253 from qld-gov-au/dependabot/npm_and_yarn/deve…
ThrawnCA Oct 12, 2023
e8a9b6b
Bump sass from 1.69.2 to 1.69.3 (#1256)
dependabot[bot] Oct 12, 2023
c419b3c
Bump @babel/runtime from 7.23.1 to 7.23.2 (#1254)
dependabot[bot] Oct 12, 2023
e0b0a94
QOLDEV-635 Updating tooltip text for Quick Exit (#1257)
ghazal-salehi Oct 12, 2023
bb22d0c
Bump @babel/preset-env from 7.22.20 to 7.23.2 (#1252)
dependabot[bot] Oct 13, 2023
25e4c03
Bump @babel/core from 7.23.0 to 7.23.2 (#1255)
dependabot[bot] Oct 13, 2023
771d1a2
Bump @babel/plugin-transform-runtime from 7.22.15 to 7.23.2 (#1251)
dependabot[bot] Oct 13, 2023
008ae24
Bump chromatic from 7.3.0 to 7.4.0 (#1259)
dependabot[bot] Oct 16, 2023
cb934a4
Bump webpack from 5.88.2 to 5.89.0 (#1260)
dependabot[bot] Oct 16, 2023
1c5498a
Qoldev 637 tag component (#1258)
ghazal-salehi Oct 17, 2023
45a1a51
Qoldev 637 tag component (#1268)
ghazal-salehi Oct 18, 2023
c6c8834
Bump storybook to 7.5.0 (#1269)
ghazal-salehi Oct 19, 2023
7d17e98
Bump sass from 1.69.3 to 1.69.4 (#1273)
dependabot[bot] Oct 20, 2023
bf6157c
Bump storybook to 7.5.1 (#1278)
ghazal-salehi Oct 25, 2023
763486d
Bump chromatic from 7.4.0 to 7.5.4 (#1286)
dependabot[bot] Oct 26, 2023
ce90b42
Bump eslint from 8.51.0 to 8.52.0 (#1281)
dependabot[bot] Oct 26, 2023
d99fedb
Bump concurrently from 8.2.1 to 8.2.2 (#1282)
dependabot[bot] Oct 26, 2023
f041309
Bump puppeteer from 21.3.8 to 21.4.1 (#1284)
dependabot[bot] Oct 26, 2023
a05853d
Bump eslint-plugin-import from 2.28.1 to 2.29.0 (#1285)
dependabot[bot] Oct 26, 2023
49fe76e
Bump sass from 1.69.4 to 1.69.5 (#1287)
dependabot[bot] Oct 27, 2023
c1d7f24
Bump storybook to 7.5.2 (#1295)
ghazal-salehi Oct 31, 2023
8770b48
Bump chromatic from 7.5.4 to 7.6.0 (#1296)
dependabot[bot] Nov 2, 2023
be1ca49
QOLDEV-658 3px margin to button and storybook update
stvp-qld Nov 2, 2023
ae4e337
Bump puppeteer from 21.4.1 to 21.5.0 (#1297)
dependabot[bot] Nov 2, 2023
d5b250b
QOLDEV-658 3px button borders on solid buttons
stvp-qld Nov 2, 2023
0627a78
Bump gulp-debug from 4.0.0 to 5.0.1 (#1300)
dependabot[bot] Nov 5, 2023
2f39c72
QOLDEV-658 organise button stories for Storybook 7+
stvp-qld Nov 6, 2023
15336d4
Merge branch 'develop' into QOLDEV-658-make-button-border-consistent
stvp-qld Nov 6, 2023
19b0817
Merge pull request #1299 from qld-gov-au/QOLDEV-658-make-button-borde…
stvp-qld Nov 6, 2023
2558033
Bump eslint from 8.52.0 to 8.53.0 (#1305)
dependabot[bot] Nov 7, 2023
670e592
Bump storybook to 7.5.3 (#1307)
ghazal-salehi Nov 7, 2023
93674a5
QOLDEV-666 Styling formio dropdown items (#1313)
ghazal-salehi Nov 10, 2023
dd49c7b
Bump @babel/plugin-transform-runtime from 7.23.2 to 7.23.3 (#1312)
dependabot[bot] Nov 12, 2023
d827741
Bump puppeteer from 21.5.0 to 21.5.1 (#1308)
dependabot[bot] Nov 12, 2023
d4664c8
Bump @babel/preset-env from 7.23.2 to 7.23.3 (#1309)
dependabot[bot] Nov 12, 2023
21aa81b
Bump @babel/core from 7.23.2 to 7.23.3 (#1310)
dependabot[bot] Nov 12, 2023
42ad024
Qoldev 546 Replacing share twitter icon with x-twitter svg (#1280)
ghazal-salehi Nov 13, 2023
32579f5
Bump chromatic from 7.6.0 to 9.0.0 (#1314)
dependabot[bot] Nov 14, 2023
c0e1e20
QOLDEV-546 Updating twitter icon in the footer and other storybook do…
ghazal-salehi Nov 15, 2023
82eeea6
Bump puppeteer from 21.5.1 to 21.5.2 (#1316)
dependabot[bot] Nov 16, 2023
e6f7580
Bump chromatic from 9.0.0 to 9.1.0
dependabot[bot] Nov 17, 2023
0daea48
Merge pull request #1318 from qld-gov-au/dependabot/npm_and_yarn/deve…
ThrawnCA Nov 20, 2023
8b405da
Bump eslint-config-standard from 6.2.1 to 17.1.0
dependabot[bot] Nov 20, 2023
9a647d8
limit eslint-config-standard to versions that NPM 6 can support
ThrawnCA Nov 20, 2023
3e5ee90
Bump @babel/runtime from 7.23.2 to 7.23.4
dependabot[bot] Nov 20, 2023
fc98257
Bump gh-pages from 6.0.0 to 6.1.0
dependabot[bot] Nov 20, 2023
21f4dbf
Bump @babel/plugin-transform-runtime from 7.23.3 to 7.23.4
dependabot[bot] Nov 20, 2023
23ee72f
Qoldev 668 index page (#1317)
ghazal-salehi Nov 21, 2023
40f5280
Resolving conflicts
ghazal-salehi Nov 21, 2023
26cf955
Merge pull request #1322 from qld-gov-au/dependabot/npm_and_yarn/deve…
ThrawnCA Nov 21, 2023
b2dda60
Merge pull request #1321 from qld-gov-au/dependabot/npm_and_yarn/deve…
ThrawnCA Nov 21, 2023
3e90dc0
Bump eslint from 8.53.0 to 8.54.0
dependabot[bot] Nov 21, 2023
49d59c5
Merge pull request #1320 from qld-gov-au/dependabot/npm_and_yarn/deve…
ThrawnCA Nov 21, 2023
90fd064
Merge pull request #1319 from qld-gov-au/dependabot/npm_and_yarn/deve…
ThrawnCA Nov 21, 2023
4985049
QOLDEV-546 X twitter icon adjustment in the footer (#1324)
ghazal-salehi Nov 21, 2023
d54dbd1
Merge branch 'develop' into dependabot/npm_and_yarn/develop/eslint-co…
ghazal-salehi Nov 21, 2023
6d6e025
Merge pull request #1098 from qld-gov-au/dependabot/npm_and_yarn/deve…
ThrawnCA Nov 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,480 changes: 1,257 additions & 1,223 deletions package-lock.json

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,30 +46,30 @@
"licence": "all rights reserved",
"homepage": "http://www.qld.gov.au/",
"devDependencies": {
"@babel/core": "^7.23.0",
"@babel/plugin-transform-runtime": "^7.22.15",
"@babel/preset-env": "^7.22.20",
"@storybook/addon-actions": "v7.4.6",
"@storybook/addon-essentials": "v7.4.6",
"@storybook/addon-interactions": "v7.4.6",
"@storybook/addon-links": "v7.4.6",
"@storybook/addon-mdx-gfm": "^7.4.6",
"@storybook/html": "v7.4.6",
"@storybook/html-webpack5": "^7.4.6",
"@babel/core": "^7.23.3",
"@babel/plugin-transform-runtime": "^7.23.3",
"@babel/preset-env": "^7.23.3",
"@storybook/addon-actions": "v7.5.3",
"@storybook/addon-essentials": "v7.5.3",
"@storybook/addon-interactions": "v7.5.3",
"@storybook/addon-links": "v7.5.3",
"@storybook/addon-mdx-gfm": "^7.5.3",
"@storybook/html": "v7.5.3",
"@storybook/html-webpack5": "^7.5.3",
"@storybook/testing-library": "^0.2.2",
"babel-loader": "^9.1.3",
"chromatic": "^7.2.2",
"chromatic": "^9.1.0",
"chromium": "^3.0.3",
"concurrently": "^8.2.1",
"concurrently": "^8.2.2",
"copy-webpack-plugin": "^11.0.0",
"cssnano": "^6.0.1",
"del": "^2.2.2",
"eslint": "^8.50.0",
"eslint": "^8.53.0",
"eslint-config-semistandard": "^7.0.0",
"eslint-config-standard": "^6.2.1",
"eslint-html-reporter": "^0.7.4",
"eslint-loader": "^4.0.2",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-standard": "^5.0.0",
"event-stream": "^4.0.1",
Expand All @@ -82,7 +82,7 @@
"gulp-concat": "^2.6.1",
"gulp-connect": "^5.7.0",
"gulp-connect-ssi": "^0.4.0",
"gulp-debug": "^4.0.0",
"gulp-debug": "^5.0.1",
"gulp-directory-sync": "^1.2.4",
"gulp-eslint": "^6.0.0",
"gulp-foreach": "^0.1.0",
Expand All @@ -108,20 +108,20 @@
"jest-puppeteer": "^9.0.1",
"node-ssi": "^0.3.2",
"np": "^8.0.4",
"puppeteer": "^21.3.6",
"puppeteer": "^21.5.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sass": "^1.68.0",
"storybook": "^7.4.6",
"storybook-addon-pseudo-states": "^2.1.1",
"sass": "^1.69.5",
"storybook": "^7.5.3",
"storybook-addon-pseudo-states": "^2.1.2",
"string-replace-loader": "^3.1.0",
"terser-webpack-plugin": "^5.3.9",
"webpack": "^5.88.2",
"webpack": "^5.89.0",
"webpack-ssi-include-loader": "^1.6.1",
"webpack-stream": "^7.0.0"
},
"dependencies": {
"@babel/runtime": "^7.23.1",
"@babel/runtime": "^7.23.2",
"ajv": "^8.12.0",
"bootstrap": "^4.6.2",
"jquery": "^3.7.1",
Expand Down
24 changes: 22 additions & 2 deletions src/assets/_project/_blocks/components/buttons/_qg-buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,27 +84,47 @@
}

.qg-btn {

--border-width: 3px; //Default buttons border width

@extend .btn;

&.btn-global-primary,
&.btn-global-primary-white,
&.btn-primary,
&.btn-secondary,
&.btn-default {
border-width: var(--border-width);
}

@include qg-button-outline-decoration($border-radius: $btn-border-radius-base);
&.btn-outline-dark{
color: $qg-outline-dark;
background-color: transparent !important;
border: 3px solid $qg-outline-dark;
border: var(--border-width) solid $qg-outline-dark;

@include on-hover-or-active {
border-color: $qg-outline-dark-hover;
color: $qg-global-primary-dark-grey;
}

@include qg-underline-on-highlight-decoration;

}

&.btn-outline-light{
color: white !important;
background-color: transparent !important;
border: 3px solid white;
border: var(--border-width) solid white;

@include qg-underline-on-highlight-decoration;

}

&.btn-link.light{
color: white;
}

}

#body .qg-btn, #body .btn, body .qg-btn, body .btn {
Expand Down
9 changes: 8 additions & 1 deletion src/assets/_project/_blocks/components/forms/_qg-forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -295,11 +295,18 @@
}

.choices__item {
padding: 4px 10px;
line-height: inherit;
font-size: 1rem;
}

.choices__list--dropdown .choices__item {
padding: 10px;
}

.choices__input {
padding: 10px !important;
}

.choices__item.choices__item--selectable:not(.choices__item--choice) {
background: $qg-global-primary-light-grey;
border-radius: 6px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
color: white;
font-weight: 500
}

.qg-tooltip__content {
p {
width: 150px;
}
}
.qg-tooltip__parent {
position: relative
}
Expand Down
47 changes: 47 additions & 0 deletions src/assets/_project/_blocks/components/tags/_qg-tags.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
.badge {
&.qg-tag {
font-weight: normal;
margin-right: 0.5rem;
}
&.qg-tag-grey {
background-color: $qg-tag-bg-grey;
color: $qg-tag-color-grey;
}

&.qg-tag-green {
background-color: $qg-tag-bg-green;
color: $qg-tag-color-green;
}

&.qg-tag-blue {
background-color: $qg-tag-bg-blue;
color: $qg-tag-color-blue;
}

&.qg-tag-purple {
background-color: $qg-tag-bg-purple;
color: $qg-tag-color-purple;
}

&.qg-tag-pink {
background-color: $qg-tag-bg-pink;
color: $qg-tag-color-pink;
font-weight: normal;
}

&.qg-tag-red {
background-color: $qg-tag-bg-red;
color: $qg-tag-color-red;
font-weight: normal;
}

&.qg-tag-orange {
background-color: $qg-tag-bg-orange;
color: $qg-tag-color-orange;
}

&.qg-tag-yellow {
background-color: $qg-tag-bg-yellow;
color: $qg-tag-color-yellow;
}
}
32 changes: 15 additions & 17 deletions src/assets/_project/_blocks/layout/_pagemodels/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@extend .flex-wrap;
.qg-index-item.content-only{
h2, p, ul, &> div &> span {
padding-left: 10px;
padding-left: 0;
}
}

Expand Down Expand Up @@ -75,10 +75,16 @@
margin-left: 0;
&> .qg-index-item{
//width: 100%;
margin-bottom: 10px;
background: $qg-blue-green;
margin-bottom: 2rem !important;
padding-left: 0 !important;
padding-right: 0 !important;
border: solid 1px #d3d3d3;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
@include qg-button-outline-decoration($border-radius: $btn-border-radius-base);
&:hover {
box-shadow: none;
}
}
h2 {
padding: 0 !important;
Expand All @@ -87,16 +93,12 @@
padding: 1em 1.5em 1em 1.5em !important;
width: 100%;
display: block;
@include qg-link-styles__theme-white(0);
&:hover {
background: #007eb1;
}
}
img {
display: none;
}
}
p,ul{
p,ul {
display: none;
}
}
Expand All @@ -106,9 +108,8 @@
// of other index-links rules
#qg-content #qg-primary-content .qg-index-links {
h2 a, ul li a {
@include qg-link-styles__no-underline-default;
@include breakpoint(xs) {
@include qg-link-styles__theme-white(0);
@include media-breakpoint-up(sm) {
@include qg-link-styles__no-underline-default;
}
}
}
Expand All @@ -124,10 +125,7 @@
#qg-one-col, #qg-three-col, #qg-two-col-aside:not(.wide), #qg-two-col-nav:not(.wide) {
.qg-index-links > .qg-index-item {
@include media-breakpoint-up(sm) {
@include make-col(6);
}
&:nth-child(3) {
@include qg-index-item;
@include make-col(12); // Make the page one-col. Example: Topic Index page with an aside
}
}
}
Expand All @@ -146,9 +144,9 @@
#qg-two-col-aside.wide, #qg-two-col-nav.wide {
.qg-index-links > .qg-index-item {
@include media-breakpoint-up(sm) {
@include make-col(4);
@include make-col(6); // Make the page two-col. Example: Topic index page with no aside
}
&:nth-child(4) {
&:nth-child(3) {
@include qg-index-item;
}
}
Expand Down
10 changes: 5 additions & 5 deletions src/assets/_project/_blocks/layout/asides/_asides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@

h2 {
margin-top: 0;
}

h3 {
margin-top: 0;
overflow: hidden;
color: $qg-aside-h2-color;
@include rem(font-size, 22px);
font-weight: bold;

.fa {
padding-right: .3em;
color: $qg-icon-color;
font-size: 1.3em;
}

}
h3 {
h3:not(.aside-heading) {
color: $qg-dark-blue2;
}
p:last-child {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="qg-aside qg-contact" role="complementary">
<h2><span class="fa fa-phone" aria-hidden="true"></span>Contact</h2>
<h3><span class="fa fa-phone" aria-hidden="true"></span>Contact</h3>

<ul>
<li class="telephone">General enquiries <span class="tel">13 QGOV (13 74 68)</span></li>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="qg-aside qg-feedback" role="complementary">
<h2><span class="fa fa-comments-o" aria-hidden="true"></span>Tell us what you think</h2>
<h3><span class="fa fa-comments-o" aria-hidden="true"></span>Tell us what you think</h3>

<p><a href="#page-feedback-useful">Fill in the feedback section</a> and let us know what you think of the pages so far and what you would like to see in the future.</p>
</div>
Expand Down
18 changes: 17 additions & 1 deletion src/assets/_project/_blocks/layout/content/_options.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@

&-item {
margin-right: 22px;
&.twitter-list-item {
transform: scale(1.02);
}
.qg-share-twitter {
svg {
margin-top: -6px;
}
}

&:last-child {
margin-right: 0;
Expand All @@ -34,7 +42,7 @@
&-link {
.fa {
@include rem(font-size, 24px);
color: #000;
color: $qg-dark-grey-dark;
transition: color .25s ease;
}

Expand All @@ -47,6 +55,14 @@
color: $qg-twitter;
}

.x-twitter-square {
svg {
rect {
fill: black;
}
}
}

.fa-linkedin-square {
color: $qg-linkedin;
}
Expand Down
7 changes: 6 additions & 1 deletion src/assets/_project/_blocks/layout/content/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
</li>
<li class="qg-share-list-item">
<a class="qg-share-link qg-share-twitter" href="#" title="Twitter" data-analytics-link-group="qg-sharing-twitter" aria-label="Share on Twitter">
<span class="fa fa-twitter-square fa-2x qg-share-icon" aria-hidden="true"></span>
<span class="x-twitter-square qg-share-icon" aria-hidden="true">
<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="20.8" height="20.2138" rx="4" fill="#4a4a4a"/>
<path d="M14.0404 4.3999H15.9964L11.7243 9.28158L16.75 15.9253H12.8158L9.73224 11.897L6.20812 15.9253H4.24935L8.81796 10.7029L4 4.3999H8.0339L10.8183 8.08194L14.0404 4.3999ZM13.3533 14.7562H14.4366L7.44377 5.50812H6.28015L13.3533 14.7562Z" fill="white"/>
</svg>
</span>
<span class="title qg-visually-hidden">Twitter</span>
</a>
</li>
Expand Down
Loading
Loading