mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Update extension border / line styling (#17059)
* updated border styling of tables * reducing border thickness * fixing styling for dark mode * fixing for dark mode * removing box shadow from checkbox
This commit is contained in:
@@ -555,7 +555,7 @@ export class DashboardWidget {
|
|||||||
justifyContent: 'flex-start',
|
justifyContent: 'flex-start',
|
||||||
}).withProps({
|
}).withProps({
|
||||||
CSSStyles: {
|
CSSStyles: {
|
||||||
'border': '1px solid',
|
'border': '1px solid rgba(0, 0, 0, 0.1)',
|
||||||
'padding': '15px'
|
'padding': '15px'
|
||||||
}
|
}
|
||||||
}).component();
|
}).component();
|
||||||
@@ -812,7 +812,7 @@ export class DashboardWidget {
|
|||||||
justifyContent: 'flex-start',
|
justifyContent: 'flex-start',
|
||||||
}).withProps({
|
}).withProps({
|
||||||
CSSStyles: {
|
CSSStyles: {
|
||||||
'border': '1px solid',
|
'border': '1px solid rgba(0, 0, 0, 0.1)',
|
||||||
'padding': '15px'
|
'padding': '15px'
|
||||||
}
|
}
|
||||||
}).component();
|
}).component();
|
||||||
|
|||||||
@@ -446,12 +446,13 @@ export class DatabaseBackupPage extends MigrationWizardPage {
|
|||||||
'font-size': '13px',
|
'font-size': '13px',
|
||||||
'font-weight': 'bold',
|
'font-weight': 'bold',
|
||||||
'text-align': 'left',
|
'text-align': 'left',
|
||||||
'border-bottom': '1px solid',
|
'box-shadow': 'inset 0px -1px 0px #F3F2F1',
|
||||||
|
|
||||||
};
|
};
|
||||||
const rowCssStyle: azdata.CssStyles = {
|
const rowCssStyle: azdata.CssStyles = {
|
||||||
'border': 'none',
|
'border': 'none',
|
||||||
'font-size': '13px',
|
'font-size': '13px',
|
||||||
'border-bottom': '1px solid',
|
'box-shadow': 'inset 0px -1px 0px #F3F2F1',
|
||||||
};
|
};
|
||||||
|
|
||||||
const networkShareTableText = this._view.modelBuilder.text()
|
const networkShareTableText = this._view.modelBuilder.text()
|
||||||
|
|||||||
@@ -11,25 +11,16 @@ import * as constants from '../constants/strings';
|
|||||||
import { IconPath, IconPathHelper } from '../constants/iconPathHelper';
|
import { IconPath, IconPathHelper } from '../constants/iconPathHelper';
|
||||||
import { debounce } from '../api/utils';
|
import { debounce } from '../api/utils';
|
||||||
|
|
||||||
const headerLeft: azdata.CssStyles = {
|
const styleLeft: azdata.CssStyles = {
|
||||||
'border': 'none',
|
'border': 'none',
|
||||||
'text-align': 'left',
|
'text-align': 'left',
|
||||||
'white-space': 'nowrap',
|
'white-space': 'nowrap',
|
||||||
'text-overflow': 'ellipsis',
|
'text-overflow': 'ellipsis',
|
||||||
'overflow': 'hidden',
|
'overflow': 'hidden',
|
||||||
'border-bottom': '1px solid'
|
'box-shadow': '0px -1px 0px 0px rgba(243, 242, 241, 1) inset'
|
||||||
};
|
};
|
||||||
|
|
||||||
const headerRight: azdata.CssStyles = {
|
const styleCheckBox: azdata.CssStyles = {
|
||||||
'border': 'none',
|
|
||||||
'text-align': 'right',
|
|
||||||
'white-space': 'nowrap',
|
|
||||||
'text-overflow': 'ellipsis',
|
|
||||||
'overflow': 'hidden',
|
|
||||||
'border-bottom': '1px solid'
|
|
||||||
};
|
|
||||||
|
|
||||||
const styleLeft: azdata.CssStyles = {
|
|
||||||
'border': 'none',
|
'border': 'none',
|
||||||
'text-align': 'left',
|
'text-align': 'left',
|
||||||
'white-space': 'nowrap',
|
'white-space': 'nowrap',
|
||||||
@@ -43,6 +34,7 @@ const styleRight: azdata.CssStyles = {
|
|||||||
'white-space': 'nowrap',
|
'white-space': 'nowrap',
|
||||||
'text-overflow': 'ellipsis',
|
'text-overflow': 'ellipsis',
|
||||||
'overflow': 'hidden',
|
'overflow': 'hidden',
|
||||||
|
'box-shadow': '0px -1px 0px 0px rgba(243, 242, 241, 1) inset'
|
||||||
};
|
};
|
||||||
|
|
||||||
export class DatabaseSelectorPage extends MigrationWizardPage {
|
export class DatabaseSelectorPage extends MigrationWizardPage {
|
||||||
@@ -186,7 +178,7 @@ export class DatabaseSelectorPage extends MigrationWizardPage {
|
|||||||
this._databaseTableValues.push([
|
this._databaseTableValues.push([
|
||||||
{
|
{
|
||||||
value: false,
|
value: false,
|
||||||
style: styleLeft,
|
style: styleCheckBox,
|
||||||
enabled: selectable
|
enabled: selectable
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -250,7 +242,7 @@ export class DatabaseSelectorPage extends MigrationWizardPage {
|
|||||||
width: 20,
|
width: 20,
|
||||||
isReadOnly: false,
|
isReadOnly: false,
|
||||||
showCheckAll: true,
|
showCheckAll: true,
|
||||||
headerCssStyles: headerLeft,
|
headerCssStyles: styleCheckBox
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: constants.DATABASE,
|
displayName: constants.DATABASE,
|
||||||
@@ -259,28 +251,28 @@ export class DatabaseSelectorPage extends MigrationWizardPage {
|
|||||||
valueType: azdata.DeclarativeDataType.string,
|
valueType: azdata.DeclarativeDataType.string,
|
||||||
width: '100%',
|
width: '100%',
|
||||||
isReadOnly: true,
|
isReadOnly: true,
|
||||||
headerCssStyles: headerLeft
|
headerCssStyles: styleLeft
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: constants.STATUS,
|
displayName: constants.STATUS,
|
||||||
valueType: azdata.DeclarativeDataType.string,
|
valueType: azdata.DeclarativeDataType.string,
|
||||||
width: 100,
|
width: 100,
|
||||||
isReadOnly: true,
|
isReadOnly: true,
|
||||||
headerCssStyles: headerLeft
|
headerCssStyles: styleLeft
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: constants.SIZE,
|
displayName: constants.SIZE,
|
||||||
valueType: azdata.DeclarativeDataType.string,
|
valueType: azdata.DeclarativeDataType.string,
|
||||||
width: 125,
|
width: 125,
|
||||||
isReadOnly: true,
|
isReadOnly: true,
|
||||||
headerCssStyles: headerRight
|
headerCssStyles: styleRight
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: constants.LAST_BACKUP,
|
displayName: constants.LAST_BACKUP,
|
||||||
valueType: azdata.DeclarativeDataType.string,
|
valueType: azdata.DeclarativeDataType.string,
|
||||||
width: 150,
|
width: 150,
|
||||||
isReadOnly: true,
|
isReadOnly: true,
|
||||||
headerCssStyles: headerLeft
|
headerCssStyles: styleLeft
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user