Skip to content

improving Drawer ui + main page header icons style #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions frontend/src/components/frame/Frame.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ const Frame = ({
onClick={() => dispatch(setCommand(reqString))}
style={{
cursor: 'pointer',
marginLeft: '5px',
}}
/>
</div>
Expand Down
5 changes: 4 additions & 1 deletion frontend/src/components/query_builder/BuilderContainer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ const BuilderContainer = ({ open, setOpen, finder }) => {
open={open}
onClose={() => setOpen(!open)}
placement="left"
headerStyle={{
backgroundColor: '#F9fafa',
}}
>
<Select
id="graph-selection"
Expand Down Expand Up @@ -80,7 +83,7 @@ const BuilderContainer = ({ open, setOpen, finder }) => {
/>
</div>
<div id="submit-builder">
<Button size="sm" onClick={handleSubmit}>Submit</Button>
<Button id="btn-submit-builder" size="sm" onClick={handleSubmit}>Submit</Button>
</div>

</Drawer>
Expand Down
16 changes: 13 additions & 3 deletions frontend/src/components/query_builder/BuilderContainer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,22 @@

.selection-builder{
display: block;

}

#submit-builder{
width: 100%;
display: flex;
justify-content: right;
padding-top: 10px;
justify-content: center;
align-items: center;
margin-top: 12px;
}

#btn-submit-builder:hover {
border-color: #007bff;
}

#btn-submit-builder {
width: 100%;
font-weight: Bold;
border: 1px solid #2A2A2A;
}
1 change: 1 addition & 0 deletions frontend/src/components/query_builder/BuilderSelection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const BuilderSelection = ({ finder, setQuery, currentWord }) => {
(element) => (
<ListGroup.Item key={uuid()}>
<Button
style={{ fontSize: '13px', minWidth: '90px' }}
size="small"
onClick={handleClick}
data-val={element}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/icons/IconPlay.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';

const IconPlay = (props) => (
// eslint-disable-next-line react/jsx-props-no-spreading
<svg fill="currentcolor" version="1.1" xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 32 32" {...props}>
<svg fill="currentcolor" version="1.1" xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 32 32" {...props}>
<path d="M29.152 13.92c-0.352-0.576-0.864-1.056-1.376-1.408l-18.944-11.936c-1.248-0.736-2.816-0.768-4.128-0.032-1.28 0.736-2.080 2.080-2.080 3.552v23.776c0 1.472 0.8 2.848 2.080 3.616 0.608 0.352 1.312 0.512 2.016 0.512 0.032 0 0.032 0 0.032 0 0.736 0 1.44-0.16 2.144-0.576l18.816-11.872c1.952-1.184 2.592-3.68 1.44-5.632zM21.12 16.032l-12 7.584v-15.2l12 7.616z" />
</svg>
);
Expand Down
6 changes: 5 additions & 1 deletion frontend/src/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ a[data-toggle="collapse"] {
}

.input-style{
width: 97% !important;
width: 100% !important;
}

/* code mirror style bug fix code */
Expand Down Expand Up @@ -419,6 +419,10 @@ a[data-toggle="collapse"] {

.btn-link {
color: #c4c4c4 !important;
font-size: 13.5px;
/* background-color: red; */
padding-right: 10px;
padding-left: 10px;
}
.btn-link:hover {
color: #2756FF !important;
Expand Down