alistair3149
f72af5e76d
Improve CI and code clean up ( #143 )
...
* Replace existing grunt linter
* Fix stylesheet issues picked up by stylelint
* Update the git workflow
* Fix incorrect slash in workflow file
* Github CI lint - eslint/stylelint
* Clean up composer
* Fix phpcb error
* MediaWiki CI
* Change commit message
* Update status badge
* Add JSDoc
* Add SVGO
* Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
* Optimize SVG files with SVGO
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-06-16 22:49:41 -04:00
alistair3149
32a0af35d4
Separate ToC from core module
2020-06-15 22:32:55 -04:00
alistair3149
951f60ce05
Fix plainlist style
2020-06-13 21:54:32 -04:00
alistair3149
52811c667c
Fix ToC not appearing in print mode
2020-06-12 16:28:47 -04:00
github-actions
92a5ae1b2a
Github CI lint - eslint/stylelint
2020-06-12 20:21:44 +00:00
alistair3149
7cb96376b2
Fix print mode styles
2020-06-12 16:21:27 -04:00
alistair3149
7980716047
Clean up common stylesheets
2020-06-12 14:16:45 -04:00
github-actions
5b59196041
Github CI lint - eslint/stylelint
2020-06-12 18:07:26 +00:00
alistair3149
d4748e8d47
Remove dark mode less
2020-06-12 14:05:32 -04:00
alistair3149
2fb4705f29
Move pagelinks dark mode styles to pagelinks
2020-06-12 14:05:32 -04:00
github-actions
5ac54f07dd
Github CI lint - eslint/stylelint
2020-06-12 18:02:43 +00:00
alistair3149
96d7c90b21
Separate lazyload styles from common
2020-06-12 14:02:23 -04:00
alistair3149
21b2838c0e
Separate pagelinks styles from common
2020-06-12 13:44:24 -04:00
alistair3149
e136787fa4
Clean up page tools selectors
2020-06-12 02:09:49 -04:00
github-actions
c9d18d06c4
Github CI lint - eslint/stylelint
2020-06-12 06:03:29 +00:00
alistair3149
23cb7e4774
Move hack styles out of common
2020-06-12 02:03:05 -04:00
alistair3149
478c476431
Move Echo dark styles to echo skinstyles
2020-06-12 01:59:13 -04:00
github-actions
cd5a8fa28c
Github CI lint - eslint/stylelint
2020-06-12 05:57:30 +00:00
alistair3149
242d49af1e
Clean up overqualified selectors
2020-06-12 01:56:55 -04:00
alistair3149
520b80132e
Move Cite-related styles outside of common
2020-06-12 01:43:12 -04:00
alistair3149
7f1e5d63de
Tweaks to thumbnail caption styles
2020-06-12 01:22:05 -04:00
alistair3149
d002ad6ede
Tweak ToC max height 2
2020-06-11 23:03:28 -04:00
alistair3149
3b22e99b54
Tweak ToC max height
2020-06-11 22:58:56 -04:00
alistair3149
a30c85bb8d
Fix improper selector for float styles ( #136 )
...
* Fix improper selector for float styles
* Github CI lint - eslint/stylelint
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-06-11 19:13:58 -04:00
alistair3149
70cbebf602
Set z-index for toc so that it is under float objects
2020-06-11 18:31:13 -04:00
alistair3149
41a71153a0
Removed reduncant codes
2020-06-11 18:17:37 -04:00
github-actions
8839e8869b
Github CI lint - eslint/stylelint
2020-06-11 22:16:03 +00:00
alistair3149
cb4c660a5b
Clean up common styles
2020-06-11 18:15:40 -04:00
alistair3149
1428d9efc5
Fix page tools overlapping with drawer menu
2020-06-11 17:37:51 -04:00
alistair3149
a10c0e3848
Fix ToC not appearing in mobile
2020-06-11 16:53:25 -04:00
github-actions
0bedb3a9b5
Github CI lint - eslint/stylelint
2020-06-11 20:33:35 +00:00
alistair3149
904b5708e9
Add max width for ToC
2020-06-11 16:33:05 -04:00
alistair3149
991b5adf6f
Removed unnessecary important CSS
2020-06-11 16:19:10 -04:00
alistair3149
1244ed148a
Change sidebar location
2020-06-11 16:14:46 -04:00
alistair3149
fc4e492e01
Add missing semi colon to CSS
2020-06-11 16:08:32 -04:00
alistair3149
f4344bfb20
Tweak mobile ToC styles
2020-06-11 16:06:02 -04:00
alistair3149
540e3d7323
Add more indent space for ToC
2020-06-11 15:52:05 -04:00
alistair3149
a0a7c5c03f
Removed margin from page tools
2020-06-11 15:47:33 -04:00
alistair3149
ad3b9c41aa
Reduce unnessecary spacing for first heading
2020-06-11 15:42:32 -04:00
github-actions
16f21053b5
Github CI lint - eslint/stylelint
2020-06-11 19:36:54 +00:00
alistair3149
ae156d2f87
Move ToC to the left
2020-06-11 15:36:26 -04:00
alistair3149
8af63d7f61
Remove display:flex from toctext
2020-06-11 00:31:57 -04:00
github-actions
2c8eec5a67
Github CI lint - eslint/stylelint
2020-06-11 02:36:17 +00:00
alistair3149
dc4ae4996a
Refactored float styles to only apply on immediate childs
2020-06-10 22:35:54 -04:00
alistair3149
8e9fcef55c
Fix toc header color
2020-06-10 21:57:35 -04:00
alistair3149
52b58f0d95
Fix footer external link color
2020-06-10 21:46:42 -04:00
alistair3149
76ff442a04
Remove all visited link styles
2020-06-10 21:41:05 -04:00
alistair3149
d2124579a3
Removed visited link style
2020-06-10 21:30:29 -04:00
alistair3149
ca2c708ec2
Fix tocbutton text bug
2020-06-10 20:28:54 -04:00
github-actions
c7b006a382
Github CI lint - eslint/stylelint
2020-06-10 22:02:47 +00:00
alistair3149
590024e038
Clean up ToC styles
2020-06-10 18:02:22 -04:00
alistair3149
e6fab45a06
Removed duplicated media query from search form
2020-06-10 01:19:15 -04:00
alistair3149
c642dc07e0
Remove duplicated media queries
2020-06-10 01:17:49 -04:00
github-actions
629ff0d2aa
Github CI lint - eslint/stylelint
2020-06-10 03:00:57 +00:00
alistair3149
1425e2cd07
Add wikitable caption style
2020-06-09 22:59:54 -04:00
alistair3149
41802cb96a
Clean up icon ResourceLoader modules
2020-06-09 22:23:04 -04:00
alistair3149
0484c32f41
Reorganize stylesheets into its ResourceLoader module ( #126 )
2020-06-09 22:12:04 -04:00
alistair3149
18884fb6a1
Fixed special click redirection on search suggestion ( #125 )
2020-06-09 21:23:46 -04:00
alistair3149
6c4cef36f9
Fix alignment for footer icons if they are in the same li ( #124 )
2020-06-09 13:23:28 -04:00
alistair3149
c14bb9135e
Limit pagedescription text to 60 characters ( #122 )
...
* Trim extra description off for pagedescription
* Github CI lint - phpcbf
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-06-09 12:49:27 -04:00
alistair3149
d2845859c7
Open search when shortcut key is pressed
2020-06-09 00:30:24 -04:00
alistair3149
88e4dd87ae
Add additional padding between clear text and random button
2020-06-08 22:47:32 -04:00
alistair3149
9407f2e31b
Minor tweaks to suggestion spacing
2020-06-08 22:45:25 -04:00
alistair3149
2736d2dcc9
Reduce border radius of search box
2020-06-08 22:41:54 -04:00
github-actions
79a337175a
Github CI lint - eslint/stylelint
2020-06-09 02:38:45 +00:00
alistair3149
f6a4fae422
Improved mobile search UI
2020-06-08 22:38:14 -04:00
github-actions
5fb96074ab
Github CI lint - eslint/stylelint
2020-06-09 01:59:02 +00:00
alistair3149
345af04010
Added random button to search bar
2020-06-08 21:58:35 -04:00
alistair3149
d4e60d047b
Tweak search bar styles
2020-06-08 21:00:27 -04:00
alistair3149
ff0b5830c4
Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev
2020-06-08 19:12:12 -04:00
alistair3149
c009b8726c
Simplified search bar
...
The last one didn't stage all the files
2020-06-08 19:12:03 -04:00
github-actions
5d0d9898d0
Github CI lint - eslint/stylelint
2020-06-08 22:42:48 +00:00
alistair3149
5ec01bfffe
Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev
2020-06-08 18:42:24 -04:00
alistair3149
1e2574fa4c
Simplified search bar
2020-06-08 18:42:15 -04:00
github-actions
eaba71ede8
Github CI lint - eslint/stylelint
2020-06-08 22:09:32 +00:00
alistair3149
b24735337d
Reuploaded footer file
2020-06-08 18:08:44 -04:00
alistair3149
460c7e83bf
Delete footer.less
2020-06-08 18:05:28 -04:00
alistair3149
8e9bbdbbad
Removed search button
2020-06-08 16:51:48 -04:00
alistair3149
4d1170023a
Rounded corner for search suggestion
2020-06-08 16:26:51 -04:00
alistair3149
23a46f45c9
Removed suggestion backdrop hack
2020-06-08 01:43:57 -04:00
alistair3149
efd5ec53fc
Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev
2020-06-08 01:22:46 -04:00
alistair3149
c7d73a26c8
Additional tweaks to suggestion styles
2020-06-08 01:22:33 -04:00
github-actions
541698130e
Github CI lint - eslint/stylelint
2020-06-08 05:14:17 +00:00
alistair3149
82e6247cf0
Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev
2020-06-08 01:13:31 -04:00
alistair3149
98b130e635
Reworked search suggestion styles
2020-06-08 01:13:24 -04:00
github-actions
ba6ead1daa
Github CI lint - phpcbf
2020-06-08 04:28:38 +00:00
alistair3149
a6d42a419e
Added icon to fulltext search suggestion
2020-06-08 00:27:25 -04:00
github-actions
d0d379da52
Github CI lint - phpcbf
2020-06-07 22:48:53 +00:00
alistair3149
5df1d0971e
Removed no result search suggestion
2020-06-07 18:48:21 -04:00
alistair3149
b03c250a75
Added full text search to search suggestions
2020-06-07 18:34:12 -04:00
alistair3149
c92ce66d54
Removed search placeholder
2020-06-07 17:44:42 -04:00
alistair3149
0dc2c0b688
Ensure typeahead thumbnail size is an integer
2020-06-07 16:48:51 -04:00
alistair3149
a7e364aa72
Cleaned up search modules
2020-06-07 15:54:42 -04:00
alistair3149
4ab77674e4
Reorganized file structure for a few ResourceLoader modules
2020-06-07 15:02:52 -04:00
alistair3149
3aa075df94
Added new ResourceLoader module for fonts
2020-06-07 02:17:07 -04:00
alistair3149
bc15fd916e
Removed unused bottom bar
2020-06-07 02:07:30 -04:00
github-actions
e6f2a895bf
Github CI lint - eslint/stylelint
2020-06-07 05:31:34 +00:00
alistair3149
72b41df5ce
Refactor header DOM structure
...
- Reduced unnessecary HTML elements
- Stanardized class and IDs
- Switch to fix header due to performance concern
- Rewrote over-qualified CSS selectors
- Started rework on file organizations
2020-06-07 01:30:54 -04:00
alistair3149
09116cd568
Changed header from mw-header-container to mw-header
2020-06-06 15:51:51 -04:00
alistair3149
ce9c9a27a9
Use standard class and ID for search box
2020-06-06 14:47:03 -04:00
github-actions
a61eaa0833
Github CI lint - eslint/stylelint
2020-06-06 00:17:50 +00:00
alistair3149
c72a657a66
Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev
2020-06-05 20:12:49 -04:00
alistair3149
0ade51a384
Full Mustache conversion
2020-06-05 20:12:39 -04:00
github-actions
7b408a867b
Github CI lint - eslint/stylelint
2020-06-05 22:55:47 +00:00
alistair3149
0b28c95507
Give screen-reader-text class to hidden labels
2020-06-05 18:55:04 -04:00
github-actions
533da666d6
Github CI lint - eslint/stylelint
2020-06-05 22:26:03 +00:00
alistair3149
042522d310
Converted header user buttons into Mustache
2020-06-05 18:25:24 -04:00
alistair3149
a6bcf28acd
Converted part of menu to Mustache
2020-06-04 15:04:03 -04:00
alistair3149
317083a005
Fixed incorrect margin for footer
2020-06-04 02:40:28 -04:00
alistair3149
7a38c76215
Converted bottombar to Mustache
2020-06-04 00:18:36 -04:00
alistair3149
1463bef8f5
Fixed overflow in last modified bar
2020-06-03 13:09:48 -04:00
github-actions
ed708b0900
Github CI lint - eslint/stylelint
2020-06-03 05:08:25 +00:00
alistair3149
2f4827b785
Use semantic HTML5 elements for footer
2020-06-03 01:07:40 -04:00
alistair3149
2c6962f2be
Removed footer and content IDs
...
Based on T248137
2020-06-03 00:44:13 -04:00
alistair3149
f43b210446
Fixed footer overflow in smaller screen size
2020-06-02 23:24:17 -04:00
alistair3149
0c1b44c965
Fixed footer spacing when last modified bar is not present
2020-06-02 21:27:43 -04:00
alistair3149
37732ea6a9
Partial Mustache refactor ( #113 )
...
Refactor some components into Mustache. With the footer refactor addressed in #75 , it should solve most of the incompatibility issues caused by previous hacks used to generate the footer
2020-06-02 02:23:11 -04:00
alistair3149
15a33604dc
Changed footer z-index
2020-05-22 11:29:36 -04:00
alistair3149
9026fb8971
Fixed incorrect bottom button alignment in Safari
2020-05-22 11:20:56 -04:00
alistair3149
60f0742a99
Fixed incorrect height for search bar for Safari
2020-05-22 11:14:49 -04:00
github-actions
cd0a0d7399
Github CI lint - eslint/stylelint
2020-05-21 07:00:33 +00:00
alistair3149
9788a3ffdb
Added dark color for reference highlight
2020-05-21 02:59:58 -04:00
alistair3149
35a1e01023
Force lastmod to be above everything else
...
Also fixed the position for mobile view button generated by the MobileFrontend extension
2020-05-18 14:02:09 -04:00
github-actions
e065d03b61
Github CI lint - eslint/stylelint
2020-05-18 17:45:07 +00:00
alistair3149
c3483d3fb6
Use single quote for CSS
2020-05-18 13:44:29 -04:00
alistair3149
fa1386182f
Suppress stylelint error
2020-05-18 13:35:28 -04:00
alistair3149
290d60f02b
Fix tool textbug ( #103 )
2020-05-18 12:59:31 -04:00
alistair3149
e6f401d7a4
Fixed styles for footer icon
2020-05-18 12:52:38 -04:00
alistair3149
aa2ada02c1
Changed footer icon logic and added Miraheze icon
2020-05-18 12:46:34 -04:00
github-actions
63cd0348ad
Github CI lint - eslint/stylelint
2020-05-18 15:39:53 +00:00
alistair3149
e57e40128d
Added fix for ToS position in footer for Miraheze
...
Bandage fix for ToS position for Miraheze until footer refactor
2020-05-18 11:39:16 -04:00
alistair3149
0680cea997
Removed sitenotice styles
...
Sitenotice style should be defined by individual wiki rather than in the skin. This would give more flexibility to other third party wikis. Apart from that, the old implementation seems to have issue with CentralNotice.
2020-05-18 00:01:59 -04:00
github-actions
3c1e8769cb
Github CI lint - eslint/stylelint
2020-05-18 03:56:36 +00:00
alistair3149
32447458c8
Added temporary fix for footer icon
...
When footer icons are using the same ID (e.g. poweredby on Miraheze), the footer icons in the same ID are listed in vertical instead of horizontal. This hotfix is a bandage until the #75 (by extension #73 ) is completed.
2020-05-17 23:55:51 -04:00
alistair3149
28d1969952
Fixed toctoggle not behaving as expected for MW 1.32+
...
The toctoggle class was replaced with toctogglespan class since MediaWiki 1.32.
2020-05-17 18:51:47 -04:00
github-actions
095db889dc
Github CI lint - eslint/stylelint
2020-04-13 18:49:17 +00:00
github-actions
c244bc08d3
Github CI lint - phpcbf
2020-04-12 03:39:34 +00:00
alistair3149
25e91670b9
Merge branch 'master' of github.com:StarCitizenTools/mediawiki-skins-Citizen
2020-04-11 23:39:06 -04:00
alistair3149
ed50693ff6
Fixed ESlint error
2020-04-11 23:38:03 -04:00
github-actions
4fe0e65641
Github CI lint - phpcbf
2020-04-12 03:25:17 +00:00
alistair3149
11a13f68fa
Search input would be focus when toggle is clicked
2020-04-11 23:24:48 -04:00
alistair3149
9bc8683676
Table of Content improvements ( #98 )
...
* More condensed ToC
* Fixed spacing between ToC title and the list
* Added ToC heading hierarchy
* Github CI lint - eslint/stylelint
* More height for the ToC
* More space between ToC title and list
* Better section highlight on ToC
* Github CI lint - eslint/stylelint
* Fixed syntax from the last commit
* Github CI lint - eslint/stylelint
* Fixed undefined var
* Fixed ToC dark mode color
* Additional ToC dark mode color fixes
* Fixed incorrect ToC dark mode highlight color
* Fixed highlight color again for dark mode
* Bumped version
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-04-10 17:07:43 -04:00
alistair3149
7a69693f0c
Tweaked animation speed to be more responsive
2020-03-21 00:41:45 -04:00
alistair3149
427a3a21eb
Fixing page tools z-index
2020-03-20 00:06:01 -04:00
github-actions
fce117c288
Github CI lint - eslint/stylelint
2020-03-19 16:48:34 +00:00
alistair3149
628696f6d5
Fixed gradient overflow on header
2020-03-19 12:47:40 -04:00
alistair3149
ce4078cc96
Added additional padding for toc in mobile viewport
2020-03-18 13:38:50 -04:00
alistair3149
85dfe87d24
Fixed toc related issue on mobile viewport
2020-03-18 13:36:19 -04:00
alistair3149
37db8275f6
Fixed toc background in dark mode
2020-03-18 13:23:43 -04:00
alistair3149
76d494467b
Fixed header font weight
2020-03-17 01:33:38 -04:00
github-actions
b6a1698f00
Github CI lint - eslint/stylelint
2020-03-16 05:07:11 +00:00
alistair3149
483a3c68bb
Fix header bg in light mode
2020-03-16 01:08:51 -04:00
alistair3149
bb9f9569c8
Fixed header background in desktop mode
2020-03-16 00:05:52 -04:00
alistair3149
0c82fafc49
Tweaked transparency of header icons
2020-03-15 23:27:23 -04:00
github-actions
916cdbf635
Github CI lint - eslint/stylelint
2020-03-16 03:21:17 +00:00
alistair3149
d09a561216
Improved header styles
2020-03-15 23:22:50 -04:00
github-actions
874f968f26
Github CI lint - eslint/stylelint
2020-03-13 23:50:40 +00:00
alistair3149
bfac8e21bf
Fixed expanded table view #4
2020-03-13 19:52:22 -04:00
alistair3149
97ddc49e15
Fixed expanded table view #3
2020-03-13 19:00:55 -04:00
alistair3149
2a8121be0a
Fixed expanded table view #2
2020-03-13 18:54:30 -04:00
alistair3149
8901ef3dd2
Fixed expanded table view
2020-03-13 18:49:28 -04:00
alistair3149
62689793d4
Added back table display:block, need a alternative solution for responsive tables
2020-02-17 06:28:16 -05:00
alistair3149
802f7a0536
Removed table display:block as it is not needed
2020-02-17 06:25:20 -05:00
github-actions
2feb694f34
Github CI lint - eslint/stylelint
2020-02-16 06:04:00 +00:00
alistair3149
a2c6d6bb4c
Added bold italic for both fonts, needed for title
2020-02-16 01:04:16 -05:00
alistair3149
5e56b6b696
Hide side title in print mode since it is not needed
2020-02-15 23:24:52 -05:00
alistair3149
4589452358
Removed unused file
2020-02-15 23:01:58 -05:00
alistair3149
7a922720ba
Attempt to rearrange resourceloader module
2020-02-15 20:49:32 -05:00
github-actions
19a8a9d91e
Github CI lint - eslint/stylelint
2020-02-16 00:20:20 +00:00
alistair3149
1a9f508f96
Attempt to fix syntax error for toc js
2020-02-15 19:16:20 -05:00
alistair3149
3b7efc748f
Attempt to fix syntax error for toc js
2020-02-15 19:07:23 -05:00
alistair3149
72e5b93489
Disabled eslint for files using ES6 syntax
2020-02-15 19:05:44 -05:00
alistair3149
59545461bf
Disabled eslint for files using ES6 syntax
2020-02-15 19:00:19 -05:00
alistair3149
a2a39b9e5e
Disabled ESlint for search suggestions since it is on ES6
2020-02-15 18:52:29 -05:00
alistair3149
509acf94b4
Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev
2020-02-15 18:46:40 -05:00
alistair3149
c72c834fa2
Attempt to fix syntax error for toc js
2020-02-15 18:45:56 -05:00
alistair3149
7397d8bba8
Added ES6 comment for the search suggestion
2020-02-15 18:42:57 -05:00
github-actions
9738ab2819
Github CI lint - phpcbf
2020-02-15 23:42:05 +00:00
alistair3149
adbfeaaf0b
Fix syntax error in toc js
2020-02-15 18:37:17 -05:00
github-actions
0f5208ef18
Github CI lint - phpcbf
2020-02-15 23:11:35 +00:00
alistair3149
14600612bb
Attempt to convert to ES5
2020-02-15 18:12:09 -05:00
github-actions
333385feb5
Github CI lint - phpcbf
2020-02-15 23:05:56 +00:00
alistair3149
6985bf6f10
Attempt to convert to ES5
2020-02-15 18:06:01 -05:00
alistair3149
0168abc686
Attempt to convert to ES5
2020-02-15 18:05:11 -05:00
alistair3149
bfec3c1135
Attempt to convert to ES5
2020-02-15 18:01:17 -05:00
github-actions
8c7950020f
Github CI lint - phpcbf
2020-02-15 23:01:01 +00:00
alistair3149
1355eaa05e
Attempt to convert to ES5
2020-02-15 18:00:03 -05:00
alistair3149
ab67bc418f
Attempt to convert to ES5
2020-02-15 17:57:19 -05:00
github-actions
74c5f30a94
Github CI lint - phpcbf
2020-02-15 22:56:29 +00:00
alistair3149
f6d0b61406
Attempt to convert to ES5
2020-02-15 17:55:31 -05:00
github-actions
e289e7d20a
Github CI lint - phpcbf
2020-02-15 22:52:59 +00:00
alistair3149
a40547ec1b
Attempt to convert to ES5
2020-02-15 17:52:32 -05:00
alistair3149
ed22023fce
Converted toc script from ES6 to ES5
2020-02-15 17:33:53 -05:00
github-actions
97f8846a44
Github CI lint - phpcbf
2020-02-15 22:32:59 +00:00
alistair3149
543778a34d
Added bottom margin to blockquote
2020-02-06 15:04:09 -05:00
alistair3149
a8916c9e49
Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev
2020-02-06 15:03:22 -05:00
alistair3149
54db7844fa
Added more margin to blockquote
2020-02-06 15:03:15 -05:00
alistair3149
f3fcc1c33a
Added hyphen before citation on blockquote
2020-02-06 14:56:46 -05:00
github-actions
f8b4b9f532
Github CI lint - eslint/stylelint
2020-02-06 19:56:27 +00:00
alistair3149
047809bf1c
Fix font size for blockquote
2020-02-06 14:52:07 -05:00
alistair3149
455bcc4c5e
Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev
2020-02-06 14:48:25 -05:00
alistair3149
31f649850a
Fixed typo of Georgia font
2020-02-06 14:48:13 -05:00
alistair3149
77bd2e0bea
Figure caption and blockquote styles update
2020-02-06 14:44:28 -05:00
github-actions
242b41ce8c
Github CI lint - eslint/stylelint
2020-02-06 19:44:22 +00:00
alistair3149
b9bdd066ea
Revert widescreen edit
...
Needed refactoring on max-width for page content before that
2020-01-14 15:47:30 -05:00
alistair3149
14fa0572aa
Reverted widescreen edit
...
Needed refactoring on max-width for page content before that
2020-01-14 15:47:12 -05:00
alistair3149
329d9f4c4a
Wider page content for wider screen
2020-01-14 14:59:32 -05:00
alistair3149
36f0c07fa5
Removed 0 margin top for p
2020-01-07 16:52:25 -05:00
github-actions
d84b74f688
Github CI lint - eslint/stylelint
2020-01-07 17:49:15 +00:00
alistair3149
4a43b7f3f1
Merge pull request #58 from StarCitizenTools/bugfix-pdfhandler
...
Add styles for PDFHandler on file pages
2020-01-07 12:48:29 -05:00
alistair3149
3822b0bf3a
Update common.less
2020-01-07 12:44:10 -05:00
github-actions
2f600d28d9
Github CI lint - eslint/stylelint
2020-01-07 03:13:10 +00:00
alistair3149
773395448d
Clean up syntax of noresultindicator
2020-01-06 22:12:31 -05:00
github-actions
be919c4bb7
Github CI lint - eslint/stylelint
2020-01-07 02:53:27 +00:00
alistair3149
e839fe4d06
Fix grunt error
2020-01-06 21:52:47 -05:00
alistair3149
40d2f3a37a
wiki title visiblity fix
2020-01-06 21:43:59 -05:00
alistair3149
5d02888bb7
More dark mode fixes
2020-01-06 21:42:15 -05:00
alistair3149
687fb8a196
Dark mode fix
2020-01-06 21:41:25 -05:00
alistair3149
6b8472039c
Animation for logo/title switch
2020-01-06 21:36:02 -05:00
alistair3149
a9c3e500a9
Fixed dark mode color for navigation
2020-01-06 21:05:26 -05:00
alistair3149
bcff2d8027
More specific class
2020-01-06 20:33:34 -05:00
alistair3149
55624ead9e
Fixed site title margin
2020-01-06 20:32:29 -05:00
alistair3149
2de890c7fb
Tweak border behaviour:
2020-01-06 20:25:59 -05:00
github-actions
b5a5b6b686
Github CI lint - eslint/stylelint
2020-01-07 01:13:38 +00:00
alistair3149
41469da278
Merge branch 'feature-sitelogo' of github.com:StarCitizenTools/mediawiki-skins-Citizen into feature-sitelogo
2020-01-06 20:12:30 -05:00
alistair3149
d452130204
Hide border when sitetitle is shown
2020-01-06 20:12:23 -05:00
github-actions
81b5c2647e
Github CI lint - eslint/stylelint
2020-01-07 01:11:53 +00:00
alistair3149
5a1ebec2a8
Hide and show logo based on env
2020-01-06 20:11:05 -05:00
github-actions
a83232a34e
Github CI lint - eslint/stylelint
2020-01-07 00:57:55 +00:00
alistair3149
dab3cb690f
Initial styles for the logo
2020-01-06 19:56:56 -05:00
alistair3149
2d39c93bc7
Hide navigation label
2020-01-06 19:04:37 -05:00
github-actions
f3da6bb8f1
Github CI lint - eslint/stylelint
2020-01-06 23:56:43 +00:00
alistair3149
69da2fa56e
Removed unused ID
2020-01-06 18:56:04 -05:00
alistair3149
e4783784f5
Clean up class and id names for navigation
2020-01-06 18:36:56 -05:00
alistair3149
6b0630d589
Cleaned up unnessecary components
2020-01-06 18:32:44 -05:00
alistair3149
e6a63570e7
Removed invisible space between navigation menu and personal menu
2020-01-06 17:34:49 -05:00
github-actions
b0d1e0ec7e
Github CI lint - eslint/stylelint
2020-01-06 19:32:03 +00:00
github-actions
dc495d9851
Github CI lint
2020-01-06 19:28:08 +00:00
alistair3149
b853dd3bbb
Fix layout issue mentioned in #56
2020-01-06 14:17:23 -05:00
alistair3149
e8571bb9f4
Fix menu button overlaying search bar bug
2020-01-02 14:36:42 -05:00
alistair3149
ead527c6ec
Fixed undefined var
2020-01-01 16:43:08 -05:00
alistair3149
658084bb0d
Add option to choose description source for search suggestion
2020-01-01 16:38:10 -05:00
alistair3149
bf647fe054
Dark search suggestion hotfix
2020-01-01 14:33:33 -05:00
alistair3149
435f2fceb0
Search suggestion placeholder dark styles
2020-01-01 14:27:54 -05:00
Hannes
f90b653385
Add search string to no result card
2020-01-01 02:27:48 +01:00
alistair3149
5508e51eb1
Supress stylelint error
2019-12-31 14:09:02 -05:00
alistair3149
bed74883e5
Add gradient for the loading animation
2019-12-31 14:06:45 -05:00
alistair3149
fdd8b16160
Disable OOUI loading
2019-12-31 13:55:01 -05:00
alistair3149
12f6a69d09
Added missing doc
2019-12-31 13:46:11 -05:00
alistair3149
6f3a161433
Skeleton placeholder for search suggestion
2019-12-31 13:43:38 -05:00
alistair3149
2257e64671
Attempt to fix the eslint error
2019-12-31 13:25:54 -05:00
alistair3149
540613bba1
Changed suggestion placeholder
2019-12-31 13:12:49 -05:00
Hannes
dce4f9e328
Fix undef var
2019-12-31 12:44:24 +01:00
Hannes
3aa733f96d
Refactor typeahead
...
- Instead of inserting/removing script elements use the actual mw.Api object
- Add localization to loading and no result messages
Needs design pass:
- Display a loading indicator upon typing in the input field
- Display a no results indicator if no results could be found
2019-12-31 12:42:39 +01:00
alistair3149
40f5439b8d
Removed unused var
2019-12-30 23:31:39 -05:00
alistair3149
ffcc3ceab4
Decouple mw config from scripts
2019-12-30 23:29:10 -05:00
alistair3149
ec99af3143
Move getconfig out of api request
2019-12-30 19:45:24 -05:00
Hannes
e1b0132cb8
Fix .active Element sometimes being null
2019-12-30 15:53:22 +01:00
alistair3149
51e4ec3922
Removed persepctive as it breaks position fixed on Chrome
2019-12-28 12:44:53 -05:00
alistair3149
75d16f8f1c
Oops should be negative instead
2019-12-28 12:35:39 -05:00
Hannes
5d0f211290
Use @header-height - @margin-side
2019-12-28 18:07:50 +01:00
Hannes
691e9900ad
Remove padding, add top offset
2019-12-28 18:06:12 +01:00
Hannes
987fb23125
Make mw-sidebar-sitename flexible
...
This removes the need to overwrite the 'top' property in the global css.
2019-12-28 10:40:50 +01:00
Hannes
2c39eafe6b
Move datatables into lecacy.shared
2019-12-27 15:19:47 +01:00
Hannes
5e7b6ba880
Fix darkmode color for active a elements in main menu
2019-12-27 14:52:30 +01:00
Hannes
cedd3c9e0a
Add Data Tables darkmode
2019-12-26 22:58:42 +01:00
Hannes
beccd56b3c
WIP Add darkmode definitions to recent changes
...
The added mw.* files wont load, so the definitions are in darkmode.less for now..
2019-12-26 22:46:59 +01:00
Hannes
4429026ead
Lint + Fix .less files
2019-12-26 11:22:05 +01:00
Hannes
5386e000b5
Fix eslint complaining about js files
2019-12-26 10:40:43 +01:00
alistair3149
72afb6928e
Attempt to supress some ESlint error #2
2019-12-26 03:29:18 -05:00
alistair3149
0d6959b50b
Attempt to supress some ESlint error
2019-12-26 03:25:56 -05:00
Hannes
c1174c0ee5
Made code MW compliant
2019-12-26 00:24:31 +01:00
Hannes
6b3b4980dd
Remove jQuery
...
Refactored header.js
- Removed global vars
- Removed jQuery
'Should' behave the same like the old version. Some testing needed.
2019-12-26 00:23:38 +01:00
alistair3149
67ca36e631
Changed h1 h2 line height
2019-12-23 18:44:04 -05:00
alistair3149
dc7453ec7c
Moved contact button to global config, fixed php quote styles
2019-12-20 15:19:17 -05:00
alistair3149
0e286b7dbd
Fix legend dark mode color
2019-12-20 14:56:04 -05:00
alistair3149
364bd55b55
Dropped TTF and EOT support
2019-12-20 13:12:31 -05:00
alistair3149
f73a50f065
Oops missed a semi colon
2019-12-16 15:05:29 -05:00
alistair3149
0ba57f9114
Tweaked autosuggest position
2019-12-16 15:03:57 -05:00
alistair3149
94d026552a
Fixed search icon
2019-12-16 14:52:04 -05:00
alistair3149
45c1e0dfab
Added styles for the search button
2019-12-16 14:36:18 -05:00
alistair3149
229c8540bb
Switched search button from text to icon
2019-12-16 14:10:44 -05:00
alistair3149
06d399ec3f
Increased the number of search result from 6 to 10
2019-12-13 23:31:48 -05:00
alistair3149
ca72018b49
Fixed search button height
2019-12-13 17:40:40 -05:00
alistair3149
462562c447
Add support for using description for search result
2019-12-13 01:21:16 -05:00
alistair3149
9d7d0ec5d0
Update to manifest 2
2019-12-12 21:25:37 -05:00
alistair3149
525c25f922
Fixed ToC styles
2019-12-12 17:21:18 -05:00
alistair3149
d1b06df7d0
Enable Description2 for testing
2019-12-12 17:11:14 -05:00
alistair3149
71c23103c1
Better search UI on mobile #3
2019-12-12 13:37:26 -05:00
alistair3149
6941f6131e
Better search UI on mobile #2
2019-12-12 12:52:52 -05:00
alistair3149
49132bc2a7
Better search UI on mobile
2019-12-12 12:44:36 -05:00
alistair3149
4956d6ab48
Add condition to check if there is no desc #2
2019-12-12 00:45:58 -05:00
alistair3149
61df983d18
Add condition to check if there is no desc
2019-12-12 00:35:37 -05:00
alistair3149
ea297d7967
Test global var
2019-12-11 23:01:14 -05:00
alistair3149
65a524d40c
Use global var for search #2
2019-12-11 22:17:40 -05:00
alistair3149
adffa3620b
Use global var for search
2019-12-11 22:12:12 -05:00
alistair3149
3444389057
More suggestions dark mode styles
2019-12-11 22:00:27 -05:00
alistair3149
aed4550329
Suggestions styles
2019-12-11 21:43:52 -05:00
alistair3149
941614a0e1
Suggestions dark mode styles
2019-12-11 21:42:07 -05:00
alistair3149
e395e700fb
Normalize search field styles
2019-12-11 21:28:45 -05:00
alistair3149
9b0bb5ca5a
Fixed suggestion width
2019-12-11 21:17:30 -05:00
alistair3149
c4ba80eda8
Fixed suggestion width
2019-12-11 21:14:14 -05:00
alistair3149
1596126e1b
No image icon for suggestions
2019-12-11 21:10:34 -05:00
alistair3149
3e7f7c9de3
Additional styles fix
2019-12-11 21:00:39 -05:00
alistair3149
676ff4e25c
Enabled search description #2
2019-12-11 20:54:49 -05:00
alistair3149
0566166753
Enabled search descriptions
2019-12-11 20:48:43 -05:00
alistair3149
0c780cd470
Decouple skin settings from skin json to localsettings
2019-12-11 19:54:24 -05:00
alistair3149
c466ed8314
More styles for autocomplete #5
2019-12-11 19:38:22 -05:00
alistair3149
c59a15fd71
More styles for autocomplete #4
2019-12-11 19:35:49 -05:00
alistair3149
2329b0f9f7
More styles for autocomplete #3
2019-12-11 19:34:14 -05:00
alistair3149
299f41a334
More styles for autocomplete
2019-12-11 19:22:50 -05:00
alistair3149
9bc0a82402
More styles for autocomplete
2019-12-11 19:13:20 -05:00
alistair3149
27402ec437
Woohoo it worked
2019-12-11 18:56:07 -05:00
alistair3149
5713e89482
Fixed a stupid oversight
2019-12-11 18:48:36 -05:00
alistair3149
00171d148e
Added debug message #6 - IM CLOSE
2019-12-11 18:42:44 -05:00
alistair3149
2cab28f779
Added debug message #5 - even more needed sigh
2019-12-11 18:37:09 -05:00
alistair3149
c7ad600b8d
Added debug message #4
2019-12-11 18:32:50 -05:00
alistair3149
7eef551c48
Added debug message #3
2019-12-11 18:28:26 -05:00
alistair3149
ab298decf0
Added debug message #2
2019-12-11 18:22:10 -05:00
alistair3149
144dbb685b
Added debug message
2019-12-11 18:19:32 -05:00
alistair3149
743eab6d40
Remove description from API prop
2019-12-11 18:13:38 -05:00
alistair3149
74a843f969
Remove language from typeahead query
2019-12-11 18:09:05 -05:00
alistair3149
1119a5f2f9
More dependencies
2019-12-11 18:03:38 -05:00
alistair3149
9cc5e4c574
Oops forgot to add the event
2019-12-11 17:57:07 -05:00
alistair3149
540580f42a
Updated script to use dev site as base
2019-12-11 17:51:13 -05:00
alistair3149
8a338df850
Added missing dependency
2019-12-11 17:41:41 -05:00
alistair3149
9443b22f35
Added missing dependency
2019-12-11 17:37:54 -05:00
alistair3149
a588485253
Updated JS for typeahead init
2019-12-11 17:25:24 -05:00
alistair3149
34ff3660f3
Experimential search suggestions
2019-12-11 17:14:36 -05:00
alistair3149
e749a5c337
Additional search tweaks
2019-12-11 16:38:01 -05:00
alistair3149
8e1f9df096
Further clean up search IDs
2019-12-11 16:06:51 -05:00
alistair3149
dd547503dd
Check if suggestion is hooked to ID name
2019-12-11 16:04:26 -05:00
alistair3149
184db8fb2e
Moved label out of h3
2019-12-11 15:51:58 -05:00
alistair3149
ae20512996
Better ID names for search toggle
2019-12-11 15:40:59 -05:00
alistair3149
d4dfe93f80
Search form ID update
2019-12-11 15:29:15 -05:00
alistair3149
41fbc8fc58
Added sub sup styles
2019-12-11 00:56:47 -05:00
alistair3149
5accfc9421
Added nowrap
2019-12-11 00:53:49 -05:00
alistair3149
7aaf36bd86
Optimized Discord logo
2019-12-11 00:28:41 -05:00
alistair3149
7ae34cb91c
Added missing textarea dark styles
2019-12-10 15:43:41 -05:00
alistair3149
41ae4293b7
fieldset styles
2019-12-10 15:32:34 -05:00
alistair3149
ca632d9235
ol ul styles #
2019-12-10 13:38:02 -05:00
alistair3149
99729477be
ol ul styles
2019-12-10 13:31:25 -05:00
alistair3149
15022048f6
Footer cookie style
2019-12-09 19:33:56 -05:00
alistair3149
b33d821498
Add Cookie Statement to the footer
2019-12-09 18:44:41 -05:00
alistair3149
19f081e1be
Fixed ToC direction
2019-12-09 17:15:46 -05:00
alistair3149
41cd4e3f32
Overscroll on ToC and menu would not scroll the page now
2019-12-04 03:20:56 -05:00
alistair3149
161613a627
html elements style fix
2019-12-03 23:02:18 -05:00
alistair3149
87ed4367bb
DD styling
2019-12-03 22:51:50 -05:00
alistair3149
9f4594172e
Updated ConfirmEdit to 1.6.0
2019-12-03 15:37:36 -05:00
alistair3149
d9c60b32eb
Search dark mode fix #5
2019-12-02 23:40:14 -05:00
alistair3149
f454f5b178
search result fix #4
2019-12-02 23:36:55 -05:00
alistair3149
91da6331d3
Added support for reduce motion
2019-12-02 23:28:05 -05:00
alistair3149
d4a7226ccd
Search suggestions style fix
2019-12-02 23:19:33 -05:00
alistair3149
2feddf7769
search result dark mode
2019-12-02 23:13:43 -05:00
alistair3149
e0f2cfa322
Adding missing extension styles
2019-12-02 21:39:36 -05:00
alistair3149
b9eda72596
ToC button fix
2019-12-02 18:46:21 -05:00
alistair3149
86a86fe3bf
Added rc dark styles
2019-12-02 18:32:16 -05:00
alistair3149
a69737dcb2
Fix header bug for dark mode
2019-12-02 17:57:34 -05:00
alistair3149
1fdb409e89
Fixes for tabber in print mode
2019-12-02 17:41:41 -05:00
alistair3149
d3c465e7f8
Finalize print styles
2019-12-02 17:33:39 -05:00
alistair3149
f1d4f07503
Printing styles
2019-12-02 17:23:19 -05:00
alistair3149
c2fc2564d7
Additional print styles
2019-12-02 17:13:17 -05:00
alistair3149
b26c1c97b8
Additional print styling
2019-12-02 16:59:04 -05:00
alistair3149
4fcd5fe2f7
include less for print
2019-12-02 16:56:33 -05:00
alistair3149
c4a76fd57e
Print mode styles
2019-12-02 16:55:35 -05:00
alistair3149
b891d939b8
Dark mode-related fixes
2019-12-02 16:32:20 -05:00
alistair3149
213d4b7c64
Additional dark mode fixes
2019-12-02 16:24:50 -05:00
alistair3149
c101e5e34e
Forgot to import the less file
2019-12-02 16:12:32 -05:00
alistair3149
0a170db325
Fixed thumb blur outside of boundary bug
2019-12-02 16:07:02 -05:00
alistair3149
328d274342
Dark mode implementation
2019-12-02 16:05:23 -05:00
alistair3149
88ab7b6579
Set scrollbar style to global
2019-12-02 15:09:14 -05:00
alistair3149
94dd33a870
Clean up CSS
2019-12-02 10:16:19 -05:00
alistair3149
9d03c861b8
Added support for prefers-color-scheme on CSS santizier
2019-12-02 00:55:40 -05:00
alistair3149
a5ab430760
Scrollbar styling #4
2019-11-27 23:58:31 -05:00
alistair3149
9c43acc754
Scrollbar styling #3
2019-11-27 23:49:32 -05:00
alistair3149
6be4ab278b
Scrollbar styling #2
2019-11-27 23:36:46 -05:00
alistair3149
ab9c48c6c4
Scrollbar styling
2019-11-27 23:24:59 -05:00
alistair3149
ec059ea13a
ToC style tweak #2
2019-11-27 23:08:20 -05:00
alistair3149
faf2c4e1e4
ToC style tweak
2019-11-27 22:51:30 -05:00
alistair3149
b9b7d7ebcc
Added SC Tools logo to footer #2
2019-11-27 22:29:15 -05:00
alistair3149
34d7fe017b
Added SC Tools logo to footer
2019-11-27 22:21:57 -05:00
alistair3149
d27a1e4c76
toc scroll fix
2019-11-27 21:36:01 -05:00
alistair3149
bdfedd1807
toc scroll fix
2019-11-27 20:51:10 -05:00
alistair3149
23551677d8
toc scroll fix
2019-11-27 20:27:58 -05:00
alistair3149
a70bc89d5e
Mobile ToC scroll fixes
2019-11-27 20:18:45 -05:00
alistair3149
bf5e766b28
Fix Safari overflow bug
2019-11-27 19:55:58 -05:00
alistair3149
a380a76011
Mobile ToC hover state
2019-11-27 19:24:34 -05:00
alistair3149
7b47471404
Fix mobile ToC load bug #2
2019-11-27 19:20:35 -05:00
alistair3149
5682f092cd
Fix mobile ToC load bug
2019-11-27 19:14:52 -05:00
alistair3149
dd3f444593
List link style fixes
2019-11-27 14:08:42 -05:00
alistair3149
b9834dc372
cite text style
2019-11-26 02:06:36 -05:00
alistair3149
426195fd8e
additional reference styles
2019-11-26 02:04:19 -05:00
alistair3149
28534e8e96
Added support for widescreen references
2019-11-26 00:51:02 -05:00
alistair3149
c42439c8c8
Style fixes regarding to references
2019-11-26 00:36:39 -05:00
alistair3149
83a257f35f
Style fixes for recent changes
2019-11-21 02:34:12 -05:00
alistair3149
d4c43e5bc4
sitenotice tweak
2019-11-21 00:22:07 -05:00
alistair3149
ed640baaaa
Fixed sitenotice z-index
2019-11-20 15:39:15 -05:00
alistair3149
7a9389d8dc
Fix firstHeading styling
2019-11-18 22:56:40 -05:00
alistair3149
ec2ff03ee1
Added additional html rules
2019-11-18 19:43:44 -05:00
alistair3149
76812798a3
site notice styles
2019-11-18 02:51:55 -05:00