diff --git a/app/assets/stylesheets/admin/web_links.css b/app/assets/stylesheets/admin/web_links.css index afad32d..c2685a9 100644 --- a/app/assets/stylesheets/admin/web_links.css +++ b/app/assets/stylesheets/admin/web_links.css @@ -1,4 +1,79 @@ -/* - Place all the styles related to the matching controller here. - They will automatically be included in application.css. -*/ + /*reset*/ +h1, h2, h3, h4, h5, p{ + margin: 0; + padding: 0; +} +br{ + display: block; + margin: 0 0 5px; +} +ol, ul{ + margin: 0; + padding: 0; +} +li{ + list-style: none; +} +body > img { + display: none; +} + +img{ + border: none; + padding: 0; + margin: 0; +} + +a { + outline: none; + text-decoration: none !important; +} + +table, tr, td{ + padding: 0; + border-spacing: 0; +} + +/*reset end *//* CSS Document */ + +#web_resource_order_table{ + border-collapse: unset !important; + position: relative; + width: 593px; + margin: 40px auto; +} + +#web_resource_order_table th{ + background-color: #454545; + color: #fff; +} +.position-text{ + position: relative; + width: 85px; +} + +#web_resource_order_table .editable-input{ + position: relative; + width: 25px; + margin-bottom: 0; + padding: 0px 0px 0px 5px; +} + +.position-text-div{ + height: 22px; +} + +.order-edit-notification{ + background-color: #ffffd5; + z-index: 10; + display: none; + height: 25px; + left: 40%; + position: fixed; + text-align: center; + margin-top: 5px; + top: 85px; + width: 400px; + font-size: 13px; +} + diff --git a/app/views/admin/web_resources/order.html.erb b/app/views/admin/web_resources/order.html.erb index 84d6e45..f6a3c72 100644 --- a/app/views/admin/web_resources/order.html.erb +++ b/app/views/admin/web_resources/order.html.erb @@ -1,10 +1,12 @@ <% content_for :page_specific_css do %> <%= stylesheet_link_tag "admin/web_links" %> <% end %> -
Position | -Link | +
---|---|
Position | +Link |