Skip to content

Commit

Permalink
Initial layout for overlay screen
Browse files Browse the repository at this point in the history
  • Loading branch information
bgashler1 committed Jan 21, 2017
1 parent fe42758 commit c4a8ff1
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 16 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 28 additions & 9 deletions src/vs/workbench/parts/welcomeOverlay/browser/welcomeOverlay.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
height: 100%;
width: 100%;
z-index: 9999;
background: rgba(0,0,0,0.5);
background: rgba(0,0,0,0.52);
font-size: 10px;
}

.vs .monaco-workbench > .welcomeOverlay {
background: rgba(255,255,255,.52);
}

#workbench\.parts\.editor {
Expand All @@ -27,8 +32,15 @@
}

.monaco-workbench > .welcomeOverlay > .key {
font-family: "Lucida Grande", sans-serif;
font-size: 20px;
font-size: 1.8em;
}

.monaco-workbench > .welcomeOverlay > .key {
color: #000;
}

.vs-dark .monaco-workbench > .welcomeOverlay > .key,
.vs-dark .monaco-workbench > .welcomeOverlay > .key {
color: #FFF;
}

Expand Down Expand Up @@ -104,7 +116,7 @@

.monaco-workbench > .welcomeOverlay > .key.commandPalette {
position: absolute;
top: 42px;
top: 210px;
left: 50%;
}

Expand All @@ -125,8 +137,15 @@
.monaco-workbench > .welcomeOverlay > .commandPalettePlaceholder {
position: absolute;
top: 2px;
left: calc(50% - 200px);
width: 400px;
height: 26px;
border: 3px dashed white;
}
left: calc(50% - 193px);
width: 386px;
height: 197px;
background-image: url('media/commandpalette.svg');
background-repeat: no-repeat;
background-size: 100%;
}

.vs-dark .monaco-workbench > .welcomeOverlay > .commandPalettePlaceholder,
.hc-black .monaco-workbench > .welcomeOverlay > .commandPalettePlaceholder {
background-image: url('media/commandpalette-dark.svg');
}
14 changes: 7 additions & 7 deletions src/vs/workbench/parts/welcomeOverlay/browser/welcomeOverlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,27 +33,27 @@ const keys: Key[] = [
{
id: 'explorer',
arrow: '←',
label: localize('welcomeOverlay.explorer', "Browse Files")
label: localize('welcomeOverlay.explorer', "Browse files")
},
{
id: 'search',
arrow: '←',
label: localize('welcomeOverlay.search', "Search Files for Text")
label: localize('welcomeOverlay.search', "Search files for text")
},
{
id: 'git',
arrow: '←',
label: localize('welcomeOverlay.git', "View Local Changes")
label: localize('welcomeOverlay.git', "View local changes")
},
{
id: 'debug',
arrow: '←',
label: localize('welcomeOverlay.debug', "Launch and Debug")
label: localize('welcomeOverlay.debug', "Launch and debug")
},
{
id: 'extensions',
arrow: '←',
label: localize('welcomeOverlay.extensions', "Manage Extensions")
label: localize('welcomeOverlay.extensions', "Manage extensions")
},
// {
// id: 'watermark',
Expand All @@ -64,7 +64,7 @@ const keys: Key[] = [
{
id: 'problems',
arrow: '⤹',
label: localize('welcomeOverlay.problems', "Open Errors and Warnings")
label: localize('welcomeOverlay.problems', "Open errors and warnings")
},
// {
// id: 'openfile',
Expand All @@ -76,7 +76,7 @@ const keys: Key[] = [
{
id: 'commandPalette',
arrow: '↖',
label: localize('welcomeOverlay.commandPalette', "Find and Run All Commands"),
label: localize('welcomeOverlay.commandPalette', "Find and run all commands"),
command: ShowAllCommandsAction.ID
},
];
Expand Down

0 comments on commit c4a8ff1

Please sign in to comment.