nasin/internal/styles/aluminum/aluminum.tss

312 lines
6.2 KiB
Plaintext
Raw Normal View History

2024-07-30 11:01:24 -06:00
// Colors
$ColorDot = #7391c080;
2024-07-30 11:01:24 -06:00
$ColorAccent = #5f8bc4;
$ColorHighlight = #5f8bc4;
$ColorBackground = #d4d4d4;
$ColorForeground = #000;
$ColorOutline = $ColorForeground;
$ColorGutter = #bfc6d1;
$ColorGutterHovered = #c5cbd6;
$ColorRaised = #e9eaea;
$ColorRaisedPressed = #ccd4dd;
$ColorRaisedFocused = #cfd6dd;
$ColorRaisedHovered = #f1f3f5;
$ColorSunken = #e9eaea;
$ColorSunkenFocused = #e0e6ee;
$ColorSunkenPressed = #e0e6ee;
$ColorCalendarWeekdayHeader = #d3cac2;
$ColorCalendarWeekend = #c2d3c4;
$ColorCalendarDay = #d6dae2;
// Borders
2024-08-16 17:51:55 -06:00
$BorderOutline = $ColorOutline ;
$BorderEngraved = #c3c3c5 #e3e3e3 #e9e9e9 #c2c2c2;
$BorderGap = #697c7c #566767 #566767 #697c7c;
$BorderLifted = #f9fafc #c2c8d3 #a4afc0 #f5f6f8;
$BorderLiftedFocused = #f0f4f9 #b1baca #9aa6b7 #e4e9ee;
$BorderFocused = #5f8bc4 #5f8bc4 #5f8bc4 #5f8bc4;
$BorderTear = $BorderEngraved ;
$BorderTearFocused = #7f94b5 #ced7e4 #ced7e4 #7f94b5;
$BorderTearPad = #0000 ;
$BorderTearPadFocused = #7391c080 ;
$BorderInnerShadow = #a4afc0 ;
$BorderOuterShadow = #a4afc0 ;
2024-07-30 11:01:24 -06:00
*.* {
TextColor: $ColorForeground;
DotColor: $ColorDot;
Gap: 8;
}
*.Button {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderGap / 1, $BorderLifted / 1;
2024-07-30 11:01:24 -06:00
Padding: 4 8;
Color: $ColorRaised;
}
*.Button[focused] {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderGap / 1, $BorderLiftedFocused / 1;
2024-07-30 11:01:24 -06:00
Padding: 4 8;
Color: $ColorRaisedFocused;
}
*.Button[hovered] {
Color: $ColorRaisedHovered;
}
*.Button[pressed] {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderGap / 1, $BorderInnerShadow / 1 0 0 1;
2024-07-30 11:01:24 -06:00
Padding: 5 8 4 9;
Color: $ColorRaisedPressed;
}
*.TextInput {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderGap / 1, $BorderInnerShadow / 1 0 0 1;
2024-07-30 11:01:24 -06:00
Padding: 5 4 4 5;
Color: $ColorSunken;
}
*.TextInput[focused] {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderFocused / 1, $BorderInnerShadow / 1 0 0 1;
2024-07-30 11:01:24 -06:00
}
*.TextView {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderGap / 1, $BorderInnerShadow / 1 0 0 1;
2024-07-30 11:01:24 -06:00
Padding: 5 4 4 5;
Color: $ColorSunken;
}
*.NumberInput {
Gap: 0;
}
*.Container[sunken] {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderGap / 1, $BorderInnerShadow / 1 0 0 1;
2024-07-30 11:01:24 -06:00
Padding: 5 4 4 5;
Color: $ColorSunken;
}
*.Container[outer] {
Color: $ColorBackground;
Padding: 8;
}
*.Container[menu] {
2024-08-16 17:51:55 -06:00
Border: $BorderGap / 1, $BorderLifted / 1;
2024-07-30 11:01:24 -06:00
Color: $ColorBackground;
Gap: 0;
}
2024-08-16 15:26:47 -06:00
*.Container[menu, torn] {
Border: ;
Color: $ColorBackground;
Gap: 0;
}
2024-07-30 11:01:24 -06:00
*.Heading {
Align: middle middle;
}
2024-08-16 15:26:47 -06:00
*.Heading[menu] {
Align: middle middle;
Padding: 4 8;
}
2024-07-30 11:01:24 -06:00
*.Separator {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1;
2024-07-30 11:01:24 -06:00
}
*.Slider {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderGap / 1, $BorderInnerShadow / 1 0 0 1;
2024-07-30 11:01:24 -06:00
Color: $ColorGutter;
}
*.Slider[focused] {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderFocused / 1, $BorderInnerShadow / 1 0 0 1;
2024-07-30 11:01:24 -06:00
}
*.Slider[hovered] {
Color: $ColorGutterHovered;
}
*.Slider[horizontal] {
MinimumSize: 48 0;
}
*.Slider[vertical] {
MinimumSize: 0 48;
}
*.SliderHandle {
2024-08-16 17:51:55 -06:00
Border: $BorderOuterShadow / 0 1 1 0, $BorderGap / 1, $BorderLifted / 1;
2024-07-30 11:01:24 -06:00
Color: $ColorRaised;
MinimumSize: 12;
}
2024-08-16 16:40:26 -06:00
*.Scrollbar {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderGap / 1, $BorderInnerShadow / 1 0 0 1;
2024-08-16 16:40:26 -06:00
Color: $ColorGutter;
}
*.Scrollbar[focused] {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderFocused / 1, $BorderInnerShadow / 1 0 0 1;
2024-08-16 16:40:26 -06:00
}
*.Scrollbar[hovered] {
Color: $ColorGutterHovered;
}
*.Scrollbar[horizontal] {
MinimumSize: 48 0;
}
*.Scrollbar[vertical] {
MinimumSize: 0 48;
}
*.ScrollbarHandle {
2024-08-16 17:51:55 -06:00
Border: $BorderOuterShadow / 0 1 1 0, $BorderGap / 1, $BorderLifted / 1;
2024-08-16 16:40:26 -06:00
Color: $ColorRaised;
MinimumSize: 12;
}
2024-07-30 11:01:24 -06:00
*.ScrollContainer {
Gap: 0;
}
*.Checkbox {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderGap / 1, $BorderInnerShadow / 1 0 0 1;
2024-07-30 11:01:24 -06:00
Color: $ColorSunken;
Padding: 0 1 1 0;
MinimumSize: 19;
}
*.Checkbox[focused] {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderFocused / 1, $BorderInnerShadow / 1 0 0 1;
2024-07-30 11:01:24 -06:00
Color: $ColorSunkenFocused;
Padding: 0;
}
2024-08-12 15:10:43 -06:00
*.Checkbox[checked] {
Texture: "assets/checkbox-checked.png";
TextureMode: center;
2024-08-12 15:10:43 -06:00
}
2024-07-30 11:01:24 -06:00
*.MenuItem {
Padding: 4;
Gap: 4;
Color: #0000;
}
*.MenuItem[focused] {
Color: $ColorDot;
}
*.File {
Color: #0000;
}
*.File[focused] {
Color: $ColorDot;
}
*.TearLine {
2024-08-16 17:51:55 -06:00
Border: $BorderTearPad / 3, $BorderTear / 1;
2024-07-30 11:01:24 -06:00
}
*.TearLine[focused] {
2024-08-16 17:51:55 -06:00
Border: $BorderTearPadFocused / 3, $BorderTearFocused / 1;
2024-07-30 11:01:24 -06:00
}
*.Calendar {
2024-08-16 17:51:55 -06:00
Border: $BorderOuterShadow / 0 1 1 0, $BorderGap / 1;
2024-07-30 11:01:24 -06:00
Color: $ColorRaised;
Padding: 2;
Gap: 2;
}
*.CalendarGrid {
Gap: 2 2;
}
*.CalendarWeekdayHeader {
Color: $ColorCalendarWeekdayHeader;
Padding: 2;
}
*.CalendarDay {
Color: $ColorCalendarDay;
Padding: 2;
MinimumSize: 32;
}
*.CalendarDay[weekend] {
Color: $ColorCalendarWeekend;
}
2024-08-16 15:26:47 -06:00
*.TabbedContainer {
Gap: 0;
}
*.TabRow {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1 1 0 1, $BorderGap / 1 1 0 1, $BorderInnerShadow / 1 0 0 1;
Color: $ColorSunken;
Gap: 0;
Padding: 1 0 0 0;
2024-08-16 15:26:47 -06:00
}
*.Tab {
2024-08-16 17:51:55 -06:00
Border: #0000 / 1 0 0 0, $BorderOuterShadow / 0 1 0 0, $BorderGap / 1 1 0 1, $BorderLifted / 1;
Color: $ColorSunken;
Padding: 4 8 2 8;
}
*.Tab[active] {
Border: $BorderOuterShadow / 0 1 0 0, $BorderGap / 1 1 0 1, $BorderLifted / 1 1 0 1;
Color: $ColorBackground;
2024-08-16 15:26:47 -06:00
Padding: 4 8;
}
2024-08-16 17:51:55 -06:00
*.TabSpacer {
Border: $BorderLifted / 0 0 1 0;
MinimumSize: 1 0;
}
*.Swatch {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderGap / 1;
Color: #FFF;
MinimumSize: 19;
}
*.Swatch[focused] {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderFocused / 1;
}
*.ColorPickerMap {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderGap / 1;
Color: $ColorSunken;
MinimumSize: 128;
}
*.Dropdown {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderGap / 1, $BorderLifted / 1;
Padding: 4 8;
Color: $ColorRaised;
}
*.Dropdown[focused] {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderGap / 1, $BorderLiftedFocused / 1;
Padding: 4 8;
Color: $ColorRaisedFocused;
}
*.Dropdown[hovered] {
Color: $ColorRaisedHovered;
}
*.Dropdown[pressed] {
2024-08-16 17:51:55 -06:00
Border: $BorderEngraved / 1, $BorderGap / 1, $BorderInnerShadow / 1 0 0 1;
Padding: 5 8 4 9;
Color: $ColorRaisedPressed;
}