Commit Graph

1482 Commits

Author SHA1 Message Date
Eric Lippmann f5945ff908 CSS: Move colors to mixins 2016-01-25 08:20:58 +01:00
Eric Lippmann ec177e78e5 Make error messages accessible 2016-01-25 07:44:48 +01:00
Eric Lippmann 7ede8124cb Pagination: Focus active after next or prev exceeded
I'd like to see behaviors for components instead of patching loader/events all the time.
2016-01-25 07:23:12 +01:00
Eric Lippmann 4c4e8e4ac2 monitoring: Re-focus check now and alike 2016-01-22 13:33:59 +01:00
Eric Lippmann 1682d8dd67 UI: Fix wobbling spinners
fixes #11008
2016-01-22 12:59:29 +01:00
Eric Lippmann 2cf8471a00 CSS: Fix input widths
refs #10995
2016-01-20 18:17:32 +01:00
Eric Lippmann 2b183a370b Revert "css/forms: do not set with for ALL inputs"
This reverts commit 323c1e3ebb.

refs #10995
2016-01-20 18:10:10 +01:00
Eric Lippmann 2f9ffa65d7 JS: Ignore ids forms and form controls in getCSSPath()
Id generation is unreliable.

refs #10992
2016-01-20 18:10:04 +01:00
Thomas Gelf 323c1e3ebb css/forms: do not set with for ALL inputs
refs #10995
2016-01-20 17:33:01 +01:00
Eric Lippmann 89bf2b53a9 Add high-contrast theme 2016-01-18 13:32:48 +01:00
Eric Lippmann e1eb505986 JS: Maintain autosubmit focus 2016-01-18 13:28:36 +01:00
Eric Lippmann ebab4e8473 JS: Ignore ids startings w/ form_ in getCSSPath
protectId makes ids change over subsequent requests.
2016-01-18 13:27:02 +01:00
Eric Lippmann a65398d5c9 Fix outline of form controls 2016-01-18 13:19:08 +01:00
Eric Lippmann 074477b452 Show outline in the filter editor 2016-01-18 13:16:16 +01:00
Eric Lippmann 7a6d61ceaa JS: Re-focus visible elements only
Don't try to re-focus links from dropdown tabs example because they're no longer visible if the page has been loaded.
2016-01-18 12:50:27 +01:00
Eric Lippmann 3ab5b5b721 Fix skip to content jump link 2016-01-18 12:50:27 +01:00
Eric Lippmann 81d73bb5e4 JS: Try to maintain focus 2016-01-18 12:50:27 +01:00
Eric Lippmann 4f21e0fb94 CSS: Remove outline from .button mixin 2016-01-18 12:50:27 +01:00
Eric Lippmann 9b2a325f6f CSS: Remove outline from .container 2016-01-18 12:50:27 +01:00
Eric Lippmann e2ff6b1b5a CSS: Set .action navigation styles in the monitoring module 2016-01-18 12:50:27 +01:00
Eric Lippmann b515eaa076 JS: Introduce getCSSPath
getCSSPath returns the CSS path to a given jQuery element. We have getDomPath which is not robust enough and
getElementByDomPath which makes no sense because getDomPath could already return a selector suitable for jQuery.
getCSSPath is meant to replace both of them.
The function is far from perfect, as its lacking class consideration and optimization.
2016-01-18 12:50:27 +01:00
Eric Lippmann a262d13f86 Interpret onload ajax requests for the detail column as auto-refresh
This is a preperation for programmatically focusing the target container of a followed link for accessibility reasons.
Automated focusing of the target container must not happen if the request is a auto-refreshing one. Thus onload requests
are now flagged as auto-refresh.
2016-01-18 12:50:27 +01:00
Eric Lippmann 99ba4e9a39 Fix focus styles for tabs 2016-01-18 12:50:27 +01:00
Eric Lippmann 3bcda92f5f Remove fixed width of left aligned tabs 2016-01-18 12:50:27 +01:00
Thomas Gelf 5cc38a3085 css/forms: use em, get rid of a bunch of px values 2016-01-13 15:02:12 +01:00
Thomas Gelf e0bec8644f monitoring/actions: adjust action link styling 2016-01-12 12:28:12 +01:00
Eric Lippmann 66c4b9a3da Fix dropdown losing focus when navigating w/ the keyboard 2016-01-12 08:52:30 +01:00
Eric Lippmann 672e8359e4 Support :focus for new tab info in dropdown menus 2016-01-12 08:52:30 +01:00
Eric Lippmann 9a5e69a8ec Improve tab styles for accessibility 2016-01-12 08:52:30 +01:00
Eric Lippmann 7c1ccc685f Rename close-toggle to close-container-control 2016-01-12 08:52:30 +01:00
Eric Lippmann 31df702a80 Remove logo.less
Not used anymore.
2016-01-12 08:52:30 +01:00
Eric Lippmann 4db06d79cb Fix dashboard gutters overflow and sizing 2016-01-12 08:52:30 +01:00
Eric Lippmann 72baf9b022 Menu: Increase icon width
Else "bigger" icons like cubes would have no right margin.
2016-01-12 08:52:30 +01:00
Eric Lippmann cbfaee8681 CSS: Optimize dashboard, column and controls styles
fixes #7350
fixes #10289
fixes #10871
2016-01-12 08:52:30 +01:00
Eric Lippmann 267aa0d3a2 Remove forgotten console.log from ui.js 2016-01-12 08:52:30 +01:00
Eric Lippmann b1049f2aed Prepare .controls for removing padding
refs #10871
2016-01-12 08:52:30 +01:00
Eric Lippmann f2f4375125 CSS: Use badge-color instead of text-color-inverted 2016-01-12 08:52:30 +01:00
Eric Lippmann d265da1fa9 CSS: Add text-color-on-icinga-blue
Intended to replace text-color-inverted.
2016-01-12 08:52:30 +01:00
Eric Lippmann 999725e605 Login: Increase focus visibility 2016-01-04 11:41:36 +01:00
Eric Lippmann 93539d9369 CSS: Remove color @icinga-blue-dark
Color ist not in use.
2016-01-04 11:40:58 +01:00
Eric Lippmann 1c5ada2531 Remove hover effects from mobile menu 2015-12-22 14:32:04 +01:00
Eric Lippmann 447ebeb0b6 JS: Optimize mobile menu code 2015-12-22 14:01:45 +01:00
Eric Lippmann 887a688781 Quick-fix mobile menu
Will be reworked asap.
2015-12-21 14:06:42 +01:00
Thomas Gelf 7b50d9f89c css/themes: add a Winter theme
fixes #10898
2015-12-21 13:40:46 +01:00
Eric Lippmann 1b196e61a6 Ignore application-state requests on setup 2015-12-21 13:03:58 +01:00
Eric Lippmann 6e9b9cb8d6 JS: Add autofocus behavior
refs #10671
2015-12-21 13:03:08 +01:00
Eric Lippmann a127962e73 CSS: Bring back styles for .impact
refs #10886
2015-12-21 09:57:01 +01:00
Eric Lippmann b483ab2a28 Revert "CSS: Allow coloring button-link"
This reverts commit fc4458857f.

