Skip to content
Snippets Groups Projects
Commit 94db42d7 authored by JaeeunCho's avatar JaeeunCho
Browse files

HTML5 - changed divider of record button

parent 04c5fe18
No related branches found
No related tags found
No related merge requests found
......@@ -10,15 +10,14 @@ export default class RecordingIndicator extends Component {
render() {
const { beingRecorded } = this.props;
let dividerNames = {};
dividerNames[styles.divider] = beingRecorded;
let divide = {};
divide[styles.divider] = beingRecorded;
let classNames = {};
classNames[styles.indicator] = beingRecorded;
return (
<div>
<span className={cx(dividerNames)}></span>
<div className={cx(divide)}>
<span className={cx(classNames)}></span>
</div>
);
......
......@@ -2,21 +2,21 @@
.indicator {
display: inline-block;
position: relative;
position: absolute;;
width: $font-size-base;
height: $font-size-base;
border-radius: 50%;
border: 1px solid $color-white;
margin-left: 100%;
margin-left: 1000%;
&:after {
content: '';
width: $font-size-base / 2;
height: $font-size-base / 2;
position: absolute;
top: 50%;
top: 140%;
left: 50%;
margin-top: -($font-size-base / 4);
margin-top: -$font-size-base;
margin-left: -($font-size-base / 4);
border-radius: 50%;
background-color: $color-danger;
......@@ -25,16 +25,8 @@
.divider {
position: relative;
&:after {
content: '';
position: absolute;
top: 20%;
width: 1px;
margin-left: -($font-size-base / 4);
background: $color-white;
height: $font-size-base * 1.0;
margin: 0 $line-height-computed / 2;
opacity: .75;
}
width: 1px;
background: $color-white;
height: $font-size-base * 1.0;
margin: 0 $line-height-computed / 2;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment