1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- .login-container {
- height: calc(100% - 50px);
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .login-dialog {
- width: 400px;
- height: 400px;
- background-color: rgba(255, 255, 255, 0.8);
- border-radius: 10px;
- }
- /* 标题 */
- .login-dialog h3 {
- text-align: center;
- padding: 50px 0;
- }
- /* 针对一行设置样式 */
- .login-dialog .row {
- width: 100%;
- height: 50px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .login-dialog .row span {
- width: 100px;
- font-weight: 700;
- }
- #user_name, #password {
- width: 200px;
- height: 40px;
- font-size: 20px;
- line-height: 40px;
- padding-left: 10px;
- border: none;
- outline: none;
- border-radius: 10px;
- }
- #submit {
- width: 300px;
- height: 50px;
- background-color: rgb(0, 128, 0);
- color: white;
- border: none;
- outline: none;
- border-radius: 10px;
- margin-top: 20px;
- }
- #submit:active {
- background-color: #666;
- }
|