From c8c2a368053d375c686adecb4ab38a2f3319a0cc Mon Sep 17 00:00:00 2001 From: Aung Kyaw Phyoe Date: Thu, 17 Jan 2019 09:58:42 +0630 Subject: [PATCH] header testing --- app/assets/stylesheets/reset.css | 21 ++++++++++-- app/views/layouts/_header.html.erb | 52 +++++++++++++++++++++++++++++- 2 files changed, 70 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/reset.css b/app/assets/stylesheets/reset.css index 4f983969..babe9144 100644 --- a/app/assets/stylesheets/reset.css +++ b/app/assets/stylesheets/reset.css @@ -293,9 +293,9 @@ section.content { /* shop name margin */ /* online order margin */ -.online-order-margin { +/*.online-order-margin { margin: auto; -} +}*/ /* online order margin */ /* default-header-color */ div.online-order-margin > div > span { @@ -319,6 +319,23 @@ div.online-order-margin > div > span { font-family: sans-serif; font-weight: bold; } + +/*.order-badge { + position: relative; + background: #ff6600; + height: 1.0rem; + bottom: 0.3rem; + right: 0.3rem; + width: 0.2rem; + text-align: center; + line-height: 0.5rem; + font-size: 0.5rem; + border-radius: 50%; + color: white; + border: 8px solid #ff6600; + font-family: sans-serif; + font-weight: bold; +}*/ /* order-no color */ /* *************************************************** */ \ No newline at end of file diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index 0d8efe48..fbcbece1 100755 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -41,7 +41,7 @@ -