Skip to content

Commit

Permalink
stylelint: no-duplicate-selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
julen committed Apr 21, 2020
1 parent 7b66d55 commit b785a0d
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 69 deletions.
6 changes: 1 addition & 5 deletions pootle/static/css/actions.css
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ body.translate #actions

#translate-actions li
{
display: inline-block;
margin-left: 2em;
margin-right: -0.5em;
font-weight: bold;
Expand All @@ -201,11 +202,6 @@ html[dir="rtl"] #translate-actions li
margin-left: -0.5em;
}

#translate-actions li
{
display: inline-block;
}

#translate-actions .counter
{
padding: 0.1em 0.9em;
Expand Down
6 changes: 0 additions & 6 deletions pootle/static/css/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -1058,12 +1058,6 @@ html[dir="rtl"] .extra-item-block .suggestion-feedback .buttons button
text-align: center;
}

.translate-full.unit-locked .unit-locked-lightbox,
.translate-full.suggestion-expanded .translate-lightbox
{
display: block;
}

#suggestions .extra-item-block.suggestion-expanded.can-review,
#suggestions .extra-item-block.suggestion-expanded.can-review:hover
{
Expand Down
4 changes: 0 additions & 4 deletions pootle/static/css/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,6 @@ html[dir="rtl"] #nav-main li i
border: 2px solid white;
border-radius: 50%;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

#user .avatar-image
{
top: 4px;
}

Expand Down
6 changes: 1 addition & 5 deletions pootle/static/css/reports.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ table.stats td

#reports-params
{
display: none;
white-space: nowrap;
text-align: center;
}
Expand Down Expand Up @@ -216,11 +217,6 @@ html[dir="rtl"] #detailed
text-align: left;
}

#reports-params
{
display: none;
}

#forms
{
display: none;
Expand Down
11 changes: 1 addition & 10 deletions pootle/static/css/scores.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
{
display: inline-flex;
white-space: nowrap;
padding-left: 1em;
}

.path-summary-more .top-scorers .top-scorer,
Expand Down Expand Up @@ -67,11 +68,6 @@ html[dir="rtl"] .path-summary-more .top-scorer .user-name
}
}

.path-summary-more .top-scorers .top-scorer
{
padding-left: 1em;
}

html[dir="rtl"] .path-summary-more .top-scorers .top-scorer
{
padding-right: 1em;
Expand Down Expand Up @@ -107,11 +103,6 @@ html[dir="rtl"] .path-summary-more .top-scorers-table tr td.number:first-child
padding-right: auto;
}

html[dir="rtl"] .path-summary-more .top-scorers-table tr td.number:first-child
{
text-align: right;
}

.top-scorer a
{
position: relative;
Expand Down
21 changes: 4 additions & 17 deletions pootle/static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,7 @@
.header
{
background-color: #eee;
}

#body
{
background: white;
padding: 0 1.5em;
}

html,
Expand Down Expand Up @@ -131,6 +127,8 @@ acronym
{
border-bottom: 1px dotted #130f30;
cursor: help;
border: 0;
font-variant: normal;
}

p,
Expand Down Expand Up @@ -274,13 +272,6 @@ q::after
content: '';
}

abbr,
acronym
{
border: 0;
font-variant: normal;
}

sup
{
vertical-align: text-top;
Expand Down Expand Up @@ -620,6 +611,7 @@ html[dir="rtl"] #autorefresh-notice .x

#body
{
background: white;
margin: 0;
padding: 0;
position: relative;
Expand Down Expand Up @@ -1334,11 +1326,6 @@ html[dir="rtl"] ul.pager li:last-child > *
* HEADER
*/

.header
{
padding: 0 1.5em;
}

#header-tabs
{
border-bottom: 1px solid #d9d9d9;
Expand Down
1 change: 0 additions & 1 deletion pootle/static/css/user.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@
color: #f33;
}

#user-stats .user-detailed-stats,
#user-stats .user-detailed-stats
{
margin-bottom: 1em;
Expand Down
1 change: 0 additions & 1 deletion pootle/static/css/zing-icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
.icon-expand-tasks,
.icon-expand-stats,
.icon-collapse-stats,
.icon-web-translate,
.icon-warning,
.icon-timeline,
.icon-tick,
Expand Down
9 changes: 3 additions & 6 deletions pootle/static/js/admin/duedates/components/DueDatePicker.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@
.DayPicker-NavButton--prev
{
left: 0;

/* flip horizontally */
transform: scale(-1, 1);
}

.DayPicker-NavButton--next
Expand All @@ -123,12 +126,6 @@
content: 'h';
}

.DayPicker-NavButton--prev
{
/* flip horizontally */
transform: scale(-1, 1);
}

.DayPicker-Caption
{
display: table-caption;
Expand Down
16 changes: 2 additions & 14 deletions pootle/static/js/admin/general/components/LiveEditor.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
.content-editor
{
border: 1px solid #dadada;
margin-bottom: 1.5em;
}

.content-editor .CodeMirror
{
border: 0;
cursor: text;
height: 100%;
}


Expand Down Expand Up @@ -52,23 +54,9 @@
.content-preview
{
flex: 1;
}

.content-preview
{
overflow-y: scroll;
}

.content-editor
{
margin-bottom: 1.5em;
}

.content-editor .CodeMirror
{
height: 100%;
}

@media screen and (min-width: 1600px)
{

Expand Down

0 comments on commit b785a0d

Please sign in to comment.