').addClass ('ov_dialog_table_row').appendTo (this.formatParameters.formatSettingsDiv);
+ let formatDiv = $('
').addClass ('ov_dialog_row').appendTo (this.formatParameters.formatSettingsDiv);
let formatInput = $('
').addClass ('ov_dialog_checkradio').attr ('type', 'radio').attr ('id', format.name).attr ('name', 'format').appendTo (formatDiv);
$('
').attr ('for', format.name).html (format.name).appendTo (formatDiv);
if (i === 0) {
diff --git a/website/o3dv/sharingdialog.js b/website/o3dv/sharingdialog.js
index 6f82a0c..e4e909a 100644
--- a/website/o3dv/sharingdialog.js
+++ b/website/o3dv/sharingdialog.js
@@ -2,7 +2,7 @@ OV.ShowSharingDialog = function (importer, settings, camera)
{
function AddCheckboxLine (parentDiv, text, id, onChange)
{
- let line = $('').addClass ('ov_dialog_table_row').appendTo (parentDiv);
+ let line = $('
').addClass ('ov_dialog_row').appendTo (parentDiv);
let check = $('
').attr ('type', 'checkbox').attr ('checked', 'true').addClass ('ov_dialog_checkradio').attr ('id', id).appendTo (line);
$('
').attr ('for', id).html (text).appendTo (line);
check.change (() => {
diff --git a/website/o3dv/utils.js b/website/o3dv/utils.js
index a55f0b1..b70c840 100644
--- a/website/o3dv/utils.js
+++ b/website/o3dv/utils.js
@@ -118,7 +118,7 @@ OV.DownloadArrayBufferAsFile = function (arrayBuffer, fileName)
OV.CreateSvgIcon = function (parent, sourceImage, extraClass)
{
- let img = $(' ').addClass ('svg_icon').appendTo (parent);
+ let img = $(' ').addClass ('ov_svg_icon').appendTo (parent);
if (sourceImage !== undefined && sourceImage !== null) {
img.attr ('src', sourceImage);
}
diff --git a/website/o3dv/website.css b/website/o3dv/website.css
index 317873f..d215c2d 100644
--- a/website/o3dv/website.css
+++ b/website/o3dv/website.css
@@ -28,12 +28,24 @@ img
display: block;
}
-img.svg_icon
+img.ov_svg_icon
{
width: 18px;
height: 18px;
}
+div.ov_color_circle
+{
+ background: #ffffff;
+ border: 1px solid #000000;
+ width: 14px;
+ height: 14px;
+ display: inline-block;
+ margin-right: 5px;
+ margin-bottom: -2px;
+ border-radius: 10px;
+}
+
div.header
{
overflow: auto;
@@ -188,13 +200,6 @@ div.ov_toolbar div.ov_toolbar_button
cursor: pointer;
}
-div.ov_toolbar div.ov_toolbar_button
-{
- padding: 10px;
- float: left;
- cursor: pointer;
-}
-
div.ov_toolbar div.ov_toolbar_button.right
{
float: right;
@@ -377,18 +382,6 @@ div.ov_tree_view div.ov_tree_view_children
margin-left: 28px;
}
-div.ov_color_circle
-{
- background: #ffffff;
- border: 1px solid #000000;
- width: 14px;
- height: 14px;
- display: inline-block;
- margin-right: 5px;
- margin-bottom: -2px;
- border-radius: 10px;
-}
-
div.ov_modal_overlay
{
@@ -561,64 +554,17 @@ div.ov_dialog div.ov_dialog_copyable_input div.button
float: right;
}
-div.ov_dialog div.ov_dialog_inner_buttons
-{
- margin-bottom: 10px;
- overflow: auto;
-}
-
-div.ov_dialog div.ov_dialog_inner_button
-{
- color: #3393bd;
- float: right;
- cursor: pointer;
-}
-
-div.ov_dialog div.ov_dialog_table_row
+div.ov_dialog div.ov_dialog_row
{
padding: 2px 0px;
overflow: auto;
}
-div.ov_dialog div.ov_dialog_table_row_name
-{
- width: 140px;
- float: left;
-}
-
-div.ov_dialog div.ov_dialog_table_row_value
-{
- float: left;
-}
-
-div.ov_dialog span.ov_dialog_table_row_comment
-{
- color: #444444;
- font-size: 15px;
-}
-
div.ov_dialog input.ov_dialog_checkradio
{
margin-right: 10px;
}
-div.ov_dialog table.ov_dialog_table
-{
- width: 100%;
- border-collapse: collapse;
-}
-
-div.ov_dialog table.ov_dialog_table td
-{
- padding: 5px 10px;
- border: 1px solid #dddddd;
-}
-
-div.ov_dialog table.ov_dialog_table td.right
-{
- text-align: right;
-}
-
div.ov_popup
{
background: #ffffff;