blob: 676d4008987e32ea37feed88565b109b68244cdc [file]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
.iconAction {
appearance: none;
border: 0;
border-radius: 3px;
background: transparent;
color: var(--odl-fg-subtle);
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.125rem;
opacity: 0.82;
text-decoration: none;
cursor: pointer;
transition: background-color var(--odl-dur) var(--odl-ease),
color var(--odl-dur) var(--odl-ease),
opacity var(--odl-dur) var(--odl-ease);
}
.iconAction:hover,
.iconAction:focus-visible {
color: var(--odl-fg-muted);
opacity: 1;
text-decoration: none;
}
.iconAction:focus-visible {
outline: 1px dotted var(--odl-accent);
outline-offset: 2px;
}
.iconAction svg {
flex: none;
margin: 0;
}
.iconActionSm {
width: var(--odl-icon-action-sm, 1.35rem);
height: var(--odl-icon-action-sm, 1.35rem);
}
.iconActionMd {
width: var(--odl-icon-action-md, 1.75rem);
height: var(--odl-icon-action-md, 1.75rem);
}