lessc treats classes w/ variables as mixins. Thus ignoring direct use of action-link and button-link in HTML for example.
2015-12-21 09:39:20 +01:00
Eric Lippmann 11e7d1050f Merge branch 'bugfix/line-breaks-in-comments-10603'
fixes #10603
2015-12-21 09:39:12 +01:00
Eric Lippmann f5dac49330 Don't fire application-state requests if not authenticated
fixes #10749
2015-12-16 12:55:41 +01:00
Eric Lippmann 4f562280ba CSS: Don't provide box-sizing mixin 2015-12-16 12:53:07 +01:00
Eric Lippmann 0e8834a4a2 CSS: Add :focus style to button-link 2015-12-16 12:49:24 +01:00
Eric Lippmann 8006090108 Merge branch 'feature/theming-10705'
resolves #10705
2015-12-16 12:49:11 +01:00
Eric Lippmann 9b27a83600 CSS: Add box-shadow mixin 2015-12-16 12:48:02 +01:00
Eric Lippmann 30124f384e JS: Improve selector used in the selectable behavior 2015-12-16 12:48:02 +01:00
Eric Lippmann 755f361e4c Add behavior for dropdown navigation items
Dropdown navigation is not yet accessible. The added behavior listens for activity on dropdown-navigation-item for toggling the CSS class active.
2015-12-16 12:48:02 +01:00
Eric Lippmann 12a39568b7 JS: Remove unused variable in sparkline behavior 2015-12-16 12:48:02 +01:00
Eric Lippmann 7f265034fb CSS: Fix background-color for .controls 2015-12-15 13:35:26 +01:00
Eric Lippmann 8800decc69 Use icinga-blue like background colors for active and hovered table rows 2015-12-15 13:32:56 +01:00
Eric Lippmann 707b954534 CSS: Add smooth transition on tr hover 2015-12-15 13:31:14 +01:00
Eric Lippmann 99f0a348c5 Disable transitions on page load 2015-12-15 13:29:30 +01:00
Eric Lippmann 4a10e2d758 Fix overflow of #login and #guest-error 2015-12-15 13:25:15 +01:00
Eric Lippmann fc4458857f CSS: Allow coloring button-link 2015-12-15 13:24:51 +01:00
Eric Lippmann 16e5ce9e73 Fix login markup 2015-12-10 13:34:54 +01:00
Eric Lippmann 637f09aa5a Support theming #header-logo
refs #10705
2015-12-10 13:34:54 +01:00
Eric Lippmann c227bcc94d Rename error layout for guests and support theming
refs #10705
2015-12-10 13:34:54 +01:00
Eric Lippmann 012fdf9cb5 CSS: Add styles for centering content of unknown width and height both horizontally and vertically 2015-12-10 13:34:53 +01:00
Eric Lippmann bcd1402123 CSS: Combine header-, footer-elements and layout-colors in layout.less 2015-12-10 13:34:53 +01:00
Eric Lippmann b193ea5d32 Fix print styles 2015-12-10 13:34:53 +01:00
Eric Lippmann f83d4488ab CSS: Fix button mixin transition 2015-12-10 13:34:53 +01:00
Eric Lippmann 5dff355720 CSS: Add fadein animation to mixins
Was in login.less before. Will be removed.
2015-12-10 13:34:53 +01:00
Eric Lippmann b92fba2804 CSS: Allow to control colors of the button mixin 2015-12-10 13:34:53 +01:00
Eric Lippmann f51c2ce6ad Support theming for login logo
refs #10705
2015-12-07 14:22:45 +01:00
Eric Lippmann a1bb4bb695 Merge branch 'master' into feature/theming-10705 2015-12-07 14:17:57 +01:00
Eric Lippmann a7c6535bf9 Support theming for the header logo
refs #10705
2015-12-07 13:52:14 +01:00
Eric Lippmann 614d7fc30d Add search_icinga_blue icon
Thanks mzac ;)
2015-11-23 16:36:24 +01:00
Eric Lippmann 93428f682e CSS: Color the search icon when focused 2015-11-23 11:37:37 +01:00
Eric Lippmann ff500f4a0f CSS: Fix placeholder color in FF 2015-11-23 11:36:59 +01:00
Eric Lippmann 216d1e71e8 CSS: Add smooth transition on tr hover 2015-11-20 15:49:15 +01:00
Eric Lippmann 8d5da9bb86 CSS: Simplify comment-list style 2015-11-20 15:13:01 +01:00
Eric Lippmann c0f1d6da33 doc: Add toc to design guidelines 2015-11-20 11:22:27 +01:00
Eric Lippmann 5b898d5f3b JS: Don't activate a menu item if only a part of the current URL matches
Else, navigating to user -> preferences -> navigation activates configuration -> shared navigation for example.
2015-11-20 09:39:53 +01:00
Eric Lippmann 00b931ea40 Fix table header in the about page 2015-11-16 15:42:35 +01:00
Eric Lippmann 583a4985c0 Add mobile menu
fixes #8999
2015-11-16 14:21:08 +01:00
Eric Lippmann 0cc54ce34b Refresh session every 10 minutes
Quick and dirty fix.

