element-web/res/css/views/messages/_MessageActionBar.scss
J. Ryan Stinnett ed8bbc7082 Extract message options button to action bar
This adds a new action bar component to hold multiple per-message actions. This
existing options button has moved to this new component, and is currently the
only action.
2019-04-29 15:20:50 +01:00

37 lines
944 B
SCSS

/*
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_MessageActionBar {
position: absolute;
visibility: hidden;
cursor: pointer;
top: 6px;
right: 6px;
user-select: none;
}
.mx_MessageActionBar_optionsButton {
display: inline-block;
width: 19px;
height: 19px;
background-image: url($edit-button-url);
}
.mx_MatrixChat_useCompactLayout {
.mx_MessageActionBar {
top: 3px;
}
}