Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 5d7844a

Browse files
author
Jamie Snape
committed
Fix various scss-lint errors
1 parent 25c4c00 commit 5d7844a

File tree

109 files changed

+978
-441
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+978
-441
lines changed

.scss-lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ scss_files: '**/public/scss/*.scss'
2323
exclude:
2424
- '**/public/**/*.css'
2525
- 'core/public/scss/mixins/**'
26+
- 'library/SwaggerUI/**'
2627
- 'vendor/**'
2728

2829
linters:

core/public/scss/admin/admin.dashboard.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
/* Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0. */
1+
// Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0.
22

33
.databaseIntegrityWrapper {
44
border-top: 1px solid #D7D7D7;
55
margin-top: 5px;
66
padding-top: 10px;
7+
78
ul {
89
list-style-type: none;
910
margin-left: 0;

core/public/scss/admin/admin.index.scss

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,33 @@
1-
/* Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0. */
1+
// Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0.
22

33
div {
44
&.viewSideBar input.globalButton {
55
margin-left: 0 !important;
66
}
7+
78
&.viewWrapper {
89
padding-right: 40px !important;
910
}
11+
1012
&.assetstoreElement {
1113
border-bottom: 1px solid #D0D0D0;
1214
margin-bottom: 10px;
1315
padding-bottom: 8px;
1416
}
17+
1518
&.assetstoreNameContainer {
1619
font-size: 14px;
1720
font-weight: bold;
1821
margin-bottom: 4px;
1922
}
23+
2024
&.assetstoreActions {
2125
margin-top: 5px;
2226
}
2327
}
2428

25-
.errorText, .freeSpaceWarning {
29+
.errorText,
30+
.freeSpaceWarning {
2631
color: #F00;
2732
}
2833

@@ -32,7 +37,8 @@ tr.moduleElementError td {
3237
}
3338

3439
a {
35-
&.moduleVisibleCategoryLink, &.moduleHiddenCategoryLink {
40+
&.moduleVisibleCategoryLink,
41+
&.moduleHiddenCategoryLink {
3642
font-size: 13px !important;
3743
font-weight: bold !important;
3844
}

core/public/scss/admin/admin.migrate.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0. */
1+
// Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0.
22

33
h2 {
44
margin-left: 10px;
@@ -8,6 +8,7 @@ form.migrateForm dl {
88
border: 0;
99
margin-top: 25px;
1010
width: 800px;
11+
1112
dt {
1213
border-bottom: 1px solid #EEE;
1314
float: left;
@@ -18,6 +19,7 @@ form.migrateForm dl {
1819
text-align: right;
1920
width: 200px;
2021
}
22+
2123
dd {
2224
border-bottom: 1px solid #EEE;
2325
display: inline;
@@ -32,7 +34,8 @@ form.migrateForm dl {
3234
}
3335
}
3436

35-
#submit-label, #submit-element {
37+
#submit-label,
38+
#submit-element {
3639
border-bottom: 0;
3740
}
3841

core/public/scss/admin/admin.upgrade.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0. */
1+
// Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0.
22

33
div.viewSideBar input.globalButton {
44
margin-left: 0 !important;

core/public/scss/assetstore/assetstore.add.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1-
/* Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0. */
1+
// Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0.
22

33
form.assetstoreForm {
44
font-size: 12px;
5+
56
dl {
67
margin-top: 0;
78
width: 250px;
9+
810
dt {
911
clear: both;
1012
font-weight: bold;
1113
margin-top: 5px;
1214
text-align: left;
1315
}
16+
1417
dd {
1518
border-bottom: 1px solid #EEE;
1619
margin-left: 0;
@@ -27,6 +30,7 @@ form.assetstoreForm {
2730
display: none;
2831
}
2932

30-
dd.submit-element, #addassetstore-label {
33+
dd.submit-element,
34+
#addassetstore-label {
3135
border-bottom: 0;
3236
}

core/public/scss/assetstore/assetstore.movedialog.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
/* Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0. */
1+
// Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0.
22

33
div.bottomButtons {
4-
margin-top: 15px;
54
float: right;
5+
margin-top: 15px;
66
}
77

88
#moveBitstreamsProgressBar {

core/public/scss/browse/browse.index.scss

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
/* Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0. */
1+
// Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0.
22

33
div {
4-
&.viewAction, &.viewInfo, &.ajaxInfoElement {
4+
&.viewAction,
5+
&.viewInfo,
6+
&.ajaxInfoElement {
57
display: none;
68
}
9+
710
&.feedThumbnail img {
811
display: none;
912
height: 31px;
@@ -21,20 +24,24 @@ div {
2124
&.feedThumbnail a {
2225
border: 0;
2326
}
27+
2428
&.itemList span {
2529
padding-left: 15px;
2630
}
31+
2732
&.itemBlock {
2833
border-bottom: 1px dotted #808080;
2934
padding-bottom: 5px;
3035
padding-top: 5px;
36+
3137
&:hover {
3238
background-color: #F6F9FE;
3339
cursor: pointer;
3440
}
3541
}
42+
3643
&.itemStats {
37-
border: none;
44+
border: 0;
3845
color: #777;
3946
float: right;
4047
font-size: 10px;

core/public/scss/browse/browse.movecopy.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
/* Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0. */
1+
// Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0.
22

33
table#moveCopyTable {
4+
display: none;
45
width: 420px !important;
6+
57
th.thData {
68
border-right: none !important;
79
width: auto !important;
810
}
9-
display: none;
1011
}
1112

1213
#moveCopyTable .browserPrivacyInformation {
@@ -22,10 +23,12 @@ div {
2223
float: right;
2324
margin-top: 10px;
2425
}
26+
2527
&.copySymlinkSelect {
2628
margin-bottom: 8px;
2729
padding-top: 6px;
2830
}
31+
2932
&.destinationDisplay {
3033
margin-bottom: 8px;
3134
}

core/public/scss/browse/browse.selectfolder.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
/* Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0. */
1+
// Midas Server. Copyright Kitware SAS. Licensed under the Apache License 2.0.
22

33
table#moveTable {
4+
display: none;
45
width: 420px !important;
6+
57
th.thData {
68
border-right: none !important;
79
width: auto !important;
810
}
9-
display: none;
1011
}
1112

1213
#moveTable .browserPrivacyInformation {
1314
right: 10px;
1415
}
1516

1617
#createFolderButton {
17-
border: none;
18+
border: 0;
1819
display: none;
1920
float: none !important;
2021
width: 200px;
2122
}
2223

2324
#createFolderContent {
24-
border-radius: 6px;
2525
border: 1px #CCD7E0 dotted !important;
26-
border: 1px #354856 solid;
26+
border-radius: 6px;
2727
box-shadow: 0 0 2px #666;
2828
display: none;
2929
margin-bottom: 2px;
3030
margin-top: 5px;
31-
padding: 0 5px 6px 5px;
31+
padding: 0 5px 6px;
3232
width: 300px;
3333
}
3434

0 commit comments

Comments
 (0)