mirror of
https://github.com/strapi/strapi.git
synced 2025-08-10 17:58:07 +00:00
49 lines
925 B
JavaScript
49 lines
925 B
JavaScript
/**
|
|
*
|
|
* StyledPluginHeaderTitle
|
|
*
|
|
*/
|
|
|
|
import styled from 'styled-components';
|
|
|
|
const StyledPluginHeaderTitle = styled.div`
|
|
.header-title {
|
|
position: relative;
|
|
h1 {
|
|
position: relative;
|
|
width: fit-content;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 2.4rem;
|
|
font-weight: 600;
|
|
margin-top: 0.7rem;
|
|
margin-bottom: 1px;
|
|
text-transform: capitalize;
|
|
padding-right: 18px;
|
|
}
|
|
i {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
margin-top: 9px;
|
|
font-size: 14px;
|
|
color: rgba(16, 22, 34, 0.35);
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
.header-subtitle {
|
|
width: 100%;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 1.3rem;
|
|
font-weight: 400;
|
|
color: #787e8f;
|
|
}
|
|
`;
|
|
|
|
export default StyledPluginHeaderTitle;
|