theme - create common styles for small text

Create common styles for small and small bold text. Add comments
to delineate the different text styles.

https://bugzilla.gnome.org/show_bug.cgi?id=668209
This commit is contained in:
Allan Day 2012-02-23 22:44:57 +01:00
parent 46ebe9ffc5
commit a5d78f2943

View File

@ -17,12 +17,16 @@
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
/* Text Styles */
/* default text style */
stage { stage {
font-family: cantarell, sans-serif; font-family: cantarell, sans-serif;
font-size: 11pt; font-size: 11pt;
color: white; color: white;
} }
/* links */
.shell-link { .shell-link {
color: #0000ff; color: #0000ff;
text-decoration: underline; text-decoration: underline;
@ -32,8 +36,24 @@ stage {
color: #0000e0; color: #0000e0;
} }
.label-shadow { /* small */
color: rgba(0,0,0,0.5); .app-well-menu,
.contact-details-status,
.run-dialog-label,
.run-dialog-error-label {
font-size: 9pt;
}
/* small bold */
.dash-label,
.window-caption,
.switcher-list,
.source-title,
.app-well-app > .overview-icon,
.remove-favorite > .overview-icon,
.search-result-content > .overview-icon {
font-size: 9pt;
font-weight: bold;
} }
/* Scroll Bars */ /* Scroll Bars */
@ -351,6 +371,11 @@ StScrollBar StButton#vhandle:hover
spacing: 4px; spacing: 4px;
} }
/* used for the app menu header only */
.label-shadow {
color: rgba(0,0,0,0.5);
}
.panel-button #appMenuIcon { .panel-button #appMenuIcon {
app-icon-bottom-clip: 1px; app-icon-bottom-clip: 1px;
} }
@ -496,8 +521,6 @@ StScrollBar StButton#vhandle:hover
.window-caption { .window-caption {
background: rgba(0,0,0,0.5); background: rgba(0,0,0,0.5);
border-radius: 8px; border-radius: 8px;
font-size: 9pt;
font-weight: bold;
padding: 4px 12px; padding: 4px 12px;
-shell-caption-spacing: 12px; -shell-caption-spacing: 12px;
} }
@ -679,8 +702,6 @@ StScrollBar StButton#vhandle:hover
border-radius: 7px; border-radius: 7px;
padding: 4px 12px; padding: 4px 12px;
background-color: rgba(0,0,0,0.5); background-color: rgba(0,0,0,0.5);
font-size: 0.9em;
font-weight: bold;
text-align: center; text-align: center;
-x-offset: 8px; -x-offset: 8px;
} }
@ -752,8 +773,6 @@ StScrollBar StButton#vhandle:hover
border-radius: 4px; border-radius: 4px;
padding: 3px; padding: 3px;
border: 1px rgba(0,0,0,0); border: 1px rgba(0,0,0,0);
font-size: 8pt;
font-weight: bold;
transition-duration: 100; transition-duration: 100;
text-align: center; text-align: center;
} }
@ -772,10 +791,6 @@ StScrollBar StButton#vhandle:hover
transition-duration: 100; transition-duration: 100;
} }
.app-well-menu {
font-size: 9pt;
}
/* Contacts */ /* Contacts */
.contact-grid { .contact-grid {
@ -815,10 +830,6 @@ StScrollBar StButton#vhandle:hover
padding-bottom: 8px; padding-bottom: 8px;
} }
.contact-details-status {
font-size: 10pt;
}
.contact-details-status-icon { .contact-details-status-icon {
padding-right: 4px; padding-right: 4px;
} }
@ -1502,8 +1513,6 @@ StScrollBar StButton#vhandle:hover
} }
.source-title { .source-title {
font-size: 9pt;
font-weight: bold;
padding-left: 4px; padding-left: 4px;
} }
@ -1523,9 +1532,6 @@ StScrollBar StButton#vhandle:hover
border: 1px solid rgba(128,128,128,0.40); border: 1px solid rgba(128,128,128,0.40);
border-radius: 24px; border-radius: 24px;
padding: 20px; padding: 20px;
font-size: 9pt;
color: white;
} }
.switcher-list-item-container { .switcher-list-item-container {
@ -1679,13 +1685,6 @@ StScrollBar StButton#vhandle:hover
} }
/* Run Dialog */ /* Run Dialog */
.run-dialog-label {
font-size: 9pt;
}
.run-dialog-error-label {
font-size: 9pt;
}
.run-dialog-error-box { .run-dialog-error-box {
padding-top: 15px; padding-top: 15px;