Skip to content

Commit

Permalink
run prettier over js/css
Browse files Browse the repository at this point in the history
  • Loading branch information
iturgeon committed May 29, 2019
1 parent ce7d883 commit 459a2f4
Show file tree
Hide file tree
Showing 11 changed files with 474 additions and 431 deletions.
166 changes: 87 additions & 79 deletions assets/css/mwdk-datatable.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@

/*
* Table
*/
table.dataTable {
margin: 0 auto;
clear: both;
width: 100%;
padding:0;
border-spacing:0px;
font-size:13px;
padding: 0;
border-spacing: 0px;
font-size: 13px;
}

table.dataTable thead th {
Expand All @@ -27,7 +26,7 @@ table.dataTable tfoot th {

table.dataTable td {
padding: 5px 10px;
margin:0;
margin: 0;
position: relative;
}

Expand All @@ -36,8 +35,12 @@ table.dataTable td.dataTables_empty {
text-align: center;
}

table.dataTable tr.odd { background-color: #EEE; }
table.dataTable tr.even { background-color: white; }
table.dataTable tr.odd {
background-color: #eee;
}
table.dataTable tr.even {
background-color: white;
}

/*
* Table wrapper
Expand All @@ -48,15 +51,13 @@ table.dataTable tr.even { background-color: white; }
*zoom: 1;
}


/*
* Page length menu
*/
.dataTables_length {
float: left;
}


/*
* Filter
*/
Expand All @@ -65,7 +66,6 @@ table.dataTable tr.even { background-color: white; }
text-align: right;
}


/*
* Table information
*/
Expand All @@ -74,7 +74,6 @@ table.dataTable tr.even { background-color: white; }
float: left;
}


/*
* Pagination
*/
Expand Down Expand Up @@ -121,21 +120,33 @@ table.dataTable tr.even { background-color: white; }
margin-left: 10px;
}

.paginate_enabled_previous { background: url(./../img/datatables/back_enabled.png) no-repeat top left; }
.paginate_enabled_previous:hover { background: url(./../img/datatables/back_enabled_hover.png) no-repeat top left; }
.paginate_disabled_previous { background: url(./../img/datatables/back_disabled.png) no-repeat top left; }
.paginate_enabled_previous {
background: url(./../img/datatables/back_enabled.png) no-repeat top left;
}
.paginate_enabled_previous:hover {
background: url(./../img/datatables/back_enabled_hover.png) no-repeat top left;
}
.paginate_disabled_previous {
background: url(./../img/datatables/back_disabled.png) no-repeat top left;
}

.paginate_enabled_next { background: url(./../img/datatables/forward_enabled.png) no-repeat top right; }
.paginate_enabled_next:hover { background: url(./../img/datatables/forward_enabled_hover.png) no-repeat top right; }
.paginate_disabled_next { background: url(./../img/datatables/forward_disabled.png) no-repeat top right; }
.paginate_enabled_next {
background: url(./../img/datatables/forward_enabled.png) no-repeat top right;
}
.paginate_enabled_next:hover {
background: url(./../img/datatables/forward_enabled_hover.png) no-repeat top right;
}
.paginate_disabled_next {
background: url(./../img/datatables/forward_disabled.png) no-repeat top right;
}

/* Full number pagination */
.paging_full_numbers {
height: 22px;
line-height: 22px;
}
.paging_full_numbers a:active {
outline: none
outline: none;
}
.paging_full_numbers a:hover {
text-decoration: none;
Expand Down Expand Up @@ -164,10 +175,9 @@ table.dataTable tr.even { background-color: white; }
}

.paging_full_numbers a.paginate_active {
background-color: #99B3FF;
background-color: #99b3ff;
}


/*
* Processing indicator
*/
Expand All @@ -187,21 +197,27 @@ table.dataTable tr.even { background-color: white; }
background-color: white;
}


/*
* Sorting
*/
.sorting_asc { background: url(./../img/datatables/sort_asc.png) no-repeat center right; }
.sorting_desc { background: url(./../img/datatables/sort_desc.png) no-repeat center right; }
.sorting_asc {
background: url(./../img/datatables/sort_asc.png) no-repeat center right;
}
.sorting_desc {
background: url(./../img/datatables/sort_desc.png) no-repeat center right;
}

.sorting_asc_disabled { background: url(./../img/datatables/sort_asc_disabled.png) no-repeat center right; }
.sorting_desc_disabled { background: url(./../img/datatables/sort_desc_disabled.png) no-repeat center right; }
.sorting_asc_disabled {
background: url(./../img/datatables/sort_asc_disabled.png) no-repeat center right;
}
.sorting_desc_disabled {
background: url(./../img/datatables/sort_desc_disabled.png) no-repeat center right;
}

