Simplify css.
This commit is contained in:
parent
6e05b1a584
commit
b825403634
@ -135,7 +135,7 @@ OV.ExportDialog = class
|
||||
let exportFormat = this.exportFormats[exportFormatIndex];
|
||||
for (let i = 0; i < exportFormat.formats.length; i++) {
|
||||
let format = exportFormat.formats[i];
|
||||
let formatDiv = $('<div>').addClass ('ov_dialog_table_row').appendTo (this.formatParameters.formatSettingsDiv);
|
||||
let formatDiv = $('<div>').addClass ('ov_dialog_row').appendTo (this.formatParameters.formatSettingsDiv);
|
||||
let formatInput = $('<input>').addClass ('ov_dialog_checkradio').attr ('type', 'radio').attr ('id', format.name).attr ('name', 'format').appendTo (formatDiv);
|
||||
$('<label>').attr ('for', format.name).html (format.name).appendTo (formatDiv);
|
||||
if (i === 0) {
|
||||
|
||||
@ -2,7 +2,7 @@ OV.ShowSharingDialog = function (importer, settings, camera)
|
||||
{
|
||||
function AddCheckboxLine (parentDiv, text, id, onChange)
|
||||
{
|
||||
let line = $('<div>').addClass ('ov_dialog_table_row').appendTo (parentDiv);
|
||||
let line = $('<div>').addClass ('ov_dialog_row').appendTo (parentDiv);
|
||||
let check = $('<input>').attr ('type', 'checkbox').attr ('checked', 'true').addClass ('ov_dialog_checkradio').attr ('id', id).appendTo (line);
|
||||
$('<label>').attr ('for', id).html (text).appendTo (line);
|
||||
check.change (() => {
|
||||
|
||||
@ -118,7 +118,7 @@ OV.DownloadArrayBufferAsFile = function (arrayBuffer, fileName)
|
||||
|
||||
OV.CreateSvgIcon = function (parent, sourceImage, extraClass)
|
||||
{
|
||||
let img = $('<img>').addClass ('svg_icon').appendTo (parent);
|
||||
let img = $('<img>').addClass ('ov_svg_icon').appendTo (parent);
|
||||
if (sourceImage !== undefined && sourceImage !== null) {
|
||||
img.attr ('src', sourceImage);
|
||||
}
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user