Skip to content
Merged
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
37 changes: 20 additions & 17 deletions packages/core/src/browser/style/alert-messages.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@

/* message container */
.theia-alert-message-container {
flex: 1;
padding: 10px;
padding-block: calc(var(--theia-ui-padding) * 2);
padding-inline: calc(var(--theia-ui-padding) * 3) max(var(--theia-scrollbar-width), var(--theia-ui-padding));
flex-shrink: 0;
}

.theia-alert-message-container i {
transform: translateY(2px);
padding-right: 3px;
.theia-alert-message-container .theia-message-header {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: var(--theia-ui-padding);
}

.theia-alert-message-container .theia-message-header,
Expand All @@ -31,32 +34,32 @@
overflow: hidden;
}

/* base alert message */
.theia-alert {
display: grid;
gap: var(--theia-ui-padding);
border-radius: 4px;
padding: calc(var(--theia-ui-padding) * 2);
border: var(--theia-border-width) solid var(--theia-inputValidation-infoBorder);
line-height: 16px;
}

/* information message */
.theia-info-alert {
background-color: var(--theia-inputValidation-infoBackground);
border: var(--theia-border-width) solid
var(--theia-inputValidation-infoBorder);
border-radius: 4px;
color: var(--theia-inputValidation-infoForeground);
padding: 10px;
}

/* warning message */
.theia-warning-alert {
border-color: var(--theia-inputValidation-warningBorder);
background-color: var(--theia-inputValidation-warningBackground);
border: var(--theia-border-width) solid
var(--theia-inputValidation-warningBorder);
border-radius: 4px;
color: var(--theia-inputValidation-warningForeground);
padding: 10px;
}

/* error message */
.theia-error-alert {
border-color: var(--theia-inputValidation-errorBorder);
background-color: var(--theia-inputValidation-errorBackground);
border: var(--theia-border-width) solid
var(--theia-inputValidation-errorBorder);
border-radius: 4px;
color: var(--theia-inputValidation-errorForeground);
padding: 10px;
}
3 changes: 1 addition & 2 deletions packages/core/src/browser/style/breadcrumbs.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
height: 100%;
color: var(--theia-breadcrumb-foreground);
outline: none;
padding: 0 0.3rem 0 0.25rem;
}

.theia-breadcrumbs .theia-breadcrumb-item:hover {
Expand All @@ -64,7 +63,7 @@
align-items: center;
width: 0.8em;
text-align: right;
padding-left: 4px;
padding-inline: 3px 6px;
}

.theia-breadcrumbs .theia-breadcrumb-item::before {
Expand Down
5 changes: 3 additions & 2 deletions packages/core/src/browser/style/dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@
font-size: var(--theia-ui-font-size1);
background-color: var(--theia-statusBar-background);
color: var(--theia-statusBar-foreground);
padding: 0 calc(var(--theia-ui-padding) * 2);
min-height: 24px;
padding-left: calc(var(--theia-ui-padding) * 2);
padding-right: var(--theia-ui-padding);
min-height: 30px;
}

