Commit graph

464 commits

Author SHA1 Message Date
Florian Eckert
280c55b9ad luci-theme-material: make top level menu fontcolor configurable
If you change the color of the submenues then the colors of the toplevel
should also be changed into the same color.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-20 14:46:31 +01:00
Jo-Philipp Wich
91a73bebfb luci-theme-bootstrap: fix textarea height after CSS minification
Fixes #2378
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-16 15:08:05 +01:00
Yanlan Shen
3fd74316ab luci-theme-rosy: Fixed insufficient container container width
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-12-11 10:43:45 +08:00
Jo-Philipp Wich
5d90e704ef luci-theme-{freifunk-generic,material,rosy}: fixup tab CSS
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-10 13:43:30 +01:00
Jo-Philipp Wich
357096d15f luci-theme-openwrt: add required CSS rules for new tabbing code
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-10 13:41:34 +01:00
Jo-Philipp Wich
1cdce0280a luci-theme-bootstrap: add required CSS rules for new tabbing code
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-10 13:41:34 +01:00
Jo-Philipp Wich
747e10bae6 luci-theme-openwrt: style tweaks
- Collapse table borders by default
 - Vertically align table cell content
 - Inherit font family and size for form widgets
 - Fix redundant horizontal padding for cell labels

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-10 13:41:34 +01:00
Jo-Philipp Wich
51dbb2756a luci-theme-bootstrap: dynlist style tweak
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-10 13:41:34 +01:00
Jo-Philipp Wich
1b26c91a08
Merge pull request #2334 from yglb/master
luci-theme-rosy: Fix related bugs displayed on the page
2018-12-07 00:12:18 +01:00
Jo-Philipp Wich
04e0657443
Merge pull request #2347 from shunjou/theme-material
luci-theme-material: partial style overhaul
2018-12-07 00:10:59 +01:00
shunjou
8732a186cb luci-theme-material: make header logo link to main overview
Signed-off-by: Shun Jou <shunjou@gmail.com>
2018-12-05 09:29:29 -05:00
shunjou
dba2462fe1 luci-theme-material: partial style overhaul
* Restore theme to near original style
* Properly declare variable fallbacks
* More consistent table and border styling
* Improve responsive design scaling
* Add static ripple effect to sidebar menu
* Style command output as terminal
* Comb coding style and widespread cleanup
* Various other improvements and fixes

Signed-off-by: Shun Jou <shunjou@gmail.com>
2018-12-05 09:29:24 -05:00
Yanlan Shen
6aa8ab54ee luci-theme-rosy: Modify the code for the progress bar of the overview interface
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-12-03 15:14:14 +08:00
Yanlan Shen
c7bd4397fb luci-theme-rosy: Fixed bug with rounded corners and drop down boxes
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-12-03 15:08:11 +08:00
Yanlan Shen
6cb25970b8 luci-theme-rosy: Modify the color of the button's primary and secondary colors and the bug of the status-overview page.
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-12-03 15:08:11 +08:00
Jo-Philipp Wich
9a6e584449 luci-theme-bootstrap, luci-theme-openwrt: allow dynlist item content to wrap
Very long values without whitespace can easily overflow the dynlist item
container, so allow the browser to forcibly break such lines.

