[Stylesheets] Add StatefulLabel and UrlLabel styles

This commit is contained in:
Chris Hennes
2021-10-12 11:23:53 -05:00
parent 23622c8e08
commit dc3583e5df
12 changed files with 396 additions and 9 deletions

View File

@@ -2282,28 +2282,32 @@ SKETCHER
==================================================================================================*/
Gui--StatefulLabel[state="empty_sketch"] {
color : rgba(255,255,255,127);
color : rgba(255,255,255,127); /* 50% opacity white */
}
Gui--StatefulLabel[state="under_constrained"] {
color : rgba(255,255,255,255);
color : rgba(255,255,255,255); /* White */
}
Gui--StatefulLabel[state="conflicting_constraints"] {
color : rgba(255,50,50,255);
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="malformed_constraints"] {
color : rgba(255,50,50,255);
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="redundant_constraints"] {
color : rgba(255,0,100,255);
color : rgba(255,69,0,255); /* Orange red */
}
Gui--StatefulLabel[state="partially_redundant_constraints"] {
color : rgba(255,25,100,255);
color : rgba(65,105,225,255); /* Royal blue */
}
Gui--StatefulLabel[state="solver_failed"] {
color : rgba(255,0,0,255);
color : rgba(255,0,0,255); /* Red */
font-weight: bold;
}
Gui--StatefulLabel[state="fully_constrained"] {
color : rgba(0,255,0,255);
color : rgba(0,255,0,255); /* Green */
font-weight: bold;
}
}
Gui--UrlLabel {
color : rgba(0,91,255,255); /* Deep sky blue */
text-decoration : underline;
}

View File

@@ -2243,3 +2243,39 @@ QPushButton#NavigationIndicator::menu-indicator {
image: none;
width: 0px;
}
/*==================================================================================================
SKETCHER
==================================================================================================*/
Gui--StatefulLabel[state="empty_sketch"] {
color : rgba(255,255,255,127); /* 50% opacity white */
}
Gui--StatefulLabel[state="under_constrained"] {
color : rgba(255,255,255,255); /* White */
}
Gui--StatefulLabel[state="conflicting_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="malformed_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="redundant_constraints"] {
color : rgba(255,69,0,255); /* Orange red */
}
Gui--StatefulLabel[state="partially_redundant_constraints"] {
color : rgba(65,105,225,255); /* Royal blue */
}
Gui--StatefulLabel[state="solver_failed"] {
color : rgba(255,0,0,255); /* Red */
font-weight: bold;
}
Gui--StatefulLabel[state="fully_constrained"] {
color : rgba(0,255,0,255); /* Green */
font-weight: bold;
}
Gui--UrlLabel {
color : rgba(0,91,255,255); /* Deep sky blue */
text-decoration : underline;
}

View File

@@ -2269,3 +2269,38 @@ QToolBar QToolButton[popupMode="1"] {
width: 100px;
background: red;
}
/*==================================================================================================
SKETCHER
==================================================================================================*/
Gui--StatefulLabel[state="empty_sketch"] {
color : rgba(255,255,255,127); /* 50% opacity white */
}
Gui--StatefulLabel[state="under_constrained"] {
color : rgba(255,255,255,255); /* White */
}
Gui--StatefulLabel[state="conflicting_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="malformed_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="redundant_constraints"] {
color : rgba(255,69,0,255); /* Orange red */
}
Gui--StatefulLabel[state="partially_redundant_constraints"] {
color : rgba(65,105,225,255); /* Royal blue */
}
Gui--StatefulLabel[state="solver_failed"] {
color : rgba(255,0,0,255); /* Red */
font-weight: bold;
}
Gui--StatefulLabel[state="fully_constrained"] {
color : rgba(0,255,0,255); /* Green */
font-weight: bold;
}
Gui--UrlLabel {
color : rgba(0,91,255,255); /* Deep sky blue */
text-decoration : underline;
}

View File

@@ -2242,3 +2242,38 @@ QPushButton#NavigationIndicator::menu-indicator {
image: none;
width: 0px;
}
/*==================================================================================================
SKETCHER
==================================================================================================*/
Gui--StatefulLabel[state="empty_sketch"] {
color : rgba(255,255,255,127); /* 50% opacity white */
}
Gui--StatefulLabel[state="under_constrained"] {
color : rgba(255,255,255,255); /* White */
}
Gui--StatefulLabel[state="conflicting_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="malformed_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="redundant_constraints"] {
color : rgba(255,69,0,255); /* Orange red */
}
Gui--StatefulLabel[state="partially_redundant_constraints"] {
color : rgba(65,105,225,255); /* Royal blue */
}
Gui--StatefulLabel[state="solver_failed"] {
color : rgba(255,0,0,255); /* Red */
font-weight: bold;
}
Gui--StatefulLabel[state="fully_constrained"] {
color : rgba(0,255,0,255); /* Green */
font-weight: bold;
}
Gui--UrlLabel {
color : rgba(0,91,255,255); /* Deep sky blue */
text-decoration : underline;
}

