aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/RecordingBox
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/RecordingBox')
-rw-r--r--src/client/views/nodes/RecordingBox/ProgressBar.scss141
-rw-r--r--src/client/views/nodes/RecordingBox/RecordingView.scss12
2 files changed, 78 insertions, 75 deletions
diff --git a/src/client/views/nodes/RecordingBox/ProgressBar.scss b/src/client/views/nodes/RecordingBox/ProgressBar.scss
index 28ad25ffa..ec01f0241 100644
--- a/src/client/views/nodes/RecordingBox/ProgressBar.scss
+++ b/src/client/views/nodes/RecordingBox/ProgressBar.scss
@@ -1,36 +1,34 @@
-
.progressbar {
- touch-action: none;
- vertical-align: middle;
- text-align: center;
-
- align-items: center;
- cursor: default;
-
-
- position: absolute;
- display: flex;
- justify-content: flex-start;
- bottom: 2px;
- width: 99%;
- height: 30px;
- background-color: gray;
-
- &.done {
- top: 0;
- width: 0px;
- height: 5px;
- background-color: red;
- z-index: 2;
- }
-
- &.mark {
- top: 0;
- background-color: transparent;
- border-right: 2px solid white;
- z-index: 3;
- pointer-events: none;
- }
+ touch-action: none;
+ vertical-align: middle;
+ text-align: center;
+
+ align-items: center;
+ cursor: default;
+
+ position: absolute;
+ display: flex;
+ justify-content: flex-start;
+ bottom: 2px;
+ width: 99%;
+ height: 30px;
+ background-color: gray;
+
+ &.done {
+ top: 0px;
+ width: 0px;
+ height: 5px;
+ background-color: red;
+ z-index: 2;
+ }
+
+ &.mark {
+ top: 0px;
+ background-color: transparent;
+ border-right: 2px solid white;
+ z-index: 3;
+ pointer-events: none;
+ }
}
.progressbar-disabled {
@@ -43,37 +41,41 @@
// citation: https://codepen.io/_Master_/pen/PRdjmQ
@keyframes blinker {
- from {opacity: 1.0;}
- to {opacity: 0.0;}
+ from {
+ opacity: 1;
+ }
+ to {
+ opacity: 0;
+ }
}
.blink {
- text-decoration: blink;
- animation-name: blinker;
- animation-duration: 0.6s;
- animation-iteration-count:infinite;
- animation-timing-function:ease-in-out;
- animation-direction: alternate;
+ text-decoration: blink;
+ animation-name: blinker;
+ animation-duration: 0.6s;
+ animation-iteration-count: infinite;
+ animation-timing-function: ease-in-out;
+ animation-direction: alternate;
}
.segment {
- border: 3px solid black;
- background-color: red;
- margin: 1px;
- padding: 0;
- cursor: pointer;
- transition-duration: .5s;
- user-select: none;
-
- vertical-align: middle;
- text-align: center;
+ border: 3px solid black;
+ background-color: red;
+ margin: 1px;
+ padding: 0px;
+ cursor: pointer;
+ transition-duration: 0.5s;
+ user-select: none;
+
+ vertical-align: middle;
+ text-align: center;
}
.segment-expanding {
-border-color: red;
- background-color: white;
- transition-duration: 0s;
- opacity: .75;
- pointer-events: none;
+ border-color: red;
+ background-color: white;
+ transition-duration: 0s;
+ opacity: 0.75;
+ pointer-events: none;
}
.segment-expanding:hover {
@@ -82,10 +84,10 @@ border-color: red;
}
.segment-disabled {
- pointer-events: none;
- opacity: 0.5;
- transition-duration: 0s;
- /* Hide the text. */
+ pointer-events: none;
+ opacity: 0.5;
+ transition-duration: 0s;
+ /* Hide the text. */
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
@@ -99,25 +101,26 @@ border-color: red;
}
.segment:first-child {
- margin-left: 2px;
+ margin-left: 2px;
}
.segment:last-child {
- margin-right: 2px;
+ margin-right: 2px;
}
.segment:hover {
background-color: white;
}
-.segment:hover, .segment-selected {
- margin: 0px;
- border: 4px solid red;
- border-radius: 2px;
+.segment:hover,
+.segment-selected {
+ margin: 0px;
+ border: 4px solid red;
+ border-radius: 2px;
}
.segment-selected {
- border: 4px solid #202020;
- background-color: red;
- opacity: .75;
- cursor: grabbing;
+ border: 4px solid #202020;
+ background-color: red;
+ opacity: 0.75;
+ cursor: grabbing;
}
diff --git a/src/client/views/nodes/RecordingBox/RecordingView.scss b/src/client/views/nodes/RecordingBox/RecordingView.scss
index f2d5a980d..15b48c111 100644
--- a/src/client/views/nodes/RecordingBox/RecordingView.scss
+++ b/src/client/views/nodes/RecordingBox/RecordingView.scss
@@ -28,7 +28,7 @@ video {
justify-content: center;
// overflow: hidden;
border-radius: 10px;
- margin: 0;
+ margin: 0px;
}
.video-wrapper:hover .controls {
@@ -108,7 +108,7 @@ video {
.timer {
font-size: 15px;
color: white;
- margin: 0;
+ margin: 0px;
}
.dot {
@@ -148,7 +148,7 @@ video {
height: 80%;
width: 80%;
align-self: center;
- margin: 0;
+ margin: 0px;
&:hover {
height: 85%;
@@ -163,7 +163,7 @@ video {
height: 70%;
width: 70%;
align-self: center;
- margin: 0;
+ margin: 0px;
// &:hover {
// width: 40px;
@@ -178,8 +178,8 @@ video {
flex-direction: row;
align-content: center;
position: relative;
- top: 0;
- bottom: 0;
+ top: 0px;
+ bottom: 0px;
&.video-edit-wrapper {
// right: 50% - 15;