Skip to content

Commit

Permalink
move style block to external css file
Browse files Browse the repository at this point in the history
  • Loading branch information
koenpunt committed Oct 20, 2016
1 parent 8fa5728 commit fecc9c4
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 32 deletions.
17 changes: 17 additions & 0 deletions public/docsupport/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,20 @@ i { font-style: italic; }
padding-left: 27px;
text-decoration: none;
}

/* fix rtl for demo */
.chosen-rtl .chosen-drop { left: -9000px; }
.select,
.chosen-select,
.chosen-select-no-single,
.chosen-select-no-results,
.chosen-select-deselect,
.chosen-select-rtl,
.chosen-select-width {
width: 350px;
}

.jquery-version-refer {
margin-top: 40px;
font-style: italic;
}
15 changes: 1 addition & 14 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,8 @@
<link rel="stylesheet" href="docsupport/prism.css">
<link rel="stylesheet" href="chosen.css">

<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' https://ajax.googleapis.com; style-src 'self' 'sha256-73t6wDeox0rhIyLfISCnfM7yzITvmDhSErVn+wwjOmo='; img-src 'self' data:">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' https://ajax.googleapis.com; style-src 'self'; img-src 'self' data:">

<style type="text/css" media="all">
/* fix rtl for demo */
.chosen-rtl .chosen-drop { left: -9000px; }
.select,
.chosen-select,
.chosen-select-no-single,
.chosen-select-no-results,
.chosen-select-deselect,
.chosen-select-rtl,
.chosen-select-width {
width: 350px;
}
</style>
</head>
<body>
<form>
Expand Down
19 changes: 1 addition & 18 deletions public/index.proto.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,8 @@
<link rel="stylesheet" href="docsupport/prism.css">
<link rel="stylesheet" href="chosen.css">

<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' https://ajax.googleapis.com; style-src 'self' 'sha256-MzlZlLruPmzLm/yy8z6yCpmyo5QSe/SURdcVrrJx880='; img-src 'self' data:">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' https://ajax.googleapis.com; style-src 'self'; img-src 'self' data:">

<style type="text/css" media="all">
/* fix rtl for demo */
.chosen-rtl .chosen-drop { left: -9000px; }
.select,
.chosen-select,
.chosen-select-no-single,
.chosen-select-no-results,
.chosen-select-deselect,
.chosen-select-rtl,
.chosen-select-width {
width: 350px;
}
.jquery-version-refer {
margin-top: 40px;
font-style: italic;
}
</style>
</head>
<body>
<div id="container">
Expand Down

0 comments on commit fecc9c4

Please # to comment.