Commit Graph

60 Commits

Author SHA1 Message Date
Sacha Judd
1784471238 FIX Add missing web accessible colours and fix image alignment 2017-09-05 15:11:17 +12:00
Sacha Judd
658c7fe95e NEW Adjust docs colours to be web accessible 2017-08-30 12:37:43 +12:00
Sacha Judd
9155ca8c85 NEW Change link and code text colours for readability 2017-08-28 11:33:42 +12:00
Ingo Schommer
da441b231d Better syntax highlighting
Specifically, the old highlighter didn't support the "diff" format which was important for changelogs.
Changed the style from dark to light, since it's way too contrasty on a light background - makes it hard to scan both text and code.
And reduced the padding between code and content (mostly using the highlight style defaults)
Added a slight background shadow on code to visually offset the relatively light background color
Changed existing background color for <pre> to a slightly lighter shade, better contrast
Didn't create a custom *.ss style yet, too much work, and XML is good enough for now
2017-06-29 11:13:01 +12:00
Damian Mooyman
ad40d8fd1e
PSR2 Formatting 2016-12-02 15:31:18 +13:00
Jared Lee
55867c7845 Hotfix/remove search hamburger (#125)
* Removed hamburger and inserted close button in sidebar

* Replace sidebar mobile slide out with fade in

* Updated mobile menu button to translate into different languages
2016-11-04 16:51:02 +13:00
Cam Findlay
b8dea84832 Merge pull request #123 from silverstripe/feature/improved-search-ux
Updated search checkboxes to horizontal format
2016-10-28 10:07:02 +13:00
Jared Lee
f06a91b636 Updated search checkboxes to horizontal format 2016-10-21 17:10:38 +13:00
Cam Findlay
4bd9f267bd Feature/responsive scaling (#122)
* Added viewport meta tag for mobile views and Added comments for hamburger styling

* Cleaned styling of hamburger
2016-10-21 13:56:44 +13:00
Cam Findlay
e38b740d88 Create sidebar hamburger menu for mobile (#121)
* Create sidebar hamburger menu for mobile

* Improve sidebar UX and mobile menu

* Fixed sidebar UX bug where blue text breadcrumb didn't appear and fixed hover/focus styling

* Improved UX of hamburger by applying toggle animations
2016-10-21 10:49:50 +13:00
Daniel Hensby
3d0bc397b3 Merge pull request #118 from hdpero/patch-4
Update layout.css
2016-08-12 12:30:07 +01:00
Daniel Hensby
650cd5c81f Merge pull request #119 from SpiritLevel/master
FIX horizontal alignment shifts when vertical scroll bar appears
2016-08-11 15:31:40 +01:00
David Alexander
594b92063a FIX horizontal alignment shifts when vertical scroll bar appears
Common problem. 

Quite visible if (i) a page's content fits within the browser window's height when the table of contents dropdown is closed but (ii) the content no longer fits vertically when the table of contents dropdown is opened. When this happens, a vertical scroll bar appears in the browser and the page's horizontal alignment shifts by the scroll bar width.  

@frankmullenger I also noticed this in swipestripe docs :)
2016-08-10 11:31:12 +12:00
Will Rossiter
5d74d48522 Merge pull request #117 from hdpero/patch-3
Update normalize to latest version v4.2.0
2016-08-06 09:23:51 +12:00
Petar Simic
a2712ee324 Update layout.css
Update of CSS to current standards.
2016-08-05 22:02:07 +02:00
Petar Simic
d75b3355ba Update normalize to latest version v4.2.0 2016-08-05 21:56:42 +02:00
Petar Simic
bd56ae9a2d Update typography.css
Update to current CSS & browser standards.
2016-08-05 21:54:37 +02:00
Daniel Hensby
cff5ecc1ed Fixing issue where anchor idicator does not show on hover 2015-06-19 14:53:44 +01:00
scott1702
c2ad1856a6 Soften message background colours 2015-06-17 10:59:47 +12:00
Jonathon Menz
e29924a169 FIX hint styling
All info boxes in docs that use the 'hint' css class as recommended are currently missing a coloured background.
2015-06-15 10:04:32 -07:00
Cam Findlay
def89a2894 FIX: margin around edit too small and causes UI problems with nav. 2014-12-09 09:31:00 +13:00
3Dgoo
b239e87fe2 Fixing text highlight css
By setting anything to ::selection in the css it resets all selection styling. Meaning highlighted text does not show any indication of highlighting. 

I have added in the selection color and background so text appears highlighted when selected.
2014-12-03 09:35:01 +10:30
Will Rossiter
5cbd9c79cd Restore support for multiple versions in the masthead 2014-11-15 11:41:01 +13:00
Uncle Cheese
c71a1aaca2 These changes make a number of improvements, mostly typographical, to improve readability and to render properly on small devices.
Universal increase in font size
Use same font as ss.org for consistency
Remove unnecessary visual noise (borders, box shadows, etc)
Use Google PrettyPrint syntax highlighter for improved readability of code sections
Fully responsive, with hamburger menu
Add "section" linking mode to menu items
Add masthead for breadcrumbs, introduction
Improved styles for notice/info/warning messaging
2014-11-07 12:01:07 +13:00
Will Rossiter
7f778498f2 Fix style of submenu 2014-09-30 18:36:40 +13:00
Will Rossiter
45be91282c Restore tests 2014-09-28 21:41:10 +13:00
Will Rossiter
5fbde299d1 Add alert as a valid alias as warning. 2014-09-28 16:58:23 +13:00
Will Rossiter
dfaa28950a Minor style tweaks 2014-09-28 13:34:49 +13:00
Will Rossiter
f706a9d8a2 FIX: API links should be urlencoded() to prevent special characters causing issues 2014-09-27 19:46:39 +12:00
Will Rossiter
3995e72c3a Style tidy ups. 2014-09-26 20:15:53 +12:00
Will Rossiter
5ab53e65f2 FIX: Add tests and correct behaviour for next/prev 2014-09-21 11:18:36 +12:00
Will Rossiter
aed63c9df5 Fix issue with Language parameter not being set
When the user accesses a page more than three levels deep.
2014-09-20 13:43:22 +12:00
Will Rossiter
52733d6ebf Add support for [CHILDREN] shortcode
This allows you to build up dynamic listing pages much better.
2014-09-19 23:29:22 +12:00
Will Rossiter
b489d5120a Fixes for unit tests with the latest manifest 2014-09-15 22:12:31 +12:00
Will Rossiter
1e04aaed28 Fix breadcrumbs 2014-09-07 22:14:10 +12:00
Will Rossiter
314e504903 Show nested sidebar menu 2014-09-07 21:28:21 +12:00
Will Rossiter
31a3b8a744 Add an alphabetical index (Fixes #5) 2014-09-07 20:35:08 +12:00
Will Rossiter
43b6d42719 Overhaul of module to use DocumentationManifest
This major update changes the behaviour of the docviewer module to use a cached manifest rather than on demand. This allows us to simplify the URL matching and store 'nice' URL configuration rather than altering handleAction().
2014-09-07 11:26:12 +12:00
Will Rossiter
2c00a3b20f New theme.
Clean up of existing theme, implementation of a new easier to integrate layout.
2014-09-06 11:13:12 +12:00
Will Rossiter
e3c417113b Add basic responsive styles 2014-02-02 17:23:55 +13:00
Dan Brooks
19fe346db9 Added line-height rule for .comments to stop line numbering going out of sync 2013-09-21 21:46:03 +01:00
Will Rossiter
6a6b168da7 Tighten up spacing 2012-11-10 11:48:46 +13:00
Will Rossiter
9aaeadd7ff Migrated theme from doc.ss back to the module 2012-11-10 11:12:30 +13:00
martimiz
08bfb941d4 restyling color and height of (sub)menu items
Some css settings, adapted from themse/ssorgsite/css/core.css
2012-11-10 09:27:28 +13:00
martimiz
344161be54 Added styles for the table of contents 2012-11-10 09:27:28 +13:00
martimiz
7e7b67548e Mark submenu items with children as folders
Add an arrow to submenuitems that have undelying pages
2012-11-10 09:27:27 +13:00
martimiz
62dd4e92f7 Relocate breadcrumbs to the top of the document
Remove breadcrumbs from the searchbar to the top of the page content,
and make sure they only display if there is more then the current link.
Wrap the module and version selectors to fill the gap in the searchbar.
2012-11-10 09:27:27 +13:00
Will Rossiter
f322d7a528 Reduce space in nested lists 2012-09-06 21:35:36 +12:00
Will Rossiter
5d7bf64e73 Design tweaks 2012-09-05 21:42:06 +12:00
Will Rossiter
a12169c9e0 MINOR: include own syntax highlighting theme for ssdoc. 2011-08-11 13:32:09 +12:00