View File

@@ -2243,3 +2243,38 @@ QPushButton#NavigationIndicator::menu-indicator {
image: none;
width: 0px;
}
/*==================================================================================================
SKETCHER
==================================================================================================*/
Gui--StatefulLabel[state="empty_sketch"] {
color : rgba(255,255,255,127); /* 50% opacity white */
}
Gui--StatefulLabel[state="under_constrained"] {
color : rgba(255,255,255,255); /* White */
}
Gui--StatefulLabel[state="conflicting_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="malformed_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="redundant_constraints"] {
color : rgba(255,69,0,255); /* Orange red */
}
Gui--StatefulLabel[state="partially_redundant_constraints"] {
color : rgba(65,105,225,255); /* Royal blue */
}
Gui--StatefulLabel[state="solver_failed"] {
color : rgba(255,0,0,255); /* Red */
font-weight: bold;
}
Gui--StatefulLabel[state="fully_constrained"] {
color : rgba(0,255,0,255); /* Green */
font-weight: bold;
}
Gui--UrlLabel {
color : rgba(0,91,255,255); /* Deep sky blue */
text-decoration : underline;
}

View File

@@ -2269,3 +2269,38 @@ QToolBar QToolButton[popupMode="1"] {
width: 100px;
background: red;
}
/*==================================================================================================
SKETCHER
==================================================================================================*/
Gui--StatefulLabel[state="empty_sketch"] {
color : rgba(255,255,255,127); /* 50% opacity white */
}
Gui--StatefulLabel[state="under_constrained"] {
color : rgba(255,255,255,255); /* White */
}
Gui--StatefulLabel[state="conflicting_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="malformed_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="redundant_constraints"] {
color : rgba(255,69,0,255); /* Orange red */
}
Gui--StatefulLabel[state="partially_redundant_constraints"] {
color : rgba(65,105,225,255); /* Royal blue */
}
Gui--StatefulLabel[state="solver_failed"] {
color : rgba(255,0,0,255); /* Red */
font-weight: bold;
}
Gui--StatefulLabel[state="fully_constrained"] {
color : rgba(0,255,0,255); /* Green */
font-weight: bold;
}
Gui--UrlLabel {
color : rgba(0,91,255,255); /* Deep sky blue */
text-decoration : underline;
}

View File

@@ -2269,3 +2269,38 @@ QToolBar QToolButton[popupMode="1"] {
width: 100px;
background: red;
}
/*==================================================================================================
SKETCHER
==================================================================================================*/
Gui--StatefulLabel[state="empty_sketch"] {
color : rgba(255,255,255,127); /* 50% opacity white */
}
Gui--StatefulLabel[state="under_constrained"] {
color : rgba(255,255,255,255); /* White */
}
Gui--StatefulLabel[state="conflicting_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="malformed_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="redundant_constraints"] {
color : rgba(255,69,0,255); /* Orange red */
}
Gui--StatefulLabel[state="partially_redundant_constraints"] {
color : rgba(65,105,225,255); /* Royal blue */
}
Gui--StatefulLabel[state="solver_failed"] {
color : rgba(255,0,0,255); /* Red */
font-weight: bold;
}
Gui--StatefulLabel[state="fully_constrained"] {
color : rgba(0,255,0,255); /* Green */
font-weight: bold;
}
Gui--UrlLabel {
color : rgba(0,91,255,255); /* Deep sky blue */
text-decoration : underline;
}

View File

@@ -2269,3 +2269,38 @@ QToolBar QToolButton[popupMode="1"] {
width: 100px;
background: red;
}
/*==================================================================================================
SKETCHER
==================================================================================================*/
Gui--StatefulLabel[state="empty_sketch"] {
color : rgba(255,255,255,127); /* 50% opacity white */
}
Gui--StatefulLabel[state="under_constrained"] {
color : rgba(255,255,255,255); /* White */
}
Gui--StatefulLabel[state="conflicting_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="malformed_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="redundant_constraints"] {
color : rgba(255,69,0,255); /* Orange red */
}
Gui--StatefulLabel[state="partially_redundant_constraints"] {
color : rgba(65,105,225,255); /* Royal blue */
}
Gui--StatefulLabel[state="solver_failed"] {
color : rgba(255,0,0,255); /* Red */
font-weight: bold;
}
Gui--StatefulLabel[state="fully_constrained"] {
color : rgba(0,255,0,255); /* Green */
font-weight: bold;
}
Gui--UrlLabel {
color : rgba(0,91,255,255); /* Deep sky blue */
text-decoration : underline;
}

