|
| 1 | +.tyh-alert { |
| 2 | + min-height: 35px; |
| 3 | + display: flex; |
| 4 | + align-items: center; |
| 5 | + position: relative; |
| 6 | + padding: 10px 40px 10px 10px; |
| 7 | + box-sizing: border-box; |
| 8 | + border-radius: 5px; |
| 9 | + transition: 0.3s; |
| 10 | +} |
| 11 | +.tyh-alert .tyh-alert-message { |
| 12 | + font-size: 15px; |
| 13 | +} |
| 14 | +.tyh-alert .tyh-ui-guanbi { |
| 15 | + position: absolute; |
| 16 | + right: 15px; |
| 17 | + cursor: pointer; |
| 18 | +} |
| 19 | +.tyh-alert-primary { |
| 20 | + border: 1px solid #3a6ff4; |
| 21 | + color: #3a6ff4; |
| 22 | +} |
| 23 | +.tyh-alert-primary .tyh-ui-guanbi, |
| 24 | +.tyh-alert-primary .tyh-message-icon { |
| 25 | + color: #3a6ff4; |
| 26 | +} |
| 27 | +.tyh-alert-success { |
| 28 | + border: 1px solid #54c600; |
| 29 | + color: #54c600; |
| 30 | +} |
| 31 | +.tyh-alert-success .tyh-ui-guanbi, |
| 32 | +.tyh-alert-success .tyh-message-icon { |
| 33 | + color: #54c600; |
| 34 | +} |
| 35 | +.tyh-alert-danger { |
| 36 | + border: 1px solid #d10f1b; |
| 37 | + color: #d10f1b; |
| 38 | +} |
| 39 | +.tyh-alert-danger .tyh-ui-guanbi, |
| 40 | +.tyh-alert-danger .tyh-message-icon { |
| 41 | + color: #d10f1b; |
| 42 | +} |
| 43 | +.tyh-alert-warning { |
| 44 | + border: 1px solid #fbcc30; |
| 45 | + color: #fbcc30; |
| 46 | +} |
| 47 | +.tyh-alert-warning .tyh-ui-guanbi, |
| 48 | +.tyh-alert-warning .tyh-message-icon { |
| 49 | + color: #fbcc30; |
| 50 | +} |
| 51 | +.tyh-alert-, |
| 52 | +.tyh-alert-default { |
| 53 | + border: 1px solid #606266; |
| 54 | + color: #606266; |
| 55 | +} |
| 56 | +.tyh-alert- .tyh-ui-guanbi, |
| 57 | +.tyh-alert-default .tyh-ui-guanbi, |
| 58 | +.tyh-alert- .tyh-message-icon, |
| 59 | +.tyh-alert-default .tyh-message-icon { |
| 60 | + color: #606266; |
| 61 | +} |
| 62 | +.tyh-alert-bac-primary { |
| 63 | + background: #e8f4ff; |
| 64 | +} |
| 65 | +.tyh-alert-bac-success { |
| 66 | + background: #e1ffea; |
| 67 | +} |
| 68 | +.tyh-alert-bac-danger { |
| 69 | + background: #ffe8e6; |
| 70 | +} |
| 71 | +.tyh-alert-bac-warning { |
| 72 | + background: #fff1e3; |
| 73 | +} |
| 74 | +.tyh-alert-bac-, |
| 75 | +.tyh-alert-bac-default { |
| 76 | + background: #f6f6f6; |
| 77 | +} |
| 78 | +.tyh-alert-center { |
| 79 | + justify-content: center; |
| 80 | +} |
0 commit comments