Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[ljcom] r11862: LJSUP-12017: The button "X" shifts down ...

Committer: esavintcev
LJSUP-12017: The button "X" shifts down at the bookmark "Manage domains"
U   trunk/htdocs/stc/shop/shop.css
U   trunk/templates/Shop/DomainRU.tmpl
Modified: trunk/htdocs/stc/shop/shop.css
===================================================================
--- trunk/htdocs/stc/shop/shop.css	2012-05-02 07:06:36 UTC (rev 11861)
+++ trunk/htdocs/stc/shop/shop.css	2012-05-02 09:25:17 UTC (rev 11862)
@@ -2250,17 +2250,24 @@
 			background: #FFFEE3;
 			}
 		.b-domainru-domains .b-domainru-domains-remove {
-			padding: 10px 15px 10px 0;
+			padding: 15px 15px 5px 0;
 			text-align: right;
 			}
-	.b-domainru-remove {
+		.s-lanzelot .b-domainru-domains .b-domainru-domains-remove {
+			padding-top: 12px;
+			}
+	.b-domainru-remove,
+	.b-domainru-remove:link,
+	.b-domainru-remove:visited,
+	.b-domainru-remove:hover,
+	.b-domainru-remove:active {
 		overflow: hidden;
 		display: inline-block;
 		width: 12px;
 		height: 12px;
 		margin: 0;
 		padding: 0;
-		vertical-align: -15px;
+		border: 0;
 		text-indent: -200px;
 		cursor: pointer;
 		*display: block;

Modified: trunk/templates/Shop/DomainRU.tmpl
===================================================================
--- trunk/templates/Shop/DomainRU.tmpl	2012-05-02 07:06:36 UTC (rev 11861)
+++ trunk/templates/Shop/DomainRU.tmpl	2012-05-02 09:25:17 UTC (rev 11862)
@@ -24,82 +24,82 @@
     <p><TMPL_VAR expr="ml('shop.view.domainru.intro.text')"></p>
 </div>
 
-<div class="b-buy">
-    <ul class="m-buy-types">
-        <li class="m-buy-types-item<TMPL_IF EXPR="type eq 'buy'"> current</TMPL_IF>">
-            <a href="<TMPL_VAR self_uri>?type=buy">
-                <TMPL_VAR expr="ml('shop.view.domainru.buydomain')">
-            </a>
-        </li>
-        <li class="m-buy-types-item<TMPL_IF EXPR="type ne 'buy'"> current</TMPL_IF><TMPL_UNLESS domains> b-domainru-nodomains</TMPL_UNLESS>">
-            <a href="<TMPL_VAR self_uri>?type=manage">
-                <TMPL_VAR expr="ml('shop.view.domainru.managedomains')">
-            </a>
-        </li>
-    </ul>
-    <ul class="b-buy-goods">
-        <li class="b-buy-goods-item<TMPL_IF EXPR="type eq 'buy'"> current</TMPL_IF>">
-            <TMPL_IF form_enabled>
-            <form method="post">
-                <fieldset>
-                    <TMPL_VAR form_auth>
+<TMPL_IF form_enabled>
+    <div class="b-buy">
+        <ul class="m-buy-types">
+            <li class="m-buy-types-item<TMPL_IF EXPR="type eq 'buy'"> current</TMPL_IF>">
+                <a href="<TMPL_VAR self_uri>?type=buy">
+                    <TMPL_VAR expr="ml('shop.view.domainru.buydomain')">
+                </a>
+            </li>
+            <li class="m-buy-types-item<TMPL_IF EXPR="type ne 'buy'"> current</TMPL_IF><TMPL_UNLESS domains> b-domainru-nodomains</TMPL_UNLESS>">
+                <a href="<TMPL_VAR self_uri>?type=manage">
+                    <TMPL_VAR expr="ml('shop.view.domainru.managedomains')">
+                </a>
+            </li>
+        </ul>
+        <ul class="b-buy-goods">
+            <li class="b-buy-goods-item<TMPL_IF EXPR="type eq 'buy'"> current</TMPL_IF>">
+                <form method="post">
+                    <fieldset>
+                        <TMPL_VAR form_auth>
 
-                    <div class="b-buy-intro b-domainru">
-                        <dl class="b-domainru-field">
-                            <dt class="b-domainru-field-head"><TMPL_VAR expr="ml('shop.view.domainru.current')"></dt>
-                            <dd class="b-domainru-field-body">
-                                <TMPL_VAR authas_select>
-                            </dd>
-                        </dl>
+                        <div class="b-buy-intro b-domainru">
+                            <dl class="b-domainru-field">
+                                <dt class="b-domainru-field-head"><TMPL_VAR expr="ml('shop.view.domainru.current')"></dt>
+                                <dd class="b-domainru-field-body">
+                                    <TMPL_VAR authas_select>
+                                </dd>
+                            </dl>
 
-                        <dl class="b-domainru-field">
-                            <dt class="b-domainru-field-head"><label for="src_name"><TMPL_VAR expr="ml('shop.view.domainru.desired')"></dt>
-                            <dd class="b-domainru-field-body">
-                                <input type="text" name="src_name" id="src_name" class="b-domainru-name" />
-                                <TMPL_VAR expr="ml('shop.view.domainru.url')">
-                                <p class="b-bubble b-bubble-noarrow b-bubble-warning b-domainru-error-exists"><TMPL_VAR expr="ml('shop.view.domainru.exists')"></p>
-                                <p class="b-bubble b-bubble-noarrow b-bubble-warning b-domainru-error-tokens"><TMPL_VAR expr="ml('shop.view.domainru.notenough')"></p>
-                                <p class="b-bubble b-bubble-noarrow b-bubble-warning b-domainru-error-invalid"><TMPL_VAR expr="ml('shop.view.domainru.invalid')"></p>
-                            </dd>
-                        </dl>
+                            <dl class="b-domainru-field">
+                                <dt class="b-domainru-field-head"><label for="src_name"><TMPL_VAR expr="ml('shop.view.domainru.desired')"></dt>
+                                <dd class="b-domainru-field-body">
+                                    <input type="text" name="src_name" id="src_name" class="b-domainru-name" />
+                                    <TMPL_VAR expr="ml('shop.view.domainru.url')">
+                                    <p class="b-bubble b-bubble-noarrow b-bubble-warning b-domainru-error-exists"><TMPL_VAR expr="ml('shop.view.domainru.exists')"></p>
+                                    <p class="b-bubble b-bubble-noarrow b-bubble-warning b-domainru-error-tokens"><TMPL_VAR expr="ml('shop.view.domainru.notenough')"></p>
+                                    <p class="b-bubble b-bubble-noarrow b-bubble-warning b-domainru-error-invalid"><TMPL_VAR expr="ml('shop.view.domainru.invalid')"></p>
+                                </dd>
+                            </dl>
 
-                        <p class="b-shop-desc"><TMPL_VAR expr="ml('shop.view.domainru.desc')"></p>
-                    </div>
+                            <p class="b-shop-desc"><TMPL_VAR expr="ml('shop.view.domainru.desc')"></p>
+                        </div>
 
-                    <div class="b-buy-total canyon">
-                        <p class="canyon-section"><TMPL_VAR expr="ml('shop.view.domainru.total')"> <strong><TMPL_VAR total_cost></strong>&nbsp;<TMPL_VAR expr="ml('shop.view.domainru.tokens')"></p>
-                        <button class="canyon-side" type="submit"><TMPL_VAR expr="ml('shop.view.domainru.buy')"></button>
-                    </div>
-                </fieldset>
-            </form>
-            </TMPL_IF>
-        </li>
-        <li class="b-buy-goods-item<TMPL_IF EXPR="type ne 'buy'"> current</TMPL_IF>">
-            <div class="b-buy-intro">
-                <table class="b-domainru-domains">
-                    <TMPL_LOOP domains>
-                        <tr>
-                            <td class="b-domainru-domains-user">
-                                <TMPL_VAR auth_display>
-                            </td>
-                            <td class="b-domainru-domains-domain">
-                                <a href="http://<TMPL_VAR dom><TMPL_VAR expr="ml('shop.view.domainru.url')">" target="_blank"><TMPL_VAR dom><TMPL_VAR expr="ml('shop.view.domainru.url')"></a>
-                            </td>
-                            <td class="b-domainru-domains-remove">
-                                <a href="?type=manage&amp;delete=1&amp;auth=<TMPL_VAR auth>&amp;dom=<TMPL_VAR dom>" 
-                                   title="<TMPL_VAR expr="ml('shop.view.domainru.remove')">"
-                                   class="b-domainru-remove"
-                                   data-domain="<TMPL_VAR dom>"
-                                   data-user="<TMPL_VAR auth>">
-                                    <i class="b-domainru-remove-icon"></i><TMPL_VAR expr="ml('shop.view.domainru.remove')">
-                                </a>
-                            </td>
-                        </tr>
-                    </TMPL_LOOP>
-                </table>
-            </div>
-        </li>
-    </ul>
-</div>
+                        <div class="b-buy-total canyon">
+                            <p class="canyon-section"><TMPL_VAR expr="ml('shop.view.domainru.total')"> <strong><TMPL_VAR total_cost></strong>&nbsp;<TMPL_VAR expr="ml('shop.view.domainru.tokens')"></p>
+                            <button class="canyon-side" type="submit"><TMPL_VAR expr="ml('shop.view.domainru.buy')"></button>
+                        </div>
+                    </fieldset>
+                </form>
+            </li>
+            <li class="b-buy-goods-item<TMPL_IF EXPR="type ne 'buy'"> current</TMPL_IF>">
+                <div class="b-buy-intro">
+                    <table class="b-domainru-domains">
+                        <TMPL_LOOP domains>
+                            <tr>
+                                <td class="b-domainru-domains-user">
+                                    <TMPL_VAR auth_display>
+                                </td>
+                                <td class="b-domainru-domains-domain">
+                                    <a href="http://<TMPL_VAR dom><TMPL_VAR expr="ml('shop.view.domainru.url')">" target="_blank"><TMPL_VAR dom><TMPL_VAR expr="ml('shop.view.domainru.url')"></a>
+                                </td>
+                                <td class="b-domainru-domains-remove">
+                                    <a href="?type=manage&amp;delete=1&amp;auth=<TMPL_VAR auth>&amp;dom=<TMPL_VAR dom>" 
+                                       title="<TMPL_VAR expr="ml('shop.view.domainru.remove')">"
+                                       class="b-domainru-remove"
+                                       data-domain="<TMPL_VAR dom>"
+                                       data-user="<TMPL_VAR auth>">
+                                        <i class="b-domainru-remove-icon"></i><TMPL_VAR expr="ml('shop.view.domainru.remove')">
+                                    </a>
+                                </td>
+                            </tr>
+                        </TMPL_LOOP>
+                    </table>
+                </div>
+            </li>
+        </ul>
+    </div>
+</TMPL_IF>
 
 </div>

Tags: css, esavintcev, ljcom, savintsev_egor, tmpl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments