Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
removed: analog-scale widget, closes #950
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnR committed Feb 15, 2023
1 parent 0304971 commit 6e5cc86
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 600 deletions.
2 changes: 0 additions & 2 deletions src/js/widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import p from '../widget/file/filepicker';
import q from '../widget/draw/draw-widget';
import r from '../widget/select-likert/likertitem';
import s from '../widget/columns/columns';
import t from '../widget/analog-scale/analog-scalepicker';
import u from '../widget/big-image/image-viewer';
import v from '../widget/comment/commentwidget';
import w from '../widget/image-map/image-map';
Expand Down Expand Up @@ -57,7 +56,6 @@ export default [
q,
r,
s,
t,
u,
v,
w,
Expand Down
39 changes: 0 additions & 39 deletions src/sass/core/_print.scss
Original file line number Diff line number Diff line change
Expand Up @@ -354,45 +354,6 @@ input[type='checkbox'] {
}
}

.or-appearance-analog-scale {
// if analog-scale widget is a non-current page the display is set to block
// which moves the vertical widget below the label instead of next to it.
&:not(.or-appearance-horizontal) {
display: flex !important;
flex-wrap: nowrap;
}

.scale__ticks {
display: none;
}

.slider-vertical .slider-track {
border-right: 1px solid black;
margin-left: -8.5px;
}

.slider-horizontal .slider-track {
border-bottom: 1px solid black;
margin-top: -10px;
}

.slider-handle {
border: 1px solid black;
}

.slider-vertical .slider-handle {
margin-left: -1px;
}

.slider-horizontal .slider-handle {
margin-top: -1px;
}

.slider-vertical .min-label {
margin-top: 10px;
}
}

.draw-widget__colorpicker {
display: none;
}
Expand Down
1 change: 0 additions & 1 deletion src/sass/core/_widgets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
@import '../../widget/draw/draw-widget.scss';
@import '../../widget/select-likert/likertitem.scss';
@import '../../widget/columns/columns.scss';
@import '../../widget/analog-scale/analog-scalepicker.scss';
@import '../../widget/big-image/image-viewer.scss';
@import '../../widget/comment/commentwidget.scss';
@import '../../widget/image-map/image-map.scss';
Expand Down
1 change: 0 additions & 1 deletion src/sass/formhub/_main.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import 'form-controls';
@import 'widgets';

.or-group {
border-top: none;
Expand Down
12 changes: 0 additions & 12 deletions src/sass/formhub/_widgets.scss

This file was deleted.

204 changes: 0 additions & 204 deletions src/widget/analog-scale/analog-scalepicker.js

This file was deleted.

Loading

0 comments on commit 6e5cc86

Please sign in to comment.