table.dataTable th:active {
outline: none;
}


/*
* Scrolling
*/
Expand All @@ -214,63 +230,57 @@ table.dataTable th:active {
}

body table.dataTable tr.row_selected,
body table.dataTable tr.row_selected td
{
background-color:#ffcb68 !important;
body table.dataTable tr.row_selected td {
background-color: #ffcb68 !important;
}

body table.dataTable tr:hover,
body table.dataTable tr td:hover
{
background-color:#ffe0a5;
body table.dataTable tr td:hover {
background-color: #ffe0a5;
}

table.dataTable tr td span.q{
margin-left:30px;
display:block;
table.dataTable tr td span.q {
margin-left: 30px;
display: block;
}

table.dataTable tr td input[type="checkbox"]
{
float:left;
table.dataTable tr td input[type='checkbox'] {
float: left;
}

table.dataTable tr td .numeric
{
float:right;
white-space:nowrap;
table.dataTable tr td .numeric {
float: right;
white-space: nowrap;
}

body, html {
body,
html {
font-family: 'Lato', arial, serif;
}

.dataTables_wrapper
{
.dataTables_wrapper {
position: relative;
clear: both;
margin: 0px auto;
background: #fff;
border: rgba(0,0,0,0.11) 1px solid;
border: rgba(0, 0, 0, 0.11) 1px solid;
-moz-box-shadow: 1px 3px 10px #888;
-webkit-box-shadow: 1px 3px 10px #888;
box-shadow: 1px 3px 10px #888;
}

#import-form {
padding:10px 5px;
min-width:500px;
padding: 10px 5px;
min-width: 500px;
}

#question-table_filter{
background:#efefef;
padding:6px 10px;
float:none;

#question-table_filter {
background: #efefef;
padding: 6px 10px;
float: none;
}

#question-table_filter input[type="text"]
{
#question-table_filter input[type='text'] {
width: 124px;
border: solid 1px #b0b0b0;
-webkit-border-radius: 12px;
Expand All @@ -283,8 +293,8 @@ body, html {
outline: none;
}

body#question_importer h1{
position:absolute;
body#question_importer h1 {
position: absolute;
font-size: 18px;
font-weight: 550;
text-shadow: 0 1px #fbfbfb;
Expand All @@ -295,8 +305,7 @@ body#question_importer h1{
margin: 0px;
}

.dataTables_scroll
{
.dataTables_scroll {
margin: 0px 5px;
}

Expand All @@ -310,32 +319,31 @@ body#question_importer h1{
color: #545454;
}

.gray:hover{
.gray:hover {
background-image: -webkit-linear-gradient(top, #b8b8b8, #e4e4e4);
background-image: -moz-linear-gradient(top, #b8b8b8, #e4e4e4);
background-image: -o-linear-gradient(top, #b8b8b8, #e4e4e4);
background-image: -ms-linear-gradient(top, #b8b8b8, #e4e4e4);
text-decoration: none;
}

#upload-cancel-button{
#upload-cancel-button {
position: absolute;
z-index:3;
z-index: 3;
font-size: 14px;
padding: 10px 15px;
}

#import-form .actions{
#import-form .actions {
margin: 0 auto;
text-align: center;

}

#import-form input.action_button {
margin-top: 16px;
}

.dataTables_info{
.dataTables_info {
clear: none;
position: absolute;
top: 13px;
Expand All @@ -345,33 +353,33 @@ body#question_importer h1{
text-align: right;
}

table.dataTable thead th{
border-bottom:1px solid #DDD;
padding:10px 18px;
table.dataTable thead th {
border-bottom: 1px solid #ddd;
padding: 10px 18px;
color: #666;
}

#uploader-form{
#uploader-form {
display: block;
position: absolute;
bottom: 75px;
left: 10px;
right: 10px;
z-index:4;
z-index: 4;
}

#modal-cover{
#modal-cover {
position: absolute;
top:0px;
left:0px;
bottom:0px;
right:0px;
background:rgba(0,0,0,.7);
top: 0px;
left: 0px;
bottom: 0px;
right: 0px;
background: rgba(0, 0, 0, 0.7);
z-index: 2;
display:none;
display: none;
}
#cancel-button{
#cancel-button {
color: #555;
text-decoration: underline;
margin-right: 15px;
}
}
10 changes: 5 additions & 5 deletions assets/css/mwdk-download.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ body#download hr {
margin: 15px 50px 0;
}

body#download #cancel-button{
body#download #cancel-button {
color: #555;
text-decoration: underline;
}

body#download #build-commands{
body#download #build-commands {
margin: 47px;
}

body#download #download_button{
margin-right:20px;
}
body#download #download_button {
margin-right: 20px;
}
Loading

0 comments on commit 459a2f4

Please sign in to comment.