.lm-Widget.dialogOverlay .dialogTitle i.closeButton {
Expand Down
8 changes: 5 additions & 3 deletions packages/core/src/browser/style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,10 @@ blockquote {
font-family: var(--theia-ui-font-family);
font-size: var(--theia-ui-font-size1);
line-height: var(--theia-content-line-height);
padding-left: 5px;
padding: 3px 0 3px 8px;
border-radius: 2px;
min-height: 28px;
box-sizing: border-box;
}

.theia-input[type="text"] {
Expand Down Expand Up @@ -248,7 +250,7 @@ blockquote {

.action-label {
padding: 2px;
border-radius: 5px;
border-radius: 4px;
cursor: pointer;
}

Expand All @@ -262,7 +264,7 @@ blockquote {
min-width: 65px;
outline: none;
cursor: pointer;
padding: 4px 9px;
padding: 6px 9px;
margin-left: calc(var(--theia-ui-padding) * 2);
border-radius: 2px;
}
Expand Down
3 changes: 3 additions & 0 deletions packages/core/src/browser/style/progress-bar.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
********************************************************************************/

.theia-progress-bar-container {
position: absolute;
top: -2px;
left: 0;
width: 100%;
height: 2px;
}
Expand Down
5 changes: 1 addition & 4 deletions packages/core/src/browser/style/select-component.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@
overflow: hidden;
}

.theia-select-component:focus {
outline-color: var(--theia-focusBorder);
}

.theia-select-component-dropdown {
font-family: var(--theia-ui-font-family);
font-size: var(--theia-ui-font-size1);
Expand All @@ -57,6 +53,7 @@
user-select: none;
overflow: auto;
border-radius: 2px;
margin-top: 2px;
}

.theia-select-component-dropdown .theia-select-component-option {
Expand Down
24 changes: 10 additions & 14 deletions packages/core/src/browser/style/sidepanel.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
.lm-TabBar.theia-app-sides {
display: block;
color: var(--theia-activityBar-inactiveForeground);
background: var(--theia-activityBar-background);
font-size: var(--theia-ui-font-size1);
min-width: var(--theia-private-sidebar-tab-width);
max-width: var(--theia-private-sidebar-tab-width);
Expand All @@ -52,7 +51,6 @@

.lm-TabBar.theia-app-sides .lm-TabBar-tab {
position: relative;
background: var(--theia-activityBar-background);
flex-direction: column;
justify-content: center;
align-items: center;
Expand Down Expand Up @@ -146,6 +144,14 @@
max-width: var(--theia-private-sidebar-tab-width);
}

#theia-left-content-panel.theia-mod-collapsed .theia-app-sidebar-container {
border-right: none;
}

#theia-right-content-panel.theia-mod-collapsed .theia-app-sidebar-container {
border-left: none;
}

#theia-left-content-panel > .lm-Panel {
border-right: var(--theia-panel-border-width) solid
var(--theia-activityBar-border);
Expand Down Expand Up @@ -326,21 +332,17 @@
|----------------------------------------------------------------------------*/

.theia-sidepanel-toolbar {
min-height: calc(
var(--theia-private-horizontal-tab-height) +
var(--theia-private-horizontal-tab-scrollbar-rail-height) / 2
);
display: flex;
padding-left: 5px;
align-items: center;
min-height: var(--theia-horizontal-toolbar-height);
background-color: var(--theia-sideBar-background);
overflow: hidden;
}

.theia-sidepanel-toolbar .theia-sidepanel-title {
color: var(--theia-settings-headerForeground);
flex: 1;
margin-left: 14px;
margin-left: calc(var(--theia-ui-padding) * 3);
text-transform: uppercase;
font-size: var(--theia-ui-font-size0);
min-width: 1rem;
Expand All @@ -350,12 +352,6 @@
color: var(--theia-icon-foreground);
}

.theia-sidepanel-toolbar .lm-TabBar-toolbar .item > div {
height: 18px;
width: 18px;
background-repeat: no-repeat;
}

.noWrapInfo {
white-space: nowrap;
overflow: hidden;
Expand Down
4 changes: 4 additions & 0 deletions packages/core/src/browser/style/split-widget.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
min-height: var(--theia-content-line-height);
}

.lm-SplitPanel-handle {
z-index: 6; /* Upper than the minimap */
}

.theia-split-widget > .lm-SplitPanel > .lm-SplitPanel-handle {
box-sizing: border-box;
}
Expand Down
43 changes: 23 additions & 20 deletions packages/core/src/browser/style/status-bar.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,60 +37,63 @@ body.theia-no-open-workspace #theia-statusBar {
flex: 1;
display: flex;
align-items: stretch;
gap: var(--theia-ui-padding)
}

#theia-statusBar .area.left {
justify-content: flex-start;
padding-left: var(--theia-ui-padding);
}

#theia-statusBar .area.right {
justify-content: flex-end;
padding-right: calc(var(--theia-ui-padding) * 2);
padding-right: var(--theia-ui-padding);
}

#theia-statusBar .area .element {
color: var(--theia-statusBar-foreground);
display: flex;
align-items: center;
justify-content: center;
font-size: var(--theia-statusBar-font-size);
min-width: var(--theia-statusBar-height);
}

#theia-statusBar .area.left .element.has-background {
margin-left: 0px;
margin-right: 3px;
padding-left: 7px;
padding-right: 7px;
padding-inline: var(--theia-ui-padding);
}
#theia-statusBar .area .element>* {
margin-left: calc(var(--theia-ui-padding)/2);

#theia-statusBar .area.left .element.has-background {
margin-left: calc(-1 * var(--theia-ui-padding));
}

/* Icons */
#theia-statusBar .area .element .codicon {
/* Scaling down codicons from 16 to 14 pixels */
font-size: 14px;
margin: auto;
}

#theia-statusBar .area .element > *:last-child {
margin-right: calc(var(--theia-ui-padding) / 2);
/* Icon with text */
#theia-statusBar .area .element .codicon:has(+ span) {
margin-inline: calc(var(--theia-ui-padding) / 2);
}

.theia-mod-offline #theia-statusBar {
background-color: var(--theia-statusBar-offlineBackground) !important;
/* Text labels */
#theia-statusBar .area .element>span:not(.codicon) {
margin-inline: calc(var(--theia-ui-padding) / 2)
}

.theia-mod-offline #theia-statusBar .area .element {
color: var(--theia-statusBar-offlineForeground) !important;
#theia-statusBar .area .element>span:not(.codicon):empty {
display: none;
}

#theia-statusBar .area.left .element:first-child:not(.has-background) {
margin-left: calc(var(--theia-ui-padding) * 3);
}
#theia-statusBar .area.left .element {
margin-right: var(--theia-ui-padding);
.theia-mod-offline #theia-statusBar {
background-color: var(--theia-statusBar-offlineBackground) !important;
}

#theia-statusBar .area.right .element {
margin-left: var(--theia-ui-padding);
.theia-mod-offline #theia-statusBar .area .element {
color: var(--theia-statusBar-offlineForeground) !important;
}

#theia-statusBar .area.right .element.compact-right,
Expand Down
Loading
Loading