-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert the 'configurations' layout into the asset pipeline style
This involves a few changes, we are going to take this opportunity to merge the 'configurations' and 'dradis3' layouts, but not just yet. The first step has been to remove the multiple JS and CSS includes and move them to the dradis3.js and dradis3.css.scss manifest files. All the CSS code that was included in the layout has also been moved to the dradis3.css.scss file. The HTML @Head@ element has been cleaned up and the document has been DOCTYPEd to HTML5.
- Loading branch information
Showing
3 changed files
with
58 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
//= require jquery | ||
//= require jquery_ujs | ||
//= require jquery.form | ||
//= require configurations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* | ||
*= require clean/reset | ||
*= require clean/defaults | ||
*= require clean/type | ||
*= require clean/forms | ||
*= require clean/tables | ||
*= require clean/lists | ||
*= require clean/screen | ||
*= require_self | ||
*/ | ||
|
||
|
||
/* Configurations styles */ | ||
/* These are styles to make the page look nice */ | ||
|
||
body { background-color: #dadada;} | ||
|
||
#console { | ||
background-color: #000; | ||
color: #CCC; | ||
padding: 2ex 1ex; | ||
margin-top: 2ex; | ||
} | ||
|
||
.content { | ||
background: #fff; | ||
padding: 40px; | ||
margin: 40px auto; | ||
width: 880px; | ||
-moz-border-radius: 24px; | ||
-webkit-border-radius: 24px; | ||
} | ||
|
||
.content .block { | ||
margin-top: 2ex; | ||
} | ||
|
||
thead th.setting { width: 300px; } | ||
thead th.status { width: 100px; text-align: center; } | ||
thead th.value { width: 480px; } | ||
|
||
tbody td.status { text-align: center; } | ||
tbody td.value input { background-position: right center; background-repeat: no-repeat; padding-right: 20px; width: 480px; } | ||
tbody td.value input.editing { background-image: image-url('silk/pencil.png'); } | ||
tbody td.value input.saving { background-image: image-url('loading.gif'); } | ||
tbody td.value input.saved { background-image: image-url('silk/accept.png'); } | ||
tbody td.value input.failed { background-image: image-url('silk/stop.png'); } | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters