diff --git a/frappe/public/css/mobile.css b/frappe/public/css/mobile.css index a7c3b17702..1997008361 100644 --- a/frappe/public/css/mobile.css +++ b/frappe/public/css/mobile.css @@ -166,6 +166,9 @@ body { .timeline .timeline-item:last-child { border-bottom: none; } + .list-row { + padding: 13px 15px !important; + } .doclist-row { position: relative; padding-right: 10px; @@ -192,6 +195,15 @@ body { .doclist-row .list-row-right { float: right; } + .doclist-row .list-row-right .list-row-indicator { + top: 4px; + } + .doclist-row .list-row-right .list-row-indicator .indicator::before, + .doclist-row .list-row-right .list-row-indicator .indicator::after { + height: 12px; + width: 12px; + border-radius: 12px; + } .doclist-row .list-row-right.no-right-column { position: absolute; top: 0; @@ -199,15 +211,6 @@ body { left: -10px; width: 100%; } - .doclist-row .list-row-right.no-right-column .list-row-indicator { - top: 5px; - } - .doclist-row .list-row-right.no-right-column .list-row-indicator .indicator::before, - .doclist-row .list-row-right.no-right-column .list-row-indicator .indicator::after { - height: 14px; - width: 14px; - border-radius: 14px; - } body[data-route^="messages"] .navbar-center { display: block !important; position: absolute; @@ -258,6 +261,28 @@ body { } } @media (max-width: 991px) { + input[type='checkbox'] { + -webkit-appearance: none; + width: 18px; + height: 18px; + background: white; + border-radius: 9px; + margin-top: -2px; + margin-bottom: -5px; + border: 1px solid #d1d8dd; + display: inline-block; + } + input[type='checkbox']:checked { + background: #3b99fc; + border-color: #3b99fc; + } + input.list-select-all { + margin-top: 0px; + } + .input-area input[type='checkbox'] { + margin-top: 2px; + margin-left: -23px; + } .intro-area, .footnote-area { padding: 15px 0px; @@ -269,7 +294,7 @@ body { position: relative; } .page-head .page-title h1 { - font-size: 18px; + font-size: 22px; margin-top: 22px; } body[data-route^="Form"] .page-title h1 { diff --git a/frappe/public/js/frappe/form/dashboard.js b/frappe/public/js/frappe/form/dashboard.js index c20c436f18..240991addd 100644 --- a/frappe/public/js/frappe/form/dashboard.js +++ b/frappe/public/js/frappe/form/dashboard.js @@ -42,7 +42,7 @@ frappe.ui.form.Dashboard = Class.extend({ var badge = $(repl('
\
\ %(label)s\ - -\ + -\
', {label:label, icon: frappe.boot.doctype_icons[doctype]})) .appendTo(this.body) diff --git a/frappe/public/js/frappe/list/list_item_row.html b/frappe/public/js/frappe/list/list_item_row.html index 09916c15a3..c5f71083a7 100644 --- a/frappe/public/js/frappe/list/list_item_row.html +++ b/frappe/public/js/frappe/list/list_item_row.html @@ -1,5 +1,5 @@
-
+