diff --git a/css/ebi-global-drupal.css b/css/ebi-global-drupal.css index 095f42f5ca1d8d25f5a120752624335b2e650738..5ad96a6fef77f04fa7214978e9fc856e3c2275d8 100644 --- a/css/ebi-global-drupal.css +++ b/css/ebi-global-drupal.css @@ -1,5 +1,36 @@ /* Drupal 7/8 specific tweaks -- housed here as a central authority */ +/* Sort table handles */ +.ief-tabledrag-handle a.tabledrag-handle { + border-bottom: 0; + padding-top: .25rem; + float: left; +} + +a.tabledrag-handle .handle { + height: 24px; + width: 21px; +} + +span.warning.tabledrag-changed { + margin-left: -.75rem; + padding-top: 0.25rem; + display: inline-block; +} + +/* Workaround for node form buttons that don't have class .button */ +.node-form button:not(.button) { + background: #AAA; + color: #FFF; + padding: .25rem .5rem; + margin-bottom: .5rem; + cursor: pointer; +} + +.node-form button:not(.button):hover { + opacity: .8; +} + /* Pager alignment */ .item-list .pager li { display: inline-block; } .pagination .current a { color: #fff; border-bottom: none; }