Files
azuredatastudio/src/sql/workbench/browser/modelComponents/media/card.css
Kim Santiago ddc8c00090 Data workspace projects changes (#13466)
* Fix project context menu actions (#12541)

* delete works again

* make fewer changes

* update all sql db project commands

* cleanup

* Remove old projects view (#12563)

* remove old projects view from file explorer view

* fix tests failing

* remove projects in open folder opening up in old view

* Update db reference dialog to show projects in the workspace (#12580)

* update database reference dialog to show projects in the workspace in the project dropdown

* remove workspace stuff from sql projects extension

* undo change

* add class that implements IExtension

* undo a change

* update DataWorkspaceExtension to take workspaceService as a parameter

* add type

* Update sql database project commands (#12595)

* remove sql proj's open and create new project from comman palette

* hook up create project from database to data workspace

* rename the remaining import databases to create project from database

* remove open, new, and close commands

* expose addProjectsToWorkspace() in IExtension instead of calling command

* Addressing comments

* fix failing sql project tests (#12651)

* update SSDT projects opened in projects viewlet (#12669)

* fix action not refreshing the tree issue (#12692)

* fix adding project references in new projects viewlet (#12688)

* Remove old projects tree provider (#12702)

* Remove old projects tree provider and fix tests

* formatting

* update refreshProjectsTree() to accept workspaceTreeItem()

* Cleanup ProjectsController (#12718)

* remove openProject from ProjectController and some cleanup

* rename

* add project and open project dialogs (#12729)

* empty dialogs

* wip

* new project dialog implementation

* revert gitattributes

* open project dialog

* implement add project

* remove icon helper

* refactor

* revert script change

* adjust views

* more updates

* make data-workspace a builtin extension

* show the view only when project provider is detected (#12819)

* only show the view when proj provider is available

* update

* fix sql project tests after merge (#12793)

* Update dialogs to be closer to mockups (#12879)

* small UI changes to dialogs

* center radio card group text

* Create workspace if needed when opening/new project (#12930)

* empty dialogs

* wip

* new project dialog implementation

* revert gitattributes

* open project dialog

* implement add project

* remove icon helper

* refactor

* revert script change

* create workspace

* initial changes

* create new workspace working

* fix tests

* cleanup

* remove showWorkspaceRequiredNotification()

* Add test for no workspace open

* update blue buttons

* move loading temp project to activate() instead of workspaceService constructor

* move workspace creation warning message to before project is created

* pass uri to createWorkspace

* add tests

Co-authored-by: Alan Ren <alanren@microsoft.com>

* Additional create workspace changes (#13004)

* Dialogs workspace updates (#13010)

* adding workspace text boxes

* match new project dialog to mockups

* Add validation error message for workspace file

* add enterWorkspace api

* add warning message for opening workspace

* cleanup

* update commands to remove project so they're more generic

* remove 'empty' from string

* Move default project location setting to data workspace extension (#13022)

* remove project location setting and notification from sql database projects extension

* add default project location setting to data workspace extension

* fix typo

* Add back project name incrementing

* other merge fixes

* fix strings from other PR

* default to last opened directory instead of home directory if no specified default location

* A few small updates (#13092)

* fix build error

* update title for inputboxes

* add missing file

* Add tests for data workspace dialogs (#13324)

* add tests for dialogs

* create helper functions

* New project dialog workspace inputbox fixes (#13407)

* workspace inputbox fixes

* fix folder icons

* Update package.jsons and readme (#13451)

* update package.jsons

* update readme

* add workspace information to open existing dialog (#13455)

Co-authored-by: Alan Ren <alanren@microsoft.com>
2020-11-18 16:13:43 -08:00

259 lines
5.1 KiB
CSS

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.horizontal .model-card {
position: relative;
display: inline-block;
height: 90%;
width: auto;
margin: 15px;
border-width: 1px;
border-style: solid;
text-align: left;
vertical-align: top;
border-color: rgb(214, 214, 214);
}
.horizontal .model-card .card-content {
position: relative;
display: inline-block;
height: auto;
width: auto;
padding: 10px 45px 20px 45px;
min-height: 30px;
min-width: 30px;
}
.horizontal .model-card .card-vertical-button,
.horizontal .model-card .text-container {
position: relative;
display: flex;
flex-direction: column;
text-align: center;
width: auto;
padding: 5px 5px 5px 5px;
display: flex;
justify-content: center;
align-items: center;
}
.horizontal .model-card .card-label {
font-size: 12px;
font-weight: bold;
}
.horizontal .model-card .card-value {
font-size: 12px;
line-height: 18px;
}
.horizontal .model-card .icon-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
flex-grow: 1;
border-bottom-width: 1px;
border-bottom-style: solid;
padding: 10px 0px 10px 0px;
border-color: rgb(214, 214, 214);
}
.horizontal .model-card .icon, .model-portal-card .cardIcon {
display: inline-block;
flex-grow: 1;
width: 100%;
height: 100%;
max-width: 50px;
max-height: 50px;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
.horizontal .model-card .card-status {
position: absolute;
top: 7px;
left: 5px;
overflow: hidden;
width: 22px;
height: 22px;
}
.horizontal .model-card .status-content {
position: absolute;
top: 0px;
right: 0px;
min-width: 16px;
height: 16px;
border-radius: 8px;
text-align: center;
}
.horizontal .model-card-list-item .selection-indicator-container,
.horizontal .model-card .selection-indicator-container {
position: absolute;
top: 5px;
right: 5px;
overflow: hidden;
width: 16px;
height: 16px;
border-radius: 50%;
background-color: white;
border-width: 1px;
border-color: rgb(0, 120, 215);
border-style: solid;
}
.horizontal .model-card-list-item .selection-indicator-container,
.horizontal .model-card .selection-indicator-container {
position: absolute;
overflow: hidden;
width: 16px;
height: 16px;
border-radius: 50%;
background-color: white;
border-width: 1px;
border-color: rgb(214, 214, 214);
border-style: solid;
}
.horizontal .model-card-list-item .selection-indicator-container {
top: 10px;
right: 10px;
}
.horizontal .model-card .selection-indicator-container {
top: 5px;
right: 5px;
}
.horizontal .model-card-list-item .selection-indicator,
.horizontal .model-card .selection-indicator {
margin: 4px;
width: 8px;
height: 8px;
border-radius: 50%;
background-color: rgb(0, 120, 215);
}
.horizontal .model-card .model-table {
border-spacing: 5px;
}
.horizontal .model-table .table-row {
width: auto;
clear: both;
}
.horizontal .model-table .table-cell {
vertical-align: top;
padding: 7px;
}
.horizontal .model-table a {
cursor: pointer;
text-decoration: underline
}
.horizontal .model-card-list-item {
display: inline-block;
height: 100%;
width: 100%;
margin: 5px 0px 5px 0px;
border-width: 1px;
border-style: solid;
text-align: left;
vertical-align: top;
}
.horizontal .model-card-list-item .list-item-content {
height: auto;
padding: 5px 26px 5px 5px;
min-height: 30px;
min-width: 300px;
}
.horizontal .model-card-list-item .list-item-icon {
background-position: 2px 2px;
padding-left: 22px;
font-size: 15px;
background-repeat: no-repeat;
background-size: 16px 16px;
}
.horizontal .model-card-list-item .list-item-description {
padding-left: 22px;
}
.horizontal .model-card-description-container {
border-top-width: 1px;
border-top-style: solid;
border-color: rgb(214, 214, 214);
padding: 5px;
}
.horizontal .model-card-list-item-description {
text-align: left;
}
.horizontal .model-card-list-item-description-value {
float: right;
}
.horizontal .card-group {
display: flex;
flex-flow: row;
}
.horizontal .model-card-description-table {
margin-bottom: 10px;
}
.horizontal .model-card-description-label-column {
text-align: left;
width: 100%;
}
.horizontal .model-card-description-value-column {
text-align: right;
white-space: nowrap;
}
.horizontal .model-left-icon-card {
display: flex;
max-width: 365px;
height: calc(100% - 35px);
padding: 20px 15px 15px;
}
.horizontal .model-left-icon-card .left-icon-container {
height: 35px;
width: 35px;
flex: 0 0 35px;
}
.horizontal .model-left-icon-card .detail-container {
display: flex;
flex-direction: column;
flex: 1 1 0%;
padding: 0px 15px;
width: 77%;
}
.horizontal .model-left-icon-card .card-label {
margin-bottom: 12px;
font-weight: bold;
font-size: 14px;
}
.horizontal .model-left-icon-card .card-description {
margin-bottom: 12px;
font-size: 100%;
}