فهرست منبع

[svn r20643] Minor changed style button FS#3901

Arthur Portugal 16 سال پیش
والد
کامیت
4329ba9a61
3فایلهای تغییر یافته به همراه53 افزوده شده و 4 حذف شده
  1. 2 2
      main/admin/add_courses_to_session.php
  2. 2 2
      main/admin/add_users_to_session.php
  3. 49 0
      main/css/public_admin/default.css

+ 2 - 2
main/admin/add_courses_to_session.php

@@ -456,9 +456,9 @@ unset($nosessionCourses);
   else
   {
   ?>
-	<input type="button" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))" value=">>" />
+  	<button class="arrowr" type="button" onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))" value="onclick="moveItem(document.getElementById('origin'), document.getElementById('destination'))"></button>
 	<br /><br />
-	<input type="button" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))" value="<<" />
+	<button class="arrowl" type="button" onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))" value="onclick="moveItem(document.getElementById('destination'), document.getElementById('origin'))"></button>
   <?php 
   } 
   ?>

+ 2 - 2
main/admin/add_users_to_session.php

@@ -561,9 +561,9 @@ if(!empty($errorMsg)) {
   <?php
   } else {
   ?>
-	<input type="button" onclick="moveItem(document.getElementById('origin_users'), document.getElementById('destination_users'))" value=">>" />
+  	<button class="arrowr" type="button" onclick="moveItem(document.getElementById('origin_users'), document.getElementById('destination_users'))" value="onclick="moveItem(document.getElementById('origin_users'), document.getElementById('destination_users'))"></button>
 	<br /><br />
-	<input type="button" onclick="moveItem(document.getElementById('destination_users'), document.getElementById('origin_users'))" value="<<" />
+	<button class="arrowl" type="button" onclick="moveItem(document.getElementById('destination_users'), document.getElementById('origin_users'))" value="onclick="moveItem(document.getElementById('destination_users'), document.getElementById('origin_users'))"></button>
 	<?php 
   } 
   ?>

+ 49 - 0
main/css/public_admin/default.css

@@ -2540,3 +2540,52 @@ div.image_friend_network span{overflow:hidden; display:block; height:92px; margi
 div.image_friend_network img{vertical-align:middle;}
 div.image_friend_network center.friend{overflow:hidden; height:30px;}
 .friend_invitations{float:left; margin: 0 0 4px 12px;}
+
+/* button >> */
+button.arrowr {
+	-moz-border-radius-topleft : 5px;
+    -moz-border-radius-bottomright : 5px;
+    -moz-border-radius-bottomleft : 5px;
+    -moz-border-radius-topright : 5px;
+    padding-left:20px;
+    padding-top:20px;
+    background-position:10px;
+    background-color:#E5EDF9;
+    border-color: #D4E2F6;
+    border-width: 1px;
+    display:block;
+    font-size: 100%;
+    line-height :130%;
+    vertical-align:middle;
+}
+
+/*including "arrowr" image*/
+button.arrowr {
+    background-image:url(images/2rightarrow.gif);
+    background-repeat:no-repeat;
+}
+
+/* button << */
+button.arrowl {
+	margin:0px;
+	-moz-border-radius-topleft : 5px;
+    -moz-border-radius-bottomright : 5px;
+    -moz-border-radius-bottomleft : 5px;
+    -moz-border-radius-topright : 5px;
+    padding-left:20px;
+    padding-top:20px;
+    background-position:10px;
+    background-color:#E5EDF9;
+    border-color: #D4E2F6;
+    border-width: 1px; 
+    display:block;
+    font-size: 100%;
+    line-height :130%;
+    vertical-align:middle;   
+}
+
+/*including "arrowl" image*/
+button.arrowl {
+    background-image:url(images/2leftarrow.gif);
+    background-repeat:no-repeat;
+}