1355 Commits

Author SHA1 Message Date
Yonas Habteab
17752eb8ac Don't render safari default details marker 2023-07-14 20:05:35 +02:00
Yonas Habteab
af7263d216 CSS: Don't add padding top to the dashelt caption
When you add some text that exceeds the webkit line clamp, the dashlet caption
looks off to me. Since the caption doesn't have padding-bottom, we shouldn't
also add padding-top to it.
2023-07-14 20:05:34 +02:00
Yonas Habteab
628b270e51 Add custom form-controls minimal layout 2023-07-14 20:05:34 +02:00
Yonas Habteab
ec4d246a3c Add minimal layout for the welcome page 2023-07-14 20:05:34 +02:00
Yonas Habteab
aa33940ded forms.less: Add also button style on minimal layout & add mirgin-right to the btn-remove 2023-07-14 20:05:34 +02:00
Sukhwinder Dhillon
23de575782 Set dark border for btn_use_defaults on hover and focus 2023-07-14 20:05:34 +02:00
Sukhwinder Dhillon
95c6b7cd7f Add edit icon 2023-07-14 20:05:34 +02:00
Yonas Habteab
0c91a8a283 Adjust disabled input style sheets & remove unnecessary control structure within the WelcomeForm::onSuccess() method 2023-07-14 20:05:34 +02:00
Yonas Habteab
da98bb2bf1 dashboards.less: Add styles for disabled input fields 2023-07-14 19:51:08 +02:00
Yonas Habteab
d05b8d9e2f main.less: Set cursor to pointer for the expand/collapse icons 2023-07-14 19:51:08 +02:00
Yonas Habteab
76c97bb1d2 dashboards.less: Add column spacing to the welcome form formcontrols 2023-07-14 19:51:08 +02:00
Johannes Meyer
3041d7d3c1 dashboards/settings: Cleanup HTML and CSS
Well what should I say..

* There should be nothing else inside a `ul` than `li` elements
 * If that's not feasible, don't use a `ul` but a `div`
* If adjusting a stylesheet, don't add new stuff to it without
  making sure that redundant/obsolete stuff is removed
* Restructure your stylesheet once you notice you're adding
  one rule after another to counteract the one before it.
  There was way too much code smell
* Only be as specific in CSS rules as you absolutely need to.
  Classes are usually enough. Only add tags if you use the same
  classes on different tags.
* Ensure that your CSS makes as less assumptions as possible
2023-07-14 19:51:08 +02:00
Johannes Meyer
8bd82ff97c Cleanup dashboard welcome page
* The `h1` is the tab or page title, the welcome message is at most a `h2?`
* It's not necessary to mention that the welcome page is only shown as
  long as there are no dashboards/dashlets, if the very next statement
  explains this already
* The icinga form layout is not relevant here, so there's no need to
  work-around/counteract it
* The text opacity just reduced the contrast needlessly
2023-07-14 19:51:08 +02:00
Johannes Meyer
fd31f2d960 css: Adjust .controls.separated border-shadow to match Icinga DB Web's 2023-07-14 19:51:08 +02:00
Johannes Meyer
136f25cb66 layout.less: Fully remove letter-spacing from .dashboard
Since ipl-html is used now, there is no whitespace between
tags which gets rendered due to display:inline-block.
2023-07-14 19:51:08 +02:00
Yonas Habteab
8d8a234446 Make the bars icon a bit bigger 2023-07-14 19:51:08 +02:00
Yonas Habteab
28021b61d3 Use handle icon to initiate the drag&drop events 2023-07-14 19:51:08 +02:00
Yonas Habteab
f7f93ca25e forms.less: Undo changed button styles 2023-07-14 19:51:08 +02:00
Yonas Habteab
dab6bdc7c6 Use own activate() method to activate dashboards 2023-07-14 19:51:08 +02:00
Yonas Habteab
50c19af224 Remove obsolete button styles & add a proper button class names 2023-07-14 19:51:08 +02:00
Yonas Habteab
5da7d62913 form.less: Adjust remove & cancel button style sheets 2023-07-14 19:51:08 +02:00
Yonas Habteab
443a963307 Adjust how module dashlets are handled 2023-07-14 19:51:08 +02:00
Yonas Habteab
49267d6fa3 Use sendMultipartUpdate() for drag&drop actions & adjust some css styles 2023-07-14 19:51:08 +02:00
Yonas Habteab
b597c7c489 Adjust dashbaord conent layouts & don't redirect when sorting only dashlets 2023-07-14 19:51:07 +02:00
Yonas Habteab
a733c6f66d Delay sorting events for 100ms 2023-07-14 19:51:07 +02:00
Yonas Habteab
cdd60f965b Do some code refactoring 2023-07-14 19:51:07 +02:00
Yonas Habteab
14bc749556 Dashboard: Provide mini welcome wizard for new users 2023-07-14 19:51:07 +02:00
Yonas Habteab
ed94660839 CSS: Introduce some styling for the enhanced dashboards 2023-07-14 19:51:07 +02:00
Sukhwinder Dhillon
65b9024bc5 Winter.less: Don't set bg-color to transparent 2023-06-19 10:09:49 +02:00
Sukhwinder Dhillon
09b9d7401c base.less: Make menu nav-level-2 hover better visible 2023-06-19 10:09:36 +02:00
Johannes Meyer
12af81d4c3 css: Support fieldsets wrapped by .control-group 2022-12-14 13:15:50 +01:00
Johannes Meyer
723eaae08c print.less: Make sure that client print attempts work fine 2022-12-07 11:57:48 +01:00
Johannes Meyer
bb4b53e90c css: Optimize performance
I don't quite understand why exactly this rule exposes
such an issue. We have several other rules that are
similar. But they don't reference form elements on the
left. I suspect a different issue somewhere else, this
only exaggerated it.

fixes #4929
2022-10-17 11:30:40 +02:00
Johannes Meyer
3c2c79b669 css: Apply box-sizing:border-box to all <details> children
We have this everywhere else, so it should not be different here.
2022-10-10 10:42:45 +02:00
Johannes Meyer
503f9b7316 PrivilegeAudit: Use the <details> tag 2022-10-10 10:42:45 +02:00
Johannes Meyer
5059a782a8 RoleForm: Use the <details> tag 2022-10-10 10:42:45 +02:00
Johannes Meyer
17bd3ce14f collapsible.js: Use a data-attr to identify collapsible collapsibles 2022-10-10 10:42:45 +02:00
Johannes Meyer
181b18cfec css: Only apply .collapsible-control styles to outer buttons
Inner buttons usually have their own style
2022-10-10 10:42:45 +02:00
Johannes Meyer
222a6a8e0f collapsible.js: Add support for <details> 2022-10-10 10:42:45 +02:00
Johannes Meyer
e8cae1f28a css: Let collapsible icons be anywhere inside the control 2022-10-10 10:42:45 +02:00
Sukhwinder Dhillon
62d7ca8e97 setup.less: Make visible that the button is disabled 2022-07-19 11:43:28 +02:00
Sukhwinder Dhillon
fbd4434b40 Align button icon to baseline 2022-07-19 11:08:55 +02:00
Johannes Meyer
a29159a0a1 Remove remaining IE adjustments 2022-06-13 16:41:15 +02:00
Sukhwinder Dhillon
d994c33bc6 Revert "main.less: Don't use unset, IE11 does not support it"
This reverts commit c5ebaa2bded5a8a3a5ae0d726f1c62967749033b.
2022-06-13 15:50:52 +02:00
Sukhwinder Dhillon
252f17e868 Revert "IE11: Fix nav flyouts being covered by #main"
This reverts commit 1778ec673b2afb2023f504443a64beb89b6735ab.
2022-06-13 15:50:52 +02:00
Sukhwinder Dhillon
b64d205e6b layout-structure.less: Remove unused #fileupload-frame-target 2022-06-13 15:50:52 +02:00
Sukhwinder Dhillon
6fe2ef4698 layout-structure.less: Display announcements in fullscreen-layout 2022-05-27 14:35:06 +02:00
Johannes Meyer
74022ae4e0
Merge pull request #4697 from Icinga/feature/redesigned-user-menu-new
Feature/redesigned user menu
2022-05-16 09:04:26 +02:00
Florian Strohmaier
b7f4b30935 layout.less: Fix footer alignment, when `.sidebar-collapsed
fixes #4756
2022-05-12 15:13:16 +02:00
Florian Strohmaier
f1d79ffc66 CSS: Prevent footer from overlapping sidebar 2022-05-12 11:10:59 +02:00