8fa0bb54bd
There is still one known problem - for some reason, when a spreasheet is opened in readonly mode, the ViewRowColumnHeader request sent to server has height=0 leading to server sending no rows information back to client. Though the problem gets resolved when one scrolls the spreadsheet window, but something to fix. Change-Id: I2aefafd1a93c1bc5a9ad8581edb83018ec9a3f07
226 lines
4.2 KiB
CSS
226 lines
4.2 KiB
CSS
#document-container.spreadsheet-document {
|
|
border-top: 1px solid #B6B6B6;
|
|
top: 123px;
|
|
left: 50px;
|
|
bottom: 65px;
|
|
}
|
|
|
|
#document-container.spreadsheet-document.readonly {
|
|
top: 50px;
|
|
}
|
|
|
|
.spreadsheet-tabs-container {
|
|
margin: 0;
|
|
padding: 0;
|
|
left: 132px;
|
|
right: 0;
|
|
bottom: 33px;
|
|
position: absolute;
|
|
cursor: pointer;
|
|
height: 32px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
|
|
background-color: #efefef;
|
|
}
|
|
|
|
.spreadsheet-tab-scroll {
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
padding-bottom: 20px; /* to hide the scroolbar */
|
|
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.spreadsheet-tab {
|
|
margin: 0px;
|
|
margin-top: 2px;
|
|
margin-right: 3px;
|
|
padding-left: 9px;
|
|
padding-right: 9px;
|
|
padding-top: 3px;
|
|
padding-bottom: 3px;
|
|
|
|
font: 12px/1.5 "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
|
|
display: inline-block;
|
|
border: 1px solid darkgrey;
|
|
background-color: lightgrey;
|
|
color: black;
|
|
}
|
|
|
|
.spreadsheet-tab-selected {
|
|
background: white !important;
|
|
color: black !important;
|
|
margin-top: 0px;
|
|
padding-top: 6px;
|
|
border: 1px solid #dfdfdf;
|
|
border-top: 0px;
|
|
}
|
|
|
|
#spreadsheet-row-column-frame {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 103px;
|
|
bottom: 65px;
|
|
}
|
|
|
|
#spreadsheet-row-column-frame.readonly {
|
|
top: 30px;
|
|
}
|
|
|
|
.spreadsheet-header-corner {
|
|
border: 1px solid darkgrey;
|
|
background-color: lightgrey;
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
|
padding: 0px;
|
|
margin: 0px;
|
|
left: 0px;
|
|
top: 0;
|
|
width: 48px;
|
|
height: 19px;
|
|
}
|
|
|
|
.spreadsheet-header-columns-container {
|
|
border: 1px solid darkgrey;
|
|
background-color: lightgrey;
|
|
|
|
position: absolute;
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
left: 49px;
|
|
top: 0;
|
|
right: 0;
|
|
height: 19px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.spreadsheet-header-columns {
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-spacing: 0px !important;
|
|
position: relative;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
}
|
|
|
|
.spreadsheet-header-column {
|
|
border-right: 1px solid darkgrey;
|
|
display: inline-block;
|
|
text-align: left;
|
|
padding: 0px;
|
|
padding-top: 1px;
|
|
margin: 0px;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.spreadsheet-header-selected {
|
|
background: #3465A4; /* For browsers that do not support gradients */
|
|
background: -webkit-linear-gradient(#3465A4, #729FCF, #004586);
|
|
background: -o-linear-gradient(#3465A4, #729FCF, #004586);
|
|
background: -moz-linear-gradient(#3465A4, #729FCF, #004586);
|
|
background: linear-gradient(#3465A4, #729FCF, #004586);
|
|
color: white;
|
|
}
|
|
|
|
.spreadsheet-header-column:hover {
|
|
background-color: #DDD;
|
|
}
|
|
|
|
.spreadsheet-header-rows-container {
|
|
border: 1px solid darkgrey;
|
|
background-color: lightgrey;
|
|
|
|
position: absolute;
|
|
left: 0;
|
|
top: 20px;
|
|
width: 48px;
|
|
bottom: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.spreadsheet-header-rows {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-spacing: 0px !important;
|
|
position: relative;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
}
|
|
|
|
.spreadsheet-header-row {
|
|
border-bottom: 1px solid darkgrey;
|
|
padding: 0px;
|
|
margin: 0px;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.spreadsheet-header-row:hover {
|
|
background-color: #DDD;
|
|
}
|
|
|
|
.spreadsheet-header-column-text {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
font: 12px/1.5 "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
text-align: center;
|
|
height: 100%;
|
|
margin: 0px;
|
|
border: 0px;
|
|
padding: 0px;
|
|
cursor: pointer;
|
|
|
|
/* Make the text unselectable for all browsers */
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
}
|
|
|
|
.spreadsheet-header-column-resize {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
cursor: col-resize;
|
|
height: 100%;
|
|
margin: 0px;
|
|
border: 0px;
|
|
padding: 0px;
|
|
}
|
|
|
|
.spreadsheet-header-row-text {
|
|
font: 12px/1.5 "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
text-align: center;
|
|
height: 100%;
|
|
margin: 0px;
|
|
border: 0px;
|
|
padding: 0px;
|
|
overflow: hidden;
|
|
cursor: pointer;
|
|
|
|
/* Make the text unselectable for all browsers */
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
}
|
|
|
|
.spreadsheet-header-row-resize {
|
|
cursor: row-resize;
|
|
height: 100%;
|
|
margin: 0px;
|
|
border: 0px;
|
|
padding: 0px;
|
|
}
|