Merge pull request #40 from PavelBezpalov/master

Add missing in production assets
This commit is contained in:
domaindrivendev 2017-01-05 08:16:10 -08:00 committed by GitHub
commit 32a7ab8234
5 changed files with 21 additions and 21 deletions

View File

@ -880,7 +880,7 @@
padding: 6px 8px;
}
.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header span.response_throbber {
background-image: url('../images/throbber.gif');
background-image: url(<%= asset_path('swagger-ui/images/throbber.gif') %>);
width: 128px;
height: 16px;
display: block;
@ -1222,7 +1222,7 @@
height: 18px;
vertical-align: middle;
display: inline-block;
background: url(../images/explorer_icons.png) no-repeat;
background: url(<%= asset_path('swagger-ui/images/explorer_icons.png') %>) no-repeat;
}
.swagger-section .authorize__btn_operation_login {
background-position: 0 0;

View File

@ -880,7 +880,7 @@
padding: 6px 8px;
}
.swagger-section .swagger-ui-wrap ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation div.content div.sandbox_header span.response_throbber {
background-image: url('../images/throbber.gif');
background-image: url(<%= asset_path('swagger-ui/images/throbber.gif') %>);
width: 128px;
height: 16px;
display: block;
@ -1222,7 +1222,7 @@
height: 18px;
vertical-align: middle;
display: inline-block;
background: url(../images/explorer_icons.png) no-repeat;
background: url(<%= asset_path('swagger-ui/images/explorer_icons.png') %>) no-repeat;
}
.swagger-section .authorize__btn_operation_login {
background-position: 0 0;
@ -1354,7 +1354,7 @@
height: 18px;
vertical-align: middle;
display: inline-block;
background: url(../images/explorer_icons.png) no-repeat;
background: url(<%= asset_path('swagger-ui/images/explorer_icons.png') %>) no-repeat;
}
.swagger-section .api-ic .api_information_panel {
position: relative;

View File

@ -2,7 +2,7 @@
font-size: 1.5em;
font-weight: bold;
text-decoration: none;
background: transparent url(../images/logo.png) no-repeat left center;
background: transparent url(<%= asset_path('swagger-ui/images/logo.png') %>) no-repeat left center;
padding: 20px 0 20px 40px;
}
#text-head {
@ -64,7 +64,7 @@ h1 {
width: 1500px;
margin: auto;
margin-top: 0;
background-image: url('../images/shield.png');
background-image: url(<%= asset_path('swagger-ui/images/shield.png') %>);
background-repeat: no-repeat;
background-position: -40px -20px;
margin-bottom: 210px;

View File

@ -1,14 +0,0 @@
/* Google Font's Droid Sans */
@font-face {
font-family: 'Droid Sans';
font-style: normal;
font-weight: 400;
src: local('Droid Sans'), local('DroidSans'), url('../fonts/DroidSans.ttf'), format('truetype');
}
/* Google Font's Droid Sans Bold */
@font-face {
font-family: 'Droid Sans';
font-style: normal;
font-weight: 700;
src: local('Droid Sans Bold'), local('DroidSans-Bold'), url('../fonts/DroidSans-Bold.ttf'), format('truetype');
}

View File

@ -0,0 +1,14 @@
/* Google Font's Droid Sans */
@font-face {
font-family: 'Droid Sans';
font-style: normal;
font-weight: 400;
src: local('Droid Sans'), local('DroidSans'), url(<%= asset_path('swagger-ui/fonts/DroidSans.ttf') %>), format('truetype');
}
/* Google Font's Droid Sans Bold */
@font-face {
font-family: 'Droid Sans';
font-style: normal;
font-weight: 700;
src: local('Droid Sans Bold'), local('DroidSans-Bold'), url(<%= asset_path('swagger-ui/fonts/DroidSans-Bold.ttf') %>), format('truetype');
}