Skip to content

Commit

Permalink
Merge pull request #27 from Kitware/improve-style
Browse files Browse the repository at this point in the history
fix(CSS): Improve Visualizer component styles
  • Loading branch information
jourdain committed Mar 1, 2016
2 parents be3649f + 14c07e0 commit 7a076ab
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
6 changes: 3 additions & 3 deletions dist/ParaViewWeb.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion style/ReactProperties/EnumProperty.mcss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
margin-top: 6px;
width: 100%;
height: 28px;
border-radius: 1px;
border-radius: 5px;
background-color: white;
border-width: 1px;
border-color: lightgray lightgray gray lightgray;
Expand Down
11 changes: 10 additions & 1 deletion style/ReactWidgets/ColorByWidget.mcss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
flex-direction: row;
justify-content: space-between;
align-items: center;
margin-bottom: 5px;
line-height: 2.5em;
height: 2.5em;
}

.advancedView {
Expand All @@ -36,6 +37,7 @@
.advancedViewContent {
flex: 1;
max-width: calc(100% - 1.28571em - 4px);
height: 6em;
}

.hidden {
Expand All @@ -44,6 +46,13 @@

.input {
flex: 1;

height: 28px;
border-radius: 5px;
background-color: white;
border-width: 1px;
border-color: lightgray lightgray gray lightgray;
border-style: solid;
}

.scalarBar {
Expand Down
1 change: 1 addition & 0 deletions style/ReactWidgets/ProxyEditorWidget.mcss
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
padding: 2px 15px;
flex: 1;
border: 1px solid #ddd;
line-height: normal;
}

.filter:active, .filter:focus {
Expand Down
6 changes: 3 additions & 3 deletions style/ReactWidgets/ScalarRangeWidget.mcss
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
cursor: pointer;
composes: fa from 'font-awesome/css/font-awesome.css';
text-align: center;
min-width: 2em;
min-height: 2em;
line-height: 2em;
min-width: 1.5em;
min-height: 1.5em;
line-height: 1.5em;
border-radius: 5px;
background: #ccc;
border: solid 1px #aaa;
Expand Down

0 comments on commit 7a076ab

Please sign in to comment.