Files
AR-Menu/Library/PackageCache/com.needle.engine-exporter@8c046140a1d9/Samples/SamplesWindow.uss
2025-11-30 08:35:03 +02:00

233 lines
3.0 KiB
Plaintext

.header {
margin-top: 10px;
margin-bottom: 10px;
align-items: center;
}
.header > Label {
font-size: 20px;
margin-bottom: 4px;
}
.header .buttons {
flex-direction: row;
}
.header .buttons Label {
align-self: center;
}
.header .buttons Image.icon {
align-self: center;
height: 16px;
width: 16px;
}
.header Button {
flex-shrink: 1;
}
.items {
flex-wrap: wrap;
flex-direction: row;
}
Toolbar {
flex-shrink: 0;
}
Toolbar ToolbarSpacer {
flex-grow: 40;
}
SamplesSearchField {
flex-shrink: 5;
}
Sample {
width: 100%;
margin-bottom: 0px;
border-width: 2px;
border-color: rgba(0,0,0,0.0);
align-items: center;
}
Sample:hover {
border-color: rgb(181, 222, 77);
}
.__light Sample:hover {
border-color: rgb(121, 173, 22);
}
.__columns_1 Sample {
width: 100%;
}
.__columns_2 Sample {
width: 50%;
}
.__columns_3 Sample {
width: 33.333%;
}
.__columns_4 Sample {
width: 25%;
}
.__columns_5 Sample {
width: 20%;
}
.__columns_6 Sample {
width: 16.666%;
}
.__columns_7 Sample {
width: 14.285%;
}
.__columns_8 Sample {
width: 12.5%;
}
.__columns_9 Sample {
width: 11.111%;
}
.__columns_10 Sample {
width: 10%;
}
Sample .image-container {
width: 100%;
padding:10px;
align-items: center;
overflow: hidden;
}
Sample Image {
max-height: 200px;
width: 100%;
min-width: 100%;
min-height: 100%;
}
Sample.no-preview {
}
Sample.hidden {
display: none;
}
#Content {
display: flex;
flex-direction: column;
width: 100%;
flex-grow: 1;
margin-bottom: 0px;
}
.overlay {
padding: 10px;
bottom: 4px;
max-width: 80%;
font-size: 14px;
height: 100%;
margin-top: 4px;
padding-bottom: 5px;
}
.overlay Label {
white-space: normal;
}
.overlay #Title {
font-size: 20px;
}
/*
Sample:hover .overlay #Title {
-unity-font-style: bold;
}
*/
.options {
position: absolute;
padding: 5px;
top: 4px;
right: 4px;
}
.tags {
flex-direction: row;
align-self: flex-start;
margin-left: 5px;
padding-bottom: 10px;
flex-wrap: wrap;
}
TagButton {
background-color: #2B2B2B;
color: #8E8E8E;
margin: 3px;
}
.__light TagButton {
background-color: #d7d7d7;
color: #494949;
margin: 3px;
}
TagButton.selected {
color: white;
background-color: #181818;
}
.__light TagButton.selected {
background-color: #efefef;
color: black;
}
/*
Sample:hover .options {
display: initial;
}
*/
.__columns_1 Sample {
flex-direction: row;
align-items: flex-start;
}
.__columns_1 Sample .image-container {
width: 120%;
max-height: 150px;
margin-top: 3px;
}
.__columns_1 Sample #Content {
}
.__columns_1 Sample .overlay {
height: auto;
max-width: 100%;
}
.__columns_1 Sample .options {
position: initial;
width: 120px;
padding-top: 0px;
}
.__columns_1 .overlay Label {
font-size: 12px;
}
.__columns_1 .overlay #Title {
font-size: 16px;
}
.__columns_1 .tags {
display: none;
}