apex4x
Version:
The Comprehensive ARIA Development Suite
282 lines (249 loc) • 5.55 kB
CSS
/* Specific styles for ARIA Grid */
#dataGridId {
min-height: 500px;
border: 1px solid #2e3135;
}
div.mode {
position: relative;
color: #fff;
background: #2e3135;
padding: 0.5rem;
margin-bottom: 0.5rem;
}
div.mode label {
display: inline-block;
padding-right: 2rem;
}
#mro {
position: absolute;
top: 0.4rem;
right: 0.3rem;
}
#buv {
border-radius: 0.3em;
}
div.configure {
padding: 0.5rem 1rem;
}
div.configure p {
margin-bottom: 0.3em;
}
div.modify ul {
list-style-type: none;
margin: 1rem;
}
div.modify li {
display: inline-block;
}
div.paginate {
text-align: right;
padding: 0.3rem 0.5rem;
margin: 0.5rem;
}
div.modify button {
text-transform: uppercase;
color: #000;
background: #e0e0e0;
padding: 0.3em 0.5em;
border-radius: 0.3em;
}
button.paginate {
overflow: hidden;
width: 35px;
height: 35px;
text-indent: -50em;
background: url(../img/sprite.svg) 0 0 no-repeat;
padding: 0;
}
#btnFirst {
background-position: 2px -1015px;
}
#btnPrev {
background-position: 2px -655px;
}
#btnNext {
background-position: 2px -475px;
}
#btnLast {
background-position: 2px -835px;
}
button.paginate[disabled] {
opacity: 0.3;
cursor: default;
}
#btnGo {
text-transform: uppercase;
color: #000;
background: #e0e0e0;
padding: 0.3em 0.5em;
margin: 0.3rem 0 0.3rem 0.5rem;
border: 1px solid #e0e0e0;
border-radius: 0.3em;
}
table.data-grid {
width: 100%;
table-layout: fixed;
border-collapse: separate;
border-spacing: 0;
}
table.data-grid .data-grid-cell {
font-size: 0.9em;
text-align: center;
border: 1px solid #ccc;
vertical-align: middle;
}
table.data-grid th.data-grid-cell {
color: #fff;
background: #c1384d;
}
table.data-grid .gridcell-col1 {
width: 3em;
background: #ede4e6;
}
table.data-grid-editable td {
cursor: pointer;
}
table.data-grid-readonly td,
table.data-grid-editable td.data-grid-cell-readonly {
cursor: auto;
}
table.data-grid .data-grid-cell strong > span {
display: block;
padding: 0.5em;
}
table.data-grid .gridcell-col1 strong > span,
table.data-grid td.gridcell-col6 strong > span {
display: block;
}
table.data-grid th strong,
table.data-grid td strong.data-grid-cell-link {
}
table.data-grid td strong.data-grid-cell-link {
}
table.data-grid td strong.data-grid-cell-toggle {
display: inline-block;
text-decoration: none;
color: #000;
background: #e0e0e0;
padding: 0.3em 0.5em;
margin: 0.3rem 0;
border: 1px solid #e0e0e0;
border-radius: 0.3em;
}
table.data-grid td strong.data-grid-cell-toggle-pressed {
color: #fff;
background: #2e3135;
}
table.data-grid-selectable td strong.data-grid-cell-link,
table.data-grid-readonly td strong.data-grid-cell-link,
table.data-grid td.data-grid-cell-readonly strong.data-grid-cell-link {
}
table.data-grid-selectable td strong.data-grid-cell-toggle,
table.data-grid-readonly td strong.data-grid-cell-toggle,
table.data-grid td.data-grid-cell-readonly strong.data-grid-cell-toggle {
}
table.data-grid-selectable td strong.data-grid-cell-toggle-pressed,
table.data-grid-readonly td strong.data-grid-cell-toggle-pressed,
table.data-grid
td.data-grid-cell-readonly
strong.data-grid-cell-toggle-pressed {
}
table.data-grid-selectable td,
table.data-grid-readonly td,
table.data-grid td.data-grid-cell-readonly {
}
table.data-grid-selectable tr {
cursor: pointer;
}
table.data-grid-selectable tr.selected,
table.data-grid-selectable tr.selected td {
color: #000;
background: #fc0;
}
table.data-grid th strong,
table.data-grid td.gridcell-col1 strong {
}
table.data-grid td.data-grid-cell-focused {
outline: 2px solid #2e3135;
}
table.data-grid-selectable tr.data-grid-row-focused {
outline: 2px solid #2e3135;
}
table.data-grid-selectable td.data-grid-cell-focused {
outline: none;
}
div.data-grid-cell-link-edit {
text-decoration: none;
font:
bold 10px/10px HelveticaNeue,
Arial;
border: 1px solid #dedede;
background: #f5f5f5;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#f0f0f0'); /* IE */
background: -webkit-gradient(
linear,
left top,
left bottom,
from(#f9f9f9),
to(#f0f0f0)
); /* WebKit */
background: -moz-linear-gradient(top, #f9f9f9, #f0f0f0);
border-color: #000;
color: #000;
text-shadow: 0 1px 0 #fff;
-webkit-box-shadow:
0 1px 1px #eaeaea,
inset 0 1px 0 #fbfbfb;
-moz-box-shadow:
0 1px 1px #eaeaea,
inset 0 1px 0 #fbfbfb;
box-shadow:
0 1px 1px #eaeaea,
inset 0 1px 0 #fbfbfb;
position: absolute;
z-index: 1;
text-align: left;
padding: 1px;
}
input.data-grid-cell-link-edit {
font:
100%/1 Frutiger,
"Frutiger Linotype",
"Gill Sans",
"Gill Sans MT",
"DejaVu Sans Condensed",
Tahoma,
Geneva,
"Helvetica Neue",
Helvetica,
Arial,
sans-serif;
width: 100%;
height: 100%;
text-decoration: none;
text-align: center;
font-size: 1.44em;
font-weight: bold;
vertical-align: middle;
}
/*Wider area for GRIDs*/
@media (min-width: 70em) {
main .flex-container.wide--grid {
flex-direction: column;
}
main .flex-container .flex-item.wide--grid:nth-child(1) {
max-width: 100%;
width: 100%;
}
main .flex-container .flex-item.wide--grid:nth-child(2) {
max-width: 100%;
width: 100%;
}
}
/*Temp solution apply horizontal scroll to DIV if screen < 1024px wide - horrible solution*/
.h--scroll {
background-color: var(--globalWhite);
min-width: 65em;
overflow-x: scroll;
white-space: nowrap;
}