Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private/gokay/separate js #9442

Merged
merged 13 commits into from
Jul 29, 2024
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
5 changes: 3 additions & 2 deletions browser/admin/src/AdminClusterOverview.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ var AdminClusterOverview = AdminSocketBase.extend({
var cpuSubTitle = document.createElement('p');
cpuSubTitle.className = 'tile is-fullwidth subtitle';
cpuSubTitle.textContent = _('CPU History');
cpuSubTitle.setAttribute('style', 'margin-bottom: 0rem !important');
cpuSubTitle.style.marginBottom = '0rem !important';

mainTile.appendChild(cpuSubTitle);

Expand All @@ -114,7 +114,8 @@ var AdminClusterOverview = AdminSocketBase.extend({
var memorySubTitle = document.createElement('p');
memorySubTitle.className = 'tile is-fullwidth subtitle';
memorySubTitle.textContent = _('Memory History');
memorySubTitle.setAttribute('style', 'margin-bottom: 0rem !important; margin-top:1.5rem');
memorySubTitle.style.marginBottom = '0rem !important';
memorySubTitle.style.marginTop = '1.5rem';

mainTile.appendChild(memorySubTitle);

Expand Down
60 changes: 51 additions & 9 deletions browser/css/cool.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,42 @@
/* Ruler */
--ruler-height: 20px;
}

html {
height: 100%;
}

body {
margin: 0;
overflow: hidden;
overscroll-behavior-y: none; /* disable the pull to reload gesture */
background: var(--color-main-background);
touch-action: none;
line-height: normal;
height: 100%;
display: flex;
flex-direction: column;
user-select: none;
}

#insertgraphic {
position: fixed;
top: -100em;
}

#selectbackground {
position: fixed;
top: -100em;
}

#wopi-host-id, #proxy-prefix-id {
display: none;
}

.about-dialog-info-div {
margin-inline-end: auto;
}

.focus-hidden:focus {
outline: none;
}
Expand Down Expand Up @@ -272,15 +308,6 @@
cursor: move;
}

body {
margin: 0;
overflow: hidden;
overscroll-behavior-y: none; /* disable the pull to reload gesture */
background: var(--color-main-background);
touch-action: none;
line-height: normal;
}

#presentation-controls-wrapper {
background: var(--color-main-background);
position: relative;
Expand Down Expand Up @@ -366,6 +393,7 @@ nav.spreadsheet-color-indicator ~ #sidebar-dock-wrapper {
z-index: 1001;
transform: scale(1);
transition: transform 0.5s;
display: none;
}

#mobile-edit-button.impress.portrait{
Expand Down Expand Up @@ -496,6 +524,10 @@ nav.spreadsheet-color-indicator ~ #sidebar-dock-wrapper {
border-color: transparent var(--color-background-lighter) transparent transparent;
}

#mobile-wizard {
display: none;
}

.mobile-wizard-content .cool-annotation {
max-width: none;
}
Expand Down Expand Up @@ -578,6 +610,12 @@ nav.spreadsheet-color-indicator ~ #sidebar-dock-wrapper {

#main-document-content {
z-index: 0;
display: flex;
flex-direction: row;
flex: 1;
margin: 0;
padding: 0;
min-height: 0;
}

.cool-annotation-collapsed-show .cool-annotation-img {
Expand Down Expand Up @@ -1022,6 +1060,10 @@ nav.spreadsheet-color-indicator ~ #sidebar-dock-wrapper {
flex-grow: 1;
}

#about-dialog {
display: none;
}

#about-dialog-container, #about-dialog-header {
display: flex;
flex-flow: row nowrap;
Expand Down
10 changes: 6 additions & 4 deletions browser/css/device-mobile.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ html[dir='rtl'] .sub-menu-arrow {

/* Related to cool.css */
#toolbar-hamburger {
width: 36px;
width: 36px !important;
height: 42px;
position: relative;
z-index: 1002;
Expand All @@ -37,7 +37,7 @@ html[dir='rtl'] .sub-menu-arrow {

/* Related to back button */
#toolbar-mobile-back {
width: 42px;
width: 42px !important;
position: relative;
z-index: 1003;
}
Expand Down Expand Up @@ -75,7 +75,7 @@ html[dir='rtl'] .sub-menu-arrow {
}

.main-menu-btn {
display: inline-block;
display: inline-block !important;
}

.main-nav {
Expand All @@ -87,7 +87,7 @@ html[dir='rtl'] .sub-menu-arrow {
z-index: 1010;
bottom: 34px !important;
background-color: #00000050;
display: none;
display: none !important;
}

#main-menu {
Expand Down Expand Up @@ -209,10 +209,12 @@ nav:not(.spreadsheet-color-indicator) ~ #toolbar-wrapper #toolbar-up.w2ui-toolba
}
#toolbar-search {
height: 39px !important;
display: none;
}
#toolbar-up #fullscreen{display: none;}
#toolbar-down {
border-top: 1px solid var(--color-border) !important;
display: none;
}
.ui-scroll-wrapper {
overflow-x: scroll !important;
Expand Down
189 changes: 0 additions & 189 deletions browser/css/override-vex.css

This file was deleted.

1 change: 1 addition & 0 deletions browser/css/spreadsheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@
padding: 4px;
background-color: var(--color-main-background);
border-top: 1px solid var(--color-border);
display: none;
}

#formulabar > .root-container > .formulabar {
Expand Down
1 change: 1 addition & 0 deletions browser/css/toolbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@
margin-top: -1px;
border-bottom: none;
box-sizing: border-box;
display: none;
}

#presentation-buttons-toolbar {
Expand Down
Loading
Loading