1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
| /* 伪类选择器 :focus-within */
| /* 它表示一个元素获得焦点,或,该元素的后代元素获得焦点。划重点,它或它的后代获得焦点。 */
| /* 这也就意味着,它或它的后代获得焦点,都可以触发 :focus-within。 */
| .focus-button:focus-within {
| border: 1px solid;
| border-color: #00FF00;
| -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.6);
| -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.6);
| box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.075), 0px 0px 8px rgba(0, 255, 0, 0.6);
| }
|
| .input-pink > div > .mud-input.mud-input-underline:after {
| border-bottom: 2px solid #ff1493;
| }
|
| .input-center > .mud-input-control-input-container > div > input {
| text-align: center;
| }
|
| .input-right > .mud-input-control-input-container > div > input {
| text-align: right;
| }
|
| .edit-grid .mud-input.mud-input-underline:before {
| left: 0;
| right: 0;
| bottom: 0;
| content: " ";
| position: absolute;
| transition: border-bottom .2s,background-color .2s;
| border-bottom: 0px solid var(--mud-palette-lines-inputs);
| pointer-events: none;
| }
|
|