Commit graph

62 commits

Author SHA1 Message Date
Martin Schiller
92069c1f74 luci-theme-material: show logo also on login page
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-08-29 14:17:33 +02:00
Anton Kikin
5d26fec0bf Fix a overview page style issue for various themes
Fixed a overview page style issue with interface boxes for
bootstrap, material and rosy themes.

The issue only appears in the Chrome browser and lies in the
fact that the block with the device name and MAC address gets
out of the  interface block.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-06-28 19:04:22 +03:00
Florian Eckert
74d2b24197 luci-theme-material: fix checkbox css StaticList view
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-06-04 15:16:54 +02:00
shunjou
7a2085a8e5 luci-theme-material: icons and other changes
* Remove excess font dependency
* Retain two glyphs as svg
* Store svg icons externally
* Add logout icon
* Replace spaces with tabs in script
* Various minor fixes

Signed-off-by: Shun Jou <shunjou@gmail.com>
2019-04-07 03:05:36 -04:00
shunjou
731a2d3a0f luci-theme-material: correct main menu color variable
* Also declare default color above as fallback

Signed-off-by: Shun Jou <shunjou@gmail.com>
2019-04-07 03:04:48 -04:00
Florian Eckert
e77430d8bb luci-theme-material: fix loading view on href
After opening an external hyperlink in a new browser tab, LuCI hangs in the
load screen. This commit will fix this issue.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-02-27 14:03:56 +01:00
shunjou
6ab3771e9d luci-theme-material: fix firewall table style
Signed-off-by: Shun Jou <shunjou@gmail.com>
2019-01-30 11:24:35 -05:00
shunjou
9375fbe86d luci-theme-material: various css changes
* Improve dropdown menu indicators
* Remove border on code
* Compensate for occasional log overflow
* Restrict webkit scrollbar style from mobile

Signed-off-by: Shun Jou <shunjou@gmail.com>
2019-01-29 18:46:47 -05:00
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
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
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
shunjou
ba6f7b6d33 luci-theme-material: optimize brand logo
Signed-off-by: Shun Jou <shunjou@gmail.com>
2018-11-29 04:10:38 -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
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
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
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
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
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
Stefan Weil
ec63339ae5 Add missing variable declarations in JavaScript code
This fixes errors reported by LGTM.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-28 22:38:20 +01:00
Simon Tretter
f46ad87750 luci-theme-material: Add main color variable
Signed-off-by: Simon Tretter <simon@mediaarchitectu.re>
2018-10-21 11:50:55 +08:00
Florian Eckert
8095ba5a2d luci-theme-material: fix css to show loading-img again
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-10-15 13:56:48 +02:00
Florian Eckert
0f8b5402a2 luci-theme-material: fix word wrap on german i18n for username
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-10-01 14:49:02 +02:00
Florian Eckert
5fc51693ac luci-theme-material: make font configurable
Move font selection into custom.css

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-10-01 14:46:37 +02:00
Florian Eckert
8a8c3ae57b luci-theme-material: fix partly hidden logout navbar item
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Konrad Kreitmair <kreitmair.konrad@web.de>
2018-09-26 15:32:06 +02:00
Florian Eckert
fa0658da5e luci-theme-material: add logo brand
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Konrad Kreitmair <kreitmair.konrad@web.de>
2018-09-26 15:31:34 +02:00
Jo-Philipp Wich
ef1ca5f26d
Merge pull request #2159 from TDT-AG/pr/20180918-luci-theme-material-css-customize
luci-theme-material: make colors configurable
2018-09-18 17:15:38 +02:00
Florian Eckert
19a0522a12 luci-theme-material: make colors configurable
The var() css function can be used to insert the value of a custom property.
A custom.css file is added to change the colors. This file will get included
in the cascade.css file.

The following colors could be costomized in the file costom.css.

--header-bg
--header-color
--menu-bg-color
--menu-color
--submenu-bg-hover
--submenu-bg-hover-active

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-18 14:38:29 +02:00
Ameer Dawood
818ce143f2
luci-theme-material: Monospace font for textarea elements
Signed-off-by: Ameer Dawood <ameer1234567890@gmail.com>
2018-09-14 12:52:33 +05:00
Ansuel Smith
327e284b74
luci-mod-admin-full: fix broken applyreboot page
This improve applyreboot page and fix problem with luci-nginx that doesn't refresh the page when the router reboot.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-08-08 10:11:12 +02:00
Ansuel Smith
35da63fa9a
luci-theme-material: fix theme for applyreboot page changes
This rename style.css to casade.css (like the other themes) and fix the css to display the header even in the applyreboot page

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-08-07 17:46:00 +02:00
Jo-Philipp Wich
4381a27ef0 luci-theme-material: table and button style fixes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13 12:39:26 +02:00
Jo-Philipp Wich
9651be2953 luci-theme-material: table layout fixes and minor CSS corrections
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09 11:51:43 +02:00
Jo-Philipp Wich
167d371305 luci-theme-material: fix switch status display
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-26 22:00:01 +02:00
Jo-Philipp Wich
c4e25bebfc luci-theme-material: align CSS with markup changes
Add the bare minimum of changes to make the theme render correctly with the
latest markup, requires further refinement and tuning in the future.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23 17:59:37 +02:00
Jo-Philipp Wich
9d48490729 luci-base: add markup, JS and CSS for new dropdown
This commit introduces the required code for a new, markup based dropdown
widget which can be used as a styleable alternative to select boxes or
radio/checkbox button groups.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08 08:14:36 +02:00
Jo-Philipp Wich
fed315a5e3 themes: drop errorbox styles
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31 19:09:51 +02:00
Jo-Philipp Wich
e3bc12da6d themes: unify no-password / no-javascript alert boxes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31 18:57:32 +02:00
Jo-Philipp Wich
79d793dffe themes: adjust CSS for reworked apply widget
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31 15:38:42 +02:00
Jo-Philipp Wich
879f90d15c luci-theme-material: add new style classes
Add new style classes required for status page changes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-30 14:59:24 +02:00
Jo-Philipp Wich
5e37b724c4
Merge pull request #1827 from Ansuel/luci-map
luci-theme-material: upgrade jquery
2018-05-28 15:19:30 +02:00
Jo-Philipp Wich
97a640c836 themes: add forward-compatibility CSS
Subsequent changes will largely replace tables with div based markup, so
add forward compatibility style rules to keep the rendering intact.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-28 15:18:45 +02:00
Ansuel Smith
2f0c07a2c7
luci-theme-material: upgrade jquery
This upgrade jquery to latest version and solve 404 error for the useless .map file. Also it's 85kb instead of 97kb

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-05-26 18:58:45 +02:00
Florian Eckert
2729f128c8 luci-theme-material: add missing css classes
* Add missing css class danger
* Add missing css class success
* Update background color for css class warning

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-23 10:31:46 +01:00
Lutty Yang
c63f8be459 luci-theme-material: Decrease font and spacing
1) Decrease font and spacing
2) Synchronized to the LUCI version 99f5d4e

Signed-off-by: Lutty Yang <lutty@wcan.in>
2016-02-18 20:29:19 +08:00
Shuanglei Tao
c2e6ed898a luci-theme-material: set default font-size to 13px
Ref: https://developer.mozilla.org/en-US/docs/Web/CSS/font-size#Rems

Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2015-12-27 20:21:02 +08:00
Lutty Yang
1328b89ef8 luci-theme-material: fix some style bugs
Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-10-24 10:14:11 +08:00
Lutty Yang
8296a47c1a luci-theme-material: try find current position by using lua code
thanks for jow

Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-10-23 20:51:12 +08:00