Improve manage group box styles.

This commit is contained in:
John Preston 2019-05-01 15:31:06 +04:00
parent aede79640d
commit d48cafe1a3
3 changed files with 3 additions and 7 deletions

View File

@ -718,7 +718,8 @@ adminLogFilterUserCheckbox: Checkbox(defaultBoxCheckbox) {
checkPosition: point(8px, 6px);
}
rightsCheckbox: Checkbox(defaultBoxCheckbox) {
rightsCheckbox: Checkbox(defaultCheckbox) {
textPosition: point(10px, 1px);
rippleBg: attentionButtonBgOver;
}
rightsToggle: Toggle(defaultToggle) {

View File

@ -460,7 +460,7 @@ void EditRestrictedBox::createUntilVariants() {
_untilGroup,
value,
text,
st::defaultBoxCheckbox),
st::defaultCheckbox),
st::rightsToggleMargin));
if (!canSave()) {
_untilVariants.back()->setDisabled(true);

View File

@ -587,7 +587,6 @@ managePeerButton: InfoProfileCountButton {
iconPosition: point(20px, 5px);
label: FlatLabel(defaultFlatLabel) {
textFg: windowActiveTextFg;
style: semiboldTextStyle;
}
labelPosition: point(25px, 12px);
}
@ -599,11 +598,9 @@ peerPermissionsButton: InfoProfileCountButton(managePeerButton) {
iconPosition: point(24px, 5px);
}
manageGroupButton: InfoProfileCountButton(managePeerButton) {
button: InfoProfileButton(infoProfileButton) {
padding: margins(72px, 10px, 24px, 8px);
font: font(14px);
}
labelPosition: point(22px, 12px);
iconPosition: point(20px, 4px);
@ -612,7 +609,6 @@ manageGroupButton: InfoProfileCountButton(managePeerButton) {
manageGroupTopButtonWithText: InfoProfileCountButton(manageGroupButton) {
button: InfoProfileButton(infoProfileButton) {
padding: margins(22px, 10px, 24px, 8px);
font: font(14px);
}
labelPosition: point(22px, 11px);
iconPosition: point(0px, 0px);
@ -621,7 +617,6 @@ manageGroupTopButtonWithText: InfoProfileCountButton(manageGroupButton) {
manageDeleteGroupButton: InfoProfileCountButton(manageGroupTopButtonWithText) {
button: InfoProfileButton(infoProfileButton) {
padding: margins(25px, 11px, 24px, 8px);
font: font(14px);
textFg: attentionButtonFg;
textFgOver: attentionButtonFg;
}