/* Copyright 2013 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ .extension-error-list a { cursor: pointer; } .extension-error-list-contents { -webkit-transition: max-height 150ms; list-style-type: none; overflow-y: hidden; } .extension-error-list-contents.active { max-height: 200px; } .extension-error-list-contents, .extension-error-list-contents.deactivating { /* Simply toggling .active on and off doesn't transition both ways as it * changes the display type of some li elements. To fix this, .deactivating * is added while the list is closing to change only the max-height. */ max-height: 50px; } .extension-error-list-contents.scrollable { overflow-y: auto; } /* These next three rules hide all except for the most recent three entries in * the list, unless the list is active. */ .extension-error-list-contents li { display: none; } .extension-error-list-contents.active li, .extension-error-list ul li:nth-last-child(-n + 3) { display: initial; } .extension-error-list-contents { -webkit-padding-start: 20px; } .extension-error-list-show-more { text-align: center; width: 100%; } .extension-error-list-show-more button { width: auto; } .extension-error-metadata { -webkit-padding-end: 1px; display: flex; flex-direction: row; margin-bottom: 1px; margin-top: 1px; } .extension-error-icon { -webkit-margin-end: 3px; -webkit-margin-start: 3px; height: 15px; vertical-align: middle; width: 15px; } .extension-error-message { flex: 1; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; } .extension-error-severity-info .extension-error-message { color: #333; } .extension-error-severity-info .extension-error-icon { content: url(extension_error_severity_info.png); } .extension-error-severity-warning .extension-error-message { color: rgba(250, 145, 0, 255); } .extension-error-severity-warning .extension-error-icon { content: url(extension_error_severity_warning.png); } .extension-error-severity-fatal .extension-error-message { color: rgba(200, 50, 50, 255); } .extension-error-severity-fatal .extension-error-icon { content: url(extension_error_severity_fatal.png); }