1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

Improvements to query table

This commit is contained in:
2020-06-18 19:01:09 +02:00
parent a597015f50
commit 0d10a93bf8
10 changed files with 194 additions and 22 deletions

View File

@ -3,12 +3,6 @@
.type-#{$type} {
color: $color;
@if $type == 'null'{
&::after{
content: 'NULL';
}
}
@if $type == 'number'{
text-align: right;
}
@ -17,9 +11,32 @@
}
@include type-colors((
"string": seagreen,
"number": cornflowerblue,
"char": seagreen,
"varchar": seagreen,
"text": seagreen,
"int": cornflowerblue,
"tinyint": cornflowerblue,
"smallint": cornflowerblue,
"mediumint": cornflowerblue,
"datetime": coral,
"date": coral,
"time": coral,
"bit": lightskyblue,
"blob": darkorchid,
"null": gray,
))
"mediumblob": darkorchid,
"longblob": darkorchid,
"unknown": gray,
));
.is-null{
color: gray;
&::after{
content: 'NULL';
}
}