fixes #10229
2015-11-16 14:19:33 +01:00
Eric Lippmann cf894f9771 Add gplus-squared icon 2015-11-16 11:22:08 +01:00
Eric Lippmann 5ff53df094 Less padding for common-table th 2015-11-16 10:28:51 +01:00
Eric Lippmann 326745f3a6 Fix controls alignment 2015-11-16 10:24:33 +01:00
Eric Lippmann c0f90a6927 No left and right padding for previous and next page respectively 2015-11-16 10:23:59 +01:00
Eric Lippmann a9154c5022 Remove filter margin from widgets.less 2015-11-16 10:23:28 +01:00
Johannes Meyer 38b05cef35 Form: Make informational notifications blue
If one needs green notifications, please add a new type "success".

fixes #10533
2015-11-13 16:26:26 +01:00
Eric Lippmann d5fe0c9610 Merge branch 'feature/dope-layout-5543#2' 2015-11-13 15:21:07 +01:00
Bernd Erk ebbcebe734 Add about.less 2015-11-13 13:57:48 +01:00
Bernd Erk 39aa888131 Adds new about page and dotted bottom lines in detail 2015-11-13 13:57:09 +01:00
Eric Lippmann d1bb8747b5 Revert "CSS: Remove styles for .historycolorgrid"
This reverts commit bc8dff2f78.

