This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +64
-73
lines changed Expand file tree Collapse file tree 6 files changed +64
-73
lines changed Original file line number Diff line number Diff line change 76
76
name : " i18n Check"
77
77
uses : matrix-org/matrix-react-sdk/.github/workflows/i18n_check.yml@develop
78
78
79
+ rethemendex_lint :
80
+ name : " Rethemendex Check"
81
+ runs-on : ubuntu-latest
82
+ steps :
83
+ - uses : actions/checkout@v2
84
+
85
+ - run : ./res/css/rethemendex.sh
86
+
87
+ - run : git diff --exit-code
88
+
79
89
js_lint :
80
90
name : " ESLint"
81
91
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -793,3 +793,56 @@ legend {
793
793
min-width : 18 px ;
794
794
background-color : $secondary-content !important ;
795
795
}
796
+
797
+ @define-mixin composerButtonHighLight {
798
+ background : rgba ($accent , 0.25 );
799
+ /* make the icon the accent color too */
800
+ &::before {
801
+ background-color : $accent !important ;
802
+ }
803
+ }
804
+
805
+ @define-mixin composerButton $border-radius ,$hover-color {
806
+ --size : 26 px ;
807
+ position : relative;
808
+ cursor : pointer;
809
+ height : var (--size );
810
+ line-height : var (--size );
811
+ width : auto;
812
+ padding-left : var (--size );
813
+ border-radius : $border-radius ;
814
+
815
+ &::before {
816
+ content : '' ;
817
+ position : absolute;
818
+ top : 3 px ;
819
+ left : 3 px ;
820
+ height : 20 px ;
821
+ width : 20 px ;
822
+ background-color : $icon-button-color ;
823
+ mask-repeat : no-repeat;
824
+ mask-size : contain;
825
+ mask-position : center;
826
+ }
827
+
828
+ &::after {
829
+ content : '' ;
830
+ position : absolute;
831
+ left : 0 ;
832
+ top : 0 ;
833
+ z-index : 0 ;
834
+ width : var (--size );
835
+ height : var (--size );
836
+ border-radius : $border-radius ;
837
+ }
838
+
839
+ &:hover {
840
+ &::after {
841
+ background : rgba ($hover-color , 0.1 );
842
+ }
843
+
844
+ &::before {
845
+ background-color : $hover-color ;
846
+ }
847
+ }
848
+ }
Original file line number Diff line number Diff line change 260
260
@import "./views/rooms/_AuxPanel.pcss" ;
261
261
@import "./views/rooms/_BasicMessageComposer.pcss" ;
262
262
@import "./views/rooms/_E2EIcon.pcss" ;
263
- @import "./views/rooms/_EmojiButton.pcss" ;
264
263
@import "./views/rooms/_EditMessageComposer.pcss" ;
264
+ @import "./views/rooms/_EmojiButton.pcss" ;
265
265
@import "./views/rooms/_EntityTile.pcss" ;
266
266
@import "./views/rooms/_EventBubbleTile.pcss" ;
267
267
@import "./views/rooms/_EventTile.pcss" ;
Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ See the License for the specific language governing permissions and
14
14
limitations under the License.
15
15
*/
16
16
17
- @import "./_MessageComposerButton.pcss" ;
18
-
19
17
.mx_EmojiButton {
20
18
@mixin composerButton 50 %,$accent ;
21
19
}
Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ See the License for the specific language governing permissions and
15
15
limitations under the License.
16
16
*/
17
17
18
- @import "./_MessageComposerButton.pcss" ;
19
-
20
18
.mx_MessageComposer_wrapper {
21
19
vertical-align : middle;
22
20
margin : auto;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments