-
-
Notifications
You must be signed in to change notification settings - Fork 831
Add default properties to link buttons and remove redundant settings #8151
Changes from all commits
2bdecc9
45a6510
aee226f
1742f01
3352084
d81a45e
923de95
866c477
4e2a03e
e288668
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,13 +88,12 @@ limitations under the License. | |
div.mx_AccessibleButton_kind_link.mx_Login_forgot { | ||
display: block; | ||
margin: 0 auto; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These will be able to be removed by creating a wrapper and setting |
||
// style it as a link | ||
font-size: inherit; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
&.mx_AccessibleButton_disabled { | ||
cursor: not-allowed; | ||
} | ||
} | ||
|
||
.mx_Login_spinner { | ||
display: flex; | ||
justify-content: center; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,10 +58,6 @@ limitations under the License. | |
line-height: $font-15px; | ||
} | ||
|
||
.mx_AccessibleButton_kind_link { | ||
font-size: inherit; | ||
} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
a, .mx_AccessibleButton_kind_link { | ||
color: $accent; | ||
text-decoration: underline; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,4 @@ limitations under the License. | |
line-height: $font-20px; | ||
margin-bottom: 24px; | ||
} | ||
|
||
.mx_AccessibleButton_kind_link { | ||
font-size: inherit; | ||
line-height: inherit; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,6 +77,7 @@ limitations under the License. | |
|
||
.mx_AccessibleButton_hasKind { | ||
&.mx_AccessibleButton_kind_link { | ||
font-size: $font-14px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
margin: 7px 18px; | ||
|
||
&.mx_SettingsTab_showAdvanced { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -241,7 +241,6 @@ limitations under the License. | |
.mx_SpotlightDialog_recentSearches > h4 > .mx_AccessibleButton_kind_link { | ||
padding: 0; | ||
float: right; | ||
font-weight: normal; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
font-size: $font-12px; | ||
line-height: $font-15px; | ||
color: $secondary-content; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,10 +23,6 @@ limitations under the License. | |
} | ||
} | ||
|
||
.mx_AccessibleButton_kind_link { | ||
font-size: inherit; | ||
} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
.mx_NewRoomIntro_buttons { | ||
margin-top: 28px; | ||
display: flex; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,8 +92,6 @@ limitations under the License. | |
|
||
.mx_AccessibleButton_kind_link { | ||
margin-left: 12px; | ||
font-size: inherit; | ||
line-height: inherit; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
} | ||
} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,7 @@ limitations under the License. | |
margin-bottom: 28px; | ||
|
||
> .mx_AccessibleButton_kind_link { | ||
font-size: $font-14px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
margin-right: 10px; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,10 +50,6 @@ limitations under the License. | |
font-size: $font-12px; | ||
line-height: $font-15px; | ||
margin-right: 32px; | ||
|
||
.mx_AccessibleButton_kind_link { | ||
font-size: inherit; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
} | ||
} | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,9 +32,5 @@ limitations under the License. | |
margin-top: 20px; | ||
} | ||
} | ||
|
||
.mx_AccessibleButton_kind_link { | ||
font-size: inherit; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,6 +65,7 @@ limitations under the License. | |
display: inline-block; | ||
margin: auto 18px; | ||
color: #368bd6; | ||
font-size: $font-14px; // See _SpaceSettingsDialog.scss | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
} | ||
|
||
> .mx_SpaceBasicSettings_avatar_remove { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,10 +93,6 @@ $spacePanelWidth: 68px; | |
width: min-content; | ||
} | ||
|
||
.mx_AccessibleButton_kind_link { | ||
font-size: inherit; | ||
} | ||
|
||
.mx_AccessibleButton_disabled { | ||
cursor: not-allowed; | ||
} | ||
|
@@ -118,7 +114,5 @@ $spacePanelWidth: 68px; | |
.mx_AccessibleButton_kind_link { | ||
color: $accent; | ||
position: relative; | ||
font-size: inherit; | ||
line-height: inherit; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.