Ooops, still in use :)

refs #5543
2015-11-13 10:30:07 +01:00
Thomas Gelf 5604797cd1 widgets.less: on less TODO for less :D 2015-11-13 09:44:50 +01:00
Bernd Erk 3e93d62795 Redesign of tactical overview to get ready for full screen 2015-11-13 00:24:15 +01:00
Bernd Erk 1a99bb73ee Adds top and bottom margin to form-description 2015-11-12 22:34:52 +01:00
Bernd Erk 1169b22831 Fixes font-family and font-size for tipsy hovers 2015-11-12 22:29:45 +01:00
Bernd Erk 3e2a19180f Adds more top-margin on login-page 2015-11-12 22:24:07 +01:00
Eric Lippmann ad31f3fbdb CSS: Remove selection-toolbar
Not in use.

refs #5543
2015-11-12 13:08:05 +01:00
Eric Lippmann b64bf06df7 CSS: Move limiter and pagination styles to controls.less
refs #5543
2015-11-12 13:07:35 +01:00
Eric Lippmann daf32be72d CSS: Fix pagination and limiter positioning
refs #5543
2015-11-12 13:05:46 +01:00
Eric Lippmann 5f79157a97 CSS: Reduce div.sort-control selector to .sort-control
refs #5543
2015-11-12 13:05:16 +01:00
Eric Lippmann 9cfa8133ab CSS: Reduce bottom padding of the pagination-control
refs #5543
2015-11-12 11:57:41 +01:00
Eric Lippmann d21c668f45 CSS: Restyle pagination (WIP)
refs #5543
2015-11-12 11:50:38 +01:00
Eric Lippmann 7508e72df8 CSS/Menu: Re-use padding on a instead of li
refs #5543
2015-11-12 10:40:40 +01:00
Eric Lippmann 4b84b936b5 CSS/Menu: Remove outline-offset
refs #5543
2015-11-12 10:19:41 +01:00
Eric Lippmann 514f84f839 CSS: Fix menu padding and search position
refs #5543
2015-11-12 10:09:57 +01:00
Eric Lippmann 45cc5eb238 CSS: Fix that active menu items move to the right according to their border
refs #5543
2015-11-12 09:50:18 +01:00
Eric Lippmann 42a3ecea6f CSS: Move sparkline styles to monitoring module
refs #5543
2015-11-12 09:44:22 +01:00
Eric Lippmann 1c83c710e9 CSS: Move menu related styles from widgets to menu.less
refs #5543
2015-11-12 09:38:38 +01:00
Eric Lippmann 76058cf1a8 CSS: Remove styles for pie-data
Class not in use.

refs #5543
2015-11-11 16:40:43 +01:00
Eric Lippmann 6dcca3ab6d CSS: Remove styles for datafilter
Class not in use.

refs #5543
2015-11-11 16:37:20 +01:00
Eric Lippmann bc8dff2f78 CSS: Remove styles for .historycolorgrid
Class not in use.

refs #5543
2015-11-11 16:36:48 +01:00
Eric Lippmann fefdfe3d7b JS: Reduce code for the sparkline behavior
refs #5543
2015-11-11 15:23:45 +01:00
Eric Lippmann 663b493cd2 CSS: Introduce line-height variable
For template support.

refs #5543
2015-11-11 15:21:53 +01:00
Eric Lippmann ec1cc5ebcb CSS/Menu: Fix badge offset correction
refs #5543
2015-11-11 15:10:51 +01:00
Eric Lippmann cd7a3d1fcf CSS: Remove class color-box
Not in use.

refs #5543
2015-11-11 15:10:34 +01:00
Eric Lippmann 3d1cd042ce CSS: Remove class oneline
Not in use.

