Skip to content

minor css and js cleanup #1080

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 30, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions web/default/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -488,15 +488,14 @@ table#revisions tbody tr td p {
}
}

.rssbadge { /* RSS/XML Feed on history page */
text-align: right;
margin: 1ex 0;
}

.rev-message-hidden {
display: none;
}

.rssbadge { /* RSS/XML Feed on history page */
text-align: right;
margin: 1ex 0;
}

/* *** diff page *** */
#diffbar { /* diff navbar: contains the tabs to select diff format */
Expand Down
24 changes: 23 additions & 1 deletion web/offwhite/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -504,12 +504,34 @@ table#revisions {
color: #755;
}

table#revisions tbody tr td p {
-ms-word-break: break-all;
-ms-word-wrap: break-all;
-webkit-word-break: break-word;
-webkit-word-wrap: break-word;
word-break: break-word;
word-wrap: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}

@-moz-document url-prefix() {
table#revisions tbody tr td p {
word-break: break-all;
}
}

.rev-message-hidden {
display: none;
}

.rssbadge { /* RSS/XML Feed on history page */
text-align: right;
margin: 1ex 0;
}


/* *** diff page *** */
#diffbar { /* diff navbar: contains the tabs to select diff format */
margin-top: 1.5ex;
Expand Down
24 changes: 23 additions & 1 deletion web/polished/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -560,12 +560,34 @@ table#revisions {
color: #755;
}

table#revisions tbody tr td p {
-ms-word-break: break-all;
-ms-word-wrap: break-all;
-webkit-word-break: break-word;
-webkit-word-wrap: break-word;
word-break: break-word;
word-wrap: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}

@-moz-document url-prefix() {
table#revisions tbody tr td p {
word-break: break-all;
}
}

.rev-message-hidden {
display: none;
}

.rssbadge { /* RSS/XML Feed on history page */
text-align: right;
margin: 1ex 0;
}


/* *** diff page *** */
#diffbar { /* diff navbar: contains the tabs to select diff format */
margin-top: 1.5ex;
Expand Down
8 changes: 6 additions & 2 deletions web/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,7 @@ function domReadyHistory() {
// will go mad !
$("#revisions input[type=radio]").bind("click",togglediffs);
togglediffs();
togglerevs();
}

function get_annotations() {
Expand Down Expand Up @@ -854,7 +855,10 @@ function togglediffs() {
);
}

$(document).ready(function() {
/**
* Function to toggle revision message length for long revision messages
*/
function togglerevs() {
$(".rev-toggle-a").click(function() {
var toggleState = $(this).closest("p").attr("data-toggle-state");
var thisCell = $(this).closest("td");
Expand All @@ -874,7 +878,7 @@ $(document).ready(function() {

return false;
});
});
}

function selectAllProjects() {
$("#project *").attr("selected", "selected");
Expand Down