element-web-Github/res/css/views/settings/_PhoneNumbers.scss

57 lines
1.3 KiB
SCSS
Raw Normal View History

2019-01-24 05:16:18 +08:00
/*
Copyright 2019 New Vector Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
.mx_ExistingPhoneNumber {
margin-bottom: 5px;
2019-01-24 05:16:18 +08:00
}
.mx_ExistingPhoneNumber_delete {
margin-right: 5px;
cursor: pointer;
vertical-align: middle;
2019-01-24 05:16:18 +08:00
}
.mx_ExistingPhoneNumber_address {
vertical-align: middle;
2019-01-24 05:16:18 +08:00
}
.mx_ExistingPhoneNumber_promptText {
margin-right: 10px;
2019-01-24 05:16:18 +08:00
}
.mx_ExistingPhoneNumber_confirmBtn {
margin-right: 5px;
2019-01-24 05:16:18 +08:00
}
.mx_PhoneNumbers_new .mx_Field input {
// Use 100% of the space available for the input, but don't let the 10px
// padding on either side of the input to push it out of alignment.
width: calc(100% - 20px);
2019-01-24 05:16:18 +08:00
}
.mx_PhoneNumbers_input {
display: flex;
align-items: center;
2019-01-24 05:16:18 +08:00
}
.mx_PhoneNumbers_input > .mx_Field {
flex-grow: 1;
2019-01-24 05:16:18 +08:00
}
.mx_PhoneNumbers_country {
width: 80px;
2019-01-24 05:16:18 +08:00
}