refs #5543
2015-11-11 15:10:18 +01:00
Eric Lippmann ebbb061db7 CSS: Fix sparkline positioning
refs #5543
2015-11-11 15:06:23 +01:00
Eric Lippmann 30b3b61e43 CSS: Remove bold font from link-button
refs #5543
2015-11-11 10:37:39 +01:00
Eric Lippmann 4684e9246e CSS: Reduce size of badges
refs #5543
2015-11-11 10:37:09 +01:00
Eric Lippmann 92a2727a0b CSS: Change backround color for the user menu
refs #5543
2015-11-10 16:52:46 +01:00
Eric Lippmann 92e3895c94 Revert user menu to its original state
refs #5543
2015-11-10 14:05:48 +01:00
Eric Lippmann 93ecc51528 CSS: Increase font-size-small
refs #5543
2015-11-10 14:02:58 +01:00
Thomas Gelf a674707e98 base.less: do not shrink our main structure 2015-11-10 13:44:57 +01:00
Eric Lippmann 6b90982a10 monitoring: Properly size object-features form
refs #5543
2015-11-10 13:30:30 +01:00
Eric Lippmann db167becba monitoring: Properly align object-features form
refs #5543
2015-11-10 13:23:47 +01:00
Eric Lippmann 848882bb44 CSS: Remove padding-top from .content
refs #5543
2015-11-10 13:14:42 +01:00
Eric Lippmann 3cf7eaef1e CSS: Add margin-left to the control-info icon
refs #5543
2015-11-10 09:40:40 +01:00
Eric Lippmann e6af09ec64 Revert "CSS: Left align icons in links"
This reverts commit f570f75958.
2015-11-10 09:39:48 +01:00
Eric Lippmann e1e1a535ee JS: Remove unnecessary space in Navigation::onRendererd()
refs #5543
2015-11-10 09:31:52 +01:00
Eric Lippmann f570f75958 CSS: Left align icons in links
refs #5543
2015-11-10 09:31:36 +01:00
Eric Lippmann bcdd7da4cd CSS: Left align th of name-value-table
refs #5543
2015-11-10 09:30:33 +01:00
Eric Lippmann a943240b57 CSS: Increase padding in common-table
refs #5543
2015-11-10 09:30:11 +01:00
Eric Lippmann ed5a984980 CSS: Small fixes in main.less
refs #5543
2015-11-10 09:29:48 +01:00
Eric Lippmann 68777b2b6a JS: Don't use deprecated jQuery function size() in navigation.js
refs #5543
2015-11-09 16:44:37 +01:00
Eric Lippmann 70d7f7f669 JS: Fix doc of navigation::onRendered()
refs #5543
2015-11-09 16:44:19 +01:00
Eric Lippmann bb432fcc68 JS: Use _this when saving a reference to this in Navigation::onRendered()
There a tons of places where we use self instead of _this. self is a global variable in modern browsers.

refs #5543
2015-11-09 15:55:23 +01:00
Eric Lippmann 802cba3fb8 CSS: Move variables from themes/icinga.less to base.less
refs #5543
2015-11-09 13:32:59 +01:00
Eric Lippmann 8c13583aba CSS: Remove element qualifiers in main.less
refs #5543
2015-11-09 11:45:04 +01:00
Eric Lippmann c46b3258b6 CSS: Move class preformatted to main.less
refs #5543
2015-11-09 11:43:20 +01:00
Eric Lippmann 75cfce09d2 CSS: Remove border-bottom on headers except for h1
refs #5543
2015-11-09 11:41:10 +01:00
Eric Lippmann 27e1eb6661 CSS: Increase font-size and width on name-value-table
refs #5543
2015-11-09 11:33:37 +01:00
Thomas Gelf e11e438f50 layout: make compact slightly larger 2015-11-06 01:53:27 +01:00
Thomas Gelf d123d85247 blockquote is no pre, introduce .preformatted 2015-11-06 01:53:01 +01:00
Eric Lippmann 5a34e3ea83 CSS: Set default margin for blockquote, p and pre
refs #5543
2015-11-04 17:53:58 +01:00
Thomas Gelf 62b302bedd base.less: move default font size to lower layer 2015-11-04 17:17:41 +01:00
Eric Lippmann 5cf4790856 CSS: Move body style to #layout
refs #5543
2015-11-04 16:27:17 +01:00