arm-scan-gateway/web/src/widgets/Sidebar/styles.module.css

191 lines
3.2 KiB
CSS

.company_group_item {
border: 2px solid grey;
border-radius: 2px;
height: 50px;
width: 90%;
cursor: pointer;
background-color: lightgray;
}
.active_cg {
background-color: white;
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 12px;
}
.brand {
font-weight: 700;
white-space: nowrap;
}
.collapsedList {
display: flex;
flex-direction: column;
gap: 8px;
align-items: center;
margin-top: 8px;
}
.section {
margin-bottom: 0px;
padding: 12px;
border-radius: 10px;
}
.sectionTitle {
font-size: 12px;
font-weight: 700;
color: #8c8c8c;
text-transform: uppercase ;
letter-spacing: 0.04em;
margin-bottom: 10px;
}
.search {
margin-bottom: 10px;
}
.subgroupToggle {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
border: 0;
background: transparent;
padding: 6px 10px;
margin-bottom: 6px;
cursor: pointer;
color: rgba(0, 0, 0, 0.88);
font-weight: 600;
}
.subgroup {
/* padding-left: 8px; */
display: flex;
flex-direction: column;
/* gap: 10px; */
margin-bottom: 12px;
}
.linkBase {
display: inline-flex;
gap: 10px;
padding: 8px 10px;
width: 100%;
border-radius: 8px;
color: rgba(55, 65, 81, 0.88);
text-decoration: none;
background: transparent;
transition: background 0.2s, color 0.2s;
}
/* .linkActive:hover {
color: rgb(31, 114, 55);
} */
.linkBase:hover {
color: rgba(55, 65, 81, 0.88);
background: rgb(249, 250, 251);
}
.linkBase.linkActive {
color: rgb(31, 114, 55);
background: #edf8ee;
font-weight: 600;
}
.state {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 0;
}
.emptyWrap {
padding-top: 8;
}
.wrapper {
height: 100%;
display: flex;
flex-direction: column;
padding: 12px;
overflow: hidden;
transition: width 0.2s ease;
}
.wrapperCollapsed {
padding: 12px 0;
align-items: center;
}
.collapsedList {
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
align-items: center;
margin-top: 8px;
}
.iconBtn {
width: 40px;
height: 40px;
border: 0;
border-radius: 12px;
background: transparent;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: rgba(0, 0, 0, 0.75);
transition: background 0.2s, color 0.2s;
font-size: 22px;
}
.iconBtnActive,
.iconBtnActive:hover {
background: rgba(46, 166, 75, 0.16);
color: rgb(31, 114, 55);
}
.iconBtnNav:hover {
color: #101828;
background: #f2f4f7;
}
.iconBtnAction {
background: linear-gradient(160deg,#2ea64b,#1f7237);
font-size: small;
box-shadow: 0 1px 3px #1f723740;
color: white;
}
.iconBtnAction:hover {
background: linear-gradient(160deg,#268f40,#185c2b);
}
/* .iconBtn. */
.collapseBtn {
width: 40px;
height: 40px;
border: 1px solid rgba(0, 0, 0, 0.25);
border-radius: 12px;
background: transparent;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: rgba(0, 0, 0, 0.75);
transition: background 0.2s, color 0.2s;
font-size: 12px;
padding: 0;
}