bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/zoom-tool/styles.js

57 lines
1.2 KiB
JavaScript
Raw Normal View History

2021-11-08 21:09:56 +08:00
import styled from 'styled-components';
import {
colorOffWhite,
toolbarButtonColor,
} from '/imports/ui/stylesheets/styled-components/palette';
import {
whiteboardToolbarMargin,
borderSize,
2021-11-08 21:09:56 +08:00
} from '/imports/ui/stylesheets/styled-components/general';
2022-02-15 04:20:50 +08:00
import Button from '/imports/ui/components/common/button/component';
2021-11-08 21:09:56 +08:00
2022-07-05 20:05:46 +08:00
const DecreaseZoomButton = styled(Button)``;
2021-11-08 21:09:56 +08:00
2022-07-05 20:05:46 +08:00
const IncreaseZoomButton = styled(Button)``;
2021-11-08 21:09:56 +08:00
const ResetZoomButton = styled(Button)`
text-align: center;
color: black;
display: flex;
align-items: center;
justify-content: center;
border: 0 !important;
font-weight: 200;
margin-left: ${whiteboardToolbarMargin};
margin-right: ${whiteboardToolbarMargin};
position: relative;
color: ${toolbarButtonColor};
background-color: ${colorOffWhite};
border-radius: 0;
box-shadow: none !important;
border: 0;
&:focus,
&:hover {
outline: transparent;
outline-style: dotted;
outline-width: ${borderSize};
background-color: #DCE4EC;
border-radius: 4px;
}
&:hover {
opacity: .8;
}
2021-11-08 21:09:56 +08:00
&:focus {
outline-style: solid;
box-shadow: 0 0 0 1px #cdd6e0 !important;
2021-11-08 21:09:56 +08:00
}
`;
export default {
DecreaseZoomButton,
IncreaseZoomButton,
ResetZoomButton,
};