Changeset 3602:8a1b100e0a84 for admin/style
- Timestamp:
- 11/17/17 12:10:54 (8 years ago)
- Branch:
- default
- Location:
- admin/style
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/style/default.css
r3576 r3602 994 994 select, 995 995 legend { 996 border-radius: 3px;997 996 max-width: 100%; } 997 998 input[type=text], 999 input[type=password], 1000 input[type=submit], 1001 input[type=button], 1002 input[type=reset], 1003 a.button, 1004 button, 1005 textarea, 1006 legend { 1007 border-radius: 3px; } 998 1008 999 1009 form { … … 1034 1044 textarea, 1035 1045 select { 1036 background: #fcfcfc;1037 1046 color: #000; 1038 border-width: 1px;1039 border-style: solid;1040 border-color: #dfdfdf;1041 1047 box-shadow: 1px 1px 2px #f3f3f3 inset; 1042 1048 padding: 3px; 1043 1049 vertical-align: top; } 1044 1050 1051 input[type=text], 1052 input[type=password], 1053 textarea { 1054 background: #fcfcfc; 1055 border-width: 1px; 1056 border-style: solid; 1057 border-color: #dfdfdf; } 1058 1045 1059 input:focus, 1046 textarea:focus, 1047 select:focus { 1060 textarea:focus { 1048 1061 border-color: #9bca1c; } 1049 1062 … … 1061 1074 vertical-align: middle; } 1062 1075 1076 @media not all and (min-resolution: 0.001dpcm) { 1077 @supports (-webkit-appearance: none) { 1078 /* Safari 10.1+ only (https://browserstrangeness.bitbucket.io/css_hacks.html#webkit) */ 1079 select { 1080 font-size: initial; } } } 1063 1081 select.l10n option { 1064 1082 padding-left: 16px; } … … 1070 1088 textarea.invalid, 1071 1089 select.invalid { 1072 border: 1px solid red;1073 background: #FFBABA;1074 1090 color: #900; 1075 1091 box-shadow: 0 0 0 3px rgba(218, 62, 90, 0.3); } 1092 1093 input.invalid, 1094 textarea.invalid { 1095 border: 1px solid red; 1096 background: #FFBABA; } 1076 1097 1077 1098 input[type=text], -
admin/style/scss/partials/_forms.scss
r3517 r3602 9 9 select, 10 10 legend { 11 max-width: 100%; 12 } 13 14 input[type=text], 15 input[type=password], 16 input[type=submit], 17 input[type=button], 18 input[type=reset], 19 a.button, 20 button, 21 textarea, 22 legend { 11 23 border-radius: 3px; 12 max-width: 100%;13 24 } 14 25 … … 55 66 textarea, 56 67 select { 68 color: #000; 69 box-shadow: 1px 1px 2px #f3f3f3 inset; 70 padding: 3px; 71 vertical-align: top; 72 } 73 input[type=text], 74 input[type=password], 75 textarea { 57 76 background: #fcfcfc; 58 color: #000;59 77 border-width: 1px; 60 78 border-style: solid; 61 79 border-color: #dfdfdf; 62 box-shadow: 1px 1px 2px #f3f3f3 inset;63 padding: 3px;64 vertical-align: top;65 80 } 66 81 67 82 input:focus, 68 textarea:focus, 69 select:focus { 83 textarea:focus { 70 84 border-color: #9bca1c; 71 85 } … … 87 101 vertical-align: middle; 88 102 } 103 @media not all and (min-resolution:.001dpcm) 104 { @supports (-webkit-appearance:none) { 105 /* Safari 10.1+ only (https://browserstrangeness.bitbucket.io/css_hacks.html#webkit) */ 106 select { 107 font-size: initial; 108 } 109 }} 89 110 90 111 select.l10n option { … … 99 120 textarea.invalid, 100 121 select.invalid { 122 color: #900; 123 box-shadow: 0 0 0 3px rgba(218, 62, 90, 0.3); 124 } 125 input.invalid, 126 textarea.invalid { 101 127 border: 1px solid red; 102 128 background: #FFBABA; 103 color: #900;104 box-shadow: 0 0 0 3px rgba(218, 62, 90, 0.3);105 129 } 106 130
Note: See TracChangeset
for help on using the changeset viewer.