Browse Source

FIX forms: more accessible (but less beautiful)

Borders in old.html were too light, and on some screens they were not
visible. This changes will make them stronger, and also make input in
new.html behave consistently
boyska 10 năm trước cách đây
mục cha
commit
f7ba160f23
2 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 2 2
      server/static/css/pure-skin-porpora.css
  2. 2 2
      server/static/js/new.js

+ 2 - 2
server/static/css/pure-skin-porpora.css

@@ -341,9 +341,9 @@ Forms Core
 .pure-skin-porpora .pure-form textarea {
     padding: 0.5em 0.6em;
     display: inline-block;
-    border: 1px solid #dedede;
+    border: 1px solid #666666;
     font-size: 0.8em;
-    box-shadow: inset 0 1px 3px #dedede;
+    box-shadow: inset 0 1px 3px #666666;
     border-radius: 10px;
     -webkit-transition: 0.3s linear border;
     -moz-transition: 0.3s linear border;

+ 2 - 2
server/static/js/new.js

@@ -73,8 +73,8 @@ $.widget("ror.ongoingrec", {
 		var widget = this;
 		var rec = this.options.rec;
 		var view = this.element.data('rec', rec).addClass('ongoing-rec').append(
-			$('<td/>').append(
-				$('<input/>').attr('placeholder', 'Nome trasmissione')
+			$('<td/>').addClass('pure-form').append(
+				$('<input/>').attr('type', 'text').attr('placeholder', 'Nome trasmissione')
 		)
 		).append( $('<td class="ongoingrec-time"/>').countclock()).append(
 		$('<td/>').append($('<a/>')