Commit graph

158 commits

Author SHA1 Message Date
Andreas Gohr
4055de39fa mobile handling of the sidebar SPR-840 2017-02-22 14:58:43 +01:00
Andreas Gohr
052442dc49 Merge branch 'sidebar'
* sidebar:
  SPR-838: pixel meta box
  same border-color for breadcrumb and main content stripe
2017-02-22 14:07:47 +01:00
Andreas Gohr
560d730c9c Merge branch 'sidebar' into details
* sidebar:
  use a instead of h6 in navigation
  make sidebar headers toggable via keyboard
2017-02-22 13:57:26 +01:00
Jana Deutschländer
db2c472658 SPR-838: pixel meta box 2017-02-22 13:46:45 +01:00
Jana Deutschländer
2b06150282 Merge branch 'sidebar' of gitlab.cosmocode.de:deutschlaender/sprintdoc-template into sidebar 2017-02-22 13:27:26 +01:00
Jana Deutschländer
bfd1d506f5 same border-color for breadcrumb and main content stripe 2017-02-22 13:25:09 +01:00
Andreas Gohr
06938c6d7c use a instead of h6 in navigation
this makes focusing and selecting in assistive technologies easier
2017-02-22 12:12:04 +01:00
Andreas Gohr
c184619466 more styling for section edit buttons
moved the whole section editing and highlighting stuff to its own file.
also moved the edittable specific parts to their proper plugin file.
2017-02-22 10:48:36 +01:00
Andreas Gohr
c6c76462b9 Merge branch 'sidebar' into live
* sidebar:
  SPR-835 only show an icon until hover
  SVG dispatch: allow passing ini colors without underscores
  remove jumping on edit hover with h1
2017-02-21 16:43:30 +01:00
Andreas Gohr
23ea6ca0ed Merge branch 'master' into sidebar
* master:
  remove jumping on edit hover with h1
  SPR-815 remove unused roboto font
  SPR-800 remove unused function file
  use simpler striped pattern for section highlight
  activate deployment
  Add fabfile.py
2017-02-21 16:42:27 +01:00
Andreas Gohr
c8f31200de SPR-835 only show an icon until hover 2017-02-21 16:41:09 +01:00
Andreas Gohr
5362965a50 remove jumping on edit hover with h1
If additional space is wanted at the top, it should be added to the
surrounding container.
2017-02-21 16:03:46 +01:00
Andreas Gohr
d8b607a333 Merge branch 'sidebar' into live
* sidebar:
  simplistic qsearch support
  reveal sidebar when clicking the search icon
2017-02-21 15:22:00 +01:00
Andreas Gohr
f6216bf7c2 Merge branch 'master' into live
* master:
  SPR-815 remove unused roboto font
  SPR-800 remove unused function file
  use simpler striped pattern for section highlight
  activate deployment
  Add fabfile.py
2017-02-21 15:21:50 +01:00
Andreas Gohr
95732eecdc simplistic qsearch support
This disabled the browser's own autocompletion, but every other position
looks weird.
2017-02-21 15:16:28 +01:00
Andreas Gohr
1bd0290f07 SPR-815 remove unused roboto font 2017-02-21 14:44:37 +01:00
Andreas Gohr
2b6ae420f6 use simpler striped pattern for section highlight 2017-02-21 14:32:53 +01:00
Andreas Gohr
248d08817b Merge branch 'sidebar' into live
* sidebar:
  fix problems with ini handling in svg dispatch
  added profile link to usertools in sidebar
  finally align the menu items correctly
  some more list adjustments for sidebar
  add level1 class to fake inpage lists
  adjusted language
  some style adjustments for the sidebar
  complete refactor of the sidebar behaviour javascript RES-754
  style the fake icon
  use jQuery slector to define the elements
  directly embed SVGs for better styling
  very simple styling of the new sidebar behaviour.
  New sidebar JavaScript logic
  allow style.ini replacements in SVG dispatcher
  SVG Dispatch: allow for referencing material design icons
  add caching and fix <g> wrapping
  fixed content type header
  fixed auth check
  feat: add background-colors to SVG-dispatcher
  first go at a dispatcher to dynamically recolor SVGs
2017-02-21 13:46:23 +01:00
Andreas Gohr
fa1028ad60 finally align the menu items correctly
I had to wrap the labels in their own span and use flex box to make them
behave correctly. Simplifications welcome.
2017-02-16 16:58:36 +01:00
Andreas Gohr
0cdca1153e some more list adjustments for sidebar 2017-02-16 15:54:29 +01:00
Andreas Gohr
83e6372c7d some style adjustments for the sidebar
There is no need to differentiate between site tools and the navigation
anymore. Instead now it's differentiated between the navigation tools
and the displayed content.
2017-02-16 15:10:50 +01:00
Andreas Gohr
6c61749bf2 complete refactor of the sidebar behaviour javascript RES-754
Now all toggling of the sidebar and the related menus is done through
the same click handler. HTML has been unified. All sidebar related
content is now in a single include file instead of several. Icons for
the site tools user tools and trace have been added.

