Commit 474d2aab authored by Maroun, Kristin's avatar Maroun, Kristin
Browse files

change button colors to match qt, remove density default, remove justify...

parent 5c0c2dff
Loading
Loading
Loading
Loading
+27 −5
Original line number Diff line number Diff line
@@ -8,6 +8,10 @@ html {
    grid-auto-rows: auto;
}

.v-toolbar {
    box-shadow: none !important;
}

@media only screen and (max-width: 959px) {
    .d-grid {
        grid-template-columns: repeat(1, 1fr) !important;
@@ -20,7 +24,15 @@ html {

/* Global font sizes can't be set through the Vuetify configuration. */
.v-theme--CompactTheme {
    font-size: 0.85rem;
    font-size: 0.75rem;
    
    &.v-btn--variant-elevated.bg-primary {
        box-shadow: none !important;
        background-color: transparent !important;
        color: green !important;
        border: solid 1px lightgrey;
        border-radius: 4px;
    }

    .v-card-title,
    .v-list-item-title,
@@ -29,13 +41,23 @@ html {
    }

    .v-btn {
        min-width: 0px;
        padding: 5px 5px;
        box-shadow: none;
        min-width: 0px !important;
        padding: 5px 5px !important;
        box-shadow: none !important;
    }

    .v-btn__content {
        text-transform: none;
    }
    

    .v-label {
        font-size: 0.75rem;
    }

    .v-tab {
        height: 30px !important;
        min-width: fit-content !important;
        padding: 10px !important;
    }
}
+6 −7
Original line number Diff line number Diff line
@@ -152,17 +152,12 @@
                    "secondary": "#f48e5c"
                },
                "defaults": {
                    "global": {
                        "density": "compact"
                    },
                    "VBadge": {
                        "dot": true
                    },
                    "VBtn": {
                        "density": "compact",
                        "size": "small"
                    },
                    
                    "VTextField": {
                        "VBtn": {
                            "size": "small"
@@ -174,7 +169,11 @@
            }
        },
        "variations": {
            "colors": ["primary", "secondary", "accent"],
            "colors": [
                "primary",
                "secondary",
                "accent"
            ],
            "darken": 5,
            "lighten": 5
        }
+2 −2
Original line number Diff line number Diff line
@@ -136,14 +136,14 @@ class App(ThemedApp):
                    # [ setup grid complete ]
                    html.P("HBoxLayout")
                    # [ setup hbox ]
                    with HBoxLayout(classes="mb-4", width=400, halign="space-between"):
                    with HBoxLayout(classes="mb-4"):
                        vuetify.VBtn("Button 1")
                        vuetify.VBtn("Button 2")
                        vuetify.VBtn("Button 3")
                    # [ setup hbox complete ]
                    html.P("VBoxLayout")
                    # [ setup vbox ]
                    with VBoxLayout(classes="mb-4", height=100, valign="space-between"):
                    with VBoxLayout(classes="mb-4"):
                        vuetify.VBtn("Button 1")
                        vuetify.VBtn("Button 2")
                        vuetify.VBtn("Button 3")