From 0d60e970146a14e2267594927804510547867324 Mon Sep 17 00:00:00 2001 From: Aung Kyaw Phyoe Date: Mon, 14 Jan 2019 09:15:30 +0630 Subject: [PATCH] change ui not same for table, room and order --- app/assets/stylesheets/reset.css | 15 ++-- app/views/crm/customers/_new_form.html.erb | 11 ++- app/views/layouts/_header.html.erb | 15 ++-- app/views/origami/customers/index.html.erb | 11 ++- app/views/origami/home/show.html.erb | 18 +++-- app/views/origami/orders/show.html.erb | 22 ++++-- app/views/origami/rooms/show.html.erb | 85 +++++++++++++--------- app/views/origami/sales/show.html.erb | 20 +++-- config/routes.rb | 4 +- 9 files changed, 126 insertions(+), 75 deletions(-) diff --git a/app/assets/stylesheets/reset.css b/app/assets/stylesheets/reset.css index 35b88ab8..4f983969 100644 --- a/app/assets/stylesheets/reset.css +++ b/app/assets/stylesheets/reset.css @@ -286,14 +286,15 @@ section.content { /* shop name margin */ .shop-name-margin { - margin-left : 10%; + text-align: center; + width: 50%; + margin: auto; } /* shop name margin */ /* online order margin */ .online-order-margin { - margin-left : 10%; - margin-bottom : 9.9999px; + margin: auto; } /* online order margin */ /* default-header-color */ @@ -303,18 +304,18 @@ div.online-order-margin > div > span { /* default-header-color */ /* order-no color */ .order-badge { - position: absolute; + position: relative; background: #ff6600; height: 1.8rem; - bottom: -0.1rem; - right: -1.3rem; + bottom: 0.9rem; + right: 1.7rem; width: 1.8rem; text-align: center; line-height: 1.7rem; font-size: 0.9rem; border-radius: 50%; color: white; - border: 1px solid #ff6600; + border: 5px solid #ff6600; font-family: sans-serif; font-weight: bold; } diff --git a/app/views/crm/customers/_new_form.html.erb b/app/views/crm/customers/_new_form.html.erb index 3ca71c39..e401aef6 100644 --- a/app/views/crm/customers/_new_form.html.erb +++ b/app/views/crm/customers/_new_form.html.erb @@ -246,7 +246,16 @@