diff --git a/assets/static/css/main.css b/assets/static/css/main.css index 1207543..6665b82 100644 --- a/assets/static/css/main.css +++ b/assets/static/css/main.css @@ -97,13 +97,6 @@ a:not([class]) { color: currentColor; } -/* Make images easier to work with */ -img, -picture { - max-width: 100%; - display: block; -} - /* Inherit fonts for inputs and buttons */ input, button, textarea, select { @@ -504,21 +497,20 @@ th.operations, td.operations { height: 50px; background-color: var(--primary-color); color: #ffffff; - font-size: 1.25rem; + font-size: 22px; font-weight: bold; padding-left: 8px; width: 300px; display: flex; align-items: center; - position: fixed; } #app-title a { color: #ffffff; } -#app-title img { - height: 32px; +.logo { + width: 32px; float: left; padding-right: 10px; } @@ -527,10 +519,6 @@ th.operations, td.operations { vertical-align: top; } -#main-sidebar-content { - margin-top: 50px; -} - #main-sidebar-content h5 { font-size: 1rem; margin-top: 10px; @@ -559,12 +547,8 @@ th.operations, td.operations { overflow: hidden; } -#page-title { - font-size: 1.4rem; - float: left; -} - #page-title-title { + font-size: 22px; color: #ffffff; float: left; } @@ -851,14 +835,15 @@ th.operations, td.operations { } #quickbox-title { - float: left; + display: flex; + align-items: center; font-weight: bold; width:100%; } #quickbox-title-title { - float: left; - font-size: 1.4rem; + width: 100%; + font-size: 22px; } #quickbox-close { @@ -874,12 +859,7 @@ th.operations, td.operations { font-size: 18px; display: flex; align-items: center; -} - -#quickbox-top-bar .logo { - float: left; - margin-left: 8px; - padding-right: 10px; + padding-left: 8px; } .quickbox-row { @@ -1096,6 +1076,12 @@ dialog .content h5 { #page-title { width: 100%; + display: flex; + align-items: center; + } + + #page-title-title { + width: 100%; } .table-all.responsive table, diff --git a/assets/templates/base.tmpl b/assets/templates/base.tmpl index e4ef169..27c20f7 100644 --- a/assets/templates/base.tmpl +++ b/assets/templates/base.tmpl @@ -13,26 +13,23 @@ {{block "page:meta" . }} - {{ - end - }} + {{ end }} {{template "partial:sidebar" .}}
- - BrainMinder + +
{{template "page:title" .}}
@@ -73,12 +70,10 @@
- +
Quickbox
-
+
diff --git a/assets/templates/items/fields.tmpl b/assets/templates/items/fields.tmpl index c396bf3..aa6d954 100644 --- a/assets/templates/items/fields.tmpl +++ b/assets/templates/items/fields.tmpl @@ -7,7 +7,6 @@ {{ if eq .Is_multiple 1}}
-
{{ $g_counter := 0 }} {{ range $counter, $value := $values}} diff --git a/assets/templates/items/share.tmpl b/assets/templates/items/share.tmpl index f2b32c2..cc33488 100644 --- a/assets/templates/items/share.tmpl +++ b/assets/templates/items/share.tmpl @@ -5,7 +5,7 @@
-
+
{{ .item.Title }}
@@ -43,22 +43,8 @@
Permissions
-
-

- Read -

-
-
-

- Edit -

-
+
{{ widget_checkbox "read" "Read" "1" "" }}
+
{{ widget_checkbox "edit" "Edit" "1" "" }}