Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 207 | espaco | 1 | body { |
| 2 | .ui-datatable { |
||
| 3 | .ui-datatable-header { |
||
| 4 | background: $datatableHeaderBg; |
||
| 5 | border: $datatableHeaderCellBorder; |
||
| 6 | border-width: $datatableHeaderBorderWidth; |
||
| 7 | color: $datatableHeaderTextColor; |
||
| 8 | padding: $datatableHeaderPadding; |
||
| 9 | font-weight: $datatableHeaderFontWeight; |
||
| 10 | @include border-radius-top($borderRadius); |
||
| 11 | } |
||
| 12 | |||
| 13 | .ui-datatable-footer { |
||
| 14 | background: $datatableFooterBg; |
||
| 15 | border: $datatableFooterCellBorder; |
||
| 16 | border-width: $datatableFooterBorderWidth; |
||
| 17 | color: $datatableFooterTextColor; |
||
| 18 | padding: $datatableFooterPadding; |
||
| 19 | font-weight: $datatableFooterFontWeight; |
||
| 20 | @include border-radius-bottom($borderRadius); |
||
| 21 | } |
||
| 22 | |||
| 23 | .ui-datatable-header { |
||
| 24 | text-align: left; |
||
| 25 | } |
||
| 26 | |||
| 27 | .ui-datatable-footer { |
||
| 28 | text-align: left; |
||
| 29 | } |
||
| 30 | |||
| 31 | .ui-paginator { |
||
| 32 | padding: $paginatorPadding; |
||
| 33 | |||
| 34 | &.ui-paginator-top { |
||
| 35 | border-width: $datatableTopPaginatorBorderWidth; |
||
| 36 | border-radius: 0; |
||
| 37 | } |
||
| 38 | |||
| 39 | &.ui-paginator-bottom { |
||
| 40 | border-width: $datatableBottomPaginatorBorderWidth; |
||
| 41 | border-radius: 0; |
||
| 42 | } |
||
| 43 | } |
||
| 44 | |||
| 45 | thead { |
||
| 46 | th { |
||
| 47 | background: $datatableHeaderCellBg; |
||
| 48 | color: $datatableHeaderCellTextColor; |
||
| 49 | padding: $datatableHeaderCellPadding; |
||
| 50 | border: $datatableHeaderCellBorder; |
||
| 51 | border-width: $datatableHeaderCellBorderWidth; |
||
| 52 | text-align: left; |
||
| 53 | box-sizing: content-box; |
||
| 54 | transition: $transition; |
||
| 55 | |||
| 56 | .ui-column-title { |
||
| 57 | font-weight: $datatableHeaderCellFontWeight; |
||
| 58 | vertical-align: middle; |
||
| 59 | } |
||
| 60 | |||
| 61 | .ui-sortable-column-icon { |
||
| 62 | margin: 0 0 0 $inlineSpacing; |
||
| 63 | |||
| 64 | &.ui-icon-carat-2-n-s { |
||
| 65 | @include icon_override('\e99e'); |
||
| 66 | vertical-align: middle; |
||
| 67 | } |
||
| 68 | |||
| 69 | &.ui-icon-triangle-1-n { |
||
| 70 | @include icon_override('\e99f'); |
||
| 71 | vertical-align: middle; |
||
| 72 | } |
||
| 73 | |||
| 74 | &.ui-icon-triangle-1-s { |
||
| 75 | @include icon_override('\e9a0'); |
||
| 76 | vertical-align: middle; |
||
| 77 | } |
||
| 78 | } |
||
| 79 | |||
| 80 | .ui-sortable-column-badge { |
||
| 81 | border-radius: 50%; |
||
| 82 | height: $datatableSortableColumnBadgeSize; |
||
| 83 | min-width: $datatableSortableColumnBadgeSize; |
||
| 84 | line-height: $datatableSortableColumnBadgeSize; |
||
| 85 | color: $badgeTextColor; |
||
| 86 | background: $badgeBg; |
||
| 87 | margin-left: $inlineSpacing; |
||
| 88 | font-size: $badgeFontSize; |
||
| 89 | } |
||
| 90 | |||
| 91 | &.ui-sortable-column { |
||
| 92 | &.ui-state-focus { |
||
| 93 | @include focused-inset(); |
||
| 94 | } |
||
| 95 | } |
||
| 96 | |||
| 97 | &.ui-state-hover { |
||
| 98 | background: $datatableHeaderCellHoverBg; |
||
| 99 | color: $datatableHeaderCellTextHoverColor; |
||
| 100 | } |
||
| 101 | |||
| 102 | &.ui-state-active { |
||
| 103 | background: $datatableHeaderCellHighlightBg; |
||
| 104 | color: $datatableHeaderCellHighlightTextColor; |
||
| 105 | |||
| 106 | &.ui-state-hover { |
||
| 107 | background: $datatableHeaderCellHighlightHoverBg; |
||
| 108 | color: $datatableHeaderCellHighlightTextHoverColor; |
||
| 109 | } |
||
| 110 | } |
||
| 111 | } |
||
| 112 | } |
||
| 113 | |||
| 114 | .ui-datatable-data { |
||
| 115 | > tr { |
||
| 116 | background: $datatableBodyRowBg; |
||
| 117 | color: $datatableBodyRowTextColor; |
||
| 118 | transition: $transition; |
||
| 119 | |||
| 120 | > td { |
||
| 121 | padding: $datatableBodyCellPadding; |
||
| 122 | border: $datatableBodyRowBorder; |
||
| 123 | border-width: $datatableBodyCellBorderWidth; |
||
| 124 | |||
| 125 | &.ui-datatable-subtable-header { |
||
| 126 | background: $panelHeaderBg; |
||
| 127 | border: $panelHeaderBorder; |
||
| 128 | color: $panelHeaderTextColor; |
||
| 129 | font-weight: $panelHeaderFontWeight; |
||
| 130 | } |
||
| 131 | } |
||
| 132 | |||
| 133 | &.ui-state-hover { |
||
| 134 | background: $datatableBodyRowHoverBg; |
||
| 135 | color: $datatableBodyRowTextHoverColor; |
||
| 136 | } |
||
| 137 | |||
| 138 | &.ui-state-highlight { |
||
| 139 | background: $highlightBg; |
||
| 140 | color: $highlightTextColor; |
||
| 141 | |||
| 142 | .ui-row-toggler { |
||
| 143 | color: $highlightTextColor; |
||
| 144 | } |
||
| 145 | |||
| 146 | .ui-row-editor { |
||
| 147 | > a { |
||
| 148 | color: $highlightTextColor; |
||
| 149 | } |
||
| 150 | } |
||
| 151 | } |
||
| 152 | |||
| 153 | &.ui-datatable-selectable { |
||
| 154 | cursor: pointer; |
||
| 155 | } |
||
| 156 | |||
| 157 | &.ui-rowgroup-header, &.ui-datatable-summaryrow { |
||
| 158 | font-weight: 700; |
||
| 159 | } |
||
| 160 | |||
| 161 | .ui-row-editor { |
||
| 162 | > a { |
||
| 163 | @include action-icon(); |
||
| 164 | |||
| 165 | &.ui-row-editor-check { |
||
| 166 | margin-right: $inlineSpacing; |
||
| 167 | } |
||
| 168 | } |
||
| 169 | |||
| 170 | .ui-icon { |
||
| 171 | &.ui-icon-pencil { |
||
| 172 | @include icon_override('\e942'); |
||
| 173 | } |
||
| 174 | |||
| 175 | &.ui-icon-check { |
||
| 176 | @include icon_override('\e909'); |
||
| 177 | } |
||
| 178 | |||
| 179 | &.ui-icon-close { |
||
| 180 | @include icon_override('\e90b'); |
||
| 181 | } |
||
| 182 | } |
||
| 183 | } |
||
| 184 | |||
| 185 | .ui-row-toggler { |
||
| 186 | @include action-icon(); |
||
| 187 | |||
| 188 | &.ui-icon-circle-triangle-e { |
||
| 189 | @include icon_override('\e901'); |
||
| 190 | } |
||
| 191 | |||
| 192 | &.ui-icon-circle-triangle-s { |
||
| 193 | @include icon_override('\e902'); |
||
| 194 | } |
||
| 195 | } |
||
| 196 | |||
| 197 | .ui-rowgroup-toggler { |
||
| 198 | margin-right: 2 * $inlineSpacing; |
||
| 199 | |||
| 200 | .ui-rowgroup-toggler-icon { |
||
| 201 | @include action-icon(); |
||
| 202 | |||
| 203 | &.ui-icon-circle-triangle-e { |
||
| 204 | @include icon_override('\e901'); |
||
| 205 | } |
||
| 206 | |||
| 207 | &.ui-icon-circle-triangle-s { |
||
| 208 | @include icon_override('\e902'); |
||
| 209 | } |
||
| 210 | } |
||
| 211 | } |
||
| 212 | |||
| 213 | &.ui-datatable-rowordering { |
||
| 214 | background: $highlightBg; |
||
| 215 | } |
||
| 216 | } |
||
| 217 | } |
||
| 218 | |||
| 219 | .ui-column-resizer-helper { |
||
| 220 | background: $datatableResizerHelperBg; |
||
| 221 | } |
||
| 222 | |||
| 223 | tfoot { |
||
| 224 | td { |
||
| 225 | background: $datatableFooterCellBg; |
||
| 226 | border: $datatableFooterCellBorder; |
||
| 227 | border-width: $datatableFooterCellBorderWidth; |
||
| 228 | color: $datatableFooterCellTextColor; |
||
| 229 | padding: $datatableFooterCellPadding; |
||
| 230 | font-weight: $datatableFooterCellFontWeight; |
||
| 231 | text-align: left; |
||
| 232 | box-sizing: content-box; |
||
| 233 | } |
||
| 234 | } |
||
| 235 | |||
| 236 | > .ui-icon-arrowthick-1-s { |
||
| 237 | @include icon_override('\e919'); |
||
| 238 | display: none !important; |
||
| 239 | } |
||
| 240 | |||
| 241 | > .ui-icon-arrowthick-1-n { |
||
| 242 | @include icon_override('\e91c'); |
||
| 243 | padding-top: 1.5rem !important; |
||
| 244 | } |
||
| 245 | |||
| 246 | .ui-datatable-scrollable-body { |
||
| 247 | outline: 0 none; |
||
| 248 | } |
||
| 249 | |||
| 250 | .ui-datatable-scrollable-header, .ui-datatable-scrollable-footer { |
||
| 251 | background: $datatableHeaderCellBg; |
||
| 252 | } |
||
| 253 | |||
| 254 | .ui-selection-column { |
||
| 255 | .ui-chkbox-all { |
||
| 256 | width: auto; |
||
| 257 | height: auto; |
||
| 258 | } |
||
| 259 | } |
||
| 260 | |||
| 261 | &.ui-datatable-striped { |
||
| 262 | .ui-datatable-data { |
||
| 263 | > tr { |
||
| 264 | &.ui-datatable-odd { |
||
| 265 | background: $datatableBodyRowOddBg; |
||
| 266 | |||
| 267 | &.ui-state-hover { |
||
| 268 | background: $datatableBodyRowHoverBg; |
||
| 269 | color: $datatableBodyRowTextHoverColor; |
||
| 270 | } |
||
| 271 | |||
| 272 | &.ui-state-highlight { |
||
| 273 | background: $highlightBg; |
||
| 274 | color: $highlightTextColor; |
||
| 275 | } |
||
| 276 | } |
||
| 277 | } |
||
| 278 | } |
||
| 279 | } |
||
| 280 | |||
| 281 | &.ui-datatable-sm { |
||
| 282 | thead { |
||
| 283 | > tr { |
||
| 284 | > th { |
||
| 285 | padding: nth($datatableHeaderCellPadding,1) * $datatableScaleSm nth($datatableHeaderCellPadding,2) * $datatableScaleSm; |
||
| 286 | } |
||
| 287 | } |
||
| 288 | } |
||
| 289 | |||
| 290 | .ui-datatable-scrollable-theadclone { |
||
| 291 | > tr { |
||
| 292 | > th { |
||
| 293 | padding-top: 0; |
||
| 294 | padding-bottom: 0; |
||
| 295 | } |
||
| 296 | } |
||
| 297 | } |
||
| 298 | |||
| 299 | .ui-datatable-data { |
||
| 300 | > tr { |
||
| 301 | > td { |
||
| 302 | padding: nth($datatableBodyCellPadding,1) * $datatableScaleSm nth($datatableBodyCellPadding,2) * $datatableScaleSm; |
||
| 303 | } |
||
| 304 | } |
||
| 305 | } |
||
| 306 | |||
| 307 | tfoot { |
||
| 308 | > tr { |
||
| 309 | > td { |
||
| 310 | padding: nth($datatableFooterCellPadding,1) * $datatableScaleSm nth($datatableFooterCellPadding,2) * $datatableScaleSm; |
||
| 311 | } |
||
| 312 | } |
||
| 313 | } |
||
| 314 | } |
||
| 315 | |||
| 316 | &.ui-datatable-lg { |
||
| 317 | thead { |
||
| 318 | > tr { |
||
| 319 | > th { |
||
| 320 | padding: nth($datatableHeaderCellPadding,1) * $datatableScaleLg nth($datatableHeaderCellPadding,2) * $datatableScaleLg; |
||
| 321 | } |
||
| 322 | } |
||
| 323 | } |
||
| 324 | |||
| 325 | .ui-datatable-scrollable-theadclone { |
||
| 326 | > tr { |
||
| 327 | > th { |
||
| 328 | padding-top: 0; |
||
| 329 | padding-bottom: 0; |
||
| 330 | } |
||
| 331 | } |
||
| 332 | } |
||
| 333 | |||
| 334 | .ui-datatable-data { |
||
| 335 | > tr { |
||
| 336 | > td { |
||
| 337 | padding: nth($datatableBodyCellPadding,1) * $datatableScaleLg nth($datatableBodyCellPadding,2) * $datatableScaleLg; |
||
| 338 | } |
||
| 339 | } |
||
| 340 | } |
||
| 341 | |||
| 342 | tfoot { |
||
| 343 | > tr { |
||
| 344 | > td { |
||
| 345 | padding: nth($datatableFooterCellPadding,1) * $datatableScaleLg nth($datatableFooterCellPadding,2) * $datatableScaleLg; |
||
| 346 | } |
||
| 347 | } |
||
| 348 | } |
||
| 349 | } |
||
| 350 | |||
| 351 | &.ui-datatable-gridlines { |
||
| 352 | .ui-datatable-header { |
||
| 353 | border-width: 1px; |
||
| 354 | } |
||
| 355 | |||
| 356 | thead { |
||
| 357 | > tr { |
||
| 358 | > th { |
||
| 359 | border-width: 1px; |
||
| 360 | } |
||
| 361 | } |
||
| 362 | } |
||
| 363 | |||
| 364 | .ui-datatable-data { |
||
| 365 | > tr { |
||
| 366 | > td { |
||
| 367 | border-width: 1px; |
||
| 368 | } |
||
| 369 | } |
||
| 370 | } |
||
| 371 | |||
| 372 | .ui-datatable-scrollable-theadclone { |
||
| 373 | > tr { |
||
| 374 | > th { |
||
| 375 | padding-top: 0; |
||
| 376 | padding-bottom: 0; |
||
| 377 | border-bottom: 0 none; |
||
| 378 | border-top: 0 none; |
||
| 379 | } |
||
| 380 | } |
||
| 381 | } |
||
| 382 | |||
| 383 | tfoot { |
||
| 384 | > tr { |
||
| 385 | > td { |
||
| 386 | border-width: 1px; |
||
| 387 | } |
||
| 388 | } |
||
| 389 | } |
||
| 390 | } |
||
| 391 | |||
| 392 | &.ui-datatable-sticky { |
||
| 393 | &.ui-sticky { |
||
| 394 | box-shadow: $overlayContainerShadow; |
||
| 395 | } |
||
| 396 | } |
||
| 397 | } |
||
| 398 | |||
| 399 | .ui-columntoggler { |
||
| 400 | box-shadow: $overlayContainerShadow; |
||
| 401 | background: $inputListBg; |
||
| 402 | border: $inputListBorder; |
||
| 403 | |||
| 404 | .ui-columntoggler-close { |
||
| 405 | display: none; |
||
| 406 | } |
||
| 407 | |||
| 408 | .ui-columntoggler-items { |
||
| 409 | padding: $inputListPadding; |
||
| 410 | |||
| 411 | .ui-columntoggler-item { |
||
| 412 | padding: $inputListItemPadding; |
||
| 413 | margin: $inputListItemMargin; |
||
| 414 | border: $inputListItemBorder; |
||
| 415 | background: $inputListItemBg; |
||
| 416 | color: $inputListItemTextColor; |
||
| 417 | border-radius: $inputListItemBorderRadius; |
||
| 418 | |||
| 419 | .ui-chkbox { |
||
| 420 | position: static; |
||
| 421 | margin-right: $inlineSpacing; |
||
| 422 | margin-top: 0; |
||
| 423 | vertical-align: middle; |
||
| 424 | } |
||
| 425 | |||
| 426 | label { |
||
| 427 | padding: 0; |
||
| 428 | display: inline; |
||
| 429 | } |
||
| 430 | } |
||
| 431 | } |
||
| 432 | } |
||
| 433 | |||
| 434 | @media (max-width: 640px) { |
||
| 435 | .ui-datatable-reflow .ui-datatable-data tr { |
||
| 436 | border-bottom: $datatableBodyRowBorder; |
||
| 437 | |||
| 438 | &:hover, &.ui-state-highlight { |
||
| 439 | border-left: 0 none; |
||
| 440 | border-right: 0 none; |
||
| 441 | border-bottom: $datatableBodyRowBorder; |
||
| 442 | } |
||
| 443 | |||
| 444 | &.ui-expanded-row-content { |
||
| 445 | > td { |
||
| 446 | display: block; |
||
| 447 | width: 100%; |
||
| 448 | } |
||
| 449 | |||
| 450 | } |
||
| 451 | } |
||
| 452 | } |
||
| 453 | } |