Skip to content

Commit ac3162a

Browse files
author
Marosvölgyi Zoltán
committed
Design improvements
1 parent 6440999 commit ac3162a

File tree

8 files changed

+31
-16
lines changed

8 files changed

+31
-16
lines changed

apps/sensenet/src/components/Breadcrumbs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function Breadcrumbs<T extends GenericContent>(props: BreadcrumbProps<T>)
4545
setIsContextMenuOpened(true)
4646
ev.preventDefault()
4747
}}>
48-
<span style={{ textTransform: 'none', fontSize: '16px' }}>{item.displayName}</span>
48+
<span style={{ textTransform: 'none', fontSize: '13px' }}>{item.displayName}</span>
4949
</Button>
5050
</Tooltip>
5151
</DropFileArea>

apps/sensenet/src/components/document-viewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const useStyles = makeStyles((theme: Theme) => {
4343
left: 0,
4444
position: 'absolute',
4545
padding: '20px',
46-
bottom: 0,
46+
top: 0,
4747
textAlign: 'right',
4848
right: '1%',
4949
},

apps/sensenet/src/components/editor/sn-monaco-editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const useStyles = makeStyles(() => {
4040
left: 0,
4141
position: 'absolute',
4242
padding: '20px',
43-
bottom: 0,
43+
top: 0,
4444
textAlign: 'right',
4545
right: '1%',
4646
},

apps/sensenet/src/components/view-controls/common/styles.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { globals } from '../../../globalStyles'
44
const useStyles = makeStyles(() => {
55
return createStyles({
66
grid: {
7-
padding: '14px 14px 0 134px',
7+
padding: '14px 14px 0 14px',
88
overflowY: 'auto',
99
maxWidth: '100%',
1010
maxHeight: `calc(100% - ${globals.common.formActionButtonsHeight}px - ${globals.common.formTitleHeight}px)`,
@@ -14,7 +14,7 @@ const useStyles = makeStyles(() => {
1414
left: 'auto',
1515
position: 'absolute',
1616
padding: '20px',
17-
bottom: 0,
17+
top: 0,
1818
right: '1%',
1919
},
2020
})

apps/sensenet/src/components/wopi-page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const useStyles = makeStyles(() => {
2020
left: 0,
2121
position: 'absolute',
2222
padding: '20px',
23-
bottom: 0,
23+
top: 0,
2424
textAlign: 'right',
2525
right: '1%',
2626
},

apps/sensenet/src/style.css

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,17 +105,28 @@ SimpleTree
105105
}
106106

107107
.gridTopPanel {
108-
min-height: 40px;
108+
height: 60px;
109109
padding: 10px;
110110
padding-left: 4rem;
111111
position: relative;
112112
border: 1px solid #dddddd;
113113
background-color: #f9f9f9;
114114
}
115+
.gridTopPanel .MuiSvgIcon-root {
116+
width: 18px;
117+
height: 18px;
118+
}
119+
.gridTopPanel .MuiButton-label div {
120+
font-size: 12px;
121+
text-transform: none;
122+
}
115123
.gridTopPanel .svgicon {
116124
width: 48px;
117125
height: 48px;
118126
}
127+
.gridTopPanel h1 {
128+
font-size: 16px;
129+
}
119130
.gridTopPanel a,
120131
.gridTopPanel h1,
121132
.gridTopPanel span {
@@ -184,7 +195,7 @@ SimpleTree
184195
.buttonPanel {
185196
float: right;
186197
padding-bottom: 1rem;
187-
margin-top: -2rem;
198+
margin-top: -1.7rem;
188199
}
189200
.buttonPanel .MuiListItemIcon-root {
190201
min-width: 25px !important;

packages/sn-controls-react/src/viewcontrols/browse-view.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,17 @@ const useStyles = makeStyles((theme: Theme) => {
4141
textAlign: 'right',
4242
},
4343
field: {
44-
width: '780px',
44+
minWidth: '780px',
45+
width: '80%',
4546
margin: 'auto',
4647
maxWidth: '100%',
4748
},
4849
cancel: {},
4950
advancedFieldContainer: {
50-
padding: '15px',
51-
fontSize: '18px',
52-
width: '780px',
51+
padding: '15px 10px',
52+
fontSize: '16px',
53+
minWidth: '780px',
54+
width: '100%',
5355
maxWidth: '100%',
5456
margin: 'auto',
5557
},

packages/sn-controls-react/src/viewcontrols/edit-view.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ const useStyles = makeStyles((theme: Theme) => {
4848
margin: '0 auto',
4949
},
5050
field: {
51-
width: '780px',
51+
minWidth: '780px',
52+
width: '800%',
5253
margin: 'auto',
5354
maxWidth: '100%',
5455
},
@@ -59,9 +60,10 @@ const useStyles = makeStyles((theme: Theme) => {
5960
marginRight: 20,
6061
},
6162
advancedFieldContainer: {
62-
padding: '15px 0',
63-
fontSize: '18px',
64-
width: '780px',
63+
padding: '15px 10px',
64+
fontSize: '16px',
65+
minWidth: '780px',
66+
width: '100%',
6567
maxWidth: '100%',
6668
margin: 'auto',
6769
},

0 commit comments

Comments
 (0)