Reported-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-02 16:57:24 +01:00
shunjou
ba6f7b6d33 luci-theme-material: optimize brand logo
Signed-off-by: Shun Jou <shunjou@gmail.com>
2018-11-29 04:10:38 -05:00
shunjou
9603990cb1 luci-theme-material: remove obsolete header info
Signed-off-by: Shun Jou <shunjou@gmail.com>
2018-11-29 04:10:18 -05:00
brv phoenix
6dac41a9b4 luci-theme-material: add the missing modal/progressbar rules.
Signed-off-by: brv phoenix <feixuekaka1@gmail.com>
2018-11-28 19:27:46 +08:00
Jo-Philipp Wich
4fe427ebcd
Merge pull request #2329 from TDT-AG/pr/20181123-luci-theme-material
luci-theme-material: add missing css cbi-section-error definitions
2018-11-27 23:46:08 +01:00
Jo-Philipp Wich
7e2b21d9b4
Merge pull request #2335 from shunjou/material-favicon
luci-theme-material: add new favicon
2018-11-27 23:44:24 +01:00
Jo-Philipp Wich
9cd5f6befd luci-theme-bootstrap: allow tabmenus to wrap (#2333)
Allow the tab menu line to wrap around on narrow screens to fix the issue
reported in PR #2333.

Also add the .nowrap utility class to the Bootstrap theme while we're
touching it.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-27 13:58:58 +01:00
shunjou
168d80aaa7 luci-theme-material: add new favicon
Also remove logo.png as it is unused.

Signed-off-by: Shun Jou <shunjou@gmail.com>
2018-11-26 21:31:30 -05:00
Jo-Philipp Wich
12ed0274a9 luci-base: CSS accessibility improvements for modal dialog
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-24 21:31:28 +01:00
Jo-Philipp Wich
c270d48cdd luci-theme-bootstrap: add responsive CSS
Add responsive CSS to improve the rendering on small screen devices.

Tested on Mobile Safari using an iPhone 5 and iPhone 6, ymmv for other
platforms.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23 15:11:28 +01:00
Florian Eckert
57b8d305af luci-theme-material: add missing css cbi-section-error definitions
Add the missing error css class definitions.
Highlights the wrong inputs detected by the cbi validation function.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-23 13:17:41 +01:00
Jo-Philipp Wich
6a0c1d1ab6 luci-mod-status: move index and iptables page JS code into external files
Also adjust the Bootstrap and OpenWrt themes accordingly

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 13:07:33 +01:00
Jo-Philipp Wich
515562be27 luci-theme-bootstrap, luci-theme-openwrt: allow dynlist .add-item to expand
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-20 13:32:31 +01:00
Yanlan Shen
58c03a8a06 luci-theme-luci: Match css to implement related styles
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-11-19 14:09:15 +08:00
Yanlan Shen
94a562ccf3 luci-theme-rosy: Modifying the form does not fully display the bug of the dropdown box
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-11-19 14:09:15 +08:00
Jo-Philipp Wich
5dddb105d2 luci-theme-bootstrap: remove redundant rules
Drop rules specific to the old status page progress bars and rework the
cbi element rules to work independently of a parent form tag.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-16 21:11:34 +01:00
Jo-Philipp Wich
e69d05cac4 luci-theme-openwrt: modal display fixes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-15 23:00:34 +01:00
Jo-Philipp Wich
1c84826242 luci-theme-bootstrap: add modal/progressbar rules, cleanup
- Add rules for modal dialogs and progress bar widgets
 - Drop redundant, unused or obsolete rules
 - Add spin utility class

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14 20:46:04 +01:00
Jo-Philipp Wich
cbd0d7c5de luci-theme-openwrt: modal/progressbar rules, mobile improvements
- Add rules for modal dialogs and progress bar widgets
 - Increase button and input size on mobile devices
 - Convert pt to px units
 - Add label and h5 styles
 - Add common flash and spin utility classes

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14 20:46:04 +01:00
Jo-Philipp Wich
4791180eb3 luci-base, themes: dropdown behaviour improvements
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14 20:46:04 +01:00
Jo-Philipp Wich
fa391e4f96 luci-theme-openwrt: dropdown style tweaks
- Remove 2em min height, this looks out of place with the OpenWrt theme
- Only colorize invalid dropdown when not open
- Drop use of image background for invalid fields while we're at it

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14 20:46:04 +01:00
Jo-Philipp Wich
13e2cce2d9 luci-theme-bootstrap: add invalid style for dropdowns
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14 20:46:04 +01:00
Jo-Philipp Wich
aea8c89c0c luci-theme-{freifunk-generic,material,openwrt}: z-index fixes
Ensure that open dropdowns cover active tooltips.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14 20:46:04 +01:00
Jo-Philipp Wich
48181051ef luci-theme-bootstrap: z-index fixes
Lower z-index of header bar to allow tooltips and dropdowns to overlap it,
also increase the z-index of open dropdowns to ensure that they cover
active tooltip bubbles.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14 20:46:04 +01:00
Yanlan Shen
4d3d6c66d6 luci-theme-rosy: fixed typo
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-11-14 11:50:49 +08:00
Yanlan Shen
4335c50a2b luci-theme-rosy: Remove redundant statements
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-11-14 11:49:33 +08:00
Yanlan Shen
6caf05eee2 luci-theme-rosy: Bug fix for network-interfaces
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-11-09 15:06:52 +08:00
Yanlan Shen
a4e4f935e0 luci-theme-rosy: Fix resolution-related styles
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-11-09 15:06:45 +08:00
Yanlan Shen
641681fa32 luci-theme-rosy: Modify the layout of the header and footer
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-11-09 15:06:38 +08:00
Yanlan Shen
f67cd74f01 luci-theme-rosy: Add a background picture
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
2018-11-09 15:06:30 +08:00
Jo-Philipp Wich
9b20f7ac52 luci-theme-material: add invalid input class
Fixes #1070.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05 11:05:12 +01:00
Jo-Philipp Wich
7c78218339 luci-base, themes: rework dynlist and dropdown widgets
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05 11:05:12 +01:00
Jo-Philipp Wich
bd614de514 luci-theme-bootstrap: add flash animation
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05 11:01:45 +01:00
Jo-Philipp Wich
7f613be500 luci-base, themes: add tooltip helpers & styles
Add the required JS and CSS infrastructure to support rich hover/focus
tooltips for element.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05 11:01:45 +01:00
Jo-Philipp Wich
21a151ac1a themes: load client side translations
Extend the theme headers to include the translation string scripts,
allowing client side code to translate strings without server side
support.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05 11:01:45 +01:00