Merge "Remove unused CSS styles"

This commit is contained in:
Shawn Pearce
2015-02-10 17:33:00 +00:00
committed by Gerrit Code Review
3 changed files with 0 additions and 421 deletions

View File

@@ -22,21 +22,14 @@ public interface GerritCss extends CssResource {
String accountDashboard(); String accountDashboard();
String accountInfoBlock(); String accountInfoBlock();
String accountLinkPanel(); String accountLinkPanel();
String accountName();
String accountPassword(); String accountPassword();
String accountUsername(); String accountUsername();
String activeRow(); String activeRow();
String addBranch(); String addBranch();
String addMemberTextBox(); String addMemberTextBox();
String addReviewer();
String addSshKeyPanel(); String addSshKeyPanel();
String addWatchPanel(); String addWatchPanel();
String approvalTable();
String approvalhint();
String approvalrole();
String approvalscore();
String avatarInfoPanel(); String avatarInfoPanel();
String blockHeader();
String bottomheader(); String bottomheader();
String cAPPROVAL(); String cAPPROVAL();
String cLastUpdate(); String cLastUpdate();
@@ -45,44 +38,32 @@ public interface GerritCss extends CssResource {
String cSUBJECT(); String cSUBJECT();
String cSTATUS(); String cSTATUS();
String cellsNextToFileComment(); String cellsNextToFileComment();
String changeComments();
String changeInfoBlock();
String changeInfoTopicPanel();
String changeScreen();
String changeScreenDescription(); String changeScreenDescription();
String changeScreenStarIcon(); String changeScreenStarIcon();
String changeSize(); String changeSize();
String changeTable(); String changeTable();
String changeTablePrevNextLinks(); String changeTablePrevNextLinks();
String changeTypeCell(); String changeTypeCell();
String changeid();
String closedstate();
String commentCell(); String commentCell();
String commentEditorPanel(); String commentEditorPanel();
String commentHolder(); String commentHolder();
String commentHolderLeftmost(); String commentHolderLeftmost();
String commentPanel(); String commentPanel();
String commentPanelAuthorCell(); String commentPanelAuthorCell();
String commentPanelBorder();
String commentPanelButtons(); String commentPanelButtons();
String commentPanelContent(); String commentPanelContent();
String commentPanelDateCell(); String commentPanelDateCell();
String commentPanelHeader(); String commentPanelHeader();
String commentPanelLast(); String commentPanelLast();
String commentPanelMenuBar();
String commentPanelMessage(); String commentPanelMessage();
String commentPanelSummary(); String commentPanelSummary();
String commentPanelSummaryCell(); String commentPanelSummaryCell();
String commentedActionDialog(); String commentedActionDialog();
String commentedActionMessage(); String commentedActionMessage();
String complexHeader();
String content();
String contributorAgreementAlreadySubmitted(); String contributorAgreementAlreadySubmitted();
String contributorAgreementButton(); String contributorAgreementButton();
String contributorAgreementLegal(); String contributorAgreementLegal();
String contributorAgreementShortDescription(); String contributorAgreementShortDescription();
String coverMessage();
String createGroupLink();
String createProjectPanel(); String createProjectPanel();
String dataCell(); String dataCell();
String dataCellHidden(); String dataCellHidden();
@@ -93,7 +74,6 @@ public interface GerritCss extends CssResource {
String diffTextCONTEXT(); String diffTextCONTEXT();
String diffTextDELETE(); String diffTextDELETE();
String diffTextFileHeader(); String diffTextFileHeader();
String diffTextForBinaryInSideBySide();
String diffTextHunkHeader(); String diffTextHunkHeader();
String diffTextINSERT(); String diffTextINSERT();
String diffTextNoLF(); String diffTextNoLF();
@@ -108,7 +88,6 @@ public interface GerritCss extends CssResource {
String downloadLinkHeader(); String downloadLinkHeader();
String downloadLinkHeaderGap(); String downloadLinkHeaderGap();
String downloadLinkList(); String downloadLinkList();
String downloadLinkListCell();
String downloadLink_Active(); String downloadLink_Active();
String drafts(); String drafts();
String editHeadButton(); String editHeadButton();
@@ -117,23 +96,18 @@ public interface GerritCss extends CssResource {
String errorDialogButtons(); String errorDialogButtons();
String errorDialogErrorType(); String errorDialogErrorType();
String errorDialogGlass(); String errorDialogGlass();
String errorDialogText();
String errorDialogTitle(); String errorDialogTitle();
String loadingPluginsDialog(); String loadingPluginsDialog();
String fileColumnHeader(); String fileColumnHeader();
String fileCommentBorder(); String fileCommentBorder();
String fileLine(); String fileLine();
String fileLineCONTEXT();
String fileLineDELETE(); String fileLineDELETE();
String fileLineINSERT(); String fileLineINSERT();
String fileLineMode();
String fileLineNone();
String filePathCell(); String filePathCell();
String gerritBody(); String gerritBody();
String gerritTopMenu(); String gerritTopMenu();
String greenCheckClass(); String greenCheckClass();
String groupDescriptionPanel(); String groupDescriptionPanel();
String groupExternalNameFilterTextBox();
String groupIncludesTable(); String groupIncludesTable();
String groupMembersTable(); String groupMembersTable();
String groupName(); String groupName();
@@ -142,21 +116,16 @@ public interface GerritCss extends CssResource {
String groupOptionsPanel(); String groupOptionsPanel();
String groupOwnerPanel(); String groupOwnerPanel();
String groupOwnerTextBox(); String groupOwnerTextBox();
String groupTypeSelectListBox();
String groupUUIDPanel(); String groupUUIDPanel();
String header(); String header();
String hyperlink();
String iconCell(); String iconCell();
String iconCellOfFileCommentRow(); String iconCellOfFileCommentRow();
String iconHeader(); String iconHeader();
String identityUntrustedExternalId(); String identityUntrustedExternalId();
String infoBlock(); String infoBlock();
String infoTable();
String inputFieldTypeHint(); String inputFieldTypeHint();
String labelList();
String labelNotApplicable(); String labelNotApplicable();
String leftMostCell(); String leftMostCell();
String lineHeader();
String lineNumber(); String lineNumber();
String link(); String link();
String linkMenuBar(); String linkMenuBar();
@@ -169,60 +138,38 @@ public interface GerritCss extends CssResource {
String menuBarUserNamePanel(); String menuBarUserNamePanel();
String menuItem(); String menuItem();
String menuScreenMenuBar(); String menuScreenMenuBar();
String missingApproval();
String missingApprovalList();
String monospace();
String needsReview(); String needsReview();
String negscore(); String negscore();
String noLineLineNumber();
String noborder(); String noborder();
String notVotable();
String outdated();
String parentsTable();
String patchBrowserPopup(); String patchBrowserPopup();
String patchBrowserPopupBody(); String patchBrowserPopupBody();
String patchCellReverseDiff(); String patchCellReverseDiff();
String patchComments();
String patchContentTable(); String patchContentTable();
String patchHistoryTable(); String patchHistoryTable();
String patchHistoryTablePatchSetHeader(); String patchHistoryTablePatchSetHeader();
String patchNoDifference(); String patchNoDifference();
String patchScreenDisplayControls();
String patchSetActions(); String patchSetActions();
String patchSetInfoBlock();
String patchSetLink();
String patchSetRevision();
String patchSetUserIdentity();
String patchSizeCell(); String patchSizeCell();
String pluginProjectConfigInheritedValue(); String pluginProjectConfigInheritedValue();
String pluginsTable(); String pluginsTable();
String posscore(); String posscore();
String projectActions(); String projectActions();
String projectAdminLabelRangeLine();
String projectAdminLabelValue();
String projectFilterLabel(); String projectFilterLabel();
String projectFilterPanel(); String projectFilterPanel();
String projectNameColumn(); String projectNameColumn();
String publishCommentsScreen();
String registerScreenExplain(); String registerScreenExplain();
String registerScreenNextLinks(); String registerScreenNextLinks();
String registerScreenSection(); String registerScreenSection();
String removeReviewer();
String removeReviewerCell();
String reviewedPanelBottom(); String reviewedPanelBottom();
String rightBorder(); String rightBorder();
String rightmost();
String rpcStatus(); String rpcStatus();
String screen(); String screen();
String screenHeader(); String screenHeader();
String screenNoHeader();
String searchPanel(); String searchPanel();
String suggestBoxPopup(); String suggestBoxPopup();
String sectionHeader(); String sectionHeader();
String selectPatchSetOldVersion();
String sideBySideScreenLinkTable(); String sideBySideScreenLinkTable();
String singleLine(); String singleLine();
String skipLine();
String smallHeading(); String smallHeading();
String sourceFilePath(); String sourceFilePath();
String specialBranchDataCell(); String specialBranchDataCell();
@@ -244,7 +191,6 @@ public interface GerritCss extends CssResource {
String unifiedTable(); String unifiedTable();
String unifiedTableHeader(); String unifiedTableHeader();
String userInfoPopup(); String userInfoPopup();
String useridentity();
String usernameField(); String usernameField();
String watchedProjectFilter(); String watchedProjectFilter();
} }

View File

@@ -84,10 +84,6 @@ a:hover {
color: black; color: black;
} }
.hyperlink {
text-decoration: underline;
}
.accountLinkPanel { .accountLinkPanel {
display: inline; display: inline;
} }
@@ -105,10 +101,6 @@ a:hover {
top: -1px; top: -1px;
} }
.accountName {
white-space: nowrap;
}
.inputFieldTypeHint { .inputFieldTypeHint {
color: grey; color: grey;
} }
@@ -118,13 +110,6 @@ a:hover {
font-weight: bold; font-weight: bold;
} }
.blockHeader {
font-size: small;
font-weight: bold;
background: trimColor;
padding: 0.2em 0.2em 0.2em 0.5em;
}
.link { .link {
cursor: pointer; cursor: pointer;
} }
@@ -156,47 +141,6 @@ a:hover {
} }
/** CommentPanel **/ /** CommentPanel **/
.commentPanelBorder {
border-top: 1px solid lightgray;
border-left: 1px solid lightgray;
border-right: 1px solid lightgray;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
.commentPanelBorder.commentPanelLast {
border-bottom: 1px solid lightgray;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
}
@if user.agent safari {
.commentPanelBorder {
\-webkit-border-top-left-radius: 8px;
\-webkit-border-top-right-radius: 8px;
\-webkit-border-bottom-left-radius: 0px;
\-webkit-border-bottom-right-radius: 0px;
}
.commentPanelBorder.commentPanelLast {
\-webkit-border-bottom-left-radius: 8px;
\-webkit-border-bottom-right-radius: 8px;
}
}
@if user.agent gecko1_8 {
.commentPanelBorder {
\-moz-border-radius-topleft: 8px;
\-moz-border-radius-topright: 8px;
\-moz-border-radius-bottomleft: 0;
\-moz-border-radius-bottomright: 0;
}
.commentPanelBorder.commentPanelLast {
\-moz-border-radius-bottomleft: 8px;
\-moz-border-radius-bottomright: 8px;
}
}
.commentPanelHeader { .commentPanelHeader {
cursor: pointer; cursor: pointer;
width: 100%; width: 100%;
@@ -224,9 +168,6 @@ a:hover {
padding-left: 0.5em; padding-left: 0.5em;
padding-right: 0.5em; padding-right: 0.5em;
} }
.commentPanelMenuBar {
float: right;
}
.commentPanelMessage p { .commentPanelMessage p {
margin-top: 0px; margin-top: 0px;
margin-bottom: 0px; margin-bottom: 0px;
@@ -428,10 +369,6 @@ a:hover {
width: 100%; width: 100%;
margin-top: 15px; margin-top: 15px;
} }
.errorDialogText {
font-size: 15px;
font-family: verdana;
}
.errorDialog a, .errorDialog a,
.errorDialog a:visited, .errorDialog a:visited,
.errorDialog a:hover { .errorDialog a:hover {
@@ -459,10 +396,6 @@ a:hover {
overflow: hidden; overflow: hidden;
} }
.screenNoHeader {
margin-top: 5px;
}
/** ChangeTable **/ /** ChangeTable **/
.changeTable { .changeTable {
border-collapse: separate; border-collapse: separate;
@@ -477,10 +410,6 @@ a:hover {
background: tableOddRowColor; background: tableOddRowColor;
} }
.changeTable .outdated {
background: changeTableOutdatedColor !important;
}
.changeTable .iconCell { .changeTable .iconCell {
width: 1px; width: 1px;
padding: 0px; padding: 0px;
@@ -675,10 +604,6 @@ a:hover {
/** PatchScreen **/ /** PatchScreen **/
.patchScreenDisplayControls .gwt-CheckBox {
margin-right: 1em;
}
.reviewedPanelBottom { .reviewedPanelBottom {
float: right; float: right;
font-size: small; font-size: small;
@@ -716,10 +641,6 @@ a:hover {
border-left: thin solid #b0bdcc; border-left: thin solid #b0bdcc;
} }
.patchContentTable .diffTextForBinaryInSideBySide {
width: 50%;
}
.patchContentTable .diffTextFileHeader { .patchContentTable .diffTextFileHeader {
color: grey; color: grey;
font-weight: bold; font-weight: bold;
@@ -787,9 +708,6 @@ a:hover {
background: white; background: white;
border-bottom: 1px solid white; border-bottom: 1px solid white;
} }
.lineNumber.rightmost {
border-left: thin solid #b0bdcc;
}
.lineNumber.rightBorder { .lineNumber.rightBorder {
border-right: thin solid #b0bdcc; border-right: thin solid #b0bdcc;
} }
@@ -809,14 +727,6 @@ a:hover {
.lineNumber.fileColumnHeader { .lineNumber.fileColumnHeader {
border-bottom: 1px solid trimColor; border-bottom: 1px solid trimColor;
} }
.noLineLineNumber {
font-family: mono-font;
width: 3.5em;
padding-left: 0.2em;
padding-right: 0.2em;
background: white;
border-bottom: 1px solid white;
}
.fileLine { .fileLine {
padding-left: 0; padding-left: 0;
@@ -824,22 +734,11 @@ a:hover {
white-space: pre; white-space: pre;
border-left: thin solid #b0bdcc; border-left: thin solid #b0bdcc;
} }
.fileLineNone {
background: #eeeeee;
border-bottom: 1px solid #eeeeee;
}
.fileLineMode {
font-weight: bold;
}
.fileLineDELETE, .fileLineDELETE,
.fileLineDELETE .wdc { .fileLineDELETE .wdc {
background: #ffeeee; background: #ffeeee;
border-bottom: 1px solid #ffeeee; border-bottom: 1px solid #ffeeee;
} }
.fileLineCONTEXT {
background: white;
border-bottom: 1px solid white;
}
.fileLineINSERT, .fileLineINSERT,
.fileLineINSERT .wdc { .fileLineINSERT .wdc {
background: #ddffdd; background: #ddffdd;
@@ -852,27 +751,6 @@ a:hover {
border-bottom: 1px solid #9F9; border-bottom: 1px solid #9F9;
} }
.patchContentTable .skipLine .iconCell,
.patchContentTable .skipLine {
font-family: norm-font;
text-align: center;
font-style: italic;
background: #def;
color: grey;
}
.patchContentTable .skipLine div {
display: inline;
}
.patchContentTable a.skipLine {
color: grey;
text-decoration: none;
}
.patchContentTable a:hover.skipLine {
background: white;
color: #00A;
text-decoration: underline;
}
.patchContentTable td.cellsNextToFileComment { .patchContentTable td.cellsNextToFileComment {
background: trimColor; background: trimColor;
border-top: trimColor; border-top: trimColor;
@@ -908,36 +786,6 @@ a:hover {
margin-right: 5px; margin-right: 5px;
} }
.changeScreen .gwt-DisclosurePanel .header td {
font-weight: bold;
white-space: nowrap;
}
.changeScreen .gwt-DisclosurePanel .complexHeader {
white-space: nowrap;
}
.changeScreen .gwt-DisclosurePanel .complexHeader span {
white-space: nowrap;
}
.patchSetRevision {
padding-left: 20px;
font-size: 8pt;
}
.patchSetLink {
padding-left: 0.5em;
font-size: 8pt;
}
.changeScreen .gwt-DisclosurePanel .content {
margin-bottom: 10px;
}
.gwt-DisclosurePanel .content {
margin-left: 10px;
}
.changeScreenDescription, .changeScreenDescription,
.changeScreenDescription textarea { .changeScreenDescription textarea {
white-space: pre; white-space: pre;
@@ -949,74 +797,6 @@ a:hover {
padding-top: 0.5em; padding-top: 0.5em;
} }
.changeComments {
padding-top: 1em;
width: 60em;
}
.infoTable {
border-collapse: collapse;
border-spacing: 0;
}
.infoTable td {
border-left: 1px solid trimColor;
border-bottom: 1px solid trimColor;
padding: 2px 6px 1px;
}
.infoTable td.header {
background-color: trimColor;
font-weight: normal;
padding: 2px 4px 0 6px;
font-style: italic;
text-align: left;
vertical-align: top;
white-space: nowrap;
}
.rightmost {
border-right: 1px solid trimColor;
}
.infoTable td.approvalrole {
width: 5em;
border-left: none;
font-style: italic;
white-space: nowrap;
}
.infoTable td.approvalscore {
text-align: center;
}
.infoTable td.notVotable {
background: #F5F5F5;
}
.infoTable td.negscore {
color: red;
}
.infoTable td.posscore {
color: #08a400;
}
.infoTable td.approvalhint {
white-space: nowrap;
text-align: left;
color: #444444;
}
.changeInfoBlock {
margin-right: 15px;
}
.changeInfoTopicPanel img {
float: right;
}
.changeInfoTopicPanel a {
float: left;
}
.avatarInfoPanel { .avatarInfoPanel {
margin-right: 10px; margin-right: 10px;
} }
@@ -1060,27 +840,6 @@ a:hover {
border-bottom: 1px solid trimColor; border-bottom: 1px solid trimColor;
} }
.infoBlock td.closedstate {
font-weight: bold;
}
.infoBlock td.useridentity {
white-space: nowrap;
}
.changeInfoBlock td.changeid {
font-size: x-small;
}
.patchSetInfoBlock {
margin-bottom: 10px;
}
.patchSetUserIdentity {
white-space: nowrap;
}
.patchSetUserIdentity .gwt-InlineLabel {
margin-left: 0.2em;
}
.patchSetActions { .patchSetActions {
margin-bottom: 10px; margin-bottom: 10px;
@@ -1090,39 +849,6 @@ a:hover {
font-size: 8pt; font-size: 8pt;
} }
.selectPatchSetOldVersion {
font-weight: bold;
margin-right: 30px;
margin-top: 5px;
}
.approvalTable {
margin-top: 1em;
margin-bottom: 1em;
}
.missingApprovalList {
margin-top: 5px;
margin-left: 1em;
padding-left: 1em;
margin-bottom: 0px;
}
.missingApproval {
font-size: small;
white-space: nowrap;
}
.addReviewer {
margin-left: 1em;
margin-top: 5px;
white-space: nowrap;
}
.removeReviewer {
padding: 0px;
}
td.removeReviewerCell {
padding-left: 4em;
border-left: none;
}
.downloadBox { .downloadBox {
min-width: 580px; min-width: 580px;
margin: 5px; margin: 5px;
@@ -1168,9 +894,6 @@ td.removeReviewerCell {
.downloadBoxCopyLabel div { .downloadBoxCopyLabel div {
float: right; float: right;
} }
td.downloadLinkListCell {
padding: 0px;
}
.downloadLinkHeader { .downloadLinkHeader {
background: trimColor; background: trimColor;
white-space: nowrap; white-space: nowrap;
@@ -1209,27 +932,6 @@ a:hover.downloadLink {
width: 30em; width: 30em;
} }
.parentsTable {
border-style: none;
outline: 0px;
padding: 0px;
border-spacing: 0px;
text-align: left;
font-family: mono-font;
font-size: 10px;
}
.parentsTable td.noborder {
border: none;
}
.parentsTable td.monospace {
font-family: mono-font;
font-size: 10px;
margin: 0px;
padding-left: 0px;
}
/** UnifiedScreen **/ /** UnifiedScreen **/
.unifiedTable { .unifiedTable {
width: 100%; width: 100%;
@@ -1348,10 +1050,6 @@ a:hover.downloadLink {
width: 100%; width: 100%;
} }
.createGroupLink {
margin-bottom: 10px;
}
.createProjectPanel { .createProjectPanel {
margin-bottom: 10px; margin-bottom: 10px;
background-color: trimColor; background-color: trimColor;
@@ -1437,66 +1135,10 @@ a:hover.downloadLink {
width: 45em; width: 45em;
} }
.projectAdminLabelRangeLine {
white-space: nowrap;
}
.projectAdminLabelValue {
font-family: mono-font;
font-size: small;
}
.projectActions { .projectActions {
margin-bottom: 10px; margin-bottom: 10px;
} }
/** PublishCommentsScreen **/
.publishCommentsScreen .smallHeading {
font-size: small;
font-weight: bold;
white-space: nowrap;
}
.publishCommentsScreen .labelList {
margin-bottom: 10px;
margin-left: 10px;
background: trimColor;
width: 25em;
white-space: nowrap;
padding-top: 2px;
padding-bottom: 2px;
}
.publishCommentsScreen .coverMessage {
margin-left: 10px;
padding: 5px 5px 5px 5px;
}
.publishCommentsScreen .coverMessage textarea {
font-size: small;
}
.publishCommentsScreen .labelList .gwt-RadioButton {
font-size: smaller;
}
.publishCommentsScreen .patchComments {
margin-left: 1em;
margin-right: 0.5em;
margin-bottom: 0.5em;
}
.publishCommentsScreen .gwt-Hyperlink {
white-space: nowrap;
font-size: small;
}
.publishCommentsScreen .lineHeader {
white-space: nowrap;
font-family: mono-font;
font-size: small;
font-style: italic;
padding-left: 3px;
}
.publishCommentsScreen .commentPanel {
border: none;
width: 35em;
}
.publishCommentsScreen .commentPanelDateCell {
display: none;
}
/** CommentedActionDialog **/ /** CommentedActionDialog **/
.commentedActionDialog .gwt-DisclosurePanel .header td { .commentedActionDialog .gwt-DisclosurePanel .header td {
@@ -1539,10 +1181,6 @@ a:hover.downloadLink {
.groupDescriptionPanel { .groupDescriptionPanel {
margin-bottom: 3px; margin-bottom: 3px;
} }
.groupExternalNameFilterTextBox {
margin-right: 2px;
margin-bottom: 2px;
}
.groupNamePanel { .groupNamePanel {
margin-bottom: 3px; margin-bottom: 3px;
} }
@@ -1558,9 +1196,6 @@ a:hover.downloadLink {
.groupOwnerTextBox { .groupOwnerTextBox {
margin-bottom: 2px; margin-bottom: 2px;
} }
.groupTypeSelectListBox {
margin-bottom: 2px;
}
/** AccountGroupMembersScreen **/ /** AccountGroupMembersScreen **/

View File

@@ -14,7 +14,6 @@
package com.google.gerrit.client.ui; package com.google.gerrit.client.ui;
import com.google.gerrit.client.Gerrit;
import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.Element;
import com.google.gwt.event.logical.shared.CloseHandler; import com.google.gwt.event.logical.shared.CloseHandler;
import com.google.gwt.event.logical.shared.HasCloseHandlers; import com.google.gwt.event.logical.shared.HasCloseHandlers;
@@ -56,7 +55,6 @@ public class ComplexDisclosurePanel extends Composite implements
{ {
setElement((Element)(DOM.createTD())); setElement((Element)(DOM.createTD()));
getElement().setInnerHTML(" "); getElement().setInnerHTML(" ");
addStyleName(Gerrit.RESOURCES.css().complexHeader());
} }
@Override @Override