The CSS for the whole sidebar still has to be refactored.
2017-02-16 14:40:25 +01:00
Andreas Gohr
be2c364538 simplistic fix for too narrow TOC when no other tabs available
This simply sets a minimum width and right alings the panel. I'm open
for better suggestions.
2017-02-15 16:25:43 +01:00
Andreas Gohr
285c4f96a7 style the fake icon
When no icon is provided, we use the first two letters as icon. A fancy
border makes it look more like an icon.
2017-02-15 14:58:36 +01:00
Andreas Gohr
eaccab8168 Merge branch 'master' into sidebar
* master:
  show license not copyright SPR-794
  use proper translation mechanism for JS SPR-798
  added type ints for other plugins
  SPR-797 fix ID uniqueness
2017-02-14 11:21:52 +01:00
Andreas Gohr
e1fee95368 SPR-797 fix ID uniqueness
As explained on https://www.dokuwiki.org/devel:javascript#using_ids IDs
may not clash with headlines. To avoid that all IDs have to use two
subsequent underscores.
2017-02-13 16:53:06 +01:00
Andreas Gohr
9fd3d99b8f directly embed SVGs for better styling
Now the SVGs are loaded via AJAX and are directly embedded into the
HTML. This allows for styling them via CSS and we can apply proper hover
styles.

The svg dispatcher was extended with an embed option (boolean parameter
'e') which will return an absolute minimum svg with absolutely no
styles.
2017-02-13 16:19:43 +01:00
Andreas Gohr
96fae1c8bc very simple styling of the new sidebar behaviour.
I had a really hard time to understand the existing CSS which seemed
much too complicated for what it does.

Variable use was suboptimal. I couldn't figure out which variable
defines the proper size for the icon and the resulting margin.
2017-02-13 15:28:40 +01:00
Andreas Gohr
9281ecfa76 fixed line endings CRLF -> LF 2017-02-09 17:48:44 +01:00
Jana Deutschländer
9d282a57d4 debug breadcrumb height vs search toggle icon 2017-02-09 17:06:55 +01:00
Jana Deutschländer
6924827172 merge part 2 2017-02-09 17:03:14 +01:00
Jana Deutschländer
432353279d Merge remote-tracking branch 'origin/bar_search' part 1
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2017-02-09 16:53:43 +01:00
Jana Deutschländer
5671e6e5e8 merge jde_bar_search and bar_search branch 2017-02-09 16:48:46 +01:00
Jana Deutschländer
28eb39b298 merge styles of prototype beuth hs project 2017-02-09 10:12:50 +01:00
Jana Deutschländer
edabe53b81 trigger defaultcontent in wide-content state main menu on click 2017-01-11 18:06:07 +01:00
Jana Deutschländer
d0530116c5 mobile + js: min-height for content > sidebar hight 2017-01-11 17:51:42 +01:00
Jana Deutschländer
b7592db0de merge debug 2017-01-11 16:19:20 +01:00
Jana Deutschländer
863ddc8263 Merge remote-tracking branch 'origin/spis-master' into bar_search
# Conflicts:
#	css/area_content.less
#	css/area_nav-breadcrumb.less
2017-01-11 15:59:24 +01:00
Jana Deutschländer
659ce8325f merge mit spis vorbereiten 2017-01-11 15:51:10 +01:00
Silke Pisulla
555efed804 Merge branch 'master' of gitlab.cosmocode.de:deutschlaender/sprintdoc-template into spis-master
# Conflicts:
#	css/area_content.less
#	css/area_nav-breadcrumb.less
#	css/area_nav-metabox.less
#	css/area_sidetools.less
#	css/base_design.less
2017-01-11 15:44:24 +01:00
Silke Pisulla
00c1ebdd53 new var @fix_border-radius for no custom border-radius 2017-01-11 15:21:29 +01:00
Silke Pisulla
acc4acbcf1 new var @fix_border-radius for no custom border-radius 2017-01-11 15:20:15 +01:00
Silke Pisulla
527e72e79a SPR-768: Anpassungen - SprintMeeting 10.1.2017 - tabbox 2017-01-11 15:18:39 +01:00
Silke Pisulla
bbf124abb2 SPR-768: Anpassungen - SprintMeeting 10.1.2017 - breadcrumb padding 2017-01-11 15:17:39 +01:00
Silke Pisulla
cef85c91a1 SPR-768: Anpassungen - SprintMeeting 10.1.2017 - breadcrumb padding 2017-01-11 15:16:40 +01:00
Jana Deutschländer
fda6466f1a font-size des root reduziert, damit default font size 1rem entspricht 2017-01-11 14:40:43 +01:00
Jana Deutschländer
2fc1643265 wide content ohne logo 2017-01-10 17:16:57 +01:00
Jana Deutschländer
b25b2fb7b6 struct font sizes, page tool icons 2017-01-10 17:14:13 +01:00
Jana Deutschländer
43d4ee93fa Merge branch 'spis-master' into 'master'
better content-togglelink

See merge request !10
2017-01-10 16:05:21 +01:00
Jana Deutschländer
ccf1b0eac9 message area + admin part 1 2017-01-10 16:04:58 +01:00