next up previous contents
Next: 問題解決 Up: 其他小修改 Previous: moodle nfs 掛載   Contents

密碼輸入區

  1. 密碼輸入區邊界太小,當要顯示密碼內容時最左邊的文字看不清楚,修改 base 樣式的 core.css。
    [root@dywang moodle23]# diff -uN ../moodle/theme/base/style/core.css theme/base/style/core.css
    --- ../moodle/theme/base/style/core.css	2012-07-06 08:44:30.000000000 +0800
    +++ theme/base/style/core.css	2016-03-11 08:35:51.603170519 +0800
    @@ -1,7 +1,13 @@
     /**
      * Required to undo YUI resets that override input size
      */
    -input[type=text],input[type=password],textarea{width:auto;}
    +input[type=text],input[type=password],textarea{
    +	width: auto; 
    +	min-width: 4em; 
    +	resize: both;
    +	padding: 1px;
    +	padding-left: 3px;
    +}
     
     /* Fix for YUI overriding styles */
     strong{font-style:inherit;}em{font-weight:inherit;}
    


2017-08-04