123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426 |
- @import "globals";
- /* CHANGELISTS */
- #changelist {
- position: relative;
- width: 100%;
- table {
- width: 100%;
- }
- .results {
- overflow-x: auto;
- -webkit-overflow-scrolling: touch;
- @include for-mobile {
- position: relative;
- left: -20px;
- width: calc(100% + 40px);
- margin-bottom: 0 !important;
- table {
- border-radius: 0;
- }
- thead th, tfoot td {
- border-radius: 0
- }
- }
- @include for-phone {
- left: -10px;
- width: calc(100% + 20px);
- }
- }
- .paginator {
- text-align: right;
- @include for-mobile {
- text-align: left;
- }
- @include for-phone {
- text-align: center;
- }
- }
- }
- .change-list {
- .hiddenfields {
- display: none;
- }
- .filtered table {
- border-right: none;
- }
- .filtered {
- min-height: 400px;
- }
- .filtered table tbody th {
- padding-right: 1em;
- }
- }
- /* CHANGELIST TABLES */
- #changelist table {
- thead th {
- &.action-checkbox-column {
- width: 1.5em;
- text-align: center;
- }
- }
- tbody td.action-checkbox {
- text-align: center;
- }
- tfoot {
- color: #666;
- }
- }
- /* TOOLBAR */
- #toolbar {
- margin-bottom: 20px;
- display: none;
- @include for-mobile {
- float: none;
- }
- &.initialized {
- display: block;
- }
- form {
- label[for="searchbar"] {
- display: none;
- }
- #searchbar {
- margin-bottom: 5px;
- margin-right: 2px;
- vertical-align: top;
- @include for-mobile {
- margin-right: 5px;
- }
- @include for-phone {
- width: 100%;
- }
- }
- input[type="submit"] {
- &, &:visited, &:hover {
- background-color: $primary-button-background-color;
- color: $primary-button-text-color;
- font-size: 12px;
- font-weight: lighter;
- padding: 0 20px;
- text-transform: uppercase;
- vertical-align: middle;
- margin-bottom: 5px;
- }
- &:hover, &:focus {
- background-color: $button-hover-background-color;
- color: $button-hover-text-color;
- }
- &:active {
- background-color: $button-active-background-color;
- color: $button-active-text-color;
- }
- }
- }
- }
- .changelist-filter-select {
- &-wrapper {
- margin-right: 2px;
- margin-bottom: 5px;
- display: inline-block;
- vertical-align: top;
- @include for-mobile {
- margin-right: 5px;
- }
- @include for-phone {
- width: 100%;
- }
- .select2 {
- @include for-phone {
- width: 100% !important;
- }
- }
- }
- }
- /* FILTER COLUMN */
- #changelist-filter {
- display: none;
- }
- /* DATE DRILLDOWN */
- .change-list ul.toplinks {
- display: block;
- padding: 0;
- margin: 0;
- li {
- list-style-type: none;
- display: inline-block;
- margin: 0 5px 5px 0;
- background-color: $button-background-color;
- color: $button-text-color;
- text-decoration: none;
- font-size: 14px;
- padding: 6px 10px;
- border-radius: 4px;
- }
- a {
- &, &:visited {
- color: $button-text-color;
- }
- &:focus, &:hover {
- text-decoration: underline;
- }
- }
- }
- /* PAGINATOR */
- .paginator {
- display: none;
- line-height: normal;
- padding: 0 !important;
- margin: 0;
- font-size: 12px;
- &.initialized {
- display: inherit;
- }
- .pages-wrapper {
- margin-left: 10px;
- display: inline-block;
- margin-bottom: 5px;
- @include for-mobile {
- margin-left: 0;
- }
- span, a {
- font-size: 14px;
- padding: 6px 10px;
- display: inline-block;
- &:first-child {
- border-radius: 4px 0 0 4px;
- }
- &:last-child {
- border-radius: 0 4px 4px 0;
- }
- &:first-child:last-child {
- border-radius: 4px;
- }
- }
- span {
- background-color: $button-active-background-color;
- color: $button-active-text-color;
- &.disabled {
- background-color: $button-background-color;
- color: $button-text-color;
- }
- }
- a {
- &:link, &:visited {
- background-color: $button-background-color;
- color: $button-text-color;
- text-decoration: none;
- }
- &:focus, &:hover {
- background-color: $button-hover-background-color;
- color: $button-hover-text-color;
- }
- }
- }
- a.showall {
- &:link, &:visited {
- font-size: 12px;
- }
- }
- .label {
- padding: 8px 0;
- }
- input[type="submit"] {
- &, &:hover, &:focus {
- font-size: 13px;
- padding: 6px 10px;
- height: auto;
- line-height: normal;
- margin: 0 0 0 10px;
- }
- }
- }
- /* ACTIONS */
- #changelist {
- table {
- input {
- margin: 0;
- vertical-align: baseline;
- }
- tbody tr.selected {
- border-color: $content-selected-border-color;
- background-color: $content-selected-background-color;
- }
- }
- .actions {
- float: left;
- display: none;
- @include for-mobile {
- float: none;
- margin-bottom: 20px;
- }
- @include for-phone {
- padding: 0 10px;
- }
- &.initialized {
- display: inline-block;
- @include for-mobile {
- display: block;
- }
- }
- label {
- @include for-mobile {
- margin-bottom: 5px;
- display: inline-block;
- }
- @include for-phone {
- display: block;
- }
- }
- .select2 {
- @include for-phone {
- width: 100% !important;
- }
- }
- .labels {
- padding: 8px 0;
- @include for-phone {
- text-align: center;
- }
- }
- span.all, span.action-counter, span.clear, span.question {
- display: none;
- }
- span.clear {
- margin-left: 5px;
- }
- .button {
- &, &:visited, &:hover {
- display: inline-block;
- background-color: $primary-button-background-color;
- color: $primary-button-text-color;
- border: 0;
- border-radius: 4px;
- height: 32px;
- line-height: 32px;
- outline: 0;
- font-size: 12px;
- font-weight: lighter;
- text-align: center;
- padding: 0 20px;
- text-transform: uppercase;
- margin: 0 8px 5px 0;
- transition: background $transitions-duration;
- @include for-phone {
- width: 100%;
- }
- }
- &:hover, &:focus {
- background-color: $button-hover-background-color;
- color: $button-hover-text-color;
- }
- &:active {
- background-color: $button-active-background-color;
- color: $button-active-text-color;
- }
- }
- span {
- font-size: 12px;
- }
- }
- }
- .changelist-footer {
- padding: 20px 0;
- background: $background-color;
- &.fixed {
- position: fixed;
- left: $sidebar-width + 20px;
- right: 20px;
- bottom: 0;
- border-top: 2px solid $content-border2-color;
- body.popup & {
- left: 20px;
- }
- @include for-mobile {
- position: static;
- left: auto;
- right: auto;
- bottom: auto;
- border-top: 0;
- }
- }
- &.popup {
- left: 20px;
- }
- }
|