-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#3914 Add support for opening structures in CDX format embedded into …
…MS PowerPoint add and integrate new components
- Loading branch information
Showing
8 changed files
with
364 additions
and
13 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
97 changes: 97 additions & 0 deletions
97
...l/components/document/Open/components/CDXStructuresViewer/CDXStructuresViewer.module.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
/**************************************************************************** | ||
* Copyright 2021 EPAM Systems | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
***************************************************************************/ | ||
@import '../../../../../../../../../style/variables'; | ||
|
||
.wrapper { | ||
display: flex; | ||
flex-direction: column; | ||
margin: 1em 2em; | ||
gap: 1em; | ||
width: 60vw; | ||
height: 50vh; | ||
max-width: 60em; | ||
max-height: 30em; | ||
} | ||
|
||
.structuresWrapper { | ||
display: flex; | ||
flex-direction: row; | ||
gap: 2em; | ||
height: 90%; | ||
justify-content: space-between; | ||
} | ||
|
||
.menuListWrapper { | ||
background: @color-background-canvas; | ||
padding: 2em 1em; | ||
border-radius: 8px; | ||
flex: 1; | ||
|
||
> ul { | ||
background: @color-background-primary; | ||
|
||
> li { | ||
padding: 0.5em; | ||
} | ||
} | ||
|
||
> .header { | ||
color: @color-text-secondary; | ||
font-size: 1rem; | ||
margin-bottom: 1em; | ||
} | ||
} | ||
|
||
.fileName { | ||
font-weight: 600; | ||
} | ||
|
||
.menuItem { | ||
margin: 0.5em 1em; | ||
} | ||
|
||
.centerWrapper { | ||
width: 100%; | ||
height: 100%; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.imageWrapper { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
font-weight: 600; | ||
flex: 2; | ||
} | ||
|
||
.image { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
border: solid @border-color; | ||
border-radius: 8px; | ||
padding: 0.5em; | ||
width: 100%; | ||
height: 100%; | ||
box-sizing: border-box; | ||
|
||
> img { | ||
max-width: 100%; | ||
max-height: 100%; | ||
} | ||
} |
Oops, something went wrong.