View File

@@ -2244,3 +2244,38 @@ QPushButton#NavigationIndicator::menu-indicator {
image: none;
width: 0px;
}
/*==================================================================================================
SKETCHER
==================================================================================================*/
Gui--StatefulLabel[state="empty_sketch"] {
color : rgba(0,0,0,127); /* 50% opacity black */
}
Gui--StatefulLabel[state="under_constrained"] {
color : rgba(0,0,0,255); /* Black */
}
Gui--StatefulLabel[state="conflicting_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="malformed_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="redundant_constraints"] {
color : rgba(255,69,0,255); /* Orange red */
}
Gui--StatefulLabel[state="partially_redundant_constraints"] {
color : rgba(65,105,225,255); /* Royal blue */
}
Gui--StatefulLabel[state="solver_failed"] {
color : rgba(255,0,0,255); /* Red */
font-weight: bold;
}
Gui--StatefulLabel[state="fully_constrained"] {
color : rgba(0,255,0,255); /* Green */
font-weight: bold;
}
Gui--UrlLabel {
color : rgba(0,0,255,255); /* Blue */
text-decoration : underline;
}

View File

@@ -2244,3 +2244,39 @@ QPushButton#NavigationIndicator::menu-indicator {
image: none;
width: 0px;
}
/*==================================================================================================
SKETCHER
==================================================================================================*/
Gui--StatefulLabel[state="empty_sketch"] {
color : rgba(0,0,0,127); /* 50% opacity black */
}
Gui--StatefulLabel[state="under_constrained"] {
color : rgba(0,0,0,255); /* Black */
}
Gui--StatefulLabel[state="conflicting_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="malformed_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="redundant_constraints"] {
color : rgba(255,69,0,255); /* Orange red */
}
Gui--StatefulLabel[state="partially_redundant_constraints"] {
color : rgba(65,105,225,255); /* Royal blue */
}
Gui--StatefulLabel[state="solver_failed"] {
color : rgba(255,0,0,255); /* Red */
font-weight: bold;
}
Gui--StatefulLabel[state="fully_constrained"] {
color : rgba(0,255,0,255); /* Green */
font-weight: bold;
}
Gui--UrlLabel {
color : rgba(0,0,255,255); /* Blue */
text-decoration : underline;
}

View File

@@ -2244,3 +2244,38 @@ QPushButton#NavigationIndicator::menu-indicator {
image: none;
width: 0px;
}
/*==================================================================================================
SKETCHER
==================================================================================================*/
Gui--StatefulLabel[state="empty_sketch"] {
color : rgba(0,0,0,127); /* 50% opacity black */
}
Gui--StatefulLabel[state="under_constrained"] {
color : rgba(0,0,0,255); /* Black */
}
Gui--StatefulLabel[state="conflicting_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="malformed_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="redundant_constraints"] {
color : rgba(255,69,0,255); /* Orange red */
}
Gui--StatefulLabel[state="partially_redundant_constraints"] {
color : rgba(65,105,225,255); /* Royal blue */
}
Gui--StatefulLabel[state="solver_failed"] {
color : rgba(255,0,0,255); /* Red */
font-weight: bold;
}
Gui--StatefulLabel[state="fully_constrained"] {
color : rgba(0,255,0,255); /* Green */
font-weight: bold;
}
Gui--UrlLabel {
color : rgba(0,0,255,255); /* Blue */
text-decoration : underline;
}

View File

@@ -2494,3 +2494,34 @@ QToolBar QToolButton[popupMode="1"] {
width: 100px;
background: red;
}
/*==================================================================================================
SKETCHER
==================================================================================================*/
Gui--StatefulLabel[state="empty_sketch"] {
color : rgba(255,255,255,127); /* 50% opacity white */
}
Gui--StatefulLabel[state="under_constrained"] {
color : rgba(255,255,255,255); /* White */
}
Gui--StatefulLabel[state="conflicting_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="malformed_constraints"] {
color : rgba(255,0,0,255); /* Red */
}
Gui--StatefulLabel[state="redundant_constraints"] {
color : rgba(255,69,0,255); /* Orange red */
}
Gui--StatefulLabel[state="partially_redundant_constraints"] {
color : rgba(65,105,225,255); /* Royal blue */
}
Gui--StatefulLabel[state="solver_failed"] {
color : rgba(255,0,0,255); /* Red */
font-weight: bold;
}
Gui--StatefulLabel[state="fully_constrained"] {
color : rgba(0,255,0,255); /* Green */
font-weight: bold;
}