From 9527f0b05945871190e1592086e1d48e134dbaa5 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Sat, 4 Jul 2020 22:12:11 +0800 Subject: Add or edit site --- utab/data/css/index.css | 45 +++++++++++++++++++++++++++++++++++++++++---- utab/data/icons/home.svg | 3 +++ utab/data/icons/pencil.svg | 3 +++ utab/data/icons/plus.svg | 3 +++ utab/data/index.html | 17 ++++++++++++++++- utab/data/site.html | 31 +++++++++++++++++++++++++++++++ 6 files changed, 97 insertions(+), 5 deletions(-) create mode 100644 utab/data/icons/home.svg create mode 100644 utab/data/icons/pencil.svg create mode 100644 utab/data/icons/plus.svg create mode 100644 utab/data/site.html (limited to 'utab/data') diff --git a/utab/data/css/index.css b/utab/data/css/index.css index 5f03851..651a540 100644 --- a/utab/data/css/index.css +++ b/utab/data/css/index.css @@ -20,13 +20,50 @@ body { height: 80px; } -.sites-item:hover { - border: #ccc 2px solid; -} - .site-favicon { width: 64px; height: 64px; position: relative; top: 8px; } + +.form-input { + border: #888 2px solid; + width: 40%; + height: 2em; + background-color: inherit; + color: inherit; + margin-left: 20px; + margin-bottom: 20px; +} + +.form-button { + border: #888 2px solid; + border-radius: 5px; + height: 36px; + margin: 20px; + padding: 10px; + background-color: inherit; + color: white; +} + +.sites-item:hover, +.form-input:hover, +.form-button:hover { + border: #ccc 2px solid; +} + +.ctrl { + margin-top: 20px; +} + +.ctrl-icon { + width: 48px; + height: 48px; + margin: 20px; + opacity: 60%; +} + +.ctrl-icon:hover { + opacity: 100%; +} diff --git a/utab/data/icons/home.svg b/utab/data/icons/home.svg new file mode 100644 index 0000000..a72c187 --- /dev/null +++ b/utab/data/icons/home.svg @@ -0,0 +1,3 @@ + + + diff --git a/utab/data/icons/pencil.svg b/utab/data/icons/pencil.svg new file mode 100644 index 0000000..e1df5bf --- /dev/null +++ b/utab/data/icons/pencil.svg @@ -0,0 +1,3 @@ + + + diff --git a/utab/data/icons/plus.svg b/utab/data/icons/plus.svg new file mode 100644 index 0000000..bfbe2aa --- /dev/null +++ b/utab/data/icons/plus.svg @@ -0,0 +1,3 @@ + + + diff --git a/utab/data/index.html b/utab/data/index.html index bc6b97b..e2f20b0 100644 --- a/utab/data/index.html +++ b/utab/data/index.html @@ -1,11 +1,26 @@ + utab -

Top Sites

+

%site_heading%

%sites%
+ diff --git a/utab/data/site.html b/utab/data/site.html new file mode 100644 index 0000000..1406af9 --- /dev/null +++ b/utab/data/site.html @@ -0,0 +1,31 @@ + + + + utab - add new + + +

%site_heading%

+
+ + +
+ + +
+ + +
+ + +
+ + -- cgit v1.2.3