Skip to content

Commit

Permalink
Added rules and fixed files. (oppia#6516)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalk342 authored and nithusha21 committed Apr 1, 2019
1 parent fb30835 commit 1f06a25
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@
"block-opening-brace-newline-after": "always-multi-line",
"block-opening-brace-space-after": "always-single-line",
"block-opening-brace-space-before": "always",
"declaration-colon-space-after": "always",
"declaration-colon-space-before": "never",
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
}

ul.oppia-sharing-links i.oppia-share-icons {
font-size: 40px;
font-size: 40px;
padding: 0 5px;
}

Expand Down
2 changes: 2 additions & 0 deletions core/templates/dev/head/css/.stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"block-opening-brace-newline-after": "always-multi-line",
"block-opening-brace-space-after": "always-single-line",
"block-opening-brace-space-before": "always",
"declaration-colon-space-after": "always",
"declaration-colon-space-before": "never",
"indentation": 2,
"no-descending-specificity": true,
"no-duplicate-selectors": true,
Expand Down
14 changes: 7 additions & 7 deletions core/templates/dev/head/css/oppia.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ md-input-group.md-default-theme label {
}

.md-button.oppia-learner-reload-image-button {
background:#ffffff;
background: #ffffff;
border: 2px solid;
border-color:#0D48A1;
color: #0D48A1;
border-color: #0D48A1;
color: #0D48A1;
padding-bottom: 12px;
padding-left: 20px;
padding-right: 20px;
Expand Down Expand Up @@ -1947,16 +1947,16 @@ pre.oppia-pre-wrapped-text {
-webkit-transform: rotate(-10deg);

background-color: yellow;
border:1px solid black;
border: 1px solid black;
color: firebrick;
cursor: pointer;
font-size: 20px;
font-weight: bold;
height:22px;
height: 22px;
line-height: 22px;
text-align: center;
transform: rotate(-10deg);
width:22px;
width: 22px;
}

.oppia-rule-details-header {
Expand Down Expand Up @@ -2532,7 +2532,7 @@ md-card.preview-conversation-skin-supplemental-card {
}

.oppia-modal-information-card .modal-dialog .modal-content md-card {
border-radius:0;
border-radius: 0;
margin: 0;
padding: 0;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@
font-family: 'Roboto', Arial, sans-serif;
font-size: 1.0em;
height: 100%;
position:fixed;
top:0;
bottom:0;
width:100%;
overflow-y:auto;
position: fixed;
top: 0;
bottom: 0;
width: 100%;
overflow-y: auto;
}

.oppia-progress-dot {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ <h1 class="stat-value"><[subscriptionsList.length]></h1>
}

.oppia-learner-dashboard-feedback-section .feedback-thread-warning {
color:#0277BD;
color: #0277BD;
margin-left: 4px;
}

Expand Down

0 comments on commit 1f06a25

Please sign in to comment.