squidfunk
08d89aeca2
Improved copy-to-clipboard button sizing in Admonitions
2020-03-21 14:21:59 +01:00
squidfunk
d4051c9bb5
Enable color customization of details arrow icon
2020-03-21 13:42:57 +01:00
squidfunk
30f7c15368
Fixed rendering error for details
2020-03-19 12:13:06 +01:00
squidfunk
83a6b8b63c
Reverted Admonitions back to mask-image
2020-03-19 09:52:00 +01:00
squidfunk
1801f2f2b9
Replaced mask-image wherever possible to improve print styles
2020-03-18 12:46:50 +01:00
squidfunk
37f2208ef0
Reverted Admonition flex layout
2020-03-18 11:00:43 +01:00
squidfunk
71b2f5a591
Fixed some errors for print media
2020-03-17 18:19:03 +01:00
squidfunk
153aaabbaa
Ensure event listeners are passive
2020-03-17 16:43:49 +01:00
squidfunk
0982cbe2e1
Fixed details layout in Safari
2020-03-17 16:43:24 +01:00
squidfunk
6892fdebd9
Cleaned up margins to use functions for computation
2020-03-17 11:57:42 +01:00
squidfunk
dd2f2c879a
Improved rendering performance by combining upstream observables
2020-03-17 11:10:51 +01:00
squidfunk
06f71804c2
Improved default fonts
2020-03-16 16:39:55 +01:00
squidfunk
b1fde7a82c
Refactored announcement bar styles
2020-03-16 16:26:58 +01:00
squidfunk
f28780c62e
Fixed stealing of hover on search icon
2020-03-16 15:43:10 +01:00
squidfunk
0f116bab03
Fixed precedence of search results in title
2020-03-16 15:13:09 +01:00
squidfunk
f300a82014
Removed unnecessary CSS properties
2020-03-16 15:00:19 +01:00
squidfunk
653d535a22
Improved flow of observables/emissions
2020-03-16 14:59:59 +01:00
squidfunk
47aa47ee4c
Adjustments for right-to-left languages
2020-03-16 12:22:11 +01:00
squidfunk
b7c3798fd7
Documentation
2020-03-16 12:03:04 +01:00
squidfunk
1b07bef1c5
Adjustments for right-to-left languages
2020-03-16 12:01:20 +01:00
squidfunk
6bf47b537f
Refactored Admonitions with flex layout
2020-03-16 11:42:46 +01:00
squidfunk
f3cca38f64
Merge branch 'refactor/rxjs-typescript' of github.com:squidfunk/mkdocs-material into refactor/rxjs-typescript
2020-03-16 10:05:12 +01:00
squidfunk
4a8adb8143
Corrected spacing for single code blocks in tabbed containers
2020-03-16 10:05:04 +01:00
Ofek Lev
0de3f60af3
Added forward slash to list of keyboard shortcuts that open search ( #1509 )
2020-03-16 09:35:24 +01:00
squidfunk
825eeae70c
Replaced getComputedStyle with bounding box values
2020-03-15 16:19:36 +01:00
squidfunk
df1c7e5590
Inlined icons referenced from JavaScript
2020-03-15 15:20:48 +01:00
squidfunk
278a40e8d7
Improved alignment of social links and copyright notice
2020-03-15 14:21:54 +01:00
squidfunk
f7a79edbd8
Fixed hover states for nested items in mobile navigation
2020-03-15 13:27:30 +01:00
squidfunk
bcb8b4a498
Reverted hyphenation
2020-03-14 19:29:48 +01:00
squidfunk
56bd2b10c5
Reduced amount of created layers
2020-03-14 18:08:09 +01:00
squidfunk
c0abaf5692
Fixed closing of search results on anchor jump
2020-03-12 17:13:31 +01:00
squidfunk
566b1363ee
Added distribution files
2020-03-12 16:49:08 +01:00
Isaac Muse
4044ce14ba
Fixed inline line highlight padding, wrapping, and gutter background ( #1501 )
...
* Fix inline line highlight padding, wrapping, and gutter background
- Line highlight pad should match the parent
- Float the gutter left to force code and numbers not to wrap
- Provide a background for the gutter
* Use opaque color for code background
* Fix for root level stretched code blocks
* Normalize code block padding
* Revert normalization
2020-03-12 16:39:35 +01:00
squidfunk
335b50d0a5
Adjusted spacing for nested tabbed content
2020-03-11 15:01:07 +01:00
squidfunk
447d409b81
Fixed scroll bar on tables inside admonitions
2020-03-11 14:55:13 +01:00
squidfunk
4d386df1e9
Fixed margin collapse on tables inside tabbed containers
2020-03-11 10:44:10 +01:00
squidfunk
e3127489ca
Slight facelifting of tabbed blocks
2020-03-10 16:56:17 +01:00
squidfunk
b6657bccda
Refactored code blocks
2020-03-10 16:42:23 +01:00
squidfunk
3f678c048f
Visual formatting
2020-03-10 12:10:53 +01:00
squidfunk
d470f89056
Updated documentation
2020-03-10 11:55:25 +01:00
squidfunk
bfea33154f
Added title to social footer links
2020-03-09 21:14:47 +01:00
squidfunk
ea29135841
Fixed JavaScript and CSS evaluation on instant loading
2020-03-09 16:46:22 +01:00
squidfunk
6daac21f65
Moving inlined icon SVGs to CSS variables to reduce payload
2020-03-09 16:39:59 +01:00
squidfunk
6a4ee551fc
Fixed overflowing code block in tabbed content inside admonition
2020-03-09 15:34:00 +01:00
squidfunk
d71dd2e8a6
Reduced pressure on browser with ResizeObserver
2020-03-06 18:57:27 +01:00
squidfunk
9ffcc05752
Switched to stylelint-config-rational-order
2020-03-06 15:21:08 +01:00
squidfunk
3a25eb46d4
Fixed initialization of index for localsearch
2020-03-06 12:02:38 +01:00
squidfunk
584eac86ee
Fixed direction=None in base.html
2020-03-06 10:28:54 +01:00
squidfunk
80f1d3e37b
Fixed race condition in instant loading
2020-03-06 10:12:20 +01:00
squidfunk
abec4824bd
Fixed intercepting of link clicks when instant loading is disabled
2020-03-05 21:03:51 +01:00
squidfunk
012cd24f06
Fixed linting
2020-03-05 19:18:10 +01:00
squidfunk
9738c12cc9
Unified components and observable structure
2020-03-05 17:17:15 +01:00
squidfunk
bc6a0b5060
Improved layer promotion and reduced jitter
2020-03-05 09:27:32 +01:00
squidfunk
66376bbe8c
Added skip link component
2020-03-04 21:44:22 +01:00
squidfunk
dbb5b2e8c3
Refactored search pipeline configuration
2020-03-04 21:42:19 +01:00
squidfunk
af9505293b
Fixed color transitions on search input
2020-03-04 15:17:02 +01:00
squidfunk
f79075223f
Restructured components and observables
2020-03-03 18:19:33 +01:00
squidfunk
301582cc76
Fixed scroll snapping for 2nd+ level items using tabs
2020-03-03 14:59:57 +01:00
squidfunk
89d8d6c5ac
Reduced jitter during header animation
2020-03-01 00:11:30 +01:00
squidfunk
067df2f6cf
Improved anchor jumps after instant loading and fixed Google Analytics
2020-02-29 20:57:11 +01:00
squidfunk
ab3ef19498
Evaluate script elements upon load when using instant loading
2020-02-29 19:25:42 +01:00
squidfunk
c201b3de5f
Fixed hero component not being mounted with instant loading
2020-02-29 19:20:28 +01:00
squidfunk
a17c30c3ac
Fixed scrollfix being applied more than once for search
2020-02-29 16:26:28 +01:00
squidfunk
a1393fdbc3
Fixed copy-to-clipboard re-appearing after document switch
2020-02-29 12:38:11 +01:00
squidfunk
8556912bb4
Fixed wrong URLs in search when instant loading is enabled
2020-02-29 11:30:37 +01:00
squidfunk
c98e2d39c7
Fixed search on 404 pages
2020-02-29 11:11:43 +01:00
squidfunk
29ad8177fe
Improved table styles
2020-02-29 11:03:13 +01:00
squidfunk
c388c5ce20
Fixed content not stretching to viewport height (regression)
2020-02-29 11:02:00 +01:00
squidfunk
68c9cb6dac
Fixed search for use_directory_urls: false
2020-02-29 10:47:01 +01:00
squidfunk
ff9ef6a4a7
Added back light shadows to admonitions
2020-02-27 12:27:05 +01:00
squidfunk
eaeac798b1
Refactored icon options for mkdocs.yml
2020-02-27 11:37:02 +01:00
squidfunk
1e0b168570
Reverted 'extra_css with media' feature
2020-02-27 10:32:42 +01:00
squidfunk
2de1608079
Added nicer scaling for reset button
2020-02-26 10:03:15 +01:00
squidfunk
4b745d0027
Added nicer scaling for reset button
2020-02-26 09:58:25 +01:00
squidfunk
3300d3ec76
Fixed double semicolon
2020-02-26 09:48:09 +01:00
squidfunk
cd74147fca
Fixed 2nd level navigation spacing on dir=rtl for screen
2020-02-26 09:45:14 +01:00
squidfunk
4f2fc18fbd
Adjusted dialog for right-to-left languages
2020-02-26 09:40:13 +01:00
squidfunk
2a63915a3e
Added active state for parent section in mobile navigation
2020-02-26 09:33:24 +01:00
squidfunk
63a309bd72
Added accent colors to new palette integration
2020-02-26 09:08:50 +01:00
squidfunk
9590cc1c2b
Partially ported palette for CSS variables
2020-02-26 08:47:53 +01:00
squidfunk
1da7195993
Dropped unnecessary 'only' from media queries
2020-02-26 07:13:53 +01:00
squidfunk
590612939a
Improved pymdownx.tabbed styles and palettes
2020-02-25 22:17:23 +01:00
squidfunk
913e9f4369
Fixed missing border in search metadata
2020-02-25 21:04:57 +01:00
squidfunk
309c2b7c03
Refactored CSS variables integration
2020-02-25 20:25:05 +01:00
Benjamin Staneck
ca50ed8200
Refactored CSS to use CSS Variables ( #1409 )
...
* First stab at using CSS variables
* Port color-black to CSS variables and fix SCSS compile
* add hex2rgb helper function
* Port md-color-white to CSS variables
* Port code color and background
* Fix a rebase mistake
* Fix lint
* adopt upstream changes
Co-authored-by: Martin Donath <squidfunk@users.noreply.github.com>
2020-02-25 15:04:58 +01:00
squidfunk
446e55767b
Fixed sizing of icons and images in nav and header
2020-02-25 15:02:54 +01:00
squidfunk
43f2a71f03
Fixed incorrect calculation of anchors, huge performance gain
2020-02-25 13:59:57 +01:00
squidfunk
63d4e327e6
Reduced pressure on GC
2020-02-25 00:18:36 +01:00
squidfunk
dd2ea3fe1c
Fixed no-js styles
2020-02-24 22:44:12 +01:00
squidfunk
b65bda08a7
Fixed unnecessary nesting in SCSS, reducing final CSS by 20kb
2020-02-24 21:48:30 +01:00
squidfunk
11d1b839a1
Refactored Material icon integration - bye bye webfonts
2020-02-24 18:07:50 +01:00
squidfunk
b345a0b650
Prototyped material icon SVG integration
2020-02-23 13:36:51 +01:00
squidfunk
c79b786ea6
Refactored to use URLs at all times
2020-02-22 15:56:08 +01:00
squidfunk
eb82c8d586
Fixed edge case in scroll restoration
2020-02-22 15:24:15 +01:00
squidfunk
c362179234
Improved scroll restoration implementation
2020-02-22 13:35:26 +01:00
squidfunk
674e3456f8
Improved browser history navigation in conjunction with instant loading
2020-02-21 17:36:04 +01:00
squidfunk
1020953fa5
Fixed header shadow appearing after document switch
2020-02-21 11:36:32 +01:00
squidfunk
c7e4063d86
Refactored instant loading setup
2020-02-21 10:18:49 +01:00
squidfunk
58175137e2
Provided fallback for failing instant load
2020-02-21 09:44:25 +01:00
squidfunk
ae1ed3d924
Implemented instant loading
2020-02-20 17:42:46 +01:00
squidfunk
3aa251fb03
Improved overall structure
2020-02-20 14:44:41 +01:00
squidfunk
9b0410962d
Improved keyboard handlers and added prev/next hotkeys
2020-02-20 10:07:50 +01:00
squidfunk
297a63313d
Improved observable flows
2020-02-19 17:29:18 +01:00
squidfunk
03010ddbcd
Removed packer worker implementation
2020-02-19 16:57:32 +01:00
squidfunk
577ad4ccc4
Fixed multi-language search
2020-02-19 15:45:52 +01:00
squidfunk
8171fc0ecd
Moved keyboard handlers to separate module
2020-02-19 15:09:49 +01:00
squidfunk
b0ebcc8d5b
Added support for variable sized header
2020-02-19 14:19:11 +01:00
squidfunk
a6bc272778
Moved source integration into patches
2020-02-19 11:42:51 +01:00
squidfunk
ae05805124
Refactored location observables
2020-02-19 11:07:34 +01:00
squidfunk
74b02ad382
Refactored cache observable factory and documented utilities
2020-02-19 10:18:33 +01:00
squidfunk
57817eac99
Refactored patches by making them self-contained
2020-02-19 10:14:59 +01:00
squidfunk
d1afa51726
Restructured observables
2020-02-19 08:57:36 +01:00
Isaac Muse
46ecf3b055
Added support for pymdownx-inline ( #1468 )
...
* Add support for pymdownx-inline
* Build assets
* Fix rem lint error
2020-02-19 08:55:44 +01:00
squidfunk
d4f5b1377c
Fixed invalid anchor list offset for hidden anchors
2020-02-18 17:07:20 +01:00
squidfunk
dee75ccfbb
Jump to anchor inside details tag and refactor tablet styles
2020-02-18 15:39:36 +01:00
squidfunk
b2654777b8
Added dialog for copy-to-clipboard action
2020-02-18 14:30:06 +01:00
squidfunk
fdff60e33d
Link header to viewport resizes
2020-02-18 10:17:57 +01:00
squidfunk
ac7c8e20a8
Refactored repository integration and added GitLab support
2020-02-18 10:10:40 +01:00
squidfunk
af50d5b177
Fixed unnecessary rerender of search results on focus
2020-02-18 09:11:57 +01:00
squidfunk
40d52a727d
Fixed linting errors and re-enabled workflow
2020-02-17 17:25:40 +01:00
squidfunk
14df716e63
Prepare 5.0.0b1 release
2020-02-17 17:20:08 +01:00
squidfunk
dd40bc2fcf
Refactored header title component
2020-02-17 16:25:49 +01:00
squidfunk
7876148fbd
Improved documentation and fixed search reset
2020-02-17 14:37:12 +01:00
squidfunk
fdffefd536
Improved search implementation to allow for alternative index sources
2020-02-17 11:36:29 +01:00
squidfunk
95c66b99e3
Refactored search lock
2020-02-17 11:35:36 +01:00
squidfunk
2c0177ab56
Fixed search reset button not hiding for empty input
2020-02-17 10:47:52 +01:00
squidfunk
c9d2e7774e
Refactored all <time> units to use ms instead of s
2020-02-17 10:04:12 +01:00
squidfunk
a41037da5f
Fixed disappearance of navigation upon section title click
2020-02-17 09:51:40 +01:00
squidfunk
44f0ec604d
Fixed flashing of table of contents in navigation on screen upon load
2020-02-17 09:49:12 +01:00
squidfunk
ca260e0faf
Fixed permalink characters being part of textContent
2020-02-16 00:53:45 +01:00
squidfunk
a399540940
Fixed anchor jump from mobile search
2020-02-16 00:23:50 +01:00
squidfunk
a539eab0b5
Fixed header shadow on older Safari
2020-02-15 23:24:29 +01:00
squidfunk
a6b22a4461
Fixed wrapping code blocks on iOS Safari
2020-02-15 22:59:29 +01:00
squidfunk
29021a55dc
Fixed unreachable toc title on screen after scrolling
2020-02-15 22:04:08 +01:00
squidfunk
694eaca889
Fixed disappearance of header shadow on iOS
2020-02-15 21:52:47 +01:00
squidfunk
67406d26eb
Added scroll snap on navigation and table of contents
2020-02-15 21:34:14 +01:00
squidfunk
9fe7c62d77
Added scroll snap for better UX on search
2020-02-15 11:49:19 +01:00
squidfunk
b883f212a7
Added protoypiical implementation of header title swap
2020-02-14 19:15:21 +01:00
squidfunk
b094573287
Migrated tabs and hero and renamed refactored components
2020-02-14 18:48:46 +01:00
squidfunk
32d6df4cc9
Added minification transform for tinyseg.js
2020-02-14 17:59:09 +01:00
squidfunk
0f77194c23
Cleaned up main entrypoint
2020-02-14 17:45:32 +01:00
squidfunk
2c11f0f36c
Moved configuration to utilities
2020-02-14 17:36:31 +01:00
squidfunk
29d15a2e22
Added possibility to set viewport offset
2020-02-14 15:30:06 +01:00
squidfunk
6f0efca4a4
Removed background color for debugging on navigation layer
2020-02-14 15:11:06 +01:00
squidfunk
77ede9b2eb
Refactored opening of details before print
2020-02-14 15:00:56 +01:00
squidfunk
a4473e893d
Fixed search integration imports
2020-02-14 14:50:11 +01:00
squidfunk
864f612005
Refactored Clipboard.js integration and table patching
2020-02-14 14:47:44 +01:00
squidfunk
8dcbbf2e84
Renamed modules into integrations
2020-02-14 12:33:15 +01:00
squidfunk
d934bb37c0
Refactored table of contents component
2020-02-14 12:27:13 +01:00
squidfunk
f150a6c9b5
Refactored search keyboard handlers
2020-02-14 11:33:59 +01:00