Merge branch 'v1.5-sidebar' into 'v1.5'

Adjust sidebar sizes and fix collapse

See merge request LeRatierBretonnien/foundryvtt-reve-de-dragon!313
This commit is contained in:
Leratier Bretonnien 2022-01-20 05:24:33 +00:00
commit 5ebcf1adb0

View File

@ -1067,11 +1067,6 @@ ul, li {
color: rgba(220,220,220,0.75); color: rgba(220,220,220,0.75);
} }
#sidebar.collapsed {
height: 430px !important;
position: absolute;
}
#sidebar-tabs > .collapsed, #chat-controls .chat-control-icon { #sidebar-tabs > .collapsed, #chat-controls .chat-control-icon {
color: rgba(220,220,220,0.75); color: rgba(220,220,220,0.75);
text-shadow: 1px 1px 0 rgba(0,0,0,0.75); text-shadow: 1px 1px 0 rgba(0,0,0,0.75);
@ -1106,9 +1101,9 @@ ul, li {
} }
#sidebar-tabs { #sidebar-tabs {
flex: 0 0 32px; flex: 0 0 28px;
box-sizing: border-box; box-sizing: border-box;
margin: 0 0 5px; margin: 0 0 3px;
border-bottom: 1px solid rgba(0,0,0,0); border-bottom: 1px solid rgba(0,0,0,0);
box-shadow: inset 0 0 2rem rgba(0,0,0,0.5); box-shadow: inset 0 0 2rem rgba(0,0,0,0.5);
} }
@ -1120,8 +1115,8 @@ ul, li {
} }
#sidebar #sidebar-tabs i{ #sidebar #sidebar-tabs i{
width: 25px; width: 23px;
height: 25px; height: 23px;
display: inline-block; display: inline-block;
background-position:center; background-position:center;
background-size:cover; background-size:cover;