Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
gy4443
chemotion_eln_server
Commits
fb704584
Commit
fb704584
authored
Oct 13, 2015
by
Jan-Philipp Willem
Browse files
add selected-state to reaction-svg
parent
fc8c8224
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/assets/javascripts/components/ElementsTableEntries.js
View file @
fb704584
...
...
@@ -57,7 +57,9 @@ export default class ElementsTableEntries extends Component {
'
molecule
'
:
element
.
type
==
'
sample
'
},
{
'
molecule-selected
'
:
element
.
type
==
'
sample
'
&&
this
.
isElementSelected
(
element
)
});
},
{
'
reaction-selected
'
:
element
.
type
==
'
reaction
'
&&
this
.
isElementSelected
(
element
)
});
let
svgContainer
=
{
verticalAlign
:
'
middle
'
,
textAlign
:
'
center
'
...
...
app/assets/stylesheets/molecules.css
View file @
fb704584
...
...
@@ -34,3 +34,8 @@
stroke
:
white
;
fill
:
white
;
}
.reaction-selected
line
,
.reaction-selected
text
,
.reaction-selected
polygon
{
stroke
:
white
;
fill
:
white
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment