mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
Added pace.js
This commit is contained in:
parent
02d3118438
commit
5153afd3f1
7 changed files with 64 additions and 0 deletions
19
PlexRequests.UI/Content/pace.css
Normal file
19
PlexRequests.UI/Content/pace.css
Normal file
|
@ -0,0 +1,19 @@
|
|||
.pace {
|
||||
-webkit-pointer-events: none;
|
||||
pointer-events: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none; }
|
||||
|
||||
.pace-inactive {
|
||||
display: none; }
|
||||
|
||||
.pace .pace-progress {
|
||||
background: #ffa400;
|
||||
position: fixed;
|
||||
z-index: 2000;
|
||||
top: 0;
|
||||
right: 100%;
|
||||
width: 100%;
|
||||
height: 2px; }
|
||||
|
1
PlexRequests.UI/Content/pace.min.css
vendored
Normal file
1
PlexRequests.UI/Content/pace.min.css
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.pace{-webkit-pointer-events:none;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;}.pace-inactive{display:none;}.pace .pace-progress{background:#ffa400;position:fixed;z-index:2000;top:0;right:100%;width:100%;height:2px;}
|
2
PlexRequests.UI/Content/pace.min.js
vendored
Normal file
2
PlexRequests.UI/Content/pace.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
24
PlexRequests.UI/Content/pace.scss
Normal file
24
PlexRequests.UI/Content/pace.scss
Normal file
|
@ -0,0 +1,24 @@
|
|||
$primary-colour: rgb(255, 164, 0);
|
||||
|
||||
.pace {
|
||||
-webkit-pointer-events: none;
|
||||
pointer-events: none;
|
||||
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.pace-inactive {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.pace .pace-progress {
|
||||
background: $primary-colour;
|
||||
position: fixed;
|
||||
z-index: 2000;
|
||||
top: 0;
|
||||
right: 100%;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
}
|
|
@ -206,6 +206,13 @@
|
|||
<Content Include="Content\jquery-2.2.1.min.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Content\pace.css">
|
||||
<DependentUpon>pace.scss</DependentUpon>
|
||||
</Content>
|
||||
<Content Include="Content\pace.min.css">
|
||||
<DependentUpon>pace.css</DependentUpon>
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Content\requests.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
@ -222,6 +229,10 @@
|
|||
<DependentUpon>compilerconfig.json</DependentUpon>
|
||||
</None>
|
||||
<None Include="Content\custom.scss" />
|
||||
<Content Include="Content\pace.min.js">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<None Include="Content\pace.scss" />
|
||||
<None Include="NLog.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
<link rel="stylesheet" href="~/Content/custom.min.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="~/Content/bootstrap.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="~/Content/font-awesome.css" type="text/css"/>
|
||||
<link rel="stylesheet" href="~/Content/pace.min.css" type="text/css"/>
|
||||
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="/Content/jquery-2.2.1.min.js"></script>
|
||||
|
@ -16,6 +18,7 @@
|
|||
<script src="/Content/bootstrap.min.js"></script>
|
||||
<script src="/Content/bootstrap-notify.min.js"></script>
|
||||
<script src="/Content/site.js"></script>
|
||||
<script src="/Content/pace.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
|
@ -2,5 +2,9 @@
|
|||
{
|
||||
"outputFile": "Content/custom.css",
|
||||
"inputFile": "Content/custom.scss"
|
||||
},
|
||||
{
|
||||
"outputFile": "Content/pace.css",
|
||||
"inputFile": "Content/pace.scss"
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue