summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-bootstrap/htdocs/luci-static
AgeCommit message (Collapse)Author
2024-02-18luci-theme-bootstrap: allow network interfaces to line breakDaniel Nilsson
The inherited nowrap of white-space causes the interface boxes to not line break, resulting in a horizontal scroll bar when many interfaces are present. Tested on Chrome and Firefox. Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
2023-12-12luci-theme-bootstrap: Use a new OpenWrt logoSergey Ponomarev
The new OpenWrt logo.svg is copied from luci-theme-openwrt-2020. The logo.png was copied too but resized from 180px 3.9Kb down to 48px 2.3Kb. This is enough when used as icon for app pinned to desktop. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-12-04Merge pull request #6296 from jjm2473/patch-2Paul Donald
luci-theme-bootstrap: set scroll-margin-top for all elements
2023-09-06luci-theme-bootstrap: better readability in System Log/Kernel Log.Kristian Skramstad
Signed-off-by: Kristian Skramstad <kristian+github@83.no>
2023-03-26luci-theme-bootstrap: File input background colorSantiago Kozak
Remove the white background color for the file input elements, this way it'll use the default color defined for input elements, matching the light/dark theme. Signed-off-by: Santiago Kozak <santikzk1406@gmail.com>
2023-03-17luci-theme-bootstrap: set scroll-margin-top for all elementsLiangbin Lian
so we can use element.scrollIntoView() with fixed header Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2023-02-07luci-theme-bootstrap: minor style fixesJo-Philipp Wich
- Apply CSS reset to before/after pseudo elements as well and fix resulting shifted offsets - Apply focus highlight to select elements too - Improve radio button styling Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-02-05luci-theme-bootstrap: add focus indication for tabsJo-Philipp Wich
Underline the link text if a tab has keyboard focus in order to give a visual indication of the focus state. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-06-25luci-theme-bootstrap: optimized favicon filesizey04
Optimized PNG filesize from 733 to 592 bytes without any quality loss. Signed-off-by: Alexander Semukhin <semukhin@mail.com>
2022-05-17luci-theme-bootstrap: various style tweaksJo-Philipp Wich
- Make control-group containers flex and ensure proper spacing between elements, fixes e.g. unwanted break for reveal/hide password button on narrow mobile views - Decrease top margin of modal popups - Fix displaying cell titles on mobile wrapped table rows - Tune mobile flex table styles Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-05-06luci-theme-bootstrap: use medium dark text color for version footerJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-03-25luci-theme-bootstrap: fix incorrect wrap arounds in nested cbi sectionsJo-Philipp Wich
Fixes: #5743 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-02-24luci-theme-bootstrap: add table column sort indicatorsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-02-21luci-theme-bootstrap: fix display glitch with combo buttons in row actionsJo-Philipp Wich
Fixes: #5693 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-12-09luci-theme-bootstrap: simplify login dialogJo-Philipp Wich
Use an traditional HTML form with post submit action to the same URL in order to simplify the login process and not rely on the discarded login XHR reply properly setting the login cookie. This will also avoid one useless request on login and hopefully fix login issues reported with various browser environments. As a bonus, the resulting code is somewhat smaller as well. Ref: https://forum.openwrt.org/t/login-does-not-work/113360 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-12-01luci-theme-bootstrap: add bottom margin to log viewsJo-Philipp Wich
Prevent the log output textareas to touch the footer border. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-11-27luci-theme-bootstrap: prevent hiding header bar on long vertical scrollsJo-Philipp Wich
Ref: https://github.com/openwrt/luci/commit/b11a7d8e4940a3f68b93c5d93f16c900c9371bc2#commitcomment-60968071 Fixes: 8055acc9be ("luci-theme-bootstrap: overhaul styles") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-11-22luci-theme-bootstrap: various style correctionsJo-Philipp Wich
- Add proper top and bottom margin for tab descriptions - Allow flex wrapping for cbi-value rows - Ensure that nested table/grid sections always take the full width - Make table/grid section row action buttons are as narrow as possible Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-11-21luci-theme-bootstrap: fix cbi-value caption alignmentJo-Philipp Wich
Since the removal of the clearfix styles, overlong captions will displace subsequent input field rows. Fix the issue by replace floating label + field margin with flexbox styles. Fixes: #5535 Fixes: 8055acc9be ("luci-theme-bootstrap: overhaul styles") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-11-21luci-theme-bootstrap: fix inner border radius in ifaceboxes, progressbarsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-11-18luci-theme-bootstrap: hide scrollbars in modal overlayJo-Philipp Wich
Only enable scrollbars if content overflows. Fixes: #5505 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-11-17luci-theme-bootstrap: further uci changelog style fixesJo-Philipp Wich
- Use the proper dialog class name to apply changelog styles - Darken grey background and borders Fixes: 5bd111f58f ("luci-theme-bootstrap: fix uci changelog and readonly input styles") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-11-17luci-theme-bootstrap: fix uci changelog and readonly input stylesJo-Philipp Wich
- Rework uci changelog styling rules to work with unmodified markup - Drop redundant readonly input styles, don't fade readonly input texts Fixes: 8055acc9be ("luci-theme-bootstrap: overhaul styles") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-11-16luci-theme-bootstrap: overhaul stylesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-11-08luci-theme-bootstrap: light/dark mode releated CSS fixesJo-Philipp Wich
- Fix progress bar shadow in light mode - Fix color schema preference in light and dark modes Fixes: #5498 Fixes: #5499 Fixes: ed86f03a9f ("luci-theme-bootstrap: add explicit dark/light mode selection") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-11-07luci-theme-bootstrap: add explicit dark/light mode selectionJo-Philipp Wich
Register two further "virtual" themes called BootstrapDark and BootstrapLight which force dark and light mode respectively. The actual Bootstrap theme itself will continue to auto-select dark mode preference based on OS/Browser preference settings. Fixes: #5492 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-25luci-theme-bootstrap: work around csstidy bugJo-Philipp Wich
Ref: https://github.com/openwrt/luci/commit/26047fb967f079000ab61c7377f8e26e11277569#commitcomment-58638390 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-25luci-theme-bootstrap: fix overlay display failuresPaul Dee
Fixed overlay display failures for users on mobile, or users who booted up in safe mode XD. Noticeable when vertical or horizontal real-estate is too small for the displayed overlay. This failure is most evident when you "edit" an interface, or display your unsaved changes. When content is wider than the screen view, the table hugs the (widest) content maximally, and the overlay window becomes scrollable. Disabled -webkit-overflow-scrolling, left, and right, because both FF and Safari disable them as invalid anyway. Signed-off-by: Paul Dee <systemcrash@users.noreply.github.com> [Merge duplicate modal declarations, remove not applicable modal flexbox properties] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-25luci-theme-bootstrap: fix header widthJo-Philipp Wich
Fixes: 588e24f9ca ("luci-theme-bootstrap: various tweaks and cleanups") Ref: https://github.com/openwrt/luci/commit/588e24f9ca68de074c4d085ec99fd8c96ad0a3ed#r58625289 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-10luci-theme-bootstrap: various tweaks and cleanupsJo-Philipp Wich
- introduce new variable --text-color-highest which results in #000/#fff for bright and dark modes respectively - drop unused navigation style rules and selectors - use sticky positioning for header bar and drop top margin hacks - use flex box layout for header bar contents - use uniform line-height for button elements instead of pixel paddings - fix too bright .cbi-value bottom border in mobile dark mode - avoid rendering duplicate .cbi-value bottom borders for nested sections - simplify header markup, get rid of unused container elements - use non-wrapping flex box layout for page actions, prioritize primary action button in automatic width calculation - fix border radius of ifacebox headers - use brightest color for log output textareas - fix dark mode colors for mode menu - use flex layout for footer Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-08luci-theme-bootstrap: rework uci changelog stylingJo-Philipp Wich
Fixes: #5405 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-07luci-theme-bootstrap: add dark theme variantTeoh Han Hui
Add a dark theme variant which is enabled by default when prefers-color-scheme is set to dark. Signed-off-by: Teoh Han Hui <teohhanhui@gmail.com>
2021-08-05luci-theme: fix css for flash advanced settingsAnsuel Smith
Fix themes for broken display of advanced button in the sysupgrade modal. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-06-13luci-theme-bootstrap: mobile style fixes for vlan filter matrixJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-01luci-theme-bootstrap: add svg help icon to form field descriptionsJo-Philipp Wich
The still referenced help.gif icon is absent by default since it has been moved to luci-compat. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-12-27luci-theme-bootstrap: fix text wrapping in buttonsDirk Brenken
* should fix #4647 Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-04-16luci-theme-bootstrap: rework menu renderingJo-Philipp Wich
Utilize the LuCI.ui.menu class to load, traverse and cache the menu tree in the local session store. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-03luci-theme-bootstrap, luci-theme-openwrt-2020: fix dynlist overflowsJo-Philipp Wich
Fixes: #3795 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-30themes: generalize indicator markup and stylingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-24luci-theme-bootstrap: fixup assoclist stylingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 3b40c582baefcb302fb23ed633ed85ab1ac72a9e)
2020-03-04luci-theme-bootstrap: fix overview wireless display quirksJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-19luci-theme-bootstrap: add CSS fixes for tooltip elementsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-15luci-theme-bootstrap: fix invalid dropdown state stylingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-10luci-theme-*: remove modal max-height #3383 v2MartB
Signed-off-by: MartB <mart.b@outlook.de>
2019-12-02luci-theme-bootstrap: fix background of large modal overlays.MartB
Signed-off-by: MartB <mart.b@outlook.de>
2019-11-22luci-theme-bootstrap: allow textarea resizingJo-Philipp Wich
Fixes: #3317 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-16treewide: fix "Unhandled token" errors with Lua CBI mapsJo-Philipp Wich
The `data-type` attribute is used to bind datatype validators to a widget while some templates used the same attribute to denote the name of the underlying widget. Change the `data-type` attributes referring to the widget name to `data-widget` in order to stop the JS token error spam. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-13luci-theme-bootstrap: minor page action alignment fixJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-10luci-theme-bootstrap: fix mobile input cutoff in dropdownsJo-Philipp Wich
Fixes: #3285 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-10themes: add necessary styles for ComboButtonJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>