Started migrating front end to Tabler theme. Mocked up quick home dashboard.
This commit is contained in:
parent
2011c930ae
commit
d904cc8882
32 changed files with 47586 additions and 61 deletions
|
@ -1,4 +1,7 @@
|
|||
using LANCommander.Models;
|
||||
using ByteSizeLib;
|
||||
using LANCommander.Data;
|
||||
using LANCommander.Data.Models;
|
||||
using LANCommander.Models;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System.Diagnostics;
|
||||
|
||||
|
@ -7,15 +10,30 @@ namespace LANCommander.Controllers
|
|||
public class HomeController : Controller
|
||||
{
|
||||
private readonly ILogger<HomeController> _logger;
|
||||
private readonly DatabaseContext Context;
|
||||
|
||||
public HomeController(ILogger<HomeController> logger)
|
||||
public HomeController(ILogger<HomeController> logger, DatabaseContext context)
|
||||
{
|
||||
Context = context;
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
public IActionResult Index()
|
||||
{
|
||||
return View();
|
||||
var drives = DriveInfo.GetDrives();
|
||||
|
||||
var model = new DashboardViewModel();
|
||||
|
||||
model.TotalStorageSize = ByteSize.FromBytes(drives.Where(d => d.IsReady).Sum(d => d.TotalSize));
|
||||
model.TotalAvailableFreeSpace = ByteSize.FromBytes(drives.Where(d => d.IsReady).Sum(d => d.AvailableFreeSpace));
|
||||
model.TotalUploadDirectorySize = ByteSize.FromBytes(new DirectoryInfo("Upload").EnumerateFiles().Sum(f => f.Length));
|
||||
|
||||
using (Repository<Game> repo = new Repository<Game>(Context, HttpContext))
|
||||
{
|
||||
model.GameCount = repo.Get(g => true).Count();
|
||||
}
|
||||
|
||||
return View(model);
|
||||
}
|
||||
|
||||
public IActionResult Privacy()
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="ByteSize" Version="2.1.1" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="6.0.8" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.8" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="6.0.8" />
|
||||
|
|
19
Models/DashboardViewModel.cs
Normal file
19
Models/DashboardViewModel.cs
Normal file
|
@ -0,0 +1,19 @@
|
|||
using ByteSizeLib;
|
||||
|
||||
namespace LANCommander.Models
|
||||
{
|
||||
public class DashboardViewModel
|
||||
{
|
||||
public ByteSize TotalAvailableFreeSpace { get; set; }
|
||||
public ByteSize TotalStorageSize { get; set; }
|
||||
public ByteSize TotalUploadDirectorySize { get; set; }
|
||||
public ByteSize TotalOtherSize {
|
||||
get
|
||||
{
|
||||
return TotalStorageSize - TotalAvailableFreeSpace - TotalUploadDirectorySize;
|
||||
}
|
||||
}
|
||||
|
||||
public int GameCount { get; set; }
|
||||
}
|
||||
}
|
|
@ -54,4 +54,7 @@ app.MapControllerRoute(
|
|||
pattern: "{controller=Home}/{action=Index}/{id?}");
|
||||
app.MapRazorPages();
|
||||
|
||||
if (!Directory.Exists("Upload"))
|
||||
Directory.CreateDirectory("Upload");
|
||||
|
||||
app.Run();
|
||||
|
|
|
@ -1,8 +1,57 @@
|
|||
@{
|
||||
@model LANCommander.Models.DashboardViewModel
|
||||
@using ByteSizeLib
|
||||
@{
|
||||
ViewData["Title"] = "Home Page";
|
||||
}
|
||||
|
||||
<div class="text-center">
|
||||
<h1 class="display-4">Welcome</h1>
|
||||
<p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
|
||||
<div class="page-header">
|
||||
<div class="row align-items-center">
|
||||
<div class="col">
|
||||
<div class="page-pretitle">Overview</div>
|
||||
<h2 class="page-title">Dashboard</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="page-body">
|
||||
<div class="container-xl">
|
||||
<div class="row row-cards">
|
||||
<div class="col-sm-4">
|
||||
<div class="card">
|
||||
<div class="card-body p-2 text-center">
|
||||
<div class="h1 m-0">1</div>
|
||||
<div class="text-muted">Games</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-8">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<p class="mb-3">Storage Used: <strong>@(Model.TotalOtherSize + Model.TotalUploadDirectorySize) of @Model.TotalStorageSize</strong></p>
|
||||
<div class="progress progress-separated mb-3">
|
||||
<div class="progress-bar bg-primary" role="progressbar" style="width: @Math.Round((Model.TotalUploadDirectorySize.Bytes / Model.TotalStorageSize.Bytes) * 100)%;"></div>
|
||||
<div class="progress-bar bg-info" role="progressbar" style="width: @Math.Round((Model.TotalOtherSize.Bytes / Model.TotalStorageSize.Bytes) * 100)%;"></div>
|
||||
<div class="progress-bar bg-success" role="progressbar" style="width: @Math.Round((Model.TotalAvailableFreeSpace.Bytes / Model.TotalStorageSize.Bytes) * 100)%;"></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-auto d-flex align-items-center pe-2">
|
||||
<span class="legend me-2 bg-primary"></span>
|
||||
<span>Uploads</span>
|
||||
<span class="d-none d-md-inline d-lg-none d-xxl-inline ms-2 text-muted">@Model.TotalUploadDirectorySize</span>
|
||||
</div>
|
||||
<div class="col-auto d-flex align-items-center pe-2">
|
||||
<span class="legend me-2 bg-info"></span>
|
||||
<span>Other</span>
|
||||
<span class="d-none d-md-inline d-lg-none d-xxl-inline ms-2 text-muted">@Model.TotalOtherSize</span>
|
||||
</div>
|
||||
<div class="col-auto d-flex align-items-center pe-2">
|
||||
<span class="legend me-2 bg-success"></span>
|
||||
<span>Free</span>
|
||||
<span class="d-none d-md-inline d-lg-none d-xxl-inline ms-2 text-muted">@Model.TotalAvailableFreeSpace</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -4,40 +4,56 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>@ViewData["Title"] - LANCommander</title>
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/LANCommander.styles.css" asp-append-version="true" />
|
||||
<link href="~/css/tabler.min.css" rel="stylesheet" />
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">LANCommander</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent"
|
||||
aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="navbar-collapse collapse d-sm-inline-flex justify-content-between">
|
||||
<ul class="navbar-nav flex-grow-1">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Index">Home</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Games" asp-action="Index">Games</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
|
||||
</li>
|
||||
</ul>
|
||||
<partial name="_LoginPartial" />
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<header class="navbar navbar-expand-md navbar-light">
|
||||
<div class="container-xl">
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar-menu">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<h1 class="navbar-brand navbar-brand-autodark d-none-navbar-horizontal pe-0 pe-md-3">
|
||||
<a href="/">
|
||||
LANCommander
|
||||
</a>
|
||||
</h1>
|
||||
<partial name="_LoginPartial" />
|
||||
</div>
|
||||
</header>
|
||||
<div class="container">
|
||||
<main role="main" class="pb-3">
|
||||
<div class="navbar-expand-md">
|
||||
<div class="collapse navbar-collapse" id="navbar-menu">
|
||||
<div class="navbar navbar-light">
|
||||
<div class="container-xl">
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="./index.html" >
|
||||
<span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/home -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><polyline points="5 12 3 12 12 3 21 12 19 12" /><path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" /><path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" /></svg>
|
||||
</span>
|
||||
<span class="nav-link-title">
|
||||
Home
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" asp-action="Index" asp-controller="Games">
|
||||
<span class="nav-link-icon d-md-none d-lg-inline-block"><!-- Download SVG icon from http://tabler-icons.io/i/home -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><polyline points="5 12 3 12 12 3 21 12 19 12" /><path d="M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7" /><path d="M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6" /></svg>
|
||||
</span>
|
||||
<span class="nav-link-title">
|
||||
Games
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="page-wrapper">
|
||||
<div class="container-xl">
|
||||
@RenderBody()
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer class="border-top footer text-muted">
|
||||
|
@ -46,8 +62,7 @@
|
|||
</div>
|
||||
</footer>
|
||||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
||||
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="~/js/site.js" asp-append-version="true"></script>
|
||||
<script src="~/js/tabler.min.js"></script>
|
||||
@await RenderSectionAsync("Scripts", required: false)
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -3,25 +3,25 @@
|
|||
@inject SignInManager<User> SignInManager
|
||||
@inject UserManager<User> UserManager
|
||||
|
||||
<ul class="navbar-nav">
|
||||
@if (SignInManager.IsSignedIn(User))
|
||||
{
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="Identity" asp-page="/Account/Manage/Index" title="Manage">Hello @User.Identity?.Name!</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<form class="form-inline" asp-area="Identity" asp-page="/Account/Logout" asp-route-returnUrl="@Url.Action("Index", "Home", new { area = "" })">
|
||||
<button type="submit" class="nav-link btn btn-link text-dark">Logout</button>
|
||||
</form>
|
||||
</li>
|
||||
}
|
||||
else
|
||||
{
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="Identity" asp-page="/Account/Register">Register</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="Identity" asp-page="/Account/Login">Login</a>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
<div class="navbar-nav flex-row order-md-last">
|
||||
@if (SignInManager.IsSignedIn(User))
|
||||
{
|
||||
<div class="nav-item dropdown">
|
||||
<a href="#" class="nav-link d-flex lh-1 text-reset p-0" data-bs-toggle="dropdown" aria-label="Open user menu">
|
||||
<div class="d-none d-xl-block ps-2">
|
||||
<div>Hello @User.Identity?.Name!</div>
|
||||
</div>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-end dropdown-menu-arrow">
|
||||
<a asp-area="Identity" asp-page="/Account/Manage/Index" class="dropdown-item">Profile & account</a>
|
||||
<a asp-area="Identity" asp-page="/Account/Logout" asp-route-returnUrl="@Url.Action("Index", "Home", new { area = "" })" class="dropdown-item">Logout</a>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="nav-item">
|
||||
<a asp-area="Identity" asp-page="/Account/Login">Login</a>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
|
811
wwwroot/css/tabler-flags.css
Normal file
811
wwwroot/css/tabler-flags.css
Normal file
|
@ -0,0 +1,811 @@
|
|||
/*!
|
||||
* Tabler v1.0.0-beta5 (https://tabler.io)
|
||||
* @version 1.0.0-beta5
|
||||
* @link https://tabler.io
|
||||
* Copyright 2018-2022 The Tabler Authors
|
||||
* Copyright 2018-2022 codecalm.net Paweł Kuna
|
||||
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
|
||||
*/
|
||||
.flag {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 1.33333em;
|
||||
height: 1em;
|
||||
vertical-align: -3px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
border: 1px solid var(--tblr-border-color);
|
||||
border-radius: 3px; }
|
||||
|
||||
.flag-country-ad {
|
||||
background-image: url("../img/flags/ad.svg"); }
|
||||
|
||||
.flag-country-ae {
|
||||
background-image: url("../img/flags/ae.svg"); }
|
||||
|
||||
.flag-country-af {
|
||||
background-image: url("../img/flags/af.svg"); }
|
||||
|
||||
.flag-country-ag {
|
||||
background-image: url("../img/flags/ag.svg"); }
|
||||
|
||||
.flag-country-ai {
|
||||
background-image: url("../img/flags/ai.svg"); }
|
||||
|
||||
.flag-country-al {
|
||||
background-image: url("../img/flags/al.svg"); }
|
||||
|
||||
.flag-country-am {
|
||||
background-image: url("../img/flags/am.svg"); }
|
||||
|
||||
.flag-country-ao {
|
||||
background-image: url("../img/flags/ao.svg"); }
|
||||
|
||||
.flag-country-aq {
|
||||
background-image: url("../img/flags/aq.svg"); }
|
||||
|
||||
.flag-country-ar {
|
||||
background-image: url("../img/flags/ar.svg"); }
|
||||
|
||||
.flag-country-as {
|
||||
background-image: url("../img/flags/as.svg"); }
|
||||
|
||||
.flag-country-at {
|
||||
background-image: url("../img/flags/at.svg"); }
|
||||
|
||||
.flag-country-au {
|
||||
background-image: url("../img/flags/au.svg"); }
|
||||
|
||||
.flag-country-aw {
|
||||
background-image: url("../img/flags/aw.svg"); }
|
||||
|
||||
.flag-country-ax {
|
||||
background-image: url("../img/flags/ax.svg"); }
|
||||
|
||||
.flag-country-az {
|
||||
background-image: url("../img/flags/az.svg"); }
|
||||
|
||||
.flag-country-ba {
|
||||
background-image: url("../img/flags/ba.svg"); }
|
||||
|
||||
.flag-country-bb {
|
||||
background-image: url("../img/flags/bb.svg"); }
|
||||
|
||||
.flag-country-bd {
|
||||
background-image: url("../img/flags/bd.svg"); }
|
||||
|
||||
.flag-country-be {
|
||||
background-image: url("../img/flags/be.svg"); }
|
||||
|
||||
.flag-country-bf {
|
||||
background-image: url("../img/flags/bf.svg"); }
|
||||
|
||||
.flag-country-bg {
|
||||
background-image: url("../img/flags/bg.svg"); }
|
||||
|
||||
.flag-country-bh {
|
||||
background-image: url("../img/flags/bh.svg"); }
|
||||
|
||||
.flag-country-bi {
|
||||
background-image: url("../img/flags/bi.svg"); }
|
||||
|
||||
.flag-country-bj {
|
||||
background-image: url("../img/flags/bj.svg"); }
|
||||
|
||||
.flag-country-bl {
|
||||
background-image: url("../img/flags/bl.svg"); }
|
||||
|
||||
.flag-country-bm {
|
||||
background-image: url("../img/flags/bm.svg"); }
|
||||
|
||||
.flag-country-bn {
|
||||
background-image: url("../img/flags/bn.svg"); }
|
||||
|
||||
.flag-country-bo {
|
||||
background-image: url("../img/flags/bo.svg"); }
|
||||
|
||||
.flag-country-bq {
|
||||
background-image: url("../img/flags/bq.svg"); }
|
||||
|
||||
.flag-country-br {
|
||||
background-image: url("../img/flags/br.svg"); }
|
||||
|
||||
.flag-country-bs {
|
||||
background-image: url("../img/flags/bs.svg"); }
|
||||
|
||||
.flag-country-bt {
|
||||
background-image: url("../img/flags/bt.svg"); }
|
||||
|
||||
.flag-country-bv {
|
||||
background-image: url("../img/flags/bv.svg"); }
|
||||
|
||||
.flag-country-bw {
|
||||
background-image: url("../img/flags/bw.svg"); }
|
||||
|
||||
.flag-country-by {
|
||||
background-image: url("../img/flags/by.svg"); }
|
||||
|
||||
.flag-country-bz {
|
||||
background-image: url("../img/flags/bz.svg"); }
|
||||
|
||||
.flag-country-ca {
|
||||
background-image: url("../img/flags/ca.svg"); }
|
||||
|
||||
.flag-country-cc {
|
||||
background-image: url("../img/flags/cc.svg"); }
|
||||
|
||||
.flag-country-cd {
|
||||
background-image: url("../img/flags/cd.svg"); }
|
||||
|
||||
.flag-country-cf {
|
||||
background-image: url("../img/flags/cf.svg"); }
|
||||
|
||||
.flag-country-cg {
|
||||
background-image: url("../img/flags/cg.svg"); }
|
||||
|
||||
.flag-country-ch {
|
||||
background-image: url("../img/flags/ch.svg"); }
|
||||
|
||||
.flag-country-ci {
|
||||
background-image: url("../img/flags/ci.svg"); }
|
||||
|
||||
.flag-country-ck {
|
||||
background-image: url("../img/flags/ck.svg"); }
|
||||
|
||||
.flag-country-cl {
|
||||
background-image: url("../img/flags/cl.svg"); }
|
||||
|
||||
.flag-country-cm {
|
||||
background-image: url("../img/flags/cm.svg"); }
|
||||
|
||||
.flag-country-cn {
|
||||
background-image: url("../img/flags/cn.svg"); }
|
||||
|
||||
.flag-country-co {
|
||||
background-image: url("../img/flags/co.svg"); }
|
||||
|
||||
.flag-country-cr {
|
||||
background-image: url("../img/flags/cr.svg"); }
|
||||
|
||||
.flag-country-cu {
|
||||
background-image: url("../img/flags/cu.svg"); }
|
||||
|
||||
.flag-country-cv {
|
||||
background-image: url("../img/flags/cv.svg"); }
|
||||
|
||||
.flag-country-cw {
|
||||
background-image: url("../img/flags/cw.svg"); }
|
||||
|
||||
.flag-country-cx {
|
||||
background-image: url("../img/flags/cx.svg"); }
|
||||
|
||||
.flag-country-cy {
|
||||
background-image: url("../img/flags/cy.svg"); }
|
||||
|
||||
.flag-country-cz {
|
||||
background-image: url("../img/flags/cz.svg"); }
|
||||
|
||||
.flag-country-de {
|
||||
background-image: url("../img/flags/de.svg"); }
|
||||
|
||||
.flag-country-dj {
|
||||
background-image: url("../img/flags/dj.svg"); }
|
||||
|
||||
.flag-country-dk {
|
||||
background-image: url("../img/flags/dk.svg"); }
|
||||
|
||||
.flag-country-dm {
|
||||
background-image: url("../img/flags/dm.svg"); }
|
||||
|
||||
.flag-country-do {
|
||||
background-image: url("../img/flags/do.svg"); }
|
||||
|
||||
.flag-country-dz {
|
||||
background-image: url("../img/flags/dz.svg"); }
|
||||
|
||||
.flag-country-ec {
|
||||
background-image: url("../img/flags/ec.svg"); }
|
||||
|
||||
.flag-country-ee {
|
||||
background-image: url("../img/flags/ee.svg"); }
|
||||
|
||||
.flag-country-eg {
|
||||
background-image: url("../img/flags/eg.svg"); }
|
||||
|
||||
.flag-country-eh {
|
||||
background-image: url("../img/flags/eh.svg"); }
|
||||
|
||||
.flag-country-er {
|
||||
background-image: url("../img/flags/er.svg"); }
|
||||
|
||||
.flag-country-es {
|
||||
background-image: url("../img/flags/es.svg"); }
|
||||
|
||||
.flag-country-et {
|
||||
background-image: url("../img/flags/et.svg"); }
|
||||
|
||||
.flag-country-fi {
|
||||
background-image: url("../img/flags/fi.svg"); }
|
||||
|
||||
.flag-country-fj {
|
||||
background-image: url("../img/flags/fj.svg"); }
|
||||
|
||||
.flag-country-fk {
|
||||
background-image: url("../img/flags/fk.svg"); }
|
||||
|
||||
.flag-country-fm {
|
||||
background-image: url("../img/flags/fm.svg"); }
|
||||
|
||||
.flag-country-fo {
|
||||
background-image: url("../img/flags/fo.svg"); }
|
||||
|
||||
.flag-country-fr {
|
||||
background-image: url("../img/flags/fr.svg"); }
|
||||
|
||||
.flag-country-ga {
|
||||
background-image: url("../img/flags/ga.svg"); }
|
||||
|
||||
.flag-country-gb {
|
||||
background-image: url("../img/flags/gb.svg"); }
|
||||
|
||||
.flag-country-gd {
|
||||
background-image: url("../img/flags/gd.svg"); }
|
||||
|
||||
.flag-country-ge {
|
||||
background-image: url("../img/flags/ge.svg"); }
|
||||
|
||||
.flag-country-gf {
|
||||
background-image: url("../img/flags/gf.svg"); }
|
||||
|
||||
.flag-country-gg {
|
||||
background-image: url("../img/flags/gg.svg"); }
|
||||
|
||||
.flag-country-gh {
|
||||
background-image: url("../img/flags/gh.svg"); }
|
||||
|
||||
.flag-country-gi {
|
||||
background-image: url("../img/flags/gi.svg"); }
|
||||
|
||||
.flag-country-gl {
|
||||
background-image: url("../img/flags/gl.svg"); }
|
||||
|
||||
.flag-country-gm {
|
||||
background-image: url("../img/flags/gm.svg"); }
|
||||
|
||||
.flag-country-gn {
|
||||
background-image: url("../img/flags/gn.svg"); }
|
||||
|
||||
.flag-country-gp {
|
||||
background-image: url("../img/flags/gp.svg"); }
|
||||
|
||||
.flag-country-gq {
|
||||
background-image: url("../img/flags/gq.svg"); }
|
||||
|
||||
.flag-country-gr {
|
||||
background-image: url("../img/flags/gr.svg"); }
|
||||
|
||||
.flag-country-gs {
|
||||
background-image: url("../img/flags/gs.svg"); }
|
||||
|
||||
.flag-country-gt {
|
||||
background-image: url("../img/flags/gt.svg"); }
|
||||
|
||||
.flag-country-gu {
|
||||
background-image: url("../img/flags/gu.svg"); }
|
||||
|
||||
.flag-country-gw {
|
||||
background-image: url("../img/flags/gw.svg"); }
|
||||
|
||||
.flag-country-gy {
|
||||
background-image: url("../img/flags/gy.svg"); }
|
||||
|
||||
.flag-country-hk {
|
||||
background-image: url("../img/flags/hk.svg"); }
|
||||
|
||||
.flag-country-hm {
|
||||
background-image: url("../img/flags/hm.svg"); }
|
||||
|
||||
.flag-country-hn {
|
||||
background-image: url("../img/flags/hn.svg"); }
|
||||
|
||||
.flag-country-hr {
|
||||
background-image: url("../img/flags/hr.svg"); }
|
||||
|
||||
.flag-country-ht {
|
||||
background-image: url("../img/flags/ht.svg"); }
|
||||
|
||||
.flag-country-hu {
|
||||
background-image: url("../img/flags/hu.svg"); }
|
||||
|
||||
.flag-country-id {
|
||||
background-image: url("../img/flags/id.svg"); }
|
||||
|
||||
.flag-country-ie {
|
||||
background-image: url("../img/flags/ie.svg"); }
|
||||
|
||||
.flag-country-il {
|
||||
background-image: url("../img/flags/il.svg"); }
|
||||
|
||||
.flag-country-im {
|
||||
background-image: url("../img/flags/im.svg"); }
|
||||
|
||||
.flag-country-in {
|
||||
background-image: url("../img/flags/in.svg"); }
|
||||
|
||||
.flag-country-io {
|
||||
background-image: url("../img/flags/io.svg"); }
|
||||
|
||||
.flag-country-iq {
|
||||
background-image: url("../img/flags/iq.svg"); }
|
||||
|
||||
.flag-country-ir {
|
||||
background-image: url("../img/flags/ir.svg"); }
|
||||
|
||||
.flag-country-is {
|
||||
background-image: url("../img/flags/is.svg"); }
|
||||
|
||||
.flag-country-it {
|
||||
background-image: url("../img/flags/it.svg"); }
|
||||
|
||||
.flag-country-je {
|
||||
background-image: url("../img/flags/je.svg"); }
|
||||
|
||||
.flag-country-jm {
|
||||
background-image: url("../img/flags/jm.svg"); }
|
||||
|
||||
.flag-country-jo {
|
||||
background-image: url("../img/flags/jo.svg"); }
|
||||
|
||||
.flag-country-jp {
|
||||
background-image: url("../img/flags/jp.svg"); }
|
||||
|
||||
.flag-country-ke {
|
||||
background-image: url("../img/flags/ke.svg"); }
|
||||
|
||||
.flag-country-kg {
|
||||
background-image: url("../img/flags/kg.svg"); }
|
||||
|
||||
.flag-country-kh {
|
||||
background-image: url("../img/flags/kh.svg"); }
|
||||
|
||||
.flag-country-ki {
|
||||
background-image: url("../img/flags/ki.svg"); }
|
||||
|
||||
.flag-country-km {
|
||||
background-image: url("../img/flags/km.svg"); }
|
||||
|
||||
.flag-country-kn {
|
||||
background-image: url("../img/flags/kn.svg"); }
|
||||
|
||||
.flag-country-kp {
|
||||
background-image: url("../img/flags/kp.svg"); }
|
||||
|
||||
.flag-country-kr {
|
||||
background-image: url("../img/flags/kr.svg"); }
|
||||
|
||||
.flag-country-kw {
|
||||
background-image: url("../img/flags/kw.svg"); }
|
||||
|
||||
.flag-country-ky {
|
||||
background-image: url("../img/flags/ky.svg"); }
|
||||
|
||||
.flag-country-kz {
|
||||
background-image: url("../img/flags/kz.svg"); }
|
||||
|
||||
.flag-country-la {
|
||||
background-image: url("../img/flags/la.svg"); }
|
||||
|
||||
.flag-country-lb {
|
||||
background-image: url("../img/flags/lb.svg"); }
|
||||
|
||||
.flag-country-lc {
|
||||
background-image: url("../img/flags/lc.svg"); }
|
||||
|
||||
.flag-country-li {
|
||||
background-image: url("../img/flags/li.svg"); }
|
||||
|
||||
.flag-country-lk {
|
||||
background-image: url("../img/flags/lk.svg"); }
|
||||
|
||||
.flag-country-lr {
|
||||
background-image: url("../img/flags/lr.svg"); }
|
||||
|
||||
.flag-country-ls {
|
||||
background-image: url("../img/flags/ls.svg"); }
|
||||
|
||||
.flag-country-lt {
|
||||
background-image: url("../img/flags/lt.svg"); }
|
||||
|
||||
.flag-country-lu {
|
||||
background-image: url("../img/flags/lu.svg"); }
|
||||
|
||||
.flag-country-lv {
|
||||
background-image: url("../img/flags/lv.svg"); }
|
||||
|
||||
.flag-country-ly {
|
||||
background-image: url("../img/flags/ly.svg"); }
|
||||
|
||||
.flag-country-ma {
|
||||
background-image: url("../img/flags/ma.svg"); }
|
||||
|
||||
.flag-country-mc {
|
||||
background-image: url("../img/flags/mc.svg"); }
|
||||
|
||||
.flag-country-md {
|
||||
background-image: url("../img/flags/md.svg"); }
|
||||
|
||||
.flag-country-me {
|
||||
background-image: url("../img/flags/me.svg"); }
|
||||
|
||||
.flag-country-mf {
|
||||
background-image: url("../img/flags/mf.svg"); }
|
||||
|
||||
.flag-country-mg {
|
||||
background-image: url("../img/flags/mg.svg"); }
|
||||
|
||||
.flag-country-mh {
|
||||
background-image: url("../img/flags/mh.svg"); }
|
||||
|
||||
.flag-country-mk {
|
||||
background-image: url("../img/flags/mk.svg"); }
|
||||
|
||||
.flag-country-ml {
|
||||
background-image: url("../img/flags/ml.svg"); }
|
||||
|
||||
.flag-country-mm {
|
||||
background-image: url("../img/flags/mm.svg"); }
|
||||
|
||||
.flag-country-mn {
|
||||
background-image: url("../img/flags/mn.svg"); }
|
||||
|
||||
.flag-country-mo {
|
||||
background-image: url("../img/flags/mo.svg"); }
|
||||
|
||||
.flag-country-mp {
|
||||
background-image: url("../img/flags/mp.svg"); }
|
||||
|
||||
.flag-country-mq {
|
||||
background-image: url("../img/flags/mq.svg"); }
|
||||
|
||||
.flag-country-mr {
|
||||
background-image: url("../img/flags/mr.svg"); }
|
||||
|
||||
.flag-country-ms {
|
||||
background-image: url("../img/flags/ms.svg"); }
|
||||
|
||||
.flag-country-mt {
|
||||
background-image: url("../img/flags/mt.svg"); }
|
||||
|
||||
.flag-country-mu {
|
||||
background-image: url("../img/flags/mu.svg"); }
|
||||
|
||||
.flag-country-mv {
|
||||
background-image: url("../img/flags/mv.svg"); }
|
||||
|
||||
.flag-country-mw {
|
||||
background-image: url("../img/flags/mw.svg"); }
|
||||
|
||||
.flag-country-mx {
|
||||
background-image: url("../img/flags/mx.svg"); }
|
||||
|
||||
.flag-country-my {
|
||||
background-image: url("../img/flags/my.svg"); }
|
||||
|
||||
.flag-country-mz {
|
||||
background-image: url("../img/flags/mz.svg"); }
|
||||
|
||||
.flag-country-na {
|
||||
background-image: url("../img/flags/na.svg"); }
|
||||
|
||||
.flag-country-nc {
|
||||
background-image: url("../img/flags/nc.svg"); }
|
||||
|
||||
.flag-country-ne {
|
||||
background-image: url("../img/flags/ne.svg"); }
|
||||
|
||||
.flag-country-nf {
|
||||
background-image: url("../img/flags/nf.svg"); }
|
||||
|
||||
.flag-country-ng {
|
||||
background-image: url("../img/flags/ng.svg"); }
|
||||
|
||||
.flag-country-ni {
|
||||
background-image: url("../img/flags/ni.svg"); }
|
||||
|
||||
.flag-country-nl {
|
||||
background-image: url("../img/flags/nl.svg"); }
|
||||
|
||||
.flag-country-no {
|
||||
background-image: url("../img/flags/no.svg"); }
|
||||
|
||||
.flag-country-np {
|
||||
background-image: url("../img/flags/np.svg"); }
|
||||
|
||||
.flag-country-nr {
|
||||
background-image: url("../img/flags/nr.svg"); }
|
||||
|
||||
.flag-country-nu {
|
||||
background-image: url("../img/flags/nu.svg"); }
|
||||
|
||||
.flag-country-nz {
|
||||
background-image: url("../img/flags/nz.svg"); }
|
||||
|
||||
.flag-country-om {
|
||||
background-image: url("../img/flags/om.svg"); }
|
||||
|
||||
.flag-country-pa {
|
||||
background-image: url("../img/flags/pa.svg"); }
|
||||
|
||||
.flag-country-pe {
|
||||
background-image: url("../img/flags/pe.svg"); }
|
||||
|
||||
.flag-country-pf {
|
||||
background-image: url("../img/flags/pf.svg"); }
|
||||
|
||||
.flag-country-pg {
|
||||
background-image: url("../img/flags/pg.svg"); }
|
||||
|
||||
.flag-country-ph {
|
||||
background-image: url("../img/flags/ph.svg"); }
|
||||
|
||||
.flag-country-pk {
|
||||
background-image: url("../img/flags/pk.svg"); }
|
||||
|
||||
.flag-country-pl {
|
||||
background-image: url("../img/flags/pl.svg"); }
|
||||
|
||||
.flag-country-pm {
|
||||
background-image: url("../img/flags/pm.svg"); }
|
||||
|
||||
.flag-country-pn {
|
||||
background-image: url("../img/flags/pn.svg"); }
|
||||
|
||||
.flag-country-pr {
|
||||
background-image: url("../img/flags/pr.svg"); }
|
||||
|
||||
.flag-country-ps {
|
||||
background-image: url("../img/flags/ps.svg"); }
|
||||
|
||||
.flag-country-pt {
|
||||
background-image: url("../img/flags/pt.svg"); }
|
||||
|
||||
.flag-country-pw {
|
||||
background-image: url("../img/flags/pw.svg"); }
|
||||
|
||||
.flag-country-py {
|
||||
background-image: url("../img/flags/py.svg"); }
|
||||
|
||||
.flag-country-qa {
|
||||
background-image: url("../img/flags/qa.svg"); }
|
||||
|
||||
.flag-country-re {
|
||||
background-image: url("../img/flags/re.svg"); }
|
||||
|
||||
.flag-country-ro {
|
||||
background-image: url("../img/flags/ro.svg"); }
|
||||
|
||||
.flag-country-rs {
|
||||
background-image: url("../img/flags/rs.svg"); }
|
||||
|
||||
.flag-country-ru {
|
||||
background-image: url("../img/flags/ru.svg"); }
|
||||
|
||||
.flag-country-rw {
|
||||
background-image: url("../img/flags/rw.svg"); }
|
||||
|
||||
.flag-country-sa {
|
||||
background-image: url("../img/flags/sa.svg"); }
|
||||
|
||||
.flag-country-sb {
|
||||
background-image: url("../img/flags/sb.svg"); }
|
||||
|
||||
.flag-country-sc {
|
||||
background-image: url("../img/flags/sc.svg"); }
|
||||
|
||||
.flag-country-sd {
|
||||
background-image: url("../img/flags/sd.svg"); }
|
||||
|
||||
.flag-country-se {
|
||||
background-image: url("../img/flags/se.svg"); }
|
||||
|
||||
.flag-country-sg {
|
||||
background-image: url("../img/flags/sg.svg"); }
|
||||
|
||||
.flag-country-sh {
|
||||
background-image: url("../img/flags/sh.svg"); }
|
||||
|
||||
.flag-country-si {
|
||||
background-image: url("../img/flags/si.svg"); }
|
||||
|
||||
.flag-country-sj {
|
||||
background-image: url("../img/flags/sj.svg"); }
|
||||
|
||||
.flag-country-sk {
|
||||
background-image: url("../img/flags/sk.svg"); }
|
||||
|
||||
.flag-country-sl {
|
||||
background-image: url("../img/flags/sl.svg"); }
|
||||
|
||||
.flag-country-sm {
|
||||
background-image: url("../img/flags/sm.svg"); }
|
||||
|
||||
.flag-country-sn {
|
||||
background-image: url("../img/flags/sn.svg"); }
|
||||
|
||||
.flag-country-so {
|
||||
background-image: url("../img/flags/so.svg"); }
|
||||
|
||||
.flag-country-sr {
|
||||
background-image: url("../img/flags/sr.svg"); }
|
||||
|
||||
.flag-country-ss {
|
||||
background-image: url("../img/flags/ss.svg"); }
|
||||
|
||||
.flag-country-st {
|
||||
background-image: url("../img/flags/st.svg"); }
|
||||
|
||||
.flag-country-sv {
|
||||
background-image: url("../img/flags/sv.svg"); }
|
||||
|
||||
.flag-country-sx {
|
||||
background-image: url("../img/flags/sx.svg"); }
|
||||
|
||||
.flag-country-sy {
|
||||
background-image: url("../img/flags/sy.svg"); }
|
||||
|
||||
.flag-country-sz {
|
||||
background-image: url("../img/flags/sz.svg"); }
|
||||
|
||||
.flag-country-tc {
|
||||
background-image: url("../img/flags/tc.svg"); }
|
||||
|
||||
.flag-country-td {
|
||||
background-image: url("../img/flags/td.svg"); }
|
||||
|
||||
.flag-country-tf {
|
||||
background-image: url("../img/flags/tf.svg"); }
|
||||
|
||||
.flag-country-tg {
|
||||
background-image: url("../img/flags/tg.svg"); }
|
||||
|
||||
.flag-country-th {
|
||||
background-image: url("../img/flags/th.svg"); }
|
||||
|
||||
.flag-country-tj {
|
||||
background-image: url("../img/flags/tj.svg"); }
|
||||
|
||||
.flag-country-tk {
|
||||
background-image: url("../img/flags/tk.svg"); }
|
||||
|
||||
.flag-country-tl {
|
||||
background-image: url("../img/flags/tl.svg"); }
|
||||
|
||||
.flag-country-tm {
|
||||
background-image: url("../img/flags/tm.svg"); }
|
||||
|
||||
.flag-country-tn {
|
||||
background-image: url("../img/flags/tn.svg"); }
|
||||
|
||||
.flag-country-to {
|
||||
background-image: url("../img/flags/to.svg"); }
|
||||
|
||||
.flag-country-tr {
|
||||
background-image: url("../img/flags/tr.svg"); }
|
||||
|
||||
.flag-country-tt {
|
||||
background-image: url("../img/flags/tt.svg"); }
|
||||
|
||||
.flag-country-tv {
|
||||
background-image: url("../img/flags/tv.svg"); }
|
||||
|
||||
.flag-country-tw {
|
||||
background-image: url("../img/flags/tw.svg"); }
|
||||
|
||||
.flag-country-tz {
|
||||
background-image: url("../img/flags/tz.svg"); }
|
||||
|
||||
.flag-country-ua {
|
||||
background-image: url("../img/flags/ua.svg"); }
|
||||
|
||||
.flag-country-ug {
|
||||
background-image: url("../img/flags/ug.svg"); }
|
||||
|
||||
.flag-country-um {
|
||||
background-image: url("../img/flags/um.svg"); }
|
||||
|
||||
.flag-country-us {
|
||||
background-image: url("../img/flags/us.svg"); }
|
||||
|
||||
.flag-country-uy {
|
||||
background-image: url("../img/flags/uy.svg"); }
|
||||
|
||||
.flag-country-uz {
|
||||
background-image: url("../img/flags/uz.svg"); }
|
||||
|
||||
.flag-country-va {
|
||||
background-image: url("../img/flags/va.svg"); }
|
||||
|
||||
.flag-country-vc {
|
||||
background-image: url("../img/flags/vc.svg"); }
|
||||
|
||||
.flag-country-ve {
|
||||
background-image: url("../img/flags/ve.svg"); }
|
||||
|
||||
.flag-country-vg {
|
||||
background-image: url("../img/flags/vg.svg"); }
|
||||
|
||||
.flag-country-vi {
|
||||
background-image: url("../img/flags/vi.svg"); }
|
||||
|
||||
.flag-country-vn {
|
||||
background-image: url("../img/flags/vn.svg"); }
|
||||
|
||||
.flag-country-vu {
|
||||
background-image: url("../img/flags/vu.svg"); }
|
||||
|
||||
.flag-country-wf {
|
||||
background-image: url("../img/flags/wf.svg"); }
|
||||
|
||||
.flag-country-ws {
|
||||
background-image: url("../img/flags/ws.svg"); }
|
||||
|
||||
.flag-country-ye {
|
||||
background-image: url("../img/flags/ye.svg"); }
|
||||
|
||||
.flag-country-yt {
|
||||
background-image: url("../img/flags/yt.svg"); }
|
||||
|
||||
.flag-country-za {
|
||||
background-image: url("../img/flags/za.svg"); }
|
||||
|
||||
.flag-country-zm {
|
||||
background-image: url("../img/flags/zm.svg"); }
|
||||
|
||||
.flag-country-zw {
|
||||
background-image: url("../img/flags/zw.svg"); }
|
||||
|
||||
.flag-country-es-ct {
|
||||
background-image: url("../img/flags/es-ct.svg"); }
|
||||
|
||||
.flag-country-eu {
|
||||
background-image: url("../img/flags/eu.svg"); }
|
||||
|
||||
.flag-country-gb-eng {
|
||||
background-image: url("../img/flags/gb-eng.svg"); }
|
||||
|
||||
.flag-country-gb-nir {
|
||||
background-image: url("../img/flags/gb-nir.svg"); }
|
||||
|
||||
.flag-country-gb-sct {
|
||||
background-image: url("../img/flags/gb-sct.svg"); }
|
||||
|
||||
.flag-country-gb-wls {
|
||||
background-image: url("../img/flags/gb-wls.svg"); }
|
||||
|
||||
.flag-country-un {
|
||||
background-image: url("../img/flags/un.svg"); }
|
||||
|
||||
.flag-xs {
|
||||
width: 1.25rem;
|
||||
height: 0.9375rem; }
|
||||
|
||||
.flag-sm {
|
||||
width: 2rem;
|
||||
height: 1.5rem; }
|
||||
|
||||
.flag-md {
|
||||
width: 3.75rem;
|
||||
height: 2.8125rem; }
|
||||
|
||||
.flag-lg {
|
||||
width: 5rem;
|
||||
height: 3.75rem; }
|
||||
|
||||
.flag-xl {
|
||||
width: 7rem;
|
||||
height: 5.25rem; }
|
||||
|
||||
.flag-2xl {
|
||||
width: 11rem;
|
||||
height: 8.25rem; }
|
9
wwwroot/css/tabler-flags.min.css
vendored
Normal file
9
wwwroot/css/tabler-flags.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
811
wwwroot/css/tabler-flags.rtl.css
Normal file
811
wwwroot/css/tabler-flags.rtl.css
Normal file
|
@ -0,0 +1,811 @@
|
|||
/*!
|
||||
* Tabler v1.0.0-beta5 (https://tabler.io)
|
||||
* @version 1.0.0-beta5
|
||||
* @link https://tabler.io
|
||||
* Copyright 2018-2022 The Tabler Authors
|
||||
* Copyright 2018-2022 codecalm.net Paweł Kuna
|
||||
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
|
||||
*/
|
||||
.flag {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 1.33333em;
|
||||
height: 1em;
|
||||
vertical-align: -3px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
border: 1px solid var(--tblr-border-color);
|
||||
border-radius: 3px; }
|
||||
|
||||
.flag-country-ad {
|
||||
background-image: url("../img/flags/ad.svg"); }
|
||||
|
||||
.flag-country-ae {
|
||||
background-image: url("../img/flags/ae.svg"); }
|
||||
|
||||
.flag-country-af {
|
||||
background-image: url("../img/flags/af.svg"); }
|
||||
|
||||
.flag-country-ag {
|
||||
background-image: url("../img/flags/ag.svg"); }
|
||||
|
||||
.flag-country-ai {
|
||||
background-image: url("../img/flags/ai.svg"); }
|
||||
|
||||
.flag-country-al {
|
||||
background-image: url("../img/flags/al.svg"); }
|
||||
|
||||
.flag-country-am {
|
||||
background-image: url("../img/flags/am.svg"); }
|
||||
|
||||
.flag-country-ao {
|
||||
background-image: url("../img/flags/ao.svg"); }
|
||||
|
||||
.flag-country-aq {
|
||||
background-image: url("../img/flags/aq.svg"); }
|
||||
|
||||
.flag-country-ar {
|
||||
background-image: url("../img/flags/ar.svg"); }
|
||||
|
||||
.flag-country-as {
|
||||
background-image: url("../img/flags/as.svg"); }
|
||||
|
||||
.flag-country-at {
|
||||
background-image: url("../img/flags/at.svg"); }
|
||||
|
||||
.flag-country-au {
|
||||
background-image: url("../img/flags/au.svg"); }
|
||||
|
||||
.flag-country-aw {
|
||||
background-image: url("../img/flags/aw.svg"); }
|
||||
|
||||
.flag-country-ax {
|
||||
background-image: url("../img/flags/ax.svg"); }
|
||||
|
||||
.flag-country-az {
|
||||
background-image: url("../img/flags/az.svg"); }
|
||||
|
||||
.flag-country-ba {
|
||||
background-image: url("../img/flags/ba.svg"); }
|
||||
|
||||
.flag-country-bb {
|
||||
background-image: url("../img/flags/bb.svg"); }
|
||||
|
||||
.flag-country-bd {
|
||||
background-image: url("../img/flags/bd.svg"); }
|
||||
|
||||
.flag-country-be {
|
||||
background-image: url("../img/flags/be.svg"); }
|
||||
|
||||
.flag-country-bf {
|
||||
background-image: url("../img/flags/bf.svg"); }
|
||||
|
||||
.flag-country-bg {
|
||||
background-image: url("../img/flags/bg.svg"); }
|
||||
|
||||
.flag-country-bh {
|
||||
background-image: url("../img/flags/bh.svg"); }
|
||||
|
||||
.flag-country-bi {
|
||||
background-image: url("../img/flags/bi.svg"); }
|
||||
|
||||
.flag-country-bj {
|
||||
background-image: url("../img/flags/bj.svg"); }
|
||||
|
||||
.flag-country-bl {
|
||||
background-image: url("../img/flags/bl.svg"); }
|
||||
|
||||
.flag-country-bm {
|
||||
background-image: url("../img/flags/bm.svg"); }
|
||||
|
||||
.flag-country-bn {
|
||||
background-image: url("../img/flags/bn.svg"); }
|
||||
|
||||
.flag-country-bo {
|
||||
background-image: url("../img/flags/bo.svg"); }
|
||||
|
||||
.flag-country-bq {
|
||||
background-image: url("../img/flags/bq.svg"); }
|
||||
|
||||
.flag-country-br {
|
||||
background-image: url("../img/flags/br.svg"); }
|
||||
|
||||
.flag-country-bs {
|
||||
background-image: url("../img/flags/bs.svg"); }
|
||||
|
||||
.flag-country-bt {
|
||||
background-image: url("../img/flags/bt.svg"); }
|
||||
|
||||
.flag-country-bv {
|
||||
background-image: url("../img/flags/bv.svg"); }
|
||||
|
||||
.flag-country-bw {
|
||||
background-image: url("../img/flags/bw.svg"); }
|
||||
|
||||
.flag-country-by {
|
||||
background-image: url("../img/flags/by.svg"); }
|
||||
|
||||
.flag-country-bz {
|
||||
background-image: url("../img/flags/bz.svg"); }
|
||||
|
||||
.flag-country-ca {
|
||||
background-image: url("../img/flags/ca.svg"); }
|
||||
|
||||
.flag-country-cc {
|
||||
background-image: url("../img/flags/cc.svg"); }
|
||||
|
||||
.flag-country-cd {
|
||||
background-image: url("../img/flags/cd.svg"); }
|
||||
|
||||
.flag-country-cf {
|
||||
background-image: url("../img/flags/cf.svg"); }
|
||||
|
||||
.flag-country-cg {
|
||||
background-image: url("../img/flags/cg.svg"); }
|
||||
|
||||
.flag-country-ch {
|
||||
background-image: url("../img/flags/ch.svg"); }
|
||||
|
||||
.flag-country-ci {
|
||||
background-image: url("../img/flags/ci.svg"); }
|
||||
|
||||
.flag-country-ck {
|
||||
background-image: url("../img/flags/ck.svg"); }
|
||||
|
||||
.flag-country-cl {
|
||||
background-image: url("../img/flags/cl.svg"); }
|
||||
|
||||
.flag-country-cm {
|
||||
background-image: url("../img/flags/cm.svg"); }
|
||||
|
||||
.flag-country-cn {
|
||||
background-image: url("../img/flags/cn.svg"); }
|
||||
|
||||
.flag-country-co {
|
||||
background-image: url("../img/flags/co.svg"); }
|
||||
|
||||
.flag-country-cr {
|
||||
background-image: url("../img/flags/cr.svg"); }
|
||||
|
||||
.flag-country-cu {
|
||||
background-image: url("../img/flags/cu.svg"); }
|
||||
|
||||
.flag-country-cv {
|
||||
background-image: url("../img/flags/cv.svg"); }
|
||||
|
||||
.flag-country-cw {
|
||||
background-image: url("../img/flags/cw.svg"); }
|
||||
|
||||
.flag-country-cx {
|
||||
background-image: url("../img/flags/cx.svg"); }
|
||||
|
||||
.flag-country-cy {
|
||||
background-image: url("../img/flags/cy.svg"); }
|
||||
|
||||
.flag-country-cz {
|
||||
background-image: url("../img/flags/cz.svg"); }
|
||||
|
||||
.flag-country-de {
|
||||
background-image: url("../img/flags/de.svg"); }
|
||||
|
||||
.flag-country-dj {
|
||||
background-image: url("../img/flags/dj.svg"); }
|
||||
|
||||
.flag-country-dk {
|
||||
background-image: url("../img/flags/dk.svg"); }
|
||||
|
||||
.flag-country-dm {
|
||||
background-image: url("../img/flags/dm.svg"); }
|
||||
|
||||
.flag-country-do {
|
||||
background-image: url("../img/flags/do.svg"); }
|
||||
|
||||
.flag-country-dz {
|
||||
background-image: url("../img/flags/dz.svg"); }
|
||||
|
||||
.flag-country-ec {
|
||||
background-image: url("../img/flags/ec.svg"); }
|
||||
|
||||
.flag-country-ee {
|
||||
background-image: url("../img/flags/ee.svg"); }
|
||||
|
||||
.flag-country-eg {
|
||||
background-image: url("../img/flags/eg.svg"); }
|
||||
|
||||
.flag-country-eh {
|
||||
background-image: url("../img/flags/eh.svg"); }
|
||||
|
||||
.flag-country-er {
|
||||
background-image: url("../img/flags/er.svg"); }
|
||||
|
||||
.flag-country-es {
|
||||
background-image: url("../img/flags/es.svg"); }
|
||||
|
||||
.flag-country-et {
|
||||
background-image: url("../img/flags/et.svg"); }
|
||||
|
||||
.flag-country-fi {
|
||||
background-image: url("../img/flags/fi.svg"); }
|
||||
|
||||
.flag-country-fj {
|
||||
background-image: url("../img/flags/fj.svg"); }
|
||||
|
||||
.flag-country-fk {
|
||||
background-image: url("../img/flags/fk.svg"); }
|
||||
|
||||
.flag-country-fm {
|
||||
background-image: url("../img/flags/fm.svg"); }
|
||||
|
||||
.flag-country-fo {
|
||||
background-image: url("../img/flags/fo.svg"); }
|
||||
|
||||
.flag-country-fr {
|
||||
background-image: url("../img/flags/fr.svg"); }
|
||||
|
||||
.flag-country-ga {
|
||||
background-image: url("../img/flags/ga.svg"); }
|
||||
|
||||
.flag-country-gb {
|
||||
background-image: url("../img/flags/gb.svg"); }
|
||||
|
||||
.flag-country-gd {
|
||||
background-image: url("../img/flags/gd.svg"); }
|
||||
|
||||
.flag-country-ge {
|
||||
background-image: url("../img/flags/ge.svg"); }
|
||||
|
||||
.flag-country-gf {
|
||||
background-image: url("../img/flags/gf.svg"); }
|
||||
|
||||
.flag-country-gg {
|
||||
background-image: url("../img/flags/gg.svg"); }
|
||||
|
||||
.flag-country-gh {
|
||||
background-image: url("../img/flags/gh.svg"); }
|
||||
|
||||
.flag-country-gi {
|
||||
background-image: url("../img/flags/gi.svg"); }
|
||||
|
||||
.flag-country-gl {
|
||||
background-image: url("../img/flags/gl.svg"); }
|
||||
|
||||
.flag-country-gm {
|
||||
background-image: url("../img/flags/gm.svg"); }
|
||||
|
||||
.flag-country-gn {
|
||||
background-image: url("../img/flags/gn.svg"); }
|
||||
|
||||
.flag-country-gp {
|
||||
background-image: url("../img/flags/gp.svg"); }
|
||||
|
||||
.flag-country-gq {
|
||||
background-image: url("../img/flags/gq.svg"); }
|
||||
|
||||
.flag-country-gr {
|
||||
background-image: url("../img/flags/gr.svg"); }
|
||||
|
||||
.flag-country-gs {
|
||||
background-image: url("../img/flags/gs.svg"); }
|
||||
|
||||
.flag-country-gt {
|
||||
background-image: url("../img/flags/gt.svg"); }
|
||||
|
||||
.flag-country-gu {
|
||||
background-image: url("../img/flags/gu.svg"); }
|
||||
|
||||
.flag-country-gw {
|
||||
background-image: url("../img/flags/gw.svg"); }
|
||||
|
||||
.flag-country-gy {
|
||||
background-image: url("../img/flags/gy.svg"); }
|
||||
|
||||
.flag-country-hk {
|
||||
background-image: url("../img/flags/hk.svg"); }
|
||||
|
||||
.flag-country-hm {
|
||||
background-image: url("../img/flags/hm.svg"); }
|
||||
|
||||
.flag-country-hn {
|
||||
background-image: url("../img/flags/hn.svg"); }
|
||||
|
||||
.flag-country-hr {
|
||||
background-image: url("../img/flags/hr.svg"); }
|
||||
|
||||
.flag-country-ht {
|
||||
background-image: url("../img/flags/ht.svg"); }
|
||||
|
||||
.flag-country-hu {
|
||||
background-image: url("../img/flags/hu.svg"); }
|
||||
|
||||
.flag-country-id {
|
||||
background-image: url("../img/flags/id.svg"); }
|
||||
|
||||
.flag-country-ie {
|
||||
background-image: url("../img/flags/ie.svg"); }
|
||||
|
||||
.flag-country-il {
|
||||
background-image: url("../img/flags/il.svg"); }
|
||||
|
||||
.flag-country-im {
|
||||
background-image: url("../img/flags/im.svg"); }
|
||||
|
||||
.flag-country-in {
|
||||
background-image: url("../img/flags/in.svg"); }
|
||||
|
||||
.flag-country-io {
|
||||
background-image: url("../img/flags/io.svg"); }
|
||||
|
||||
.flag-country-iq {
|
||||
background-image: url("../img/flags/iq.svg"); }
|
||||
|
||||
.flag-country-ir {
|
||||
background-image: url("../img/flags/ir.svg"); }
|
||||
|
||||
.flag-country-is {
|
||||
background-image: url("../img/flags/is.svg"); }
|
||||
|
||||
.flag-country-it {
|
||||
background-image: url("../img/flags/it.svg"); }
|
||||
|
||||
.flag-country-je {
|
||||
background-image: url("../img/flags/je.svg"); }
|
||||
|
||||
.flag-country-jm {
|
||||
background-image: url("../img/flags/jm.svg"); }
|
||||
|
||||
.flag-country-jo {
|
||||
background-image: url("../img/flags/jo.svg"); }
|
||||
|
||||
.flag-country-jp {
|
||||
background-image: url("../img/flags/jp.svg"); }
|
||||
|
||||
.flag-country-ke {
|
||||
background-image: url("../img/flags/ke.svg"); }
|
||||
|
||||
.flag-country-kg {
|
||||
background-image: url("../img/flags/kg.svg"); }
|
||||
|
||||
.flag-country-kh {
|
||||
background-image: url("../img/flags/kh.svg"); }
|
||||
|
||||
.flag-country-ki {
|
||||
background-image: url("../img/flags/ki.svg"); }
|
||||
|
||||
.flag-country-km {
|
||||
background-image: url("../img/flags/km.svg"); }
|
||||
|
||||
.flag-country-kn {
|
||||
background-image: url("../img/flags/kn.svg"); }
|
||||
|
||||
.flag-country-kp {
|
||||
background-image: url("../img/flags/kp.svg"); }
|
||||
|
||||
.flag-country-kr {
|
||||
background-image: url("../img/flags/kr.svg"); }
|
||||
|
||||
.flag-country-kw {
|
||||
background-image: url("../img/flags/kw.svg"); }
|
||||
|
||||
.flag-country-ky {
|
||||
background-image: url("../img/flags/ky.svg"); }
|
||||
|
||||
.flag-country-kz {
|
||||
background-image: url("../img/flags/kz.svg"); }
|
||||
|
||||
.flag-country-la {
|
||||
background-image: url("../img/flags/la.svg"); }
|
||||
|
||||
.flag-country-lb {
|
||||
background-image: url("../img/flags/lb.svg"); }
|
||||
|
||||
.flag-country-lc {
|
||||
background-image: url("../img/flags/lc.svg"); }
|
||||
|
||||
.flag-country-li {
|
||||
background-image: url("../img/flags/li.svg"); }
|
||||
|
||||
.flag-country-lk {
|
||||
background-image: url("../img/flags/lk.svg"); }
|
||||
|
||||
.flag-country-lr {
|
||||
background-image: url("../img/flags/lr.svg"); }
|
||||
|
||||
.flag-country-ls {
|
||||
background-image: url("../img/flags/ls.svg"); }
|
||||
|
||||
.flag-country-lt {
|
||||
background-image: url("../img/flags/lt.svg"); }
|
||||
|
||||
.flag-country-lu {
|
||||
background-image: url("../img/flags/lu.svg"); }
|
||||
|
||||
.flag-country-lv {
|
||||
background-image: url("../img/flags/lv.svg"); }
|
||||
|
||||
.flag-country-ly {
|
||||
background-image: url("../img/flags/ly.svg"); }
|
||||
|
||||
.flag-country-ma {
|
||||
background-image: url("../img/flags/ma.svg"); }
|
||||
|
||||
.flag-country-mc {
|
||||
background-image: url("../img/flags/mc.svg"); }
|
||||
|
||||
.flag-country-md {
|
||||
background-image: url("../img/flags/md.svg"); }
|
||||
|
||||
.flag-country-me {
|
||||
background-image: url("../img/flags/me.svg"); }
|
||||
|
||||
.flag-country-mf {
|
||||
background-image: url("../img/flags/mf.svg"); }
|
||||
|
||||
.flag-country-mg {
|
||||
background-image: url("../img/flags/mg.svg"); }
|
||||
|
||||
.flag-country-mh {
|
||||
background-image: url("../img/flags/mh.svg"); }
|
||||
|
||||
.flag-country-mk {
|
||||
background-image: url("../img/flags/mk.svg"); }
|
||||
|
||||
.flag-country-ml {
|
||||
background-image: url("../img/flags/ml.svg"); }
|
||||
|
||||
.flag-country-mm {
|
||||
background-image: url("../img/flags/mm.svg"); }
|
||||
|
||||
.flag-country-mn {
|
||||
background-image: url("../img/flags/mn.svg"); }
|
||||
|
||||
.flag-country-mo {
|
||||
background-image: url("../img/flags/mo.svg"); }
|
||||
|
||||
.flag-country-mp {
|
||||
background-image: url("../img/flags/mp.svg"); }
|
||||
|
||||
.flag-country-mq {
|
||||
background-image: url("../img/flags/mq.svg"); }
|
||||
|
||||
.flag-country-mr {
|
||||
background-image: url("../img/flags/mr.svg"); }
|
||||
|
||||
.flag-country-ms {
|
||||
background-image: url("../img/flags/ms.svg"); }
|
||||
|
||||
.flag-country-mt {
|
||||
background-image: url("../img/flags/mt.svg"); }
|
||||
|
||||
.flag-country-mu {
|
||||
background-image: url("../img/flags/mu.svg"); }
|
||||
|
||||
.flag-country-mv {
|
||||
background-image: url("../img/flags/mv.svg"); }
|
||||
|
||||
.flag-country-mw {
|
||||
background-image: url("../img/flags/mw.svg"); }
|
||||
|
||||
.flag-country-mx {
|
||||
background-image: url("../img/flags/mx.svg"); }
|
||||
|
||||
.flag-country-my {
|
||||
background-image: url("../img/flags/my.svg"); }
|
||||
|
||||
.flag-country-mz {
|
||||
background-image: url("../img/flags/mz.svg"); }
|
||||
|
||||
.flag-country-na {
|
||||
background-image: url("../img/flags/na.svg"); }
|
||||
|
||||
.flag-country-nc {
|
||||
background-image: url("../img/flags/nc.svg"); }
|
||||
|
||||
.flag-country-ne {
|
||||
background-image: url("../img/flags/ne.svg"); }
|
||||
|
||||
.flag-country-nf {
|
||||
background-image: url("../img/flags/nf.svg"); }
|
||||
|
||||
.flag-country-ng {
|
||||
background-image: url("../img/flags/ng.svg"); }
|
||||
|
||||
.flag-country-ni {
|
||||
background-image: url("../img/flags/ni.svg"); }
|
||||
|
||||
.flag-country-nl {
|
||||
background-image: url("../img/flags/nl.svg"); }
|
||||
|
||||
.flag-country-no {
|
||||
background-image: url("../img/flags/no.svg"); }
|
||||
|
||||
.flag-country-np {
|
||||
background-image: url("../img/flags/np.svg"); }
|
||||
|
||||
.flag-country-nr {
|
||||
background-image: url("../img/flags/nr.svg"); }
|
||||
|
||||
.flag-country-nu {
|
||||
background-image: url("../img/flags/nu.svg"); }
|
||||
|
||||
.flag-country-nz {
|
||||
background-image: url("../img/flags/nz.svg"); }
|
||||
|
||||
.flag-country-om {
|
||||
background-image: url("../img/flags/om.svg"); }
|
||||
|
||||
.flag-country-pa {
|
||||
background-image: url("../img/flags/pa.svg"); }
|
||||
|
||||
.flag-country-pe {
|
||||
background-image: url("../img/flags/pe.svg"); }
|
||||
|
||||
.flag-country-pf {
|
||||
background-image: url("../img/flags/pf.svg"); }
|
||||
|
||||
.flag-country-pg {
|
||||
background-image: url("../img/flags/pg.svg"); }
|
||||
|
||||
.flag-country-ph {
|
||||
background-image: url("../img/flags/ph.svg"); }
|
||||
|
||||
.flag-country-pk {
|
||||
background-image: url("../img/flags/pk.svg"); }
|
||||
|
||||
.flag-country-pl {
|
||||
background-image: url("../img/flags/pl.svg"); }
|
||||
|
||||
.flag-country-pm {
|
||||
background-image: url("../img/flags/pm.svg"); }
|
||||
|
||||
.flag-country-pn {
|
||||
background-image: url("../img/flags/pn.svg"); }
|
||||
|
||||
.flag-country-pr {
|
||||
background-image: url("../img/flags/pr.svg"); }
|
||||
|
||||
.flag-country-ps {
|
||||
background-image: url("../img/flags/ps.svg"); }
|
||||
|
||||
.flag-country-pt {
|
||||
background-image: url("../img/flags/pt.svg"); }
|
||||
|
||||
.flag-country-pw {
|
||||
background-image: url("../img/flags/pw.svg"); }
|
||||
|
||||
.flag-country-py {
|
||||
background-image: url("../img/flags/py.svg"); }
|
||||
|
||||
.flag-country-qa {
|
||||
background-image: url("../img/flags/qa.svg"); }
|
||||
|
||||
.flag-country-re {
|
||||
background-image: url("../img/flags/re.svg"); }
|
||||
|
||||
.flag-country-ro {
|
||||
background-image: url("../img/flags/ro.svg"); }
|
||||
|
||||
.flag-country-rs {
|
||||
background-image: url("../img/flags/rs.svg"); }
|
||||
|
||||
.flag-country-ru {
|
||||
background-image: url("../img/flags/ru.svg"); }
|
||||
|
||||
.flag-country-rw {
|
||||
background-image: url("../img/flags/rw.svg"); }
|
||||
|
||||
.flag-country-sa {
|
||||
background-image: url("../img/flags/sa.svg"); }
|
||||
|
||||
.flag-country-sb {
|
||||
background-image: url("../img/flags/sb.svg"); }
|
||||
|
||||
.flag-country-sc {
|
||||
background-image: url("../img/flags/sc.svg"); }
|
||||
|
||||
.flag-country-sd {
|
||||
background-image: url("../img/flags/sd.svg"); }
|
||||
|
||||
.flag-country-se {
|
||||
background-image: url("../img/flags/se.svg"); }
|
||||
|
||||
.flag-country-sg {
|
||||
background-image: url("../img/flags/sg.svg"); }
|
||||
|
||||
.flag-country-sh {
|
||||
background-image: url("../img/flags/sh.svg"); }
|
||||
|
||||
.flag-country-si {
|
||||
background-image: url("../img/flags/si.svg"); }
|
||||
|
||||
.flag-country-sj {
|
||||
background-image: url("../img/flags/sj.svg"); }
|
||||
|
||||
.flag-country-sk {
|
||||
background-image: url("../img/flags/sk.svg"); }
|
||||
|
||||
.flag-country-sl {
|
||||
background-image: url("../img/flags/sl.svg"); }
|
||||
|
||||
.flag-country-sm {
|
||||
background-image: url("../img/flags/sm.svg"); }
|
||||
|
||||
.flag-country-sn {
|
||||
background-image: url("../img/flags/sn.svg"); }
|
||||
|
||||
.flag-country-so {
|
||||
background-image: url("../img/flags/so.svg"); }
|
||||
|
||||
.flag-country-sr {
|
||||
background-image: url("../img/flags/sr.svg"); }
|
||||
|
||||
.flag-country-ss {
|
||||
background-image: url("../img/flags/ss.svg"); }
|
||||
|
||||
.flag-country-st {
|
||||
background-image: url("../img/flags/st.svg"); }
|
||||
|
||||
.flag-country-sv {
|
||||
background-image: url("../img/flags/sv.svg"); }
|
||||
|
||||
.flag-country-sx {
|
||||
background-image: url("../img/flags/sx.svg"); }
|
||||
|
||||
.flag-country-sy {
|
||||
background-image: url("../img/flags/sy.svg"); }
|
||||
|
||||
.flag-country-sz {
|
||||
background-image: url("../img/flags/sz.svg"); }
|
||||
|
||||
.flag-country-tc {
|
||||
background-image: url("../img/flags/tc.svg"); }
|
||||
|
||||
.flag-country-td {
|
||||
background-image: url("../img/flags/td.svg"); }
|
||||
|
||||
.flag-country-tf {
|
||||
background-image: url("../img/flags/tf.svg"); }
|
||||
|
||||
.flag-country-tg {
|
||||
background-image: url("../img/flags/tg.svg"); }
|
||||
|
||||
.flag-country-th {
|
||||
background-image: url("../img/flags/th.svg"); }
|
||||
|
||||
.flag-country-tj {
|
||||
background-image: url("../img/flags/tj.svg"); }
|
||||
|
||||
.flag-country-tk {
|
||||
background-image: url("../img/flags/tk.svg"); }
|
||||
|
||||
.flag-country-tl {
|
||||
background-image: url("../img/flags/tl.svg"); }
|
||||
|
||||
.flag-country-tm {
|
||||
background-image: url("../img/flags/tm.svg"); }
|
||||
|
||||
.flag-country-tn {
|
||||
background-image: url("../img/flags/tn.svg"); }
|
||||
|
||||
.flag-country-to {
|
||||
background-image: url("../img/flags/to.svg"); }
|
||||
|
||||
.flag-country-tr {
|
||||
background-image: url("../img/flags/tr.svg"); }
|
||||
|
||||
.flag-country-tt {
|
||||
background-image: url("../img/flags/tt.svg"); }
|
||||
|
||||
.flag-country-tv {
|
||||
background-image: url("../img/flags/tv.svg"); }
|
||||
|
||||
.flag-country-tw {
|
||||
background-image: url("../img/flags/tw.svg"); }
|
||||
|
||||
.flag-country-tz {
|
||||
background-image: url("../img/flags/tz.svg"); }
|
||||
|
||||
.flag-country-ua {
|
||||
background-image: url("../img/flags/ua.svg"); }
|
||||
|
||||
.flag-country-ug {
|
||||
background-image: url("../img/flags/ug.svg"); }
|
||||
|
||||
.flag-country-um {
|
||||
background-image: url("../img/flags/um.svg"); }
|
||||
|
||||
.flag-country-us {
|
||||
background-image: url("../img/flags/us.svg"); }
|
||||
|
||||
.flag-country-uy {
|
||||
background-image: url("../img/flags/uy.svg"); }
|
||||
|
||||
.flag-country-uz {
|
||||
background-image: url("../img/flags/uz.svg"); }
|
||||
|
||||
.flag-country-va {
|
||||
background-image: url("../img/flags/va.svg"); }
|
||||
|
||||
.flag-country-vc {
|
||||
background-image: url("../img/flags/vc.svg"); }
|
||||
|
||||
.flag-country-ve {
|
||||
background-image: url("../img/flags/ve.svg"); }
|
||||
|
||||
.flag-country-vg {
|
||||
background-image: url("../img/flags/vg.svg"); }
|
||||
|
||||
.flag-country-vi {
|
||||
background-image: url("../img/flags/vi.svg"); }
|
||||
|
||||
.flag-country-vn {
|
||||
background-image: url("../img/flags/vn.svg"); }
|
||||
|
||||
.flag-country-vu {
|
||||
background-image: url("../img/flags/vu.svg"); }
|
||||
|
||||
.flag-country-wf {
|
||||
background-image: url("../img/flags/wf.svg"); }
|
||||
|
||||
.flag-country-ws {
|
||||
background-image: url("../img/flags/ws.svg"); }
|
||||
|
||||
.flag-country-ye {
|
||||
background-image: url("../img/flags/ye.svg"); }
|
||||
|
||||
.flag-country-yt {
|
||||
background-image: url("../img/flags/yt.svg"); }
|
||||
|
||||
.flag-country-za {
|
||||
background-image: url("../img/flags/za.svg"); }
|
||||
|
||||
.flag-country-zm {
|
||||
background-image: url("../img/flags/zm.svg"); }
|
||||
|
||||
.flag-country-zw {
|
||||
background-image: url("../img/flags/zw.svg"); }
|
||||
|
||||
.flag-country-es-ct {
|
||||
background-image: url("../img/flags/es-ct.svg"); }
|
||||
|
||||
.flag-country-eu {
|
||||
background-image: url("../img/flags/eu.svg"); }
|
||||
|
||||
.flag-country-gb-eng {
|
||||
background-image: url("../img/flags/gb-eng.svg"); }
|
||||
|
||||
.flag-country-gb-nir {
|
||||
background-image: url("../img/flags/gb-nir.svg"); }
|
||||
|
||||
.flag-country-gb-sct {
|
||||
background-image: url("../img/flags/gb-sct.svg"); }
|
||||
|
||||
.flag-country-gb-wls {
|
||||
background-image: url("../img/flags/gb-wls.svg"); }
|
||||
|
||||
.flag-country-un {
|
||||
background-image: url("../img/flags/un.svg"); }
|
||||
|
||||
.flag-xs {
|
||||
width: 1.25rem;
|
||||
height: 0.9375rem; }
|
||||
|
||||
.flag-sm {
|
||||
width: 2rem;
|
||||
height: 1.5rem; }
|
||||
|
||||
.flag-md {
|
||||
width: 3.75rem;
|
||||
height: 2.8125rem; }
|
||||
|
||||
.flag-lg {
|
||||
width: 5rem;
|
||||
height: 3.75rem; }
|
||||
|
||||
.flag-xl {
|
||||
width: 7rem;
|
||||
height: 5.25rem; }
|
||||
|
||||
.flag-2xl {
|
||||
width: 11rem;
|
||||
height: 8.25rem; }
|
9
wwwroot/css/tabler-flags.rtl.min.css
vendored
Normal file
9
wwwroot/css/tabler-flags.rtl.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
395
wwwroot/css/tabler-payments.css
Normal file
395
wwwroot/css/tabler-payments.css
Normal file
|
@ -0,0 +1,395 @@
|
|||
/*!
|
||||
* Tabler v1.0.0-beta5 (https://tabler.io)
|
||||
* @version 1.0.0-beta5
|
||||
* @link https://tabler.io
|
||||
* Copyright 2018-2022 The Tabler Authors
|
||||
* Copyright 2018-2022 codecalm.net Paweł Kuna
|
||||
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
|
||||
*/
|
||||
.payment {
|
||||
width: 3.33332rem;
|
||||
height: 2rem;
|
||||
display: inline-block;
|
||||
background: no-repeat center/100% 100%;
|
||||
vertical-align: bottom;
|
||||
font-style: normal;
|
||||
box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 2px; }
|
||||
|
||||
.payment-provider-2checkout {
|
||||
background-image: url("../img/payments/2checkout.svg"); }
|
||||
|
||||
.payment-provider-2checkout-dark {
|
||||
background-image: url("../img/payments/2checkout-dark.svg"); }
|
||||
|
||||
.payment-provider-alipay {
|
||||
background-image: url("../img/payments/alipay.svg"); }
|
||||
|
||||
.payment-provider-alipay-dark {
|
||||
background-image: url("../img/payments/alipay-dark.svg"); }
|
||||
|
||||
.payment-provider-amazon {
|
||||
background-image: url("../img/payments/amazon.svg"); }
|
||||
|
||||
.payment-provider-amazon-dark {
|
||||
background-image: url("../img/payments/amazon-dark.svg"); }
|
||||
|
||||
.payment-provider-americanexpress {
|
||||
background-image: url("../img/payments/americanexpress.svg"); }
|
||||
|
||||
.payment-provider-americanexpress-dark {
|
||||
background-image: url("../img/payments/americanexpress-dark.svg"); }
|
||||
|
||||
.payment-provider-applepay {
|
||||
background-image: url("../img/payments/applepay.svg"); }
|
||||
|
||||
.payment-provider-applepay-dark {
|
||||
background-image: url("../img/payments/applepay-dark.svg"); }
|
||||
|
||||
.payment-provider-bancontact {
|
||||
background-image: url("../img/payments/bancontact.svg"); }
|
||||
|
||||
.payment-provider-bancontact-dark {
|
||||
background-image: url("../img/payments/bancontact-dark.svg"); }
|
||||
|
||||
.payment-provider-bitcoin {
|
||||
background-image: url("../img/payments/bitcoin.svg"); }
|
||||
|
||||
.payment-provider-bitcoin-dark {
|
||||
background-image: url("../img/payments/bitcoin-dark.svg"); }
|
||||
|
||||
.payment-provider-bitpay {
|
||||
background-image: url("../img/payments/bitpay.svg"); }
|
||||
|
||||
.payment-provider-bitpay-dark {
|
||||
background-image: url("../img/payments/bitpay-dark.svg"); }
|
||||
|
||||
.payment-provider-blik {
|
||||
background-image: url("../img/payments/blik.svg"); }
|
||||
|
||||
.payment-provider-blik-dark {
|
||||
background-image: url("../img/payments/blik-dark.svg"); }
|
||||
|
||||
.payment-provider-cirrus {
|
||||
background-image: url("../img/payments/cirrus.svg"); }
|
||||
|
||||
.payment-provider-cirrus-dark {
|
||||
background-image: url("../img/payments/cirrus-dark.svg"); }
|
||||
|
||||
.payment-provider-clickandbuy {
|
||||
background-image: url("../img/payments/clickandbuy.svg"); }
|
||||
|
||||
.payment-provider-clickandbuy-dark {
|
||||
background-image: url("../img/payments/clickandbuy-dark.svg"); }
|
||||
|
||||
.payment-provider-coinkite {
|
||||
background-image: url("../img/payments/coinkite.svg"); }
|
||||
|
||||
.payment-provider-coinkite-dark {
|
||||
background-image: url("../img/payments/coinkite-dark.svg"); }
|
||||
|
||||
.payment-provider-dinersclub {
|
||||
background-image: url("../img/payments/dinersclub.svg"); }
|
||||
|
||||
.payment-provider-dinersclub-dark {
|
||||
background-image: url("../img/payments/dinersclub-dark.svg"); }
|
||||
|
||||
.payment-provider-directdebit {
|
||||
background-image: url("../img/payments/directdebit.svg"); }
|
||||
|
||||
.payment-provider-directdebit-dark {
|
||||
background-image: url("../img/payments/directdebit-dark.svg"); }
|
||||
|
||||
.payment-provider-discover {
|
||||
background-image: url("../img/payments/discover.svg"); }
|
||||
|
||||
.payment-provider-discover-dark {
|
||||
background-image: url("../img/payments/discover-dark.svg"); }
|
||||
|
||||
.payment-provider-dotpay {
|
||||
background-image: url("../img/payments/dotpay.svg"); }
|
||||
|
||||
.payment-provider-dotpay-dark {
|
||||
background-image: url("../img/payments/dotpay-dark.svg"); }
|
||||
|
||||
.payment-provider-dwolla {
|
||||
background-image: url("../img/payments/dwolla.svg"); }
|
||||
|
||||
.payment-provider-dwolla-dark {
|
||||
background-image: url("../img/payments/dwolla-dark.svg"); }
|
||||
|
||||
.payment-provider-ebay {
|
||||
background-image: url("../img/payments/ebay.svg"); }
|
||||
|
||||
.payment-provider-ebay-dark {
|
||||
background-image: url("../img/payments/ebay-dark.svg"); }
|
||||
|
||||
.payment-provider-eway {
|
||||
background-image: url("../img/payments/eway.svg"); }
|
||||
|
||||
.payment-provider-eway-dark {
|
||||
background-image: url("../img/payments/eway-dark.svg"); }
|
||||
|
||||
.payment-provider-giropay {
|
||||
background-image: url("../img/payments/giropay.svg"); }
|
||||
|
||||
.payment-provider-giropay-dark {
|
||||
background-image: url("../img/payments/giropay-dark.svg"); }
|
||||
|
||||
.payment-provider-googlewallet {
|
||||
background-image: url("../img/payments/googlewallet.svg"); }
|
||||
|
||||
.payment-provider-googlewallet-dark {
|
||||
background-image: url("../img/payments/googlewallet-dark.svg"); }
|
||||
|
||||
.payment-provider-ingenico {
|
||||
background-image: url("../img/payments/ingenico.svg"); }
|
||||
|
||||
.payment-provider-ingenico-dark {
|
||||
background-image: url("../img/payments/ingenico-dark.svg"); }
|
||||
|
||||
.payment-provider-jcb {
|
||||
background-image: url("../img/payments/jcb.svg"); }
|
||||
|
||||
.payment-provider-jcb-dark {
|
||||
background-image: url("../img/payments/jcb-dark.svg"); }
|
||||
|
||||
.payment-provider-klarna {
|
||||
background-image: url("../img/payments/klarna.svg"); }
|
||||
|
||||
.payment-provider-klarna-dark {
|
||||
background-image: url("../img/payments/klarna-dark.svg"); }
|
||||
|
||||
.payment-provider-laser {
|
||||
background-image: url("../img/payments/laser.svg"); }
|
||||
|
||||
.payment-provider-laser-dark {
|
||||
background-image: url("../img/payments/laser-dark.svg"); }
|
||||
|
||||
.payment-provider-maestro {
|
||||
background-image: url("../img/payments/maestro.svg"); }
|
||||
|
||||
.payment-provider-maestro-dark {
|
||||
background-image: url("../img/payments/maestro-dark.svg"); }
|
||||
|
||||
.payment-provider-mastercard {
|
||||
background-image: url("../img/payments/mastercard.svg"); }
|
||||
|
||||
.payment-provider-mastercard-dark {
|
||||
background-image: url("../img/payments/mastercard-dark.svg"); }
|
||||
|
||||
.payment-provider-mir {
|
||||
background-image: url("../img/payments/mir.svg"); }
|
||||
|
||||
.payment-provider-mir-dark {
|
||||
background-image: url("../img/payments/mir-dark.svg"); }
|
||||
|
||||
.payment-provider-monero {
|
||||
background-image: url("../img/payments/monero.svg"); }
|
||||
|
||||
.payment-provider-monero-dark {
|
||||
background-image: url("../img/payments/monero-dark.svg"); }
|
||||
|
||||
.payment-provider-neteller {
|
||||
background-image: url("../img/payments/neteller.svg"); }
|
||||
|
||||
.payment-provider-neteller-dark {
|
||||
background-image: url("../img/payments/neteller-dark.svg"); }
|
||||
|
||||
.payment-provider-ogone {
|
||||
background-image: url("../img/payments/ogone.svg"); }
|
||||
|
||||
.payment-provider-ogone-dark {
|
||||
background-image: url("../img/payments/ogone-dark.svg"); }
|
||||
|
||||
.payment-provider-okpay {
|
||||
background-image: url("../img/payments/okpay.svg"); }
|
||||
|
||||
.payment-provider-okpay-dark {
|
||||
background-image: url("../img/payments/okpay-dark.svg"); }
|
||||
|
||||
.payment-provider-paybox {
|
||||
background-image: url("../img/payments/paybox.svg"); }
|
||||
|
||||
.payment-provider-paybox-dark {
|
||||
background-image: url("../img/payments/paybox-dark.svg"); }
|
||||
|
||||
.payment-provider-paymill {
|
||||
background-image: url("../img/payments/paymill.svg"); }
|
||||
|
||||
.payment-provider-paymill-dark {
|
||||
background-image: url("../img/payments/paymill-dark.svg"); }
|
||||
|
||||
.payment-provider-payone {
|
||||
background-image: url("../img/payments/payone.svg"); }
|
||||
|
||||
.payment-provider-payone-dark {
|
||||
background-image: url("../img/payments/payone-dark.svg"); }
|
||||
|
||||
.payment-provider-payoneer {
|
||||
background-image: url("../img/payments/payoneer.svg"); }
|
||||
|
||||
.payment-provider-payoneer-dark {
|
||||
background-image: url("../img/payments/payoneer-dark.svg"); }
|
||||
|
||||
.payment-provider-paypal {
|
||||
background-image: url("../img/payments/paypal.svg"); }
|
||||
|
||||
.payment-provider-paypal-dark {
|
||||
background-image: url("../img/payments/paypal-dark.svg"); }
|
||||
|
||||
.payment-provider-paysafecard {
|
||||
background-image: url("../img/payments/paysafecard.svg"); }
|
||||
|
||||
.payment-provider-paysafecard-dark {
|
||||
background-image: url("../img/payments/paysafecard-dark.svg"); }
|
||||
|
||||
.payment-provider-payu {
|
||||
background-image: url("../img/payments/payu.svg"); }
|
||||
|
||||
.payment-provider-payu-dark {
|
||||
background-image: url("../img/payments/payu-dark.svg"); }
|
||||
|
||||
.payment-provider-payza {
|
||||
background-image: url("../img/payments/payza.svg"); }
|
||||
|
||||
.payment-provider-payza-dark {
|
||||
background-image: url("../img/payments/payza-dark.svg"); }
|
||||
|
||||
.payment-provider-przelewy24 {
|
||||
background-image: url("../img/payments/przelewy24.svg"); }
|
||||
|
||||
.payment-provider-przelewy24-dark {
|
||||
background-image: url("../img/payments/przelewy24-dark.svg"); }
|
||||
|
||||
.payment-provider-ripple {
|
||||
background-image: url("../img/payments/ripple.svg"); }
|
||||
|
||||
.payment-provider-ripple-dark {
|
||||
background-image: url("../img/payments/ripple-dark.svg"); }
|
||||
|
||||
.payment-provider-sage {
|
||||
background-image: url("../img/payments/sage.svg"); }
|
||||
|
||||
.payment-provider-sage-dark {
|
||||
background-image: url("../img/payments/sage-dark.svg"); }
|
||||
|
||||
.payment-provider-sepa {
|
||||
background-image: url("../img/payments/sepa.svg"); }
|
||||
|
||||
.payment-provider-sepa-dark {
|
||||
background-image: url("../img/payments/sepa-dark.svg"); }
|
||||
|
||||
.payment-provider-shopify {
|
||||
background-image: url("../img/payments/shopify.svg"); }
|
||||
|
||||
.payment-provider-shopify-dark {
|
||||
background-image: url("../img/payments/shopify-dark.svg"); }
|
||||
|
||||
.payment-provider-skrill {
|
||||
background-image: url("../img/payments/skrill.svg"); }
|
||||
|
||||
.payment-provider-skrill-dark {
|
||||
background-image: url("../img/payments/skrill-dark.svg"); }
|
||||
|
||||
.payment-provider-solo {
|
||||
background-image: url("../img/payments/solo.svg"); }
|
||||
|
||||
.payment-provider-solo-dark {
|
||||
background-image: url("../img/payments/solo-dark.svg"); }
|
||||
|
||||
.payment-provider-square {
|
||||
background-image: url("../img/payments/square.svg"); }
|
||||
|
||||
.payment-provider-square-dark {
|
||||
background-image: url("../img/payments/square-dark.svg"); }
|
||||
|
||||
.payment-provider-stripe {
|
||||
background-image: url("../img/payments/stripe.svg"); }
|
||||
|
||||
.payment-provider-stripe-dark {
|
||||
background-image: url("../img/payments/stripe-dark.svg"); }
|
||||
|
||||
.payment-provider-switch {
|
||||
background-image: url("../img/payments/switch.svg"); }
|
||||
|
||||
.payment-provider-switch-dark {
|
||||
background-image: url("../img/payments/switch-dark.svg"); }
|
||||
|
||||
.payment-provider-tpay {
|
||||
background-image: url("../img/payments/tpay.svg"); }
|
||||
|
||||
.payment-provider-tpay-dark {
|
||||
background-image: url("../img/payments/tpay-dark.svg"); }
|
||||
|
||||
.payment-provider-ukash {
|
||||
background-image: url("../img/payments/ukash.svg"); }
|
||||
|
||||
.payment-provider-ukash-dark {
|
||||
background-image: url("../img/payments/ukash-dark.svg"); }
|
||||
|
||||
.payment-provider-unionpay {
|
||||
background-image: url("../img/payments/unionpay.svg"); }
|
||||
|
||||
.payment-provider-unionpay-dark {
|
||||
background-image: url("../img/payments/unionpay-dark.svg"); }
|
||||
|
||||
.payment-provider-verifone {
|
||||
background-image: url("../img/payments/verifone.svg"); }
|
||||
|
||||
.payment-provider-verifone-dark {
|
||||
background-image: url("../img/payments/verifone-dark.svg"); }
|
||||
|
||||
.payment-provider-verisign {
|
||||
background-image: url("../img/payments/verisign.svg"); }
|
||||
|
||||
.payment-provider-verisign-dark {
|
||||
background-image: url("../img/payments/verisign-dark.svg"); }
|
||||
|
||||
.payment-provider-visa {
|
||||
background-image: url("../img/payments/visa.svg"); }
|
||||
|
||||
.payment-provider-visa-dark {
|
||||
background-image: url("../img/payments/visa-dark.svg"); }
|
||||
|
||||
.payment-provider-webmoney {
|
||||
background-image: url("../img/payments/webmoney.svg"); }
|
||||
|
||||
.payment-provider-webmoney-dark {
|
||||
background-image: url("../img/payments/webmoney-dark.svg"); }
|
||||
|
||||
.payment-provider-westernunion {
|
||||
background-image: url("../img/payments/westernunion.svg"); }
|
||||
|
||||
.payment-provider-westernunion-dark {
|
||||
background-image: url("../img/payments/westernunion-dark.svg"); }
|
||||
|
||||
.payment-provider-worldpay {
|
||||
background-image: url("../img/payments/worldpay.svg"); }
|
||||
|
||||
.payment-provider-worldpay-dark {
|
||||
background-image: url("../img/payments/worldpay-dark.svg"); }
|
||||
|
||||
.payment-xs {
|
||||
width: 2.083325rem;
|
||||
height: 1.25rem; }
|
||||
|
||||
.payment-sm {
|
||||
width: 3.33332rem;
|
||||
height: 2rem; }
|
||||
|
||||
.payment-md {
|
||||
width: 6.249975rem;
|
||||
height: 3.75rem; }
|
||||
|
||||
.payment-lg {
|
||||
width: 8.3333rem;
|
||||
height: 5rem; }
|
||||
|
||||
.payment-xl {
|
||||
width: 11.66662rem;
|
||||
height: 7rem; }
|
||||
|
||||
.payment-2xl {
|
||||
width: 18.33326rem;
|
||||
height: 11rem; }
|
9
wwwroot/css/tabler-payments.min.css
vendored
Normal file
9
wwwroot/css/tabler-payments.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
395
wwwroot/css/tabler-payments.rtl.css
Normal file
395
wwwroot/css/tabler-payments.rtl.css
Normal file
|
@ -0,0 +1,395 @@
|
|||
/*!
|
||||
* Tabler v1.0.0-beta5 (https://tabler.io)
|
||||
* @version 1.0.0-beta5
|
||||
* @link https://tabler.io
|
||||
* Copyright 2018-2022 The Tabler Authors
|
||||
* Copyright 2018-2022 codecalm.net Paweł Kuna
|
||||
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
|
||||
*/
|
||||
.payment {
|
||||
width: 3.33332rem;
|
||||
height: 2rem;
|
||||
display: inline-block;
|
||||
background: no-repeat center/100% 100%;
|
||||
vertical-align: bottom;
|
||||
font-style: normal;
|
||||
box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 2px; }
|
||||
|
||||
.payment-provider-2checkout {
|
||||
background-image: url("../img/payments/2checkout.svg"); }
|
||||
|
||||
.payment-provider-2checkout-dark {
|
||||
background-image: url("../img/payments/2checkout-dark.svg"); }
|
||||
|
||||
.payment-provider-alipay {
|
||||
background-image: url("../img/payments/alipay.svg"); }
|
||||
|
||||
.payment-provider-alipay-dark {
|
||||
background-image: url("../img/payments/alipay-dark.svg"); }
|
||||
|
||||
.payment-provider-amazon {
|
||||
background-image: url("../img/payments/amazon.svg"); }
|
||||
|
||||
.payment-provider-amazon-dark {
|
||||
background-image: url("../img/payments/amazon-dark.svg"); }
|
||||
|
||||
.payment-provider-americanexpress {
|
||||
background-image: url("../img/payments/americanexpress.svg"); }
|
||||
|
||||
.payment-provider-americanexpress-dark {
|
||||
background-image: url("../img/payments/americanexpress-dark.svg"); }
|
||||
|
||||
.payment-provider-applepay {
|
||||
background-image: url("../img/payments/applepay.svg"); }
|
||||
|
||||
.payment-provider-applepay-dark {
|
||||
background-image: url("../img/payments/applepay-dark.svg"); }
|
||||
|
||||
.payment-provider-bancontact {
|
||||
background-image: url("../img/payments/bancontact.svg"); }
|
||||
|
||||
.payment-provider-bancontact-dark {
|
||||
background-image: url("../img/payments/bancontact-dark.svg"); }
|
||||
|
||||
.payment-provider-bitcoin {
|
||||
background-image: url("../img/payments/bitcoin.svg"); }
|
||||
|
||||
.payment-provider-bitcoin-dark {
|
||||
background-image: url("../img/payments/bitcoin-dark.svg"); }
|
||||
|
||||
.payment-provider-bitpay {
|
||||
background-image: url("../img/payments/bitpay.svg"); }
|
||||
|
||||
.payment-provider-bitpay-dark {
|
||||
background-image: url("../img/payments/bitpay-dark.svg"); }
|
||||
|
||||
.payment-provider-blik {
|
||||
background-image: url("../img/payments/blik.svg"); }
|
||||
|
||||
.payment-provider-blik-dark {
|
||||
background-image: url("../img/payments/blik-dark.svg"); }
|
||||
|
||||
.payment-provider-cirrus {
|
||||
background-image: url("../img/payments/cirrus.svg"); }
|
||||
|
||||
.payment-provider-cirrus-dark {
|
||||
background-image: url("../img/payments/cirrus-dark.svg"); }
|
||||
|
||||
.payment-provider-clickandbuy {
|
||||
background-image: url("../img/payments/clickandbuy.svg"); }
|
||||
|
||||
.payment-provider-clickandbuy-dark {
|
||||
background-image: url("../img/payments/clickandbuy-dark.svg"); }
|
||||
|
||||
.payment-provider-coinkite {
|
||||
background-image: url("../img/payments/coinkite.svg"); }
|
||||
|
||||
.payment-provider-coinkite-dark {
|
||||
background-image: url("../img/payments/coinkite-dark.svg"); }
|
||||
|
||||
.payment-provider-dinersclub {
|
||||
background-image: url("../img/payments/dinersclub.svg"); }
|
||||
|
||||
.payment-provider-dinersclub-dark {
|
||||
background-image: url("../img/payments/dinersclub-dark.svg"); }
|
||||
|
||||
.payment-provider-directdebit {
|
||||
background-image: url("../img/payments/directdebit.svg"); }
|
||||
|
||||
.payment-provider-directdebit-dark {
|
||||
background-image: url("../img/payments/directdebit-dark.svg"); }
|
||||
|
||||
.payment-provider-discover {
|
||||
background-image: url("../img/payments/discover.svg"); }
|
||||
|
||||
.payment-provider-discover-dark {
|
||||
background-image: url("../img/payments/discover-dark.svg"); }
|
||||
|
||||
.payment-provider-dotpay {
|
||||
background-image: url("../img/payments/dotpay.svg"); }
|
||||
|
||||
.payment-provider-dotpay-dark {
|
||||
background-image: url("../img/payments/dotpay-dark.svg"); }
|
||||
|
||||
.payment-provider-dwolla {
|
||||
background-image: url("../img/payments/dwolla.svg"); }
|
||||
|
||||
.payment-provider-dwolla-dark {
|
||||
background-image: url("../img/payments/dwolla-dark.svg"); }
|
||||
|
||||
.payment-provider-ebay {
|
||||
background-image: url("../img/payments/ebay.svg"); }
|
||||
|
||||
.payment-provider-ebay-dark {
|
||||
background-image: url("../img/payments/ebay-dark.svg"); }
|
||||
|
||||
.payment-provider-eway {
|
||||
background-image: url("../img/payments/eway.svg"); }
|
||||
|
||||
.payment-provider-eway-dark {
|
||||
background-image: url("../img/payments/eway-dark.svg"); }
|
||||
|
||||
.payment-provider-giropay {
|
||||
background-image: url("../img/payments/giropay.svg"); }
|
||||
|
||||
.payment-provider-giropay-dark {
|
||||
background-image: url("../img/payments/giropay-dark.svg"); }
|
||||
|
||||
.payment-provider-googlewallet {
|
||||
background-image: url("../img/payments/googlewallet.svg"); }
|
||||
|
||||
.payment-provider-googlewallet-dark {
|
||||
background-image: url("../img/payments/googlewallet-dark.svg"); }
|
||||
|
||||
.payment-provider-ingenico {
|
||||
background-image: url("../img/payments/ingenico.svg"); }
|
||||
|
||||
.payment-provider-ingenico-dark {
|
||||
background-image: url("../img/payments/ingenico-dark.svg"); }
|
||||
|
||||
.payment-provider-jcb {
|
||||
background-image: url("../img/payments/jcb.svg"); }
|
||||
|
||||
.payment-provider-jcb-dark {
|
||||
background-image: url("../img/payments/jcb-dark.svg"); }
|
||||
|
||||
.payment-provider-klarna {
|
||||
background-image: url("../img/payments/klarna.svg"); }
|
||||
|
||||
.payment-provider-klarna-dark {
|
||||
background-image: url("../img/payments/klarna-dark.svg"); }
|
||||
|
||||
.payment-provider-laser {
|
||||
background-image: url("../img/payments/laser.svg"); }
|
||||
|
||||
.payment-provider-laser-dark {
|
||||
background-image: url("../img/payments/laser-dark.svg"); }
|
||||
|
||||
.payment-provider-maestro {
|
||||
background-image: url("../img/payments/maestro.svg"); }
|
||||
|
||||
.payment-provider-maestro-dark {
|
||||
background-image: url("../img/payments/maestro-dark.svg"); }
|
||||
|
||||
.payment-provider-mastercard {
|
||||
background-image: url("../img/payments/mastercard.svg"); }
|
||||
|
||||
.payment-provider-mastercard-dark {
|
||||
background-image: url("../img/payments/mastercard-dark.svg"); }
|
||||
|
||||
.payment-provider-mir {
|
||||
background-image: url("../img/payments/mir.svg"); }
|
||||
|
||||
.payment-provider-mir-dark {
|
||||
background-image: url("../img/payments/mir-dark.svg"); }
|
||||
|
||||
.payment-provider-monero {
|
||||
background-image: url("../img/payments/monero.svg"); }
|
||||
|
||||
.payment-provider-monero-dark {
|
||||
background-image: url("../img/payments/monero-dark.svg"); }
|
||||
|
||||
.payment-provider-neteller {
|
||||
background-image: url("../img/payments/neteller.svg"); }
|
||||
|
||||
.payment-provider-neteller-dark {
|
||||
background-image: url("../img/payments/neteller-dark.svg"); }
|
||||
|
||||
.payment-provider-ogone {
|
||||
background-image: url("../img/payments/ogone.svg"); }
|
||||
|
||||
.payment-provider-ogone-dark {
|
||||
background-image: url("../img/payments/ogone-dark.svg"); }
|
||||
|
||||
.payment-provider-okpay {
|
||||
background-image: url("../img/payments/okpay.svg"); }
|
||||
|
||||
.payment-provider-okpay-dark {
|
||||
background-image: url("../img/payments/okpay-dark.svg"); }
|
||||
|
||||
.payment-provider-paybox {
|
||||
background-image: url("../img/payments/paybox.svg"); }
|
||||
|
||||
.payment-provider-paybox-dark {
|
||||
background-image: url("../img/payments/paybox-dark.svg"); }
|
||||
|
||||
.payment-provider-paymill {
|
||||
background-image: url("../img/payments/paymill.svg"); }
|
||||
|
||||
.payment-provider-paymill-dark {
|
||||
background-image: url("../img/payments/paymill-dark.svg"); }
|
||||
|
||||
.payment-provider-payone {
|
||||
background-image: url("../img/payments/payone.svg"); }
|
||||
|
||||
.payment-provider-payone-dark {
|
||||
background-image: url("../img/payments/payone-dark.svg"); }
|
||||
|
||||
.payment-provider-payoneer {
|
||||
background-image: url("../img/payments/payoneer.svg"); }
|
||||
|
||||
.payment-provider-payoneer-dark {
|
||||
background-image: url("../img/payments/payoneer-dark.svg"); }
|
||||
|
||||
.payment-provider-paypal {
|
||||
background-image: url("../img/payments/paypal.svg"); }
|
||||
|
||||
.payment-provider-paypal-dark {
|
||||
background-image: url("../img/payments/paypal-dark.svg"); }
|
||||
|
||||
.payment-provider-paysafecard {
|
||||
background-image: url("../img/payments/paysafecard.svg"); }
|
||||
|
||||
.payment-provider-paysafecard-dark {
|
||||
background-image: url("../img/payments/paysafecard-dark.svg"); }
|
||||
|
||||
.payment-provider-payu {
|
||||
background-image: url("../img/payments/payu.svg"); }
|
||||
|
||||
.payment-provider-payu-dark {
|
||||
background-image: url("../img/payments/payu-dark.svg"); }
|
||||
|
||||
.payment-provider-payza {
|
||||
background-image: url("../img/payments/payza.svg"); }
|
||||
|
||||
.payment-provider-payza-dark {
|
||||
background-image: url("../img/payments/payza-dark.svg"); }
|
||||
|
||||
.payment-provider-przelewy24 {
|
||||
background-image: url("../img/payments/przelewy24.svg"); }
|
||||
|
||||
.payment-provider-przelewy24-dark {
|
||||
background-image: url("../img/payments/przelewy24-dark.svg"); }
|
||||
|
||||
.payment-provider-ripple {
|
||||
background-image: url("../img/payments/ripple.svg"); }
|
||||
|
||||
.payment-provider-ripple-dark {
|
||||
background-image: url("../img/payments/ripple-dark.svg"); }
|
||||
|
||||
.payment-provider-sage {
|
||||
background-image: url("../img/payments/sage.svg"); }
|
||||
|
||||
.payment-provider-sage-dark {
|
||||
background-image: url("../img/payments/sage-dark.svg"); }
|
||||
|
||||
.payment-provider-sepa {
|
||||
background-image: url("../img/payments/sepa.svg"); }
|
||||
|
||||
.payment-provider-sepa-dark {
|
||||
background-image: url("../img/payments/sepa-dark.svg"); }
|
||||
|
||||
.payment-provider-shopify {
|
||||
background-image: url("../img/payments/shopify.svg"); }
|
||||
|
||||
.payment-provider-shopify-dark {
|
||||
background-image: url("../img/payments/shopify-dark.svg"); }
|
||||
|
||||
.payment-provider-skrill {
|
||||
background-image: url("../img/payments/skrill.svg"); }
|
||||
|
||||
.payment-provider-skrill-dark {
|
||||
background-image: url("../img/payments/skrill-dark.svg"); }
|
||||
|
||||
.payment-provider-solo {
|
||||
background-image: url("../img/payments/solo.svg"); }
|
||||
|
||||
.payment-provider-solo-dark {
|
||||
background-image: url("../img/payments/solo-dark.svg"); }
|
||||
|
||||
.payment-provider-square {
|
||||
background-image: url("../img/payments/square.svg"); }
|
||||
|
||||
.payment-provider-square-dark {
|
||||
background-image: url("../img/payments/square-dark.svg"); }
|
||||
|
||||
.payment-provider-stripe {
|
||||
background-image: url("../img/payments/stripe.svg"); }
|
||||
|
||||
.payment-provider-stripe-dark {
|
||||
background-image: url("../img/payments/stripe-dark.svg"); }
|
||||
|
||||
.payment-provider-switch {
|
||||
background-image: url("../img/payments/switch.svg"); }
|
||||
|
||||
.payment-provider-switch-dark {
|
||||
background-image: url("../img/payments/switch-dark.svg"); }
|
||||
|
||||
.payment-provider-tpay {
|
||||
background-image: url("../img/payments/tpay.svg"); }
|
||||
|
||||
.payment-provider-tpay-dark {
|
||||
background-image: url("../img/payments/tpay-dark.svg"); }
|
||||
|
||||
.payment-provider-ukash {
|
||||
background-image: url("../img/payments/ukash.svg"); }
|
||||
|
||||
.payment-provider-ukash-dark {
|
||||
background-image: url("../img/payments/ukash-dark.svg"); }
|
||||
|
||||
.payment-provider-unionpay {
|
||||
background-image: url("../img/payments/unionpay.svg"); }
|
||||
|
||||
.payment-provider-unionpay-dark {
|
||||
background-image: url("../img/payments/unionpay-dark.svg"); }
|
||||
|
||||
.payment-provider-verifone {
|
||||
background-image: url("../img/payments/verifone.svg"); }
|
||||
|
||||
.payment-provider-verifone-dark {
|
||||
background-image: url("../img/payments/verifone-dark.svg"); }
|
||||
|
||||
.payment-provider-verisign {
|
||||
background-image: url("../img/payments/verisign.svg"); }
|
||||
|
||||
.payment-provider-verisign-dark {
|
||||
background-image: url("../img/payments/verisign-dark.svg"); }
|
||||
|
||||
.payment-provider-visa {
|
||||
background-image: url("../img/payments/visa.svg"); }
|
||||
|
||||
.payment-provider-visa-dark {
|
||||
background-image: url("../img/payments/visa-dark.svg"); }
|
||||
|
||||
.payment-provider-webmoney {
|
||||
background-image: url("../img/payments/webmoney.svg"); }
|
||||
|
||||
.payment-provider-webmoney-dark {
|
||||
background-image: url("../img/payments/webmoney-dark.svg"); }
|
||||
|
||||
.payment-provider-westernunion {
|
||||
background-image: url("../img/payments/westernunion.svg"); }
|
||||
|
||||
.payment-provider-westernunion-dark {
|
||||
background-image: url("../img/payments/westernunion-dark.svg"); }
|
||||
|
||||
.payment-provider-worldpay {
|
||||
background-image: url("../img/payments/worldpay.svg"); }
|
||||
|
||||
.payment-provider-worldpay-dark {
|
||||
background-image: url("../img/payments/worldpay-dark.svg"); }
|
||||
|
||||
.payment-xs {
|
||||
width: 2.083325rem;
|
||||
height: 1.25rem; }
|
||||
|
||||
.payment-sm {
|
||||
width: 3.33332rem;
|
||||
height: 2rem; }
|
||||
|
||||
.payment-md {
|
||||
width: 6.249975rem;
|
||||
height: 3.75rem; }
|
||||
|
||||
.payment-lg {
|
||||
width: 8.3333rem;
|
||||
height: 5rem; }
|
||||
|
||||
.payment-xl {
|
||||
width: 11.66662rem;
|
||||
height: 7rem; }
|
||||
|
||||
.payment-2xl {
|
||||
width: 18.33326rem;
|
||||
height: 11rem; }
|
9
wwwroot/css/tabler-payments.rtl.min.css
vendored
Normal file
9
wwwroot/css/tabler-payments.rtl.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
865
wwwroot/css/tabler-vendors.css
Normal file
865
wwwroot/css/tabler-vendors.css
Normal file
|
@ -0,0 +1,865 @@
|
|||
/*!
|
||||
* Tabler v1.0.0-beta5 (https://tabler.io)
|
||||
* @version 1.0.0-beta5
|
||||
* @link https://tabler.io
|
||||
* Copyright 2018-2022 The Tabler Authors
|
||||
* Copyright 2018-2022 codecalm.net Paweł Kuna
|
||||
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
|
||||
*/
|
||||
/* Functional styling;
|
||||
* These styles are required for noUiSlider to function.
|
||||
* You don't need to change these rules to apply your design.
|
||||
*/
|
||||
.noUi-target,
|
||||
.noUi-target * {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
-webkit-user-select: none;
|
||||
touch-action: none;
|
||||
-ms-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
box-sizing: border-box; }
|
||||
|
||||
.noUi-target {
|
||||
position: relative; }
|
||||
|
||||
.noUi-base,
|
||||
.noUi-connects {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
z-index: 1; }
|
||||
|
||||
/* Wrapper for all connect elements.
|
||||
*/
|
||||
.noUi-connects {
|
||||
overflow: hidden;
|
||||
z-index: 0; }
|
||||
|
||||
.noUi-connect,
|
||||
.noUi-origin {
|
||||
will-change: transform;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
right: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
-ms-transform-origin: 0 0;
|
||||
-webkit-transform-origin: 0 0;
|
||||
-webkit-transform-style: preserve-3d;
|
||||
transform-origin: 0 0;
|
||||
transform-style: flat; }
|
||||
|
||||
/* Offset direction
|
||||
*/
|
||||
.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {
|
||||
left: 0;
|
||||
right: auto; }
|
||||
|
||||
/* Give origins 0 height/width so they don't interfere with clicking the
|
||||
* connect elements.
|
||||
*/
|
||||
.noUi-vertical .noUi-origin {
|
||||
top: -100%;
|
||||
width: 0; }
|
||||
|
||||
.noUi-horizontal .noUi-origin {
|
||||
height: 0; }
|
||||
|
||||
.noUi-handle {
|
||||
-webkit-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
position: absolute; }
|
||||
|
||||
.noUi-touch-area {
|
||||
height: 100%;
|
||||
width: 100%; }
|
||||
|
||||
.noUi-state-tap .noUi-connect,
|
||||
.noUi-state-tap .noUi-origin {
|
||||
transition: transform 0.3s; }
|
||||
|
||||
.noUi-state-drag * {
|
||||
cursor: inherit !important; }
|
||||
|
||||
/* Slider size and handle placement;
|
||||
*/
|
||||
.noUi-horizontal {
|
||||
height: 18px; }
|
||||
|
||||
.noUi-horizontal .noUi-handle {
|
||||
width: 34px;
|
||||
height: 28px;
|
||||
right: -17px;
|
||||
top: -6px; }
|
||||
|
||||
.noUi-vertical {
|
||||
width: 18px; }
|
||||
|
||||
.noUi-vertical .noUi-handle {
|
||||
width: 28px;
|
||||
height: 34px;
|
||||
right: -6px;
|
||||
bottom: -17px; }
|
||||
|
||||
.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {
|
||||
left: -17px;
|
||||
right: auto; }
|
||||
|
||||
/* Styling;
|
||||
* Giving the connect element a border radius causes issues with using transform: scale
|
||||
*/
|
||||
.noUi-target {
|
||||
background: #FAFAFA;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #D3D3D3;
|
||||
box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB; }
|
||||
|
||||
.noUi-connects {
|
||||
border-radius: 3px; }
|
||||
|
||||
.noUi-connect {
|
||||
background: #3FB8AF; }
|
||||
|
||||
/* Handles and cursors;
|
||||
*/
|
||||
.noUi-draggable {
|
||||
cursor: ew-resize; }
|
||||
|
||||
.noUi-vertical .noUi-draggable {
|
||||
cursor: ns-resize; }
|
||||
|
||||
.noUi-handle {
|
||||
border: 1px solid #D9D9D9;
|
||||
border-radius: 3px;
|
||||
background: #FFF;
|
||||
cursor: default;
|
||||
box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB; }
|
||||
|
||||
.noUi-active {
|
||||
box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB; }
|
||||
|
||||
/* Handle stripes;
|
||||
*/
|
||||
.noUi-handle:before,
|
||||
.noUi-handle:after {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
height: 14px;
|
||||
width: 1px;
|
||||
background: #E8E7E6;
|
||||
left: 14px;
|
||||
top: 6px; }
|
||||
|
||||
.noUi-handle:after {
|
||||
left: 17px; }
|
||||
|
||||
.noUi-vertical .noUi-handle:before,
|
||||
.noUi-vertical .noUi-handle:after {
|
||||
width: 14px;
|
||||
height: 1px;
|
||||
left: 6px;
|
||||
top: 14px; }
|
||||
|
||||
.noUi-vertical .noUi-handle:after {
|
||||
top: 17px; }
|
||||
|
||||
/* Disabled state;
|
||||
*/
|
||||
[disabled] .noUi-connect {
|
||||
background: #B8B8B8; }
|
||||
|
||||
[disabled].noUi-target,
|
||||
[disabled].noUi-handle,
|
||||
[disabled] .noUi-handle {
|
||||
cursor: not-allowed; }
|
||||
|
||||
/* Base;
|
||||
*
|
||||
*/
|
||||
.noUi-pips,
|
||||
.noUi-pips * {
|
||||
box-sizing: border-box; }
|
||||
|
||||
.noUi-pips {
|
||||
position: absolute;
|
||||
color: #999; }
|
||||
|
||||
/* Values;
|
||||
*
|
||||
*/
|
||||
.noUi-value {
|
||||
position: absolute;
|
||||
white-space: nowrap;
|
||||
text-align: center; }
|
||||
|
||||
.noUi-value-sub {
|
||||
color: #ccc;
|
||||
font-size: 10px; }
|
||||
|
||||
/* Markings;
|
||||
*
|
||||
*/
|
||||
.noUi-marker {
|
||||
position: absolute;
|
||||
background: #CCC; }
|
||||
|
||||
.noUi-marker-sub {
|
||||
background: #AAA; }
|
||||
|
||||
.noUi-marker-large {
|
||||
background: #AAA; }
|
||||
|
||||
/* Horizontal layout;
|
||||
*
|
||||
*/
|
||||
.noUi-pips-horizontal {
|
||||
padding: 10px 0;
|
||||
height: 80px;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
width: 100%; }
|
||||
|
||||
.noUi-value-horizontal {
|
||||
transform: translate(-50%, 50%); }
|
||||
|
||||
.noUi-rtl .noUi-value-horizontal {
|
||||
transform: translate(50%, 50%); }
|
||||
|
||||
.noUi-marker-horizontal.noUi-marker {
|
||||
margin-left: -1px;
|
||||
width: 2px;
|
||||
height: 5px; }
|
||||
|
||||
.noUi-marker-horizontal.noUi-marker-sub {
|
||||
height: 10px; }
|
||||
|
||||
.noUi-marker-horizontal.noUi-marker-large {
|
||||
height: 15px; }
|
||||
|
||||
/* Vertical layout;
|
||||
*
|
||||
*/
|
||||
.noUi-pips-vertical {
|
||||
padding: 0 10px;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 100%; }
|
||||
|
||||
.noUi-value-vertical {
|
||||
transform: translate(0, -50%);
|
||||
padding-left: 25px; }
|
||||
|
||||
.noUi-rtl .noUi-value-vertical {
|
||||
transform: translate(0, 50%); }
|
||||
|
||||
.noUi-marker-vertical.noUi-marker {
|
||||
width: 5px;
|
||||
height: 2px;
|
||||
margin-top: -1px; }
|
||||
|
||||
.noUi-marker-vertical.noUi-marker-sub {
|
||||
width: 10px; }
|
||||
|
||||
.noUi-marker-vertical.noUi-marker-large {
|
||||
width: 15px; }
|
||||
|
||||
.noUi-tooltip {
|
||||
display: block;
|
||||
position: absolute;
|
||||
border: 1px solid #D9D9D9;
|
||||
border-radius: 3px;
|
||||
background: #fff;
|
||||
color: #000;
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
white-space: nowrap; }
|
||||
|
||||
.noUi-horizontal .noUi-tooltip {
|
||||
transform: translate(-50%, 0);
|
||||
left: 50%;
|
||||
bottom: 120%; }
|
||||
|
||||
.noUi-vertical .noUi-tooltip {
|
||||
transform: translate(0, -50%);
|
||||
top: 50%;
|
||||
right: 120%; }
|
||||
|
||||
.noUi-horizontal .noUi-origin > .noUi-tooltip {
|
||||
transform: translate(50%, 0);
|
||||
left: auto;
|
||||
bottom: 10px; }
|
||||
|
||||
.noUi-vertical .noUi-origin > .noUi-tooltip {
|
||||
transform: translate(0, -18px);
|
||||
top: auto;
|
||||
right: 28px; }
|
||||
|
||||
.noUi-target {
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
background: none;
|
||||
border-radius: 0;
|
||||
color: #206bc4; }
|
||||
|
||||
.noUi-horizontal {
|
||||
height: 1.25rem;
|
||||
padding: .5rem 0; }
|
||||
|
||||
.noUi-base {
|
||||
background: var(--tblr-border-color-light);
|
||||
border-radius: 1rem; }
|
||||
|
||||
.noUi-handle {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
border: 2px solid var(--tblr-border-color-light);
|
||||
box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1);
|
||||
border-radius: 1rem;
|
||||
background: currentColor;
|
||||
outline: 0; }
|
||||
.noUi-handle:before, .noUi-handle:after {
|
||||
content: none; }
|
||||
.noUi-horizontal .noUi-handle {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
top: -0.5rem;
|
||||
right: -0.5rem;
|
||||
margin: 1px 1px 0 0; }
|
||||
.noUi-handle.noUi-active, .noUi-handle:focus {
|
||||
box-shadow: 0 0 0 1px #f8fafc, 0 0 0 0.25rem rgba(32, 107, 196, 0.25); }
|
||||
|
||||
.noUi-connect {
|
||||
background: currentColor; }
|
||||
|
||||
.litepicker {
|
||||
--litepicker-month-weekday-color: #626976;
|
||||
--litepicker-button-prev-month-color: #626976;
|
||||
--litepicker-button-next-month-color: #626976;
|
||||
--litepicker-button-prev-month-color-hover: #206bc4;
|
||||
--litepicker-button-next-month-color-hover: #206bc4;
|
||||
--litepicker-day-color: var(--tblr-body-color);
|
||||
--litepicker-day-color-hover: #206bc4;
|
||||
--litepicker-is-end-color-bg: #206bc4;
|
||||
--litepicker-is-today-color: #206bc4;
|
||||
--litepicker-month-header-color: var(--tblr-body-color);
|
||||
--litepicker-container-months-color-bg: var(--tblr-card-bg);
|
||||
font: inherit;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
.litepicker svg {
|
||||
fill: none !important; }
|
||||
.litepicker .container__months {
|
||||
border: 1px solid var(--tblr-border-color);
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); }
|
||||
.litepicker .container__months .month-item-name,
|
||||
.litepicker .container__months .month-item-year {
|
||||
font-weight: 500 !important; }
|
||||
.litepicker .container__months .button-next-month,
|
||||
.litepicker .container__months .button-prev-month {
|
||||
cursor: pointer !important; }
|
||||
.litepicker .container__months .month-item-weekdays-row > div {
|
||||
padding: .5rem 0 !important;
|
||||
font-size: 0.75rem; }
|
||||
.litepicker .container__days .day-item {
|
||||
cursor: pointer !important;
|
||||
padding: .5rem 0 !important;
|
||||
transition: color 0.3s, background-color 0.3s, border-color 0.3s; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.litepicker .container__days .day-item {
|
||||
transition: none; } }
|
||||
.datepicker-inline .litepicker .container__months {
|
||||
box-shadow: none; }
|
||||
|
||||
/**
|
||||
* Tom Select bootstrap 5
|
||||
*/
|
||||
/**
|
||||
* tom-select.css (v//@@version)
|
||||
* Copyright (c) contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
||||
* file except in compliance with the License. You may obtain a copy of the License at:
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software distributed under
|
||||
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
||||
* ANY KIND, either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*
|
||||
*/
|
||||
.ts-control.plugin-drag_drop.multi > .ts-input > div.ui-sortable-placeholder {
|
||||
visibility: visible !important;
|
||||
background: #f2f2f2 !important;
|
||||
background: rgba(0, 0, 0, 0.06) !important;
|
||||
border: 0 none !important;
|
||||
box-shadow: inset 0 0 12px 4px #fff; }
|
||||
|
||||
.ts-control.plugin-drag_drop .ui-sortable-placeholder::after {
|
||||
content: '!';
|
||||
visibility: hidden; }
|
||||
|
||||
.ts-control.plugin-drag_drop .ui-sortable-helper {
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); }
|
||||
|
||||
.plugin-checkbox_options .option input {
|
||||
margin-right: 0.5rem; }
|
||||
|
||||
.plugin-clear_button .items {
|
||||
padding-right: calc( 1em + (3 * 5px)) !important; }
|
||||
|
||||
.plugin-clear_button .clear-button {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
top: 0.4375rem;
|
||||
right: calc(0.75rem - 5px);
|
||||
margin-right: 0 !important;
|
||||
background: transparent !important;
|
||||
transition: opacity 0.5s;
|
||||
cursor: pointer; }
|
||||
|
||||
.plugin-clear_button.single .clear-button {
|
||||
right: calc(0.75rem - 5px + 2rem); }
|
||||
|
||||
.plugin-clear_button .has-items.focus .clear-button,
|
||||
.plugin-clear_button:hover .has-items .clear-button {
|
||||
opacity: 1; }
|
||||
|
||||
.ts-control .dropdown-header {
|
||||
position: relative;
|
||||
padding: 6px 0.75rem;
|
||||
border-bottom: 1px solid #d0d0d0;
|
||||
background: #f8f8f8;
|
||||
border-radius: 4px 4px 0 0; }
|
||||
|
||||
.ts-control .dropdown-header-close {
|
||||
position: absolute;
|
||||
right: 0.75rem;
|
||||
top: 50%;
|
||||
color: #1e293b;
|
||||
opacity: 0.4;
|
||||
margin-top: -12px;
|
||||
line-height: 20px;
|
||||
font-size: 20px !important; }
|
||||
|
||||
.ts-control .dropdown-header-close:hover {
|
||||
color: black; }
|
||||
|
||||
.plugin-dropdown_input .ts-input.focus {
|
||||
box-shadow: none;
|
||||
border: 1px solid #d9dbde; }
|
||||
|
||||
.plugin-dropdown_input .dropdown-input {
|
||||
border: 1px solid #d0d0d0;
|
||||
border-width: 0 0 1px 0;
|
||||
display: block;
|
||||
padding: 0.4375rem 0.75rem;
|
||||
box-shadow: none;
|
||||
width: 100%;
|
||||
background: transparent; }
|
||||
|
||||
.plugin-dropdown_input .focus ~ .ts-dropdown .dropdown-input {
|
||||
border-color: #90b5e2;
|
||||
outline: 0;
|
||||
box-shadow: 0 0 0 0.25rem rgba(32, 107, 196, 0.25); }
|
||||
|
||||
.ts-control.plugin-input_autogrow .ts-input.has-items > input {
|
||||
min-width: 0; }
|
||||
|
||||
.ts-control.plugin-input_autogrow .ts-input.focus.has-items > input {
|
||||
flex: none;
|
||||
min-width: 4px; }
|
||||
.ts-control.plugin-input_autogrow .ts-input.focus.has-items > input::-webkit-input-placeholder {
|
||||
color: transparent; }
|
||||
.ts-control.plugin-input_autogrow .ts-input.focus.has-items > input::-moz-placeholder {
|
||||
color: transparent; }
|
||||
.ts-control.plugin-input_autogrow .ts-input.focus.has-items > input:-ms-input-placeholder {
|
||||
color: transparent; }
|
||||
.ts-control.plugin-input_autogrow .ts-input.focus.has-items > input::-ms-input-placeholder {
|
||||
color: transparent; }
|
||||
.ts-control.plugin-input_autogrow .ts-input.focus.has-items > input::placeholder {
|
||||
color: transparent; }
|
||||
|
||||
.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content {
|
||||
display: flex; }
|
||||
|
||||
.ts-dropdown.plugin-optgroup_columns .optgroup {
|
||||
border-right: 1px solid #f2f2f2;
|
||||
border-top: 0 none;
|
||||
flex-grow: 1;
|
||||
flex-basis: 0;
|
||||
min-width: 0; }
|
||||
|
||||
.ts-dropdown.plugin-optgroup_columns .optgroup:last-child {
|
||||
border-right: 0 none; }
|
||||
|
||||
.ts-dropdown.plugin-optgroup_columns .optgroup:before {
|
||||
display: none; }
|
||||
|
||||
.ts-dropdown.plugin-optgroup_columns .optgroup-header {
|
||||
border-top: 0 none; }
|
||||
|
||||
.ts-control.plugin-remove_button .item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding-right: 0 !important; }
|
||||
|
||||
.ts-control.plugin-remove_button .item .remove {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
padding: 1px 5px;
|
||||
border-left: 1px solid #e6e7e9;
|
||||
border-radius: 0 2px 2px 0;
|
||||
box-sizing: border-box;
|
||||
margin-left: 5px; }
|
||||
|
||||
.ts-control.plugin-remove_button .item .remove:hover {
|
||||
background: rgba(0, 0, 0, 0.05); }
|
||||
|
||||
.ts-control.plugin-remove_button .item.active .remove {
|
||||
border-left-color: rgba(0, 0, 0, 0); }
|
||||
|
||||
.ts-control.plugin-remove_button .disabled .item .remove:hover {
|
||||
background: none; }
|
||||
|
||||
.ts-control.plugin-remove_button .disabled .item .remove {
|
||||
border-left-color: white; }
|
||||
|
||||
.ts-control.plugin-remove_button .remove-single {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
font-size: 23px; }
|
||||
|
||||
.ts-control {
|
||||
position: relative; }
|
||||
|
||||
.ts-dropdown,
|
||||
.ts-input,
|
||||
.ts-input input {
|
||||
color: #1e293b;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: 1.4285714;
|
||||
font-smoothing: inherit; }
|
||||
|
||||
.ts-input,
|
||||
.ts-control.single .ts-input.input-active {
|
||||
background: #ffffff;
|
||||
cursor: text; }
|
||||
|
||||
.ts-input {
|
||||
border: 1px solid #d9dbde;
|
||||
padding: 0.4375rem 0.75rem;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
box-sizing: border-box;
|
||||
box-shadow: none;
|
||||
border-radius: 4px;
|
||||
display: flex;
|
||||
flex-wrap: wrap; }
|
||||
.ts-control.multi .ts-input.has-items {
|
||||
padding: calc( 0.4375rem - 1px - 0px) 0.75rem calc( 0.4375rem - 1px - 3px - 0px); }
|
||||
.ts-input.full {
|
||||
background-color: #ffffff; }
|
||||
.ts-input.disabled,
|
||||
.ts-input.disabled * {
|
||||
cursor: default !important; }
|
||||
.ts-input.focus {
|
||||
box-shadow: none; }
|
||||
.ts-input > * {
|
||||
vertical-align: baseline;
|
||||
display: inline-block; }
|
||||
.ts-control.multi .ts-input > div {
|
||||
cursor: pointer;
|
||||
margin: 0 3px 3px 0;
|
||||
padding: 1px 5px;
|
||||
background: #efefef;
|
||||
color: #1e293b;
|
||||
border: 0px solid #e6e7e9; }
|
||||
.ts-control.multi .ts-input > div.active {
|
||||
background: #206bc4;
|
||||
color: #fff;
|
||||
border: 0px solid rgba(0, 0, 0, 0); }
|
||||
.ts-control.multi .ts-input.disabled > div, .ts-control.multi .ts-input.disabled > div.active {
|
||||
color: #797979;
|
||||
background: white;
|
||||
border: 0px solid white; }
|
||||
.ts-input > input {
|
||||
flex: 1 1 auto;
|
||||
min-width: 7rem;
|
||||
display: inline-block !important;
|
||||
padding: 0 !important;
|
||||
min-height: 0 !important;
|
||||
max-height: none !important;
|
||||
max-width: 100% !important;
|
||||
margin: 0 !important;
|
||||
text-indent: 0 !important;
|
||||
border: 0 none !important;
|
||||
background: none !important;
|
||||
line-height: inherit !important;
|
||||
-webkit-user-select: auto !important;
|
||||
-moz-user-select: auto !important;
|
||||
-ms-user-select: auto !important;
|
||||
user-select: auto !important;
|
||||
box-shadow: none !important; }
|
||||
.ts-input > input::-ms-clear {
|
||||
display: none; }
|
||||
.ts-input > input:focus {
|
||||
outline: none !important; }
|
||||
.ts-input.has-items > input {
|
||||
margin: 0 4px !important; }
|
||||
.ts-input.dropdown-active::before {
|
||||
content: ' ';
|
||||
display: block;
|
||||
position: absolute;
|
||||
background: white;
|
||||
height: 1px;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0; }
|
||||
.ts-input.rtl {
|
||||
text-align: right; }
|
||||
.ts-input.rtl.single .ts-input:after {
|
||||
left: calc(0.75rem + 5px);
|
||||
right: auto; }
|
||||
.ts-input.rtl .ts-input > input {
|
||||
margin: 0 4px 0 -2px !important; }
|
||||
.ts-input.disabled {
|
||||
opacity: 0.5;
|
||||
background-color: #f1f5f9; }
|
||||
.input-hidden .ts-input > input {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
left: -10000px; }
|
||||
|
||||
.ts-dropdown {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
z-index: 10;
|
||||
border: 1px solid #d0d0d0;
|
||||
background: #ffffff;
|
||||
margin: 0.25rem 0 0 0;
|
||||
border-top: 0 none;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 0 0 4px 4px; }
|
||||
.ts-dropdown [data-selectable] {
|
||||
cursor: pointer;
|
||||
overflow: hidden; }
|
||||
.ts-dropdown [data-selectable] .highlight {
|
||||
background: rgba(255, 237, 40, 0.4);
|
||||
border-radius: 1px; }
|
||||
.ts-dropdown .option,
|
||||
.ts-dropdown .optgroup-header,
|
||||
.ts-dropdown .no-results,
|
||||
.ts-dropdown .create {
|
||||
padding: 3px 0.75rem; }
|
||||
.ts-dropdown .option, .ts-dropdown [data-disabled], .ts-dropdown [data-disabled] [data-selectable].option {
|
||||
cursor: inherit;
|
||||
opacity: 0.5; }
|
||||
.ts-dropdown [data-selectable].option {
|
||||
opacity: 1;
|
||||
cursor: pointer; }
|
||||
.ts-dropdown .optgroup:first-child .optgroup-header {
|
||||
border-top: 0 none; }
|
||||
.ts-dropdown .optgroup-header {
|
||||
color: #475569;
|
||||
background: #ffffff;
|
||||
cursor: default; }
|
||||
.ts-dropdown .create:hover,
|
||||
.ts-dropdown .option:hover,
|
||||
.ts-dropdown .active {
|
||||
background-color: rgba(98, 105, 118, 0.06);
|
||||
color: inherit; }
|
||||
.ts-dropdown .create:hover.create,
|
||||
.ts-dropdown .option:hover.create,
|
||||
.ts-dropdown .active.create {
|
||||
color: inherit; }
|
||||
.ts-dropdown .create {
|
||||
color: rgba(30, 41, 59, 0.5); }
|
||||
.ts-dropdown .spinner {
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
margin: 3px 0.75rem; }
|
||||
.ts-dropdown .spinner:after {
|
||||
content: " ";
|
||||
display: block;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin: 3px;
|
||||
border-radius: 50%;
|
||||
border: 5px solid #d0d0d0;
|
||||
border-color: #d0d0d0 transparent #d0d0d0 transparent;
|
||||
-webkit-animation: lds-dual-ring 1.2s linear infinite;
|
||||
animation: lds-dual-ring 1.2s linear infinite; }
|
||||
|
||||
@-webkit-keyframes lds-dual-ring {
|
||||
0% {
|
||||
transform: rotate(0deg); }
|
||||
100% {
|
||||
transform: rotate(360deg); } }
|
||||
|
||||
@keyframes lds-dual-ring {
|
||||
0% {
|
||||
transform: rotate(0deg); }
|
||||
100% {
|
||||
transform: rotate(360deg); } }
|
||||
|
||||
.ts-dropdown-content {
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
max-height: 200px;
|
||||
overflow-scrolling: touch;
|
||||
scroll-behavior: smooth; }
|
||||
|
||||
.ts-wrapper.form-control,
|
||||
.ts-wrapper.form-select {
|
||||
padding: 0 !important; }
|
||||
|
||||
.ts-dropdown,
|
||||
.ts-dropdown.form-control,
|
||||
.ts-dropdown.form-select {
|
||||
height: auto;
|
||||
padding: 0;
|
||||
z-index: 1000;
|
||||
background: #ffffff;
|
||||
border: 1px solid rgba(98, 105, 118, 0.16);
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); }
|
||||
|
||||
.ts-dropdown .optgroup-header {
|
||||
font-size: 0.765625rem;
|
||||
line-height: 1.4285714; }
|
||||
|
||||
.ts-dropdown .optgroup:first-child:before {
|
||||
display: none; }
|
||||
|
||||
.ts-dropdown .optgroup:before {
|
||||
content: ' ';
|
||||
display: block;
|
||||
height: 0;
|
||||
margin: 0.5rem 0;
|
||||
overflow: hidden;
|
||||
border-top: 1px solid rgba(98, 105, 118, 0.16);
|
||||
margin-left: -0.75rem;
|
||||
margin-right: -0.75rem; }
|
||||
|
||||
.ts-dropdown .create {
|
||||
padding-left: 0.75rem; }
|
||||
|
||||
.ts-dropdown-content {
|
||||
padding: 5px 0; }
|
||||
|
||||
.ts-input {
|
||||
min-height: calc(1.4285714em + 0.875rem + 2px);
|
||||
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
||||
display: flex;
|
||||
align-items: center; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.ts-input {
|
||||
transition: none; } }
|
||||
.ts-input.dropdown -active {
|
||||
border-radius: 4px; }
|
||||
.ts-input.dropdown-active::before {
|
||||
display: none; }
|
||||
.ts-input.focus {
|
||||
border-color: #90b5e2;
|
||||
outline: 0;
|
||||
box-shadow: 0 0 0 0.25rem rgba(32, 107, 196, 0.25); }
|
||||
.ts-input .item {
|
||||
display: flex;
|
||||
align-items: center; }
|
||||
|
||||
.is-invalid .ts-input,
|
||||
.was-validated .ts-input.invalid {
|
||||
border-color: #d63939; }
|
||||
.is-invalid .ts-input.focus,
|
||||
.was-validated .ts-input.invalid.focus {
|
||||
border-color: #b62626;
|
||||
box-shadow: 0 0 0 0.25rem rgba(214, 57, 57, 0.25); }
|
||||
|
||||
.is-valid .ts-input {
|
||||
border-color: #2fb344; }
|
||||
.is-valid .ts-input.focus {
|
||||
border-color: #2fb344;
|
||||
box-shadow: 0 0 0 0.25rem rgba(47, 179, 68, 0.25); }
|
||||
|
||||
.input-group-sm > .ts-control .ts-input, .ts-control.form-select-sm .ts-input, .ts-control.form-control-sm .ts-input {
|
||||
min-height: calc(1.4285714em + 0.25rem + 2px);
|
||||
padding: 0 .75rem;
|
||||
border-radius: 2px;
|
||||
font-size: 0.75rem; }
|
||||
|
||||
.input-group-sm > .ts-control .ts-input.has-items, .ts-control.form-select-sm .ts-input.has-items, .ts-control.form-control-sm .ts-input.has-items {
|
||||
min-height: calc(1.4285714em + 0.25rem + 2px) !important;
|
||||
font-size: 0.75rem;
|
||||
padding-bottom: 0; }
|
||||
|
||||
.input-group-sm > .ts-control.multi .ts-input.has-items, .ts-control.form-select-sm.multi .ts-input.has-items, .ts-control.form-control-sm.multi .ts-input.has-items {
|
||||
padding-top: calc( (calc(1.4285714em + 0.25rem + 2px) - (1.4285714 * 0.75rem) - 4px)/2) !important; }
|
||||
|
||||
.ts-control.multi .ts-input.has-items {
|
||||
padding-left: calc(0.75rem - 5px);
|
||||
padding-right: calc(0.75rem - 5px); }
|
||||
|
||||
.ts-control.multi .ts-input > div {
|
||||
border-radius: calc(4px - 1px); }
|
||||
|
||||
.input-group-lg > .ts-control > .ts-input, .ts-control.form-control-lg .ts-input, .ts-control.form-select-lg .ts-input {
|
||||
min-height: calc(1.4285714em + 1rem + 2px);
|
||||
border-radius: 8px;
|
||||
font-size: 1.25rem; }
|
||||
|
||||
.ts-control:not(.form-select) {
|
||||
padding: 0;
|
||||
border: none;
|
||||
height: auto;
|
||||
box-shadow: none;
|
||||
background: none; }
|
||||
.ts-control:not(.form-select).single .ts-input {
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23d9dbde' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right 0.75rem center;
|
||||
background-size: 16px 12px;
|
||||
padding-right: 2rem; }
|
||||
|
||||
.ts-control.form-select {
|
||||
padding: 0;
|
||||
height: auto;
|
||||
box-shadow: none; }
|
||||
.ts-control.form-select .ts-input,
|
||||
.ts-control.form-select.single .ts-input.input-active {
|
||||
border: none !important;
|
||||
background: transparent !important; }
|
||||
|
||||
.input-group > .ts-control {
|
||||
flex-grow: 1; }
|
||||
|
||||
.input-group > .ts-control:not(:nth-child(2)) > .ts-input {
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0; }
|
||||
|
||||
.input-group > .ts-control:not(:last-child) > .ts-input {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0; }
|
||||
|
||||
.ts-input {
|
||||
color: inherit; }
|
||||
|
||||
.ts-control .dropdown-menu {
|
||||
width: 100%;
|
||||
height: auto; }
|
9
wwwroot/css/tabler-vendors.min.css
vendored
Normal file
9
wwwroot/css/tabler-vendors.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
865
wwwroot/css/tabler-vendors.rtl.css
Normal file
865
wwwroot/css/tabler-vendors.rtl.css
Normal file
|
@ -0,0 +1,865 @@
|
|||
/*!
|
||||
* Tabler v1.0.0-beta5 (https://tabler.io)
|
||||
* @version 1.0.0-beta5
|
||||
* @link https://tabler.io
|
||||
* Copyright 2018-2022 The Tabler Authors
|
||||
* Copyright 2018-2022 codecalm.net Paweł Kuna
|
||||
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
|
||||
*/
|
||||
/* Functional styling;
|
||||
* These styles are required for noUiSlider to function.
|
||||
* You don't need to change these rules to apply your design.
|
||||
*/
|
||||
.noUi-target,
|
||||
.noUi-target * {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
-webkit-user-select: none;
|
||||
touch-action: none;
|
||||
-ms-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
box-sizing: border-box; }
|
||||
|
||||
.noUi-target {
|
||||
position: relative; }
|
||||
|
||||
.noUi-base,
|
||||
.noUi-connects {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
z-index: 1; }
|
||||
|
||||
/* Wrapper for all connect elements.
|
||||
*/
|
||||
.noUi-connects {
|
||||
overflow: hidden;
|
||||
z-index: 0; }
|
||||
|
||||
.noUi-connect,
|
||||
.noUi-origin {
|
||||
will-change: transform;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
-ms-transform-origin: 100% 0;
|
||||
-webkit-transform-origin: 100% 0;
|
||||
-webkit-transform-style: preserve-3d;
|
||||
transform-origin: 100% 0;
|
||||
transform-style: flat; }
|
||||
|
||||
/* Offset direction
|
||||
*/
|
||||
.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin {
|
||||
right: 0;
|
||||
left: auto; }
|
||||
|
||||
/* Give origins 0 height/width so they don't interfere with clicking the
|
||||
* connect elements.
|
||||
*/
|
||||
.noUi-vertical .noUi-origin {
|
||||
top: -100%;
|
||||
width: 0; }
|
||||
|
||||
.noUi-horizontal .noUi-origin {
|
||||
height: 0; }
|
||||
|
||||
.noUi-handle {
|
||||
-webkit-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
position: absolute; }
|
||||
|
||||
.noUi-touch-area {
|
||||
height: 100%;
|
||||
width: 100%; }
|
||||
|
||||
.noUi-state-tap .noUi-connect,
|
||||
.noUi-state-tap .noUi-origin {
|
||||
transition: transform 0.3s; }
|
||||
|
||||
.noUi-state-drag * {
|
||||
cursor: inherit !important; }
|
||||
|
||||
/* Slider size and handle placement;
|
||||
*/
|
||||
.noUi-horizontal {
|
||||
height: 18px; }
|
||||
|
||||
.noUi-horizontal .noUi-handle {
|
||||
width: 34px;
|
||||
height: 28px;
|
||||
left: -17px;
|
||||
top: -6px; }
|
||||
|
||||
.noUi-vertical {
|
||||
width: 18px; }
|
||||
|
||||
.noUi-vertical .noUi-handle {
|
||||
width: 28px;
|
||||
height: 34px;
|
||||
left: -6px;
|
||||
bottom: -17px; }
|
||||
|
||||
.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle {
|
||||
right: -17px;
|
||||
left: auto; }
|
||||
|
||||
/* Styling;
|
||||
* Giving the connect element a border radius causes issues with using transform: scale
|
||||
*/
|
||||
.noUi-target {
|
||||
background: #FAFAFA;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #D3D3D3;
|
||||
box-shadow: inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB; }
|
||||
|
||||
.noUi-connects {
|
||||
border-radius: 3px; }
|
||||
|
||||
.noUi-connect {
|
||||
background: #3FB8AF; }
|
||||
|
||||
/* Handles and cursors;
|
||||
*/
|
||||
.noUi-draggable {
|
||||
cursor: ew-resize; }
|
||||
|
||||
.noUi-vertical .noUi-draggable {
|
||||
cursor: ns-resize; }
|
||||
|
||||
.noUi-handle {
|
||||
border: 1px solid #D9D9D9;
|
||||
border-radius: 3px;
|
||||
background: #FFF;
|
||||
cursor: default;
|
||||
box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB; }
|
||||
|
||||
.noUi-active {
|
||||
box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB; }
|
||||
|
||||
/* Handle stripes;
|
||||
*/
|
||||
.noUi-handle:before,
|
||||
.noUi-handle:after {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
height: 14px;
|
||||
width: 1px;
|
||||
background: #E8E7E6;
|
||||
right: 14px;
|
||||
top: 6px; }
|
||||
|
||||
.noUi-handle:after {
|
||||
right: 17px; }
|
||||
|
||||
.noUi-vertical .noUi-handle:before,
|
||||
.noUi-vertical .noUi-handle:after {
|
||||
width: 14px;
|
||||
height: 1px;
|
||||
right: 6px;
|
||||
top: 14px; }
|
||||
|
||||
.noUi-vertical .noUi-handle:after {
|
||||
top: 17px; }
|
||||
|
||||
/* Disabled state;
|
||||
*/
|
||||
[disabled] .noUi-connect {
|
||||
background: #B8B8B8; }
|
||||
|
||||
[disabled].noUi-target,
|
||||
[disabled].noUi-handle,
|
||||
[disabled] .noUi-handle {
|
||||
cursor: not-allowed; }
|
||||
|
||||
/* Base;
|
||||
*
|
||||
*/
|
||||
.noUi-pips,
|
||||
.noUi-pips * {
|
||||
box-sizing: border-box; }
|
||||
|
||||
.noUi-pips {
|
||||
position: absolute;
|
||||
color: #999; }
|
||||
|
||||
/* Values;
|
||||
*
|
||||
*/
|
||||
.noUi-value {
|
||||
position: absolute;
|
||||
white-space: nowrap;
|
||||
text-align: center; }
|
||||
|
||||
.noUi-value-sub {
|
||||
color: #ccc;
|
||||
font-size: 10px; }
|
||||
|
||||
/* Markings;
|
||||
*
|
||||
*/
|
||||
.noUi-marker {
|
||||
position: absolute;
|
||||
background: #CCC; }
|
||||
|
||||
.noUi-marker-sub {
|
||||
background: #AAA; }
|
||||
|
||||
.noUi-marker-large {
|
||||
background: #AAA; }
|
||||
|
||||
/* Horizontal layout;
|
||||
*
|
||||
*/
|
||||
.noUi-pips-horizontal {
|
||||
padding: 10px 0;
|
||||
height: 80px;
|
||||
top: 100%;
|
||||
right: 0;
|
||||
width: 100%; }
|
||||
|
||||
.noUi-value-horizontal {
|
||||
transform: translate(50%, 50%); }
|
||||
|
||||
.noUi-rtl .noUi-value-horizontal {
|
||||
transform: translate(-50%, 50%); }
|
||||
|
||||
.noUi-marker-horizontal.noUi-marker {
|
||||
margin-right: -1px;
|
||||
width: 2px;
|
||||
height: 5px; }
|
||||
|
||||
.noUi-marker-horizontal.noUi-marker-sub {
|
||||
height: 10px; }
|
||||
|
||||
.noUi-marker-horizontal.noUi-marker-large {
|
||||
height: 15px; }
|
||||
|
||||
/* Vertical layout;
|
||||
*
|
||||
*/
|
||||
.noUi-pips-vertical {
|
||||
padding: 0 10px;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
right: 100%; }
|
||||
|
||||
.noUi-value-vertical {
|
||||
transform: translate(0, -50%);
|
||||
padding-right: 25px; }
|
||||
|
||||
.noUi-rtl .noUi-value-vertical {
|
||||
transform: translate(0, 50%); }
|
||||
|
||||
.noUi-marker-vertical.noUi-marker {
|
||||
width: 5px;
|
||||
height: 2px;
|
||||
margin-top: -1px; }
|
||||
|
||||
.noUi-marker-vertical.noUi-marker-sub {
|
||||
width: 10px; }
|
||||
|
||||
.noUi-marker-vertical.noUi-marker-large {
|
||||
width: 15px; }
|
||||
|
||||
.noUi-tooltip {
|
||||
display: block;
|
||||
position: absolute;
|
||||
border: 1px solid #D9D9D9;
|
||||
border-radius: 3px;
|
||||
background: #fff;
|
||||
color: #000;
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
white-space: nowrap; }
|
||||
|
||||
.noUi-horizontal .noUi-tooltip {
|
||||
transform: translate(50%, 0);
|
||||
right: 50%;
|
||||
bottom: 120%; }
|
||||
|
||||
.noUi-vertical .noUi-tooltip {
|
||||
transform: translate(0, -50%);
|
||||
top: 50%;
|
||||
left: 120%; }
|
||||
|
||||
.noUi-horizontal .noUi-origin > .noUi-tooltip {
|
||||
transform: translate(-50%, 0);
|
||||
right: auto;
|
||||
bottom: 10px; }
|
||||
|
||||
.noUi-vertical .noUi-origin > .noUi-tooltip {
|
||||
transform: translate(0, -18px);
|
||||
top: auto;
|
||||
left: 28px; }
|
||||
|
||||
.noUi-target {
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
background: none;
|
||||
border-radius: 0;
|
||||
color: #206bc4; }
|
||||
|
||||
.noUi-horizontal {
|
||||
height: 1.25rem;
|
||||
padding: .5rem 0; }
|
||||
|
||||
.noUi-base {
|
||||
background: var(--tblr-border-color-light);
|
||||
border-radius: 1rem; }
|
||||
|
||||
.noUi-handle {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
border: 2px solid var(--tblr-border-color-light);
|
||||
box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.1);
|
||||
border-radius: 1rem;
|
||||
background: currentColor;
|
||||
outline: 0; }
|
||||
.noUi-handle:before, .noUi-handle:after {
|
||||
content: none; }
|
||||
.noUi-horizontal .noUi-handle {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
top: -0.5rem;
|
||||
left: -0.5rem;
|
||||
margin: 1px 0 0 1px; }
|
||||
.noUi-handle.noUi-active, .noUi-handle:focus {
|
||||
box-shadow: 0 0 0 1px #f8fafc, 0 0 0 0.25rem rgba(32, 107, 196, 0.25); }
|
||||
|
||||
.noUi-connect {
|
||||
background: currentColor; }
|
||||
|
||||
.litepicker {
|
||||
--litepicker-month-weekday-color: #626976;
|
||||
--litepicker-button-prev-month-color: #626976;
|
||||
--litepicker-button-next-month-color: #626976;
|
||||
--litepicker-button-prev-month-color-hover: #206bc4;
|
||||
--litepicker-button-next-month-color-hover: #206bc4;
|
||||
--litepicker-day-color: var(--tblr-body-color);
|
||||
--litepicker-day-color-hover: #206bc4;
|
||||
--litepicker-is-end-color-bg: #206bc4;
|
||||
--litepicker-is-today-color: #206bc4;
|
||||
--litepicker-month-header-color: var(--tblr-body-color);
|
||||
--litepicker-container-months-color-bg: var(--tblr-card-bg);
|
||||
font: inherit;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
.litepicker svg {
|
||||
fill: none !important; }
|
||||
.litepicker .container__months {
|
||||
border: 1px solid var(--tblr-border-color);
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); }
|
||||
.litepicker .container__months .month-item-name,
|
||||
.litepicker .container__months .month-item-year {
|
||||
font-weight: 500 !important; }
|
||||
.litepicker .container__months .button-next-month,
|
||||
.litepicker .container__months .button-prev-month {
|
||||
cursor: pointer !important; }
|
||||
.litepicker .container__months .month-item-weekdays-row > div {
|
||||
padding: .5rem 0 !important;
|
||||
font-size: 0.75rem; }
|
||||
.litepicker .container__days .day-item {
|
||||
cursor: pointer !important;
|
||||
padding: .5rem 0 !important;
|
||||
transition: color 0.3s, background-color 0.3s, border-color 0.3s; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.litepicker .container__days .day-item {
|
||||
transition: none; } }
|
||||
.datepicker-inline .litepicker .container__months {
|
||||
box-shadow: none; }
|
||||
|
||||
/**
|
||||
* Tom Select bootstrap 5
|
||||
*/
|
||||
/**
|
||||
* tom-select.css (v//@@version)
|
||||
* Copyright (c) contributors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
||||
* file except in compliance with the License. You may obtain a copy of the License at:
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software distributed under
|
||||
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
||||
* ANY KIND, either express or implied. See the License for the specific language
|
||||
* governing permissions and limitations under the License.
|
||||
*
|
||||
*/
|
||||
.ts-control.plugin-drag_drop.multi > .ts-input > div.ui-sortable-placeholder {
|
||||
visibility: visible !important;
|
||||
background: #f2f2f2 !important;
|
||||
background: rgba(0, 0, 0, 0.06) !important;
|
||||
border: 0 none !important;
|
||||
box-shadow: inset 0 0 12px 4px #fff; }
|
||||
|
||||
.ts-control.plugin-drag_drop .ui-sortable-placeholder::after {
|
||||
content: '!';
|
||||
visibility: hidden; }
|
||||
|
||||
.ts-control.plugin-drag_drop .ui-sortable-helper {
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); }
|
||||
|
||||
.plugin-checkbox_options .option input {
|
||||
margin-left: 0.5rem; }
|
||||
|
||||
.plugin-clear_button .items {
|
||||
padding-left: calc( 1em + (3 * 5px)) !important; }
|
||||
|
||||
.plugin-clear_button .clear-button {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
top: 0.4375rem;
|
||||
left: calc(0.75rem - 5px);
|
||||
margin-left: 0 !important;
|
||||
background: transparent !important;
|
||||
transition: opacity 0.5s;
|
||||
cursor: pointer; }
|
||||
|
||||
.plugin-clear_button.single .clear-button {
|
||||
left: calc(0.75rem - 5px + 2rem); }
|
||||
|
||||
.plugin-clear_button .has-items.focus .clear-button,
|
||||
.plugin-clear_button:hover .has-items .clear-button {
|
||||
opacity: 1; }
|
||||
|
||||
.ts-control .dropdown-header {
|
||||
position: relative;
|
||||
padding: 6px 0.75rem;
|
||||
border-bottom: 1px solid #d0d0d0;
|
||||
background: #f8f8f8;
|
||||
border-radius: 4px 4px 0 0; }
|
||||
|
||||
.ts-control .dropdown-header-close {
|
||||
position: absolute;
|
||||
left: 0.75rem;
|
||||
top: 50%;
|
||||
color: #1e293b;
|
||||
opacity: 0.4;
|
||||
margin-top: -12px;
|
||||
line-height: 20px;
|
||||
font-size: 20px !important; }
|
||||
|
||||
.ts-control .dropdown-header-close:hover {
|
||||
color: black; }
|
||||
|
||||
.plugin-dropdown_input .ts-input.focus {
|
||||
box-shadow: none;
|
||||
border: 1px solid #d9dbde; }
|
||||
|
||||
.plugin-dropdown_input .dropdown-input {
|
||||
border: 1px solid #d0d0d0;
|
||||
border-width: 0 0 1px 0;
|
||||
display: block;
|
||||
padding: 0.4375rem 0.75rem;
|
||||
box-shadow: none;
|
||||
width: 100%;
|
||||
background: transparent; }
|
||||
|
||||
.plugin-dropdown_input .focus ~ .ts-dropdown .dropdown-input {
|
||||
border-color: #90b5e2;
|
||||
outline: 0;
|
||||
box-shadow: 0 0 0 0.25rem rgba(32, 107, 196, 0.25); }
|
||||
|
||||
.ts-control.plugin-input_autogrow .ts-input.has-items > input {
|
||||
min-width: 0; }
|
||||
|
||||
.ts-control.plugin-input_autogrow .ts-input.focus.has-items > input {
|
||||
flex: none;
|
||||
min-width: 4px; }
|
||||
.ts-control.plugin-input_autogrow .ts-input.focus.has-items > input::-webkit-input-placeholder {
|
||||
color: transparent; }
|
||||
.ts-control.plugin-input_autogrow .ts-input.focus.has-items > input::-moz-placeholder {
|
||||
color: transparent; }
|
||||
.ts-control.plugin-input_autogrow .ts-input.focus.has-items > input:-ms-input-placeholder {
|
||||
color: transparent; }
|
||||
.ts-control.plugin-input_autogrow .ts-input.focus.has-items > input::-ms-input-placeholder {
|
||||
color: transparent; }
|
||||
.ts-control.plugin-input_autogrow .ts-input.focus.has-items > input::placeholder {
|
||||
color: transparent; }
|
||||
|
||||
.ts-dropdown.plugin-optgroup_columns .ts-dropdown-content {
|
||||
display: flex; }
|
||||
|
||||
.ts-dropdown.plugin-optgroup_columns .optgroup {
|
||||
border-left: 1px solid #f2f2f2;
|
||||
border-top: 0 none;
|
||||
flex-grow: 1;
|
||||
flex-basis: 0;
|
||||
min-width: 0; }
|
||||
|
||||
.ts-dropdown.plugin-optgroup_columns .optgroup:last-child {
|
||||
border-left: 0 none; }
|
||||
|
||||
.ts-dropdown.plugin-optgroup_columns .optgroup:before {
|
||||
display: none; }
|
||||
|
||||
.ts-dropdown.plugin-optgroup_columns .optgroup-header {
|
||||
border-top: 0 none; }
|
||||
|
||||
.ts-control.plugin-remove_button .item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding-left: 0 !important; }
|
||||
|
||||
.ts-control.plugin-remove_button .item .remove {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
padding: 1px 5px;
|
||||
border-right: 1px solid #e6e7e9;
|
||||
border-radius: 2px 0 0 2px;
|
||||
box-sizing: border-box;
|
||||
margin-right: 5px; }
|
||||
|
||||
.ts-control.plugin-remove_button .item .remove:hover {
|
||||
background: rgba(0, 0, 0, 0.05); }
|
||||
|
||||
.ts-control.plugin-remove_button .item.active .remove {
|
||||
border-right-color: rgba(0, 0, 0, 0); }
|
||||
|
||||
.ts-control.plugin-remove_button .disabled .item .remove:hover {
|
||||
background: none; }
|
||||
|
||||
.ts-control.plugin-remove_button .disabled .item .remove {
|
||||
border-right-color: white; }
|
||||
|
||||
.ts-control.plugin-remove_button .remove-single {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
font-size: 23px; }
|
||||
|
||||
.ts-control {
|
||||
position: relative; }
|
||||
|
||||
.ts-dropdown,
|
||||
.ts-input,
|
||||
.ts-input input {
|
||||
color: #1e293b;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: 1.4285714;
|
||||
font-smoothing: inherit; }
|
||||
|
||||
.ts-input,
|
||||
.ts-control.single .ts-input.input-active {
|
||||
background: #ffffff;
|
||||
cursor: text; }
|
||||
|
||||
.ts-input {
|
||||
border: 1px solid #d9dbde;
|
||||
padding: 0.4375rem 0.75rem;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
box-sizing: border-box;
|
||||
box-shadow: none;
|
||||
border-radius: 4px;
|
||||
display: flex;
|
||||
flex-wrap: wrap; }
|
||||
.ts-control.multi .ts-input.has-items {
|
||||
padding: calc( 0.4375rem - 1px - 0px) 0.75rem calc( 0.4375rem - 1px - 3px - 0px); }
|
||||
.ts-input.full {
|
||||
background-color: #ffffff; }
|
||||
.ts-input.disabled,
|
||||
.ts-input.disabled * {
|
||||
cursor: default !important; }
|
||||
.ts-input.focus {
|
||||
box-shadow: none; }
|
||||
.ts-input > * {
|
||||
vertical-align: baseline;
|
||||
display: inline-block; }
|
||||
.ts-control.multi .ts-input > div {
|
||||
cursor: pointer;
|
||||
margin: 0 0 3px 3px;
|
||||
padding: 1px 5px;
|
||||
background: #efefef;
|
||||
color: #1e293b;
|
||||
border: 0px solid #e6e7e9; }
|
||||
.ts-control.multi .ts-input > div.active {
|
||||
background: #206bc4;
|
||||
color: #fff;
|
||||
border: 0px solid rgba(0, 0, 0, 0); }
|
||||
.ts-control.multi .ts-input.disabled > div, .ts-control.multi .ts-input.disabled > div.active {
|
||||
color: #797979;
|
||||
background: white;
|
||||
border: 0px solid white; }
|
||||
.ts-input > input {
|
||||
flex: 1 1 auto;
|
||||
min-width: 7rem;
|
||||
display: inline-block !important;
|
||||
padding: 0 !important;
|
||||
min-height: 0 !important;
|
||||
max-height: none !important;
|
||||
max-width: 100% !important;
|
||||
margin: 0 !important;
|
||||
text-indent: 0 !important;
|
||||
border: 0 none !important;
|
||||
background: none !important;
|
||||
line-height: inherit !important;
|
||||
-webkit-user-select: auto !important;
|
||||
-moz-user-select: auto !important;
|
||||
-ms-user-select: auto !important;
|
||||
user-select: auto !important;
|
||||
box-shadow: none !important; }
|
||||
.ts-input > input::-ms-clear {
|
||||
display: none; }
|
||||
.ts-input > input:focus {
|
||||
outline: none !important; }
|
||||
.ts-input.has-items > input {
|
||||
margin: 0 4px !important; }
|
||||
.ts-input.dropdown-active::before {
|
||||
content: ' ';
|
||||
display: block;
|
||||
position: absolute;
|
||||
background: white;
|
||||
height: 1px;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
left: 0; }
|
||||
.ts-input.rtl {
|
||||
text-align: left; }
|
||||
.ts-input.rtl.single .ts-input:after {
|
||||
right: calc(0.75rem + 5px);
|
||||
left: auto; }
|
||||
.ts-input.rtl .ts-input > input {
|
||||
margin: 0 -2px 0 4px !important; }
|
||||
.ts-input.disabled {
|
||||
opacity: 0.5;
|
||||
background-color: #f1f5f9; }
|
||||
.input-hidden .ts-input > input {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
right: -10000px; }
|
||||
|
||||
.ts-dropdown {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
z-index: 10;
|
||||
border: 1px solid #d0d0d0;
|
||||
background: #ffffff;
|
||||
margin: 0.25rem 0 0 0;
|
||||
border-top: 0 none;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 0 0 4px 4px; }
|
||||
.ts-dropdown [data-selectable] {
|
||||
cursor: pointer;
|
||||
overflow: hidden; }
|
||||
.ts-dropdown [data-selectable] .highlight {
|
||||
background: rgba(255, 237, 40, 0.4);
|
||||
border-radius: 1px; }
|
||||
.ts-dropdown .option,
|
||||
.ts-dropdown .optgroup-header,
|
||||
.ts-dropdown .no-results,
|
||||
.ts-dropdown .create {
|
||||
padding: 3px 0.75rem; }
|
||||
.ts-dropdown .option, .ts-dropdown [data-disabled], .ts-dropdown [data-disabled] [data-selectable].option {
|
||||
cursor: inherit;
|
||||
opacity: 0.5; }
|
||||
.ts-dropdown [data-selectable].option {
|
||||
opacity: 1;
|
||||
cursor: pointer; }
|
||||
.ts-dropdown .optgroup:first-child .optgroup-header {
|
||||
border-top: 0 none; }
|
||||
.ts-dropdown .optgroup-header {
|
||||
color: #475569;
|
||||
background: #ffffff;
|
||||
cursor: default; }
|
||||
.ts-dropdown .create:hover,
|
||||
.ts-dropdown .option:hover,
|
||||
.ts-dropdown .active {
|
||||
background-color: rgba(98, 105, 118, 0.06);
|
||||
color: inherit; }
|
||||
.ts-dropdown .create:hover.create,
|
||||
.ts-dropdown .option:hover.create,
|
||||
.ts-dropdown .active.create {
|
||||
color: inherit; }
|
||||
.ts-dropdown .create {
|
||||
color: rgba(30, 41, 59, 0.5); }
|
||||
.ts-dropdown .spinner {
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
margin: 3px 0.75rem; }
|
||||
.ts-dropdown .spinner:after {
|
||||
content: " ";
|
||||
display: block;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin: 3px;
|
||||
border-radius: 50%;
|
||||
border: 5px solid #d0d0d0;
|
||||
border-color: #d0d0d0 transparent #d0d0d0 transparent;
|
||||
-webkit-animation: lds-dual-ring 1.2s linear infinite;
|
||||
animation: lds-dual-ring 1.2s linear infinite; }
|
||||
|
||||
@-webkit-keyframes lds-dual-ring {
|
||||
0% {
|
||||
transform: rotate(0deg); }
|
||||
100% {
|
||||
transform: rotate(-360deg); } }
|
||||
|
||||
@keyframes lds-dual-ring {
|
||||
0% {
|
||||
transform: rotate(0deg); }
|
||||
100% {
|
||||
transform: rotate(-360deg); } }
|
||||
|
||||
.ts-dropdown-content {
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
max-height: 200px;
|
||||
overflow-scrolling: touch;
|
||||
scroll-behavior: smooth; }
|
||||
|
||||
.ts-wrapper.form-control,
|
||||
.ts-wrapper.form-select {
|
||||
padding: 0 !important; }
|
||||
|
||||
.ts-dropdown,
|
||||
.ts-dropdown.form-control,
|
||||
.ts-dropdown.form-select {
|
||||
height: auto;
|
||||
padding: 0;
|
||||
z-index: 1000;
|
||||
background: #ffffff;
|
||||
border: 1px solid rgba(98, 105, 118, 0.16);
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); }
|
||||
|
||||
.ts-dropdown .optgroup-header {
|
||||
font-size: 0.765625rem;
|
||||
line-height: 1.4285714; }
|
||||
|
||||
.ts-dropdown .optgroup:first-child:before {
|
||||
display: none; }
|
||||
|
||||
.ts-dropdown .optgroup:before {
|
||||
content: ' ';
|
||||
display: block;
|
||||
height: 0;
|
||||
margin: 0.5rem 0;
|
||||
overflow: hidden;
|
||||
border-top: 1px solid rgba(98, 105, 118, 0.16);
|
||||
margin-right: -0.75rem;
|
||||
margin-left: -0.75rem; }
|
||||
|
||||
.ts-dropdown .create {
|
||||
padding-right: 0.75rem; }
|
||||
|
||||
.ts-dropdown-content {
|
||||
padding: 5px 0; }
|
||||
|
||||
.ts-input {
|
||||
min-height: calc(1.4285714em + 0.875rem + 2px);
|
||||
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
||||
display: flex;
|
||||
align-items: center; }
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.ts-input {
|
||||
transition: none; } }
|
||||
.ts-input.dropdown -active {
|
||||
border-radius: 4px; }
|
||||
.ts-input.dropdown-active::before {
|
||||
display: none; }
|
||||
.ts-input.focus {
|
||||
border-color: #90b5e2;
|
||||
outline: 0;
|
||||
box-shadow: 0 0 0 0.25rem rgba(32, 107, 196, 0.25); }
|
||||
.ts-input .item {
|
||||
display: flex;
|
||||
align-items: center; }
|
||||
|
||||
.is-invalid .ts-input,
|
||||
.was-validated .ts-input.invalid {
|
||||
border-color: #d63939; }
|
||||
.is-invalid .ts-input.focus,
|
||||
.was-validated .ts-input.invalid.focus {
|
||||
border-color: #b62626;
|
||||
box-shadow: 0 0 0 0.25rem rgba(214, 57, 57, 0.25); }
|
||||
|
||||
.is-valid .ts-input {
|
||||
border-color: #2fb344; }
|
||||
.is-valid .ts-input.focus {
|
||||
border-color: #2fb344;
|
||||
box-shadow: 0 0 0 0.25rem rgba(47, 179, 68, 0.25); }
|
||||
|
||||
.input-group-sm > .ts-control .ts-input, .ts-control.form-select-sm .ts-input, .ts-control.form-control-sm .ts-input {
|
||||
min-height: calc(1.4285714em + 0.25rem + 2px);
|
||||
padding: 0 .75rem;
|
||||
border-radius: 2px;
|
||||
font-size: 0.75rem; }
|
||||
|
||||
.input-group-sm > .ts-control .ts-input.has-items, .ts-control.form-select-sm .ts-input.has-items, .ts-control.form-control-sm .ts-input.has-items {
|
||||
min-height: calc(1.4285714em + 0.25rem + 2px) !important;
|
||||
font-size: 0.75rem;
|
||||
padding-bottom: 0; }
|
||||
|
||||
.input-group-sm > .ts-control.multi .ts-input.has-items, .ts-control.form-select-sm.multi .ts-input.has-items, .ts-control.form-control-sm.multi .ts-input.has-items {
|
||||
padding-top: calc( (calc(1.4285714em + 0.25rem + 2px) - (1.4285714 * 0.75rem) - 4px)/2) !important; }
|
||||
|
||||
.ts-control.multi .ts-input.has-items {
|
||||
padding-right: calc(0.75rem - 5px);
|
||||
padding-left: calc(0.75rem - 5px); }
|
||||
|
||||
.ts-control.multi .ts-input > div {
|
||||
border-radius: calc(4px - 1px); }
|
||||
|
||||
.input-group-lg > .ts-control > .ts-input, .ts-control.form-control-lg .ts-input, .ts-control.form-select-lg .ts-input {
|
||||
min-height: calc(1.4285714em + 1rem + 2px);
|
||||
border-radius: 8px;
|
||||
font-size: 1.25rem; }
|
||||
|
||||
.ts-control:not(.form-select) {
|
||||
padding: 0;
|
||||
border: none;
|
||||
height: auto;
|
||||
box-shadow: none;
|
||||
background: none; }
|
||||
.ts-control:not(.form-select).single .ts-input {
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23d9dbde' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
|
||||
background-repeat: no-repeat;
|
||||
background-position: left 0.75rem center;
|
||||
background-size: 16px 12px;
|
||||
padding-left: 2rem; }
|
||||
|
||||
.ts-control.form-select {
|
||||
padding: 0;
|
||||
height: auto;
|
||||
box-shadow: none; }
|
||||
.ts-control.form-select .ts-input,
|
||||
.ts-control.form-select.single .ts-input.input-active {
|
||||
border: none !important;
|
||||
background: transparent !important; }
|
||||
|
||||
.input-group > .ts-control {
|
||||
flex-grow: 1; }
|
||||
|
||||
.input-group > .ts-control:not(:nth-child(2)) > .ts-input {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0; }
|
||||
|
||||
.input-group > .ts-control:not(:last-child) > .ts-input {
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0; }
|
||||
|
||||
.ts-input {
|
||||
color: inherit; }
|
||||
|
||||
.ts-control .dropdown-menu {
|
||||
width: 100%;
|
||||
height: auto; }
|
9
wwwroot/css/tabler-vendors.rtl.min.css
vendored
Normal file
9
wwwroot/css/tabler-vendors.rtl.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
13502
wwwroot/css/tabler.css
Normal file
13502
wwwroot/css/tabler.css
Normal file
File diff suppressed because it is too large
Load diff
14
wwwroot/css/tabler.min.css
vendored
Normal file
14
wwwroot/css/tabler.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
13480
wwwroot/css/tabler.rtl.css
Normal file
13480
wwwroot/css/tabler.rtl.css
Normal file
File diff suppressed because it is too large
Load diff
14
wwwroot/css/tabler.rtl.min.css
vendored
Normal file
14
wwwroot/css/tabler.rtl.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
7791
wwwroot/js/tabler.esm.js
Normal file
7791
wwwroot/js/tabler.esm.js
Normal file
File diff suppressed because it is too large
Load diff
9
wwwroot/js/tabler.esm.min.js
vendored
Normal file
9
wwwroot/js/tabler.esm.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
7830
wwwroot/js/tabler.js
Normal file
7830
wwwroot/js/tabler.js
Normal file
File diff suppressed because it is too large
Load diff
9
wwwroot/js/tabler.min.js
vendored
Normal file
9
wwwroot/js/tabler.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
14
wwwroot/lib/apexcharts/dist/apexcharts.min.js
vendored
Normal file
14
wwwroot/lib/apexcharts/dist/apexcharts.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
248
wwwroot/lib/countup.js/dist/countUp.js
vendored
Normal file
248
wwwroot/lib/countup.js/dist/countUp.js
vendored
Normal file
|
@ -0,0 +1,248 @@
|
|||
var __assign = (this && this.__assign) || function () {
|
||||
__assign = Object.assign || function(t) {
|
||||
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
||||
s = arguments[i];
|
||||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
||||
t[p] = s[p];
|
||||
}
|
||||
return t;
|
||||
};
|
||||
return __assign.apply(this, arguments);
|
||||
};
|
||||
// playground: stackblitz.com/edit/countup-typescript
|
||||
var CountUp = /** @class */ (function () {
|
||||
function CountUp(target, endVal, options) {
|
||||
var _this = this;
|
||||
this.target = target;
|
||||
this.endVal = endVal;
|
||||
this.options = options;
|
||||
this.version = '2.0.8';
|
||||
this.defaults = {
|
||||
startVal: 0,
|
||||
decimalPlaces: 0,
|
||||
duration: 2,
|
||||
useEasing: true,
|
||||
useGrouping: true,
|
||||
smartEasingThreshold: 999,
|
||||
smartEasingAmount: 333,
|
||||
separator: ',',
|
||||
decimal: '.',
|
||||
prefix: '',
|
||||
suffix: ''
|
||||
};
|
||||
this.finalEndVal = null; // for smart easing
|
||||
this.useEasing = true;
|
||||
this.countDown = false;
|
||||
this.error = '';
|
||||
this.startVal = 0;
|
||||
this.paused = true;
|
||||
this.count = function (timestamp) {
|
||||
if (!_this.startTime) {
|
||||
_this.startTime = timestamp;
|
||||
}
|
||||
var progress = timestamp - _this.startTime;
|
||||
_this.remaining = _this.duration - progress;
|
||||
// to ease or not to ease
|
||||
if (_this.useEasing) {
|
||||
if (_this.countDown) {
|
||||
_this.frameVal = _this.startVal - _this.easingFn(progress, 0, _this.startVal - _this.endVal, _this.duration);
|
||||
}
|
||||
else {
|
||||
_this.frameVal = _this.easingFn(progress, _this.startVal, _this.endVal - _this.startVal, _this.duration);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (_this.countDown) {
|
||||
_this.frameVal = _this.startVal - ((_this.startVal - _this.endVal) * (progress / _this.duration));
|
||||
}
|
||||
else {
|
||||
_this.frameVal = _this.startVal + (_this.endVal - _this.startVal) * (progress / _this.duration);
|
||||
}
|
||||
}
|
||||
// don't go past endVal since progress can exceed duration in the last frame
|
||||
if (_this.countDown) {
|
||||
_this.frameVal = (_this.frameVal < _this.endVal) ? _this.endVal : _this.frameVal;
|
||||
}
|
||||
else {
|
||||
_this.frameVal = (_this.frameVal > _this.endVal) ? _this.endVal : _this.frameVal;
|
||||
}
|
||||
// decimal
|
||||
_this.frameVal = Number(_this.frameVal.toFixed(_this.options.decimalPlaces));
|
||||
// format and print value
|
||||
_this.printValue(_this.frameVal);
|
||||
// whether to continue
|
||||
if (progress < _this.duration) {
|
||||
_this.rAF = requestAnimationFrame(_this.count);
|
||||
}
|
||||
else if (_this.finalEndVal !== null) {
|
||||
// smart easing
|
||||
_this.update(_this.finalEndVal);
|
||||
}
|
||||
else {
|
||||
if (_this.callback) {
|
||||
_this.callback();
|
||||
}
|
||||
}
|
||||
};
|
||||
// default format and easing functions
|
||||
this.formatNumber = function (num) {
|
||||
var neg = (num < 0) ? '-' : '';
|
||||
var result, x1, x2, x3;
|
||||
result = Math.abs(num).toFixed(_this.options.decimalPlaces);
|
||||
result += '';
|
||||
var x = result.split('.');
|
||||
x1 = x[0];
|
||||
x2 = x.length > 1 ? _this.options.decimal + x[1] : '';
|
||||
if (_this.options.useGrouping) {
|
||||
x3 = '';
|
||||
for (var i = 0, len = x1.length; i < len; ++i) {
|
||||
if (i !== 0 && (i % 3) === 0) {
|
||||
x3 = _this.options.separator + x3;
|
||||
}
|
||||
x3 = x1[len - i - 1] + x3;
|
||||
}
|
||||
x1 = x3;
|
||||
}
|
||||
// optional numeral substitution
|
||||
if (_this.options.numerals && _this.options.numerals.length) {
|
||||
x1 = x1.replace(/[0-9]/g, function (w) { return _this.options.numerals[+w]; });
|
||||
x2 = x2.replace(/[0-9]/g, function (w) { return _this.options.numerals[+w]; });
|
||||
}
|
||||
return neg + _this.options.prefix + x1 + x2 + _this.options.suffix;
|
||||
};
|
||||
this.easeOutExpo = function (t, b, c, d) {
|
||||
return c * (-Math.pow(2, -10 * t / d) + 1) * 1024 / 1023 + b;
|
||||
};
|
||||
this.options = __assign(__assign({}, this.defaults), options);
|
||||
this.formattingFn = (this.options.formattingFn) ?
|
||||
this.options.formattingFn : this.formatNumber;
|
||||
this.easingFn = (this.options.easingFn) ?
|
||||
this.options.easingFn : this.easeOutExpo;
|
||||
this.startVal = this.validateValue(this.options.startVal);
|
||||
this.frameVal = this.startVal;
|
||||
this.endVal = this.validateValue(endVal);
|
||||
this.options.decimalPlaces = Math.max(0 || this.options.decimalPlaces);
|
||||
this.resetDuration();
|
||||
this.options.separator = String(this.options.separator);
|
||||
this.useEasing = this.options.useEasing;
|
||||
if (this.options.separator === '') {
|
||||
this.options.useGrouping = false;
|
||||
}
|
||||
this.el = (typeof target === 'string') ? document.getElementById(target) : target;
|
||||
if (this.el) {
|
||||
this.printValue(this.startVal);
|
||||
}
|
||||
else {
|
||||
this.error = '[CountUp] target is null or undefined';
|
||||
}
|
||||
}
|
||||
// determines where easing starts and whether to count down or up
|
||||
CountUp.prototype.determineDirectionAndSmartEasing = function () {
|
||||
var end = (this.finalEndVal) ? this.finalEndVal : this.endVal;
|
||||
this.countDown = (this.startVal > end);
|
||||
var animateAmount = end - this.startVal;
|
||||
if (Math.abs(animateAmount) > this.options.smartEasingThreshold) {
|
||||
this.finalEndVal = end;
|
||||
var up = (this.countDown) ? 1 : -1;
|
||||
this.endVal = end + (up * this.options.smartEasingAmount);
|
||||
this.duration = this.duration / 2;
|
||||
}
|
||||
else {
|
||||
this.endVal = end;
|
||||
this.finalEndVal = null;
|
||||
}
|
||||
if (this.finalEndVal) {
|
||||
this.useEasing = false;
|
||||
}
|
||||
else {
|
||||
this.useEasing = this.options.useEasing;
|
||||
}
|
||||
};
|
||||
// start animation
|
||||
CountUp.prototype.start = function (callback) {
|
||||
if (this.error) {
|
||||
return;
|
||||
}
|
||||
this.callback = callback;
|
||||
if (this.duration > 0) {
|
||||
this.determineDirectionAndSmartEasing();
|
||||
this.paused = false;
|
||||
this.rAF = requestAnimationFrame(this.count);
|
||||
}
|
||||
else {
|
||||
this.printValue(this.endVal);
|
||||
}
|
||||
};
|
||||
// pause/resume animation
|
||||
CountUp.prototype.pauseResume = function () {
|
||||
if (!this.paused) {
|
||||
cancelAnimationFrame(this.rAF);
|
||||
}
|
||||
else {
|
||||
this.startTime = null;
|
||||
this.duration = this.remaining;
|
||||
this.startVal = this.frameVal;
|
||||
this.determineDirectionAndSmartEasing();
|
||||
this.rAF = requestAnimationFrame(this.count);
|
||||
}
|
||||
this.paused = !this.paused;
|
||||
};
|
||||
// reset to startVal so animation can be run again
|
||||
CountUp.prototype.reset = function () {
|
||||
cancelAnimationFrame(this.rAF);
|
||||
this.paused = true;
|
||||
this.resetDuration();
|
||||
this.startVal = this.validateValue(this.options.startVal);
|
||||
this.frameVal = this.startVal;
|
||||
this.printValue(this.startVal);
|
||||
};
|
||||
// pass a new endVal and start animation
|
||||
CountUp.prototype.update = function (newEndVal) {
|
||||
cancelAnimationFrame(this.rAF);
|
||||
this.startTime = null;
|
||||
this.endVal = this.validateValue(newEndVal);
|
||||
if (this.endVal === this.frameVal) {
|
||||
return;
|
||||
}
|
||||
this.startVal = this.frameVal;
|
||||
if (!this.finalEndVal) {
|
||||
this.resetDuration();
|
||||
}
|
||||
this.finalEndVal = null;
|
||||
this.determineDirectionAndSmartEasing();
|
||||
this.rAF = requestAnimationFrame(this.count);
|
||||
};
|
||||
CountUp.prototype.printValue = function (val) {
|
||||
var result = this.formattingFn(val);
|
||||
if (this.el.tagName === 'INPUT') {
|
||||
var input = this.el;
|
||||
input.value = result;
|
||||
}
|
||||
else if (this.el.tagName === 'text' || this.el.tagName === 'tspan') {
|
||||
this.el.textContent = result;
|
||||
}
|
||||
else {
|
||||
this.el.innerHTML = result;
|
||||
}
|
||||
};
|
||||
CountUp.prototype.ensureNumber = function (n) {
|
||||
return (typeof n === 'number' && !isNaN(n));
|
||||
};
|
||||
CountUp.prototype.validateValue = function (value) {
|
||||
var newValue = Number(value);
|
||||
if (!this.ensureNumber(newValue)) {
|
||||
this.error = "[CountUp] invalid start or end value: " + value;
|
||||
return null;
|
||||
}
|
||||
else {
|
||||
return newValue;
|
||||
}
|
||||
};
|
||||
CountUp.prototype.resetDuration = function () {
|
||||
this.startTime = null;
|
||||
this.duration = Number(this.options.duration) * 1000;
|
||||
this.remaining = this.duration;
|
||||
};
|
||||
return CountUp;
|
||||
}());
|
||||
export { CountUp };
|
12
wwwroot/lib/litepicker/dist/litepicker.js
vendored
Normal file
12
wwwroot/lib/litepicker/dist/litepicker.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
wwwroot/lib/nouislider/dist/nouislider.min.js
vendored
Normal file
1
wwwroot/lib/nouislider/dist/nouislider.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
300
wwwroot/lib/tom-select/dist/js/tom-select.base.min.js
vendored
Normal file
300
wwwroot/lib/tom-select/dist/js/tom-select.base.min.js
vendored
Normal file
|
@ -0,0 +1,300 @@
|
|||
/**
|
||||
* Tom Select v1.7.8
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
*/
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).TomSelect=t()}(this,(function(){"use strict"
|
||||
function e(e,t){e.split(/\s+/).forEach((e=>{t(e)}))}class t{constructor(){this._events={}}on(t,i){e(t,(e=>{this._events[e]=this._events[e]||[],this._events[e].push(i)}))}off(t,i){var s=arguments.length
|
||||
0!==s?e(t,(e=>{if(1===s)return delete this._events[e]
|
||||
e in this._events!=!1&&this._events[e].splice(this._events[e].indexOf(i),1)})):this._events={}}trigger(t,...i){var s=this
|
||||
e(t,(e=>{if(e in s._events!=!1)for(let t of s._events[e])t.apply(s,i)}))}}var i
|
||||
const s="[̀-ͯ·ʾ]",n=new RegExp(s,"g")
|
||||
var o
|
||||
const r={"æ":"ae","ⱥ":"a","ø":"o"},l=new RegExp(Object.keys(r).join("|"),"g"),a=[[67,67],[160,160],[192,438],[452,652],[961,961],[1019,1019],[1083,1083],[1281,1289],[1984,1984],[5095,5095],[7429,7441],[7545,7549],[7680,7935],[8580,8580],[9398,9449],[11360,11391],[42792,42793],[42802,42851],[42873,42897],[42912,42922],[64256,64260],[65313,65338],[65345,65370]],c=e=>e.normalize("NFKD").replace(n,"").toLowerCase().replace(l,(function(e){return r[e]})),d=(e,t="|")=>e.length>1?"(?:"+e.join(t)+")":e[0],p=e=>{if(1===e.length)return[[e]]
|
||||
var t=[]
|
||||
return p(e.substring(1)).forEach((function(i){var s=i.slice(0)
|
||||
s[0]=e.charAt(0)+s[0],t.push(s),(s=i.slice(0)).unshift(e.charAt(0)),t.push(s)})),t},u=e=>{void 0===o&&(o=(()=>{var e={}
|
||||
a.forEach((t=>{for(let i=t[0];i<=t[1];i++){let t=String.fromCharCode(i),s=c(t)
|
||||
s!=t.toLowerCase()&&(s in e||(e[s]=[s]),e[s].push(t))}}))
|
||||
var t=Object.keys(e)
|
||||
t=t.sort(((e,t)=>t.length-e.length)),i=new RegExp("("+d(t)+"[̀-ͯ·ʾ]*)","g")
|
||||
var s={}
|
||||
return t.sort(((e,t)=>e.length-t.length)).forEach((t=>{var i=p(t).map((t=>(t=t.map((t=>e.hasOwnProperty(t)?d(e[t]):t)),d(t,""))))
|
||||
s[t]=d(i)})),s})())
|
||||
return e.normalize("NFKD").toLowerCase().split(i).map((e=>{if(""==e)return""
|
||||
const t=c(e)
|
||||
if(o.hasOwnProperty(t))return o[t]
|
||||
const i=e.normalize("NFC")
|
||||
return i!=e?d([e,i]):e})).join("")},h=(e,t)=>{if(e)return e[t]},g=(e,t)=>{if(e){for(var i,s=t.split(".");(i=s.shift())&&(e=e[i]););return e}},m=(e,t,i)=>{var s,n
|
||||
return e?-1===(n=(e+="").search(t.regex))?0:(s=t.string.length/e.length,0===n&&(s+=.5),s*i):0},f=e=>(e+"").replace(/([\$\(-\+\.\?\[-\^\{-\}])/g,"\\$1"),v=(e,t)=>{var i=e[t]
|
||||
i&&!Array.isArray(i)&&(e[t]=[i])},y=(e,t)=>{if(Array.isArray(e))e.forEach(t)
|
||||
else for(var i in e)e.hasOwnProperty(i)&&t(e[i],i)},O=(e,t)=>"number"==typeof e&&"number"==typeof t?e>t?1:e<t?-1:0:(e=c(e+"").toLowerCase())>(t=c(t+"").toLowerCase())?1:t>e?-1:0
|
||||
class b{constructor(e,t){this.items=e,this.settings=t||{diacritics:!0}}tokenize(e,t,i){if(!e||!e.length)return[]
|
||||
const s=[],n=e.split(/\s+/)
|
||||
var o
|
||||
return i&&(o=new RegExp("^("+Object.keys(i).map(f).join("|")+"):(.*)$")),n.forEach((e=>{let i,n=null,r=null
|
||||
o&&(i=e.match(o))&&(n=i[1],e=i[2]),e.length>0&&(r=f(e),this.settings.diacritics&&(r=u(r)),t&&(r="\\b"+r)),s.push({string:e,regex:r?new RegExp(r,"iu"):null,field:n})})),s}getScoreFunction(e,t){var i=this.prepareSearch(e,t)
|
||||
return this._getScoreFunction(i)}_getScoreFunction(e){const t=e.tokens,i=t.length
|
||||
if(!i)return function(){return 0}
|
||||
const s=e.options.fields,n=e.weights,o=s.length,r=e.getAttrFn
|
||||
if(!o)return function(){return 1}
|
||||
const l=1===o?function(e,t){const i=s[0].field
|
||||
return m(r(t,i),e,n[i])}:function(e,t){var i=0
|
||||
if(e.field){const s=r(t,e.field)
|
||||
!e.regex&&s?i+=1/o:i+=m(s,e,1)}else y(n,((s,n)=>{i+=m(r(t,n),e,s)}))
|
||||
return i/o}
|
||||
return 1===i?function(e){return l(t[0],e)}:"and"===e.options.conjunction?function(e){for(var s,n=0,o=0;n<i;n++){if((s=l(t[n],e))<=0)return 0
|
||||
o+=s}return o/i}:function(e){var s=0
|
||||
return y(t,(t=>{s+=l(t,e)})),s/i}}getSortFunction(e,t){var i=this.prepareSearch(e,t)
|
||||
return this._getSortFunction(i)}_getSortFunction(e){var t,i,s
|
||||
const n=this,o=e.options,r=!e.query&&o.sort_empty?o.sort_empty:o.sort,l=[],a=[],c=function(t,i){return"$score"===t?i.score:e.getAttrFn(n.items[i.id],t)}
|
||||
if(r)for(t=0,i=r.length;t<i;t++)(e.query||"$score"!==r[t].field)&&l.push(r[t])
|
||||
if(e.query){for(s=!0,t=0,i=l.length;t<i;t++)if("$score"===l[t].field){s=!1
|
||||
break}s&&l.unshift({field:"$score",direction:"desc"})}else for(t=0,i=l.length;t<i;t++)if("$score"===l[t].field){l.splice(t,1)
|
||||
break}for(t=0,i=l.length;t<i;t++)a.push("desc"===l[t].direction?-1:1)
|
||||
const d=l.length
|
||||
if(d){if(1===d){const e=l[0].field,t=a[0]
|
||||
return function(i,s){return t*O(c(e,i),c(e,s))}}return function(e,t){var i,s,n
|
||||
for(i=0;i<d;i++)if(n=l[i].field,s=a[i]*O(c(n,e),c(n,t)))return s
|
||||
return 0}}return null}prepareSearch(e,t){const i={}
|
||||
var s=Object.assign({},t)
|
||||
if(v(s,"sort"),v(s,"sort_empty"),s.fields){v(s,"fields")
|
||||
const e=[]
|
||||
s.fields.forEach((t=>{"string"==typeof t&&(t={field:t,weight:1}),e.push(t),i[t.field]="weight"in t?t.weight:1})),s.fields=e}return{options:s,query:e.toLowerCase().trim(),tokens:this.tokenize(e,s.respect_word_boundaries,i),total:0,items:[],weights:i,getAttrFn:s.nesting?g:h}}search(e,t){var i,s,n=this
|
||||
s=this.prepareSearch(e,t),t=s.options,e=s.query
|
||||
const o=t.score||n._getScoreFunction(s)
|
||||
e.length?y(n.items,((e,n)=>{i=o(e),(!1===t.filter||i>0)&&s.items.push({score:i,id:n})})):y(n.items,((e,t)=>{s.items.push({score:1,id:t})}))
|
||||
const r=n._getSortFunction(s)
|
||||
return r&&s.items.sort(r),s.total=s.items.length,"number"==typeof t.limit&&(s.items=s.items.slice(0,t.limit)),s}}const w=e=>{if(e.jquery)return e[0]
|
||||
if(e instanceof HTMLElement)return e
|
||||
if(e.indexOf("<")>-1){let t=document.createElement("div")
|
||||
return t.innerHTML=e.trim(),t.firstChild}return document.querySelector(e)},I=(e,t)=>{var i=document.createEvent("HTMLEvents")
|
||||
i.initEvent(t,!0,!1),e.dispatchEvent(i)},C=(e,t)=>{Object.assign(e.style,t)},A=(e,...t)=>{var i=S(t);(e=F(e)).map((e=>{i.map((t=>{e.classList.add(t)}))}))},_=(e,...t)=>{var i=S(t);(e=F(e)).map((e=>{i.map((t=>{e.classList.remove(t)}))}))},S=e=>{var t=[]
|
||||
for(let i of e)"string"==typeof i&&(i=i.trim().split(/[\11\12\14\15\40]/)),Array.isArray(i)&&(t=t.concat(i))
|
||||
return t.filter(Boolean)},F=e=>(Array.isArray(e)||(e=[e]),e),x=(e,t,i)=>{if(!i||i.contains(e))for(;e&&e.matches;){if(e.matches(t))return e
|
||||
e=e.parentNode}},k=(e,t=0)=>t>0?e[e.length-1]:e[0],P=(e,t)=>{if(!e)return-1
|
||||
t=t||e.nodeName
|
||||
for(var i=0;e=e.previousElementSibling;)e.matches(t)&&i++
|
||||
return i},L=(e,t)=>{for(const i in t){let s=t[i]
|
||||
null==s?e.removeAttribute(i):e.setAttribute(i,""+s)}},E=(e,t)=>{e.parentNode&&e.parentNode.replaceChild(t,e)},T=(e,t)=>{if(null===t)return
|
||||
if("string"==typeof t){if(!t.length)return
|
||||
t=new RegExp(t,"i")}const i=e=>3===e.nodeType?(e=>{var i=e.data.match(t)
|
||||
if(i&&e.data.length>0){var s=document.createElement("span")
|
||||
s.className="highlight"
|
||||
var n=e.splitText(i.index)
|
||||
n.splitText(i[0].length)
|
||||
var o=n.cloneNode(!0)
|
||||
return s.appendChild(o),E(n,s),1}return 0})(e):((e=>{if(1===e.nodeType&&e.childNodes&&!/(script|style)/i.test(e.tagName)&&("highlight"!==e.className||"SPAN"!==e.tagName))for(var t=0;t<e.childNodes.length;++t)t+=i(e.childNodes[t])})(e),0)
|
||||
i(e)},q="undefined"!=typeof navigator&&/Mac/.test(navigator.userAgent)?"metaKey":"ctrlKey"
|
||||
var V={options:[],optgroups:[],plugins:[],delimiter:",",splitOn:null,persist:!0,diacritics:!0,create:null,createOnBlur:!1,createFilter:null,highlight:!0,openOnFocus:!0,shouldOpen:null,maxOptions:50,maxItems:null,hideSelected:null,duplicates:!1,addPrecedence:!1,selectOnTab:!1,preload:null,allowEmptyOption:!1,closeAfterSelect:!1,loadThrottle:300,loadingClass:"loading",dataAttr:null,optgroupField:"optgroup",valueField:"value",labelField:"text",disabledField:"disabled",optgroupLabelField:"label",optgroupValueField:"value",lockOptgroupOrder:!1,sortField:"$order",searchField:["text"],searchConjunction:"and",mode:null,wrapperClass:"ts-control",inputClass:"ts-input",dropdownClass:"ts-dropdown",dropdownContentClass:"ts-dropdown-content",itemClass:"item",optionClass:"option",dropdownParent:null,controlInput:null,copyClassesToDropdown:!0,placeholder:null,hidePlaceholder:null,shouldLoad:function(e){return e.length>0},render:{}}
|
||||
const j=e=>null==e?null:$(e),$=e=>"boolean"==typeof e?e?"1":"0":e+"",D=e=>(e+"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""),N=(e,t)=>{var i
|
||||
return function(s,n){var o=this
|
||||
i&&(o.loading=Math.max(o.loading-1,0),clearTimeout(i)),i=setTimeout((function(){i=null,o.loadedSearches[s]=!0,e.call(o,s,n)}),t)}},R=(e,t,i)=>{var s,n=e.trigger,o={}
|
||||
for(s in e.trigger=function(){var i=arguments[0]
|
||||
if(-1===t.indexOf(i))return n.apply(e,arguments)
|
||||
o[i]=arguments},i.apply(e,[]),e.trigger=n,o)n.apply(e,o[s])},H=(e,t=!1)=>{e&&(e.preventDefault(),t&&e.stopPropagation())},z=(e,t,i,s)=>{e.addEventListener(t,i,s)},K=(e,t)=>!!t&&(!!t[e]&&1===(t.altKey?1:0)+(t.ctrlKey?1:0)+(t.shiftKey?1:0)+(t.metaKey?1:0)),M=(e,t)=>{const i=e.getAttribute("id")
|
||||
return i||(e.setAttribute("id",t),t)},B=e=>e.replace(/[\\"']/g,"\\$&"),Q=(e,t)=>{t&&e.append(t)}
|
||||
var G=0
|
||||
class U extends(function(e){return e.plugins={},class extends e{constructor(...e){super(...e),this.plugins={names:[],settings:{},requested:{},loaded:{}}}static define(t,i){e.plugins[t]={name:t,fn:i}}initializePlugins(e){var t,i
|
||||
const s=this,n=[]
|
||||
if(Array.isArray(e))e.forEach((e=>{"string"==typeof e?n.push(e):(s.plugins.settings[e.name]=e.options,n.push(e.name))}))
|
||||
else if(e)for(t in e)e.hasOwnProperty(t)&&(s.plugins.settings[t]=e[t],n.push(t))
|
||||
for(;i=n.shift();)s.require(i)}loadPlugin(t){var i=this,s=i.plugins,n=e.plugins[t]
|
||||
if(!e.plugins.hasOwnProperty(t))throw new Error('Unable to find "'+t+'" plugin')
|
||||
s.requested[t]=!0,s.loaded[t]=n.fn.apply(i,[i.plugins.settings[t]||{}]),s.names.push(t)}require(e){var t=this,i=t.plugins
|
||||
if(!t.plugins.loaded.hasOwnProperty(e)){if(i.requested[e])throw new Error('Plugin has circular dependency ("'+e+'")')
|
||||
t.loadPlugin(e)}return i.loaded[e]}}}(t)){constructor(e,t){var i
|
||||
super(),this.order=0,this.tab_key=!1,this.isOpen=!1,this.isDisabled=!1,this.isInvalid=!1,this.isLocked=!1,this.isFocused=!1,this.isInputHidden=!1,this.isSetup=!1,this.ignoreFocus=!1,this.hasOptions=!1,this.lastValue="",this.caretPos=0,this.loading=0,this.loadedSearches={},this.activeOption=null,this.activeItems=[],this.optgroups={},this.options={},this.userOptions={},this.items=[],this.renderCache={item:{},option:{}},G++
|
||||
var s=w(e),n=this
|
||||
if(s.tomselect)throw new Error("Tom Select already initialized on this element")
|
||||
s.tomselect=this,i=(window.getComputedStyle&&window.getComputedStyle(s,null)).getPropertyValue("direction"),this.settings=function(e,t){var i=Object.assign({},V,t),s=i.dataAttr,n=i.labelField,o=i.valueField,r=i.disabledField,l=i.optgroupField,a=i.optgroupLabelField,c=i.optgroupValueField,d=e.tagName.toLowerCase(),p=e.getAttribute("placeholder")||e.getAttribute("data-placeholder")
|
||||
if(!p&&!i.allowEmptyOption){let t=e.querySelector('option[value=""]')
|
||||
t&&(p=t.textContent)}var u={placeholder:p,options:[],optgroups:[],items:[],maxItems:null}
|
||||
return"select"===d?(()=>{var t,d=u.options,p={},h=1,g=e=>{var t=Object.assign({},e.dataset),i=s&&t[s]
|
||||
return"string"==typeof i&&i.length&&(t=Object.assign(t,JSON.parse(i))),t},m=(e,t)=>{var s=j(e.value)
|
||||
if(null!=s&&(s||i.allowEmptyOption)){if(p.hasOwnProperty(s)){if(t){var a=p[s][l]
|
||||
a?Array.isArray(a)?a.push(t):p[s][l]=[a,t]:p[s][l]=t}}else{var c=g(e)
|
||||
c[n]=c[n]||e.textContent,c[o]=c[o]||s,c[r]=c[r]||e.disabled,c[l]=c[l]||t,c.$option=e,p[s]=c,d.push(c)}e.selected&&u.items.push(s)}},f=e=>{var t,i;(i=g(e))[a]=i[a]||e.getAttribute("label")||"",i[c]=i[c]||h++,i[r]=i[r]||e.disabled,u.optgroups.push(i),t=i[c]
|
||||
for(const i of e.children)m(i,t)}
|
||||
u.maxItems=e.hasAttribute("multiple")?null:1
|
||||
for(const i of e.children)"optgroup"===(t=i.tagName.toLowerCase())?f(i):"option"===t&&m(i)})():(()=>{const t=e.getAttribute(s)
|
||||
if(t){u.options=JSON.parse(t)
|
||||
for(const e of u.options)u.items.push(e[o])}else{var r=e.value.trim()||""
|
||||
if(!i.allowEmptyOption&&!r.length)return
|
||||
const t=r.split(i.delimiter)
|
||||
for(const e of t){const t={}
|
||||
t[n]=e,t[o]=e,u.options.push(t)}u.items=t}})(),Object.assign({},V,u,t)}(s,t),this.input=s,this.tabIndex=s.tabIndex||0,this.is_select_tag="select"===s.tagName.toLowerCase(),this.rtl=/rtl/i.test(i),this.inputId=M(s,"tomselect-"+G),this.isRequired=s.required,this.sifter=new b(this.options,{diacritics:this.settings.diacritics}),this.setupOptions(this.settings.options,this.settings.optgroups),delete this.settings.optgroups,delete this.settings.options,this.settings.mode=this.settings.mode||(1===this.settings.maxItems?"single":"multi"),"boolean"!=typeof this.settings.hideSelected&&(this.settings.hideSelected="multi"===this.settings.mode),"boolean"!=typeof this.settings.hidePlaceholder&&(this.settings.hidePlaceholder="multi"!==this.settings.mode)
|
||||
var o=this.settings.createFilter
|
||||
"function"!=typeof o&&("string"==typeof o&&(o=new RegExp(o)),o instanceof RegExp?this.settings.createFilter=e=>o.test(e):this.settings.createFilter=()=>!0),this.initializePlugins(this.settings.plugins),this.setupCallbacks(),this.setupTemplates()
|
||||
var r,l,a,c,d,p,u,h,g
|
||||
t=n.settings,s=n.input
|
||||
const m={passive:!0},v=n.inputId+"-ts-dropdown"
|
||||
if(p=n.settings.mode,u=s.getAttribute("class")||"",r=w("<div>"),A(r,t.wrapperClass,u,p),l=w('<div class="items">'),A(l,t.inputClass),Q(r,l),c=n._render("dropdown"),A(c,t.dropdownClass,p),d=w(`<div role="listbox" id="${v}" tabindex="-1">`),A(d,t.dropdownContentClass),Q(c,d),w(t.dropdownParent||r).appendChild(c),t.controlInput)a=w(t.controlInput)
|
||||
else{a=w('<input type="text" autocomplete="off" size="1" />')
|
||||
for(const e of["autocorrect","autocapitalize","autocomplete"])s.getAttribute(e)&&L(a,{[e]:s.getAttribute(e)})}t.controlInput||(a.tabIndex=s.disabled?-1:n.tabIndex,l.appendChild(a)),L(a,{role:"combobox",haspopup:"listbox","aria-expanded":"false","aria-controls":v}),g=M(a,n.inputId+"-tomselected")
|
||||
let y="label[for='"+(e=>e.replace(/['"\\]/g,"\\$&"))(n.inputId)+"']",O=document.querySelector(y)
|
||||
if(O){L(O,{for:g})
|
||||
let e=M(O,n.inputId+"-ts-label")
|
||||
L(d,{"aria-labelledby":e})}n.settings.copyClassesToDropdown&&A(c,u),r.style.width=s.style.width,n.plugins.names.length&&(h="plugin-"+n.plugins.names.join(" plugin-"),A([r,c],h)),(null===t.maxItems||t.maxItems>1)&&n.is_select_tag&&L(s,{multiple:"multiple"}),n.settings.placeholder&&L(a,{placeholder:t.placeholder}),!n.settings.splitOn&&n.settings.delimiter&&(n.settings.splitOn=new RegExp("\\s*"+f(n.settings.delimiter)+"+\\s*")),this.settings.load&&this.settings.loadThrottle&&(this.settings.load=N(this.settings.load,this.settings.loadThrottle)),this.control=l,this.control_input=a,this.wrapper=r,this.dropdown=c,this.dropdown_content=d,n.control_input.type=s.type,z(c,"click",(e=>{const t=x(e.target,"[data-selectable]")
|
||||
t&&(n.onOptionSelect(e,t),H(e,!0))})),z(l,"click",(e=>{var t=x(e.target,"."+n.settings.itemClass,l)
|
||||
t&&n.onItemSelect(e,t)?H(e,!0):""==a.value&&(n.onClick(),H(e,!0))})),z(a,"mousedown",(e=>{""!==a.value&&e.stopPropagation()})),z(a,"keydown",(e=>n.onKeyDown(e))),z(a,"keyup",(e=>n.onKeyUp(e))),z(a,"keypress",(e=>n.onKeyPress(e))),z(a,"resize",(()=>n.positionDropdown()),m),z(a,"blur",(()=>n.onBlur())),z(a,"focus",(e=>n.onFocus(e))),z(a,"paste",(e=>n.onPaste(e)))
|
||||
const I=e=>{const t=e.composedPath()[0]
|
||||
if(!r.contains(t)&&!c.contains(t))return n.isFocused&&n.blur(),void n.inputState()
|
||||
H(e,!0)}
|
||||
var C=()=>{n.isOpen&&n.positionDropdown()}
|
||||
z(document,"mousedown",I),z(window,"sroll",C,m),z(window,"resize",C,m),this._destroy=()=>{document.removeEventListener("mousedown",I),window.removeEventListener("sroll",C),window.removeEventListener("resize",C)},this.revertSettings={innerHTML:s.innerHTML,tabIndex:s.tabIndex},s.tabIndex=-1,L(s,{hidden:"hidden"}),s.insertAdjacentElement("afterend",n.wrapper),n.setValue(t.items),t.items=[],z(s,"invalid",(e=>{H(e),n.isInvalid||(n.isInvalid=!0,n.refreshState())})),n.updateOriginalInput(),n.refreshItems(),n.close(!1),n.inputState(),n.isSetup=!0,s.disabled&&n.disable(),n.on("change",this.onChange),A(s,"tomselected"),n.trigger("initialize"),!0===t.preload&&n.load(""),n.setup()}setup(){}setupOptions(e=[],t=[]){for(const t of e)this.registerOption(t)
|
||||
for(const e of t)this.registerOptionGroup(e)}setupTemplates(){var e=this,t=e.settings.labelField,i=e.settings.optgroupLabelField,s={optgroup:e=>{let t=document.createElement("div")
|
||||
return t.className="optgroup",t.appendChild(e.options),t},optgroup_header:(e,t)=>'<div class="optgroup-header">'+t(e[i])+"</div>",option:(e,i)=>"<div>"+i(e[t])+"</div>",item:(e,i)=>"<div>"+i(e[t])+"</div>",option_create:(e,t)=>'<div class="create">Add <strong>'+t(e.input)+"</strong>…</div>",no_results:()=>'<div class="no-results">No results found</div>',loading:()=>'<div class="spinner"></div>',not_loading:()=>{},dropdown:()=>"<div></div>"}
|
||||
e.settings.render=Object.assign({},s,e.settings.render)}setupCallbacks(){var e,t,i={initialize:"onInitialize",change:"onChange",item_add:"onItemAdd",item_remove:"onItemRemove",item_select:"onItemSelect",clear:"onClear",option_add:"onOptionAdd",option_remove:"onOptionRemove",option_clear:"onOptionClear",optgroup_add:"onOptionGroupAdd",optgroup_remove:"onOptionGroupRemove",optgroup_clear:"onOptionGroupClear",dropdown_open:"onDropdownOpen",dropdown_close:"onDropdownClose",type:"onType",load:"onLoad",focus:"onFocus",blur:"onBlur"}
|
||||
for(e in i)(t=this.settings[i[e]])&&this.on(e,t)}onClick(){var e=this
|
||||
if(e.activeItems.length>0)return e.clearActiveItems(),void e.focus()
|
||||
e.isFocused&&e.isOpen?e.blur():e.focus()}onMouseDown(){}onChange(){I(this.input,"input"),I(this.input,"change")}onPaste(e){var t=this
|
||||
t.isFull()||t.isInputHidden||t.isLocked?H(e):t.settings.splitOn&&setTimeout((()=>{var e=t.inputValue()
|
||||
if(e.match(t.settings.splitOn)){var i=e.trim().split(t.settings.splitOn)
|
||||
for(const e of i)t.createItem(e)}}),0)}onKeyPress(e){var t=this
|
||||
if(!t.isLocked){var i=String.fromCharCode(e.keyCode||e.which)
|
||||
return t.settings.create&&"multi"===t.settings.mode&&i===t.settings.delimiter?(t.createItem(),void H(e)):void 0}H(e)}onKeyDown(e){var t=this
|
||||
if(t.isLocked)9!==e.keyCode&&H(e)
|
||||
else{switch(e.keyCode){case 65:if(K(q,e))return void t.selectAll()
|
||||
break
|
||||
case 27:return t.isOpen&&(H(e,!0),t.close()),void t.clearActiveItems()
|
||||
case 40:if(!t.isOpen&&t.hasOptions)t.open()
|
||||
else if(t.activeOption){let e=t.getAdjacent(t.activeOption,1)
|
||||
e&&t.setActiveOption(e)}return void H(e)
|
||||
case 38:if(t.activeOption){let e=t.getAdjacent(t.activeOption,-1)
|
||||
e&&t.setActiveOption(e)}return void H(e)
|
||||
case 13:return void(t.isOpen&&t.activeOption?(t.onOptionSelect(e,t.activeOption),H(e)):t.settings.create&&t.createItem()&&H(e))
|
||||
case 37:return void t.advanceSelection(-1,e)
|
||||
case 39:return void t.advanceSelection(1,e)
|
||||
case 9:return void(t.settings.selectOnTab&&(t.isOpen&&t.activeOption&&(t.tab_key=!0,t.onOptionSelect(e,t.activeOption),H(e),t.tab_key=!1),t.settings.create&&t.createItem()&&H(e)))
|
||||
case 8:case 46:return void t.deleteSelection(e)}t.isInputHidden&&!K(q,e)&&H(e)}}onKeyUp(e){var t=this
|
||||
if(t.isLocked)H(e)
|
||||
else{var i=t.inputValue()
|
||||
t.lastValue!==i&&(t.lastValue=i,t.settings.shouldLoad.call(t,i)&&t.load(i),t.refreshOptions(),t.trigger("type",i))}}onFocus(e){var t=this,i=t.isFocused
|
||||
if(t.isDisabled)return t.blur(),void H(e)
|
||||
t.ignoreFocus||(t.isFocused=!0,"focus"===t.settings.preload&&t.load(""),i||t.trigger("focus"),t.activeItems.length||(t.showInput(),t.refreshOptions(!!t.settings.openOnFocus)),t.refreshState())}onBlur(){var e=this
|
||||
if(e.isFocused){e.isFocused=!1,e.ignoreFocus=!1
|
||||
var t=()=>{e.close(),e.setActiveItem(),e.setCaret(e.items.length),e.trigger("blur")}
|
||||
e.settings.create&&e.settings.createOnBlur?e.createItem(null,!1,t):t()}}onOptionSelect(e,t){var i,s=this
|
||||
t&&(t.parentElement&&t.parentElement.matches("[data-disabled]")||(t.classList.contains("create")?s.createItem(null,!0,(()=>{s.settings.closeAfterSelect&&s.close()})):void 0!==(i=t.dataset.value)&&(s.lastQuery=null,s.addItem(i),s.settings.closeAfterSelect&&s.close(),!s.settings.hideSelected&&e.type&&/click/.test(e.type)&&s.setActiveOption(t))))}onItemSelect(e,t){var i=this
|
||||
return!i.isLocked&&"multi"===i.settings.mode&&(H(e),i.setActiveItem(t,e),!0)}canLoad(e){return!!this.settings.load&&!this.loadedSearches.hasOwnProperty(e)}load(e){const t=this
|
||||
if(!t.canLoad(e))return
|
||||
A(t.wrapper,t.settings.loadingClass),t.loading++
|
||||
const i=t.loadCallback.bind(t)
|
||||
t.settings.load.call(t,e,i)}loadCallback(e,t){const i=this
|
||||
i.loading=Math.max(i.loading-1,0),i.lastQuery=null,i.clearActiveOption(),i.setupOptions(e,t),i.refreshOptions(i.isFocused&&!i.isInputHidden),i.loading||_(i.wrapper,i.settings.loadingClass),i.trigger("load",e,t)}setTextboxValue(e=""){var t=this.control_input
|
||||
t.value!==e&&(t.value=e,I(t,"update"),this.lastValue=e)}getValue(){return this.is_select_tag&&this.input.hasAttribute("multiple")?this.items:this.items.join(this.settings.delimiter)}setValue(e,t){R(this,t?[]:["change"],(()=>{this.clear(t),this.addItems(e,t)}))}setMaxItems(e){0===e&&(e=null),this.settings.maxItems=e,this.refreshState()}setActiveItem(e,t){var i,s,n,o,r,l,a=this
|
||||
if("single"!==a.settings.mode){if(!e)return a.clearActiveItems(),void(a.isFocused&&a.showInput())
|
||||
if("click"===(i=t&&t.type.toLowerCase())&&K("shiftKey",t)&&a.activeItems.length){for(l=a.getLastActive(),(n=Array.prototype.indexOf.call(a.control.children,l))>(o=Array.prototype.indexOf.call(a.control.children,e))&&(r=n,n=o,o=r),s=n;s<=o;s++)e=a.control.children[s],-1===a.activeItems.indexOf(e)&&a.setActiveItemClass(e)
|
||||
H(t)}else"click"===i&&K(q,t)||"keydown"===i&&K("shiftKey",t)?e.classList.contains("active")?a.removeActiveItem(e):a.setActiveItemClass(e):(a.clearActiveItems(),a.setActiveItemClass(e))
|
||||
a.hideInput(),a.isFocused||a.focus()}}setActiveItemClass(e){const t=this,i=t.control.querySelector(".last-active")
|
||||
i&&_(i,"last-active"),A(e,"active last-active"),t.trigger("item_select",e),-1==t.activeItems.indexOf(e)&&t.activeItems.push(e)}removeActiveItem(e){var t=this.activeItems.indexOf(e)
|
||||
this.activeItems.splice(t,1),_(e,"active")}clearActiveItems(){_(this.activeItems,"active"),this.activeItems=[]}setActiveOption(e){e!==this.activeOption&&(this.clearActiveOption(),e&&(this.activeOption=e,L(this.control_input,{"aria-activedescendant":e.getAttribute("id")}),L(e,{"aria-selected":"true"}),A(e,"active"),this.scrollToOption(e)))}scrollToOption(e,t){if(!e)return
|
||||
const i=this.dropdown_content,s=i.clientHeight,n=i.scrollTop||0,o=e.offsetHeight,r=e.getBoundingClientRect().top-i.getBoundingClientRect().top+n
|
||||
r+o>s+n?this.scroll(r-s+o,t):r<n&&this.scroll(r,t)}scroll(e,t){const i=this.dropdown_content
|
||||
t&&(i.style.scrollBehavior=t),i.scrollTop=e,i.style.scrollBehavior=""}clearActiveOption(){this.activeOption&&(_(this.activeOption,"active"),L(this.activeOption,{"aria-selected":null})),this.activeOption=null,L(this.control_input,{"aria-activedescendant":null})}selectAll(){"single"!==this.settings.mode&&(this.activeItems=this.controlChildren(),this.activeItems.length&&(A(this.activeItems,"active"),this.hideInput(),this.close()),this.focus())}inputState(){var e=this
|
||||
e.settings.controlInput||(e.activeItems.length>0||!e.isFocused&&this.settings.hidePlaceholder&&e.items.length>0?(e.setTextboxValue(),e.isInputHidden=!0,A(e.wrapper,"input-hidden")):(e.isInputHidden=!1,_(e.wrapper,"input-hidden")))}hideInput(){this.inputState()}showInput(){this.inputState()}inputValue(){return this.control_input.value.trim()}focus(){var e=this
|
||||
e.isDisabled||(e.ignoreFocus=!0,e.control_input.focus(),setTimeout((()=>{e.ignoreFocus=!1,e.onFocus()}),0))}blur(){this.control_input.blur(),this.onBlur()}getScoreFunction(e){return this.sifter.getScoreFunction(e,this.getSearchOptions())}getSearchOptions(){var e=this.settings,t=e.sortField
|
||||
return"string"==typeof e.sortField&&(t=[{field:e.sortField}]),{fields:e.searchField,conjunction:e.searchConjunction,sort:t,nesting:e.nesting}}search(e){var t,i,s,n=this,o=this.getSearchOptions()
|
||||
if(n.settings.score&&"function"!=typeof(s=n.settings.score.call(n,e)))throw new Error('Tom Select "score" setting must be a function that returns a function')
|
||||
if(e!==n.lastQuery?(n.lastQuery=e,i=n.sifter.search(e,Object.assign(o,{score:s})),n.currentResults=i):i=Object.assign({},n.currentResults),n.settings.hideSelected)for(t=i.items.length-1;t>=0;t--){let e=j(i.items[t].id)
|
||||
e&&-1!==n.items.indexOf(e)&&i.items.splice(t,1)}return i}refreshOptions(e=!0){var t,i,s,n,o,r,l,a,c,d,p
|
||||
const u={},h=[]
|
||||
var g,m=this,f=m.inputValue(),v=m.search(f),y=m.activeOption,O=m.settings.shouldOpen||!1,b=m.dropdown_content
|
||||
for(y&&(c=y.dataset.value,d=y.closest("[data-group]")),n=v.items.length,"number"==typeof m.settings.maxOptions&&(n=Math.min(n,m.settings.maxOptions)),n>0&&(O=!0),t=0;t<n;t++){let e=v.items[t].id,n=m.options[e],l=m.getOption(e,!0)
|
||||
for(m.settings.hideSelected||l.classList.toggle("selected",m.items.includes(e)),o=n[m.settings.optgroupField]||"",i=0,s=(r=Array.isArray(o)?o:[o])&&r.length;i<s;i++)o=r[i],m.optgroups.hasOwnProperty(o)||(o=""),u.hasOwnProperty(o)||(u[o]=document.createDocumentFragment(),h.push(o)),i>0&&(l=l.cloneNode(!0),L(l,{id:n.$id+"-clone-"+i,"aria-selected":null}),l.classList.add("ts-cloned"),_(l,"active")),c==e&&d&&d.dataset.group===o&&(y=l),u[o].appendChild(l)}for(o of(this.settings.lockOptgroupOrder&&h.sort(((e,t)=>(m.optgroups[e]&&m.optgroups[e].$order||0)-(m.optgroups[t]&&m.optgroups[t].$order||0))),l=document.createDocumentFragment(),h))if(m.optgroups.hasOwnProperty(o)&&u[o].children.length){let e=document.createDocumentFragment(),t=m.render("optgroup_header",m.optgroups[o])
|
||||
Q(e,t),Q(e,u[o])
|
||||
let i=m.render("optgroup",{group:m.optgroups[o],options:e})
|
||||
Q(l,i)}else Q(l,u[o])
|
||||
if(b.innerHTML="",Q(b,l),m.settings.highlight&&(g=b.querySelectorAll("span.highlight"),Array.prototype.forEach.call(g,(function(e){var t=e.parentNode
|
||||
t.replaceChild(e.firstChild,e),t.normalize()})),v.query.length&&v.tokens.length))for(const e of v.tokens)T(b,e.regex)
|
||||
var w=e=>{let t=m.render(e,{input:f})
|
||||
return t&&(O=!0,b.insertBefore(t,b.firstChild)),t}
|
||||
if(m.settings.shouldLoad.call(m,f)?m.loading?w("loading"):0===v.items.length&&w("no_results"):w("not_loading"),(a=m.canCreate(f))&&(p=w("option_create")),m.hasOptions=v.items.length>0||a,O){if(v.items.length>0){if(!b.contains(y)&&"single"===m.settings.mode&&m.items.length&&(y=m.getOption(m.items[0])),!b.contains(y)){let e=0
|
||||
p&&!m.settings.addPrecedence&&(e=1),y=m.selectable()[e]}}else p&&(y=p)
|
||||
e&&!m.isOpen&&(m.open(),m.scrollToOption(y,"auto")),m.setActiveOption(y)}else m.clearActiveOption(),e&&m.isOpen&&m.close(!1)}selectable(){return this.dropdown_content.querySelectorAll("[data-selectable]")}addOption(e){var t,i=this
|
||||
if(Array.isArray(e))for(const t of e)i.addOption(t)
|
||||
else(t=i.registerOption(e))&&(i.userOptions[t]=!0,i.lastQuery=null,i.trigger("option_add",t,e))}registerOption(e){var t=j(e[this.settings.valueField])
|
||||
return null!==t&&!this.options.hasOwnProperty(t)&&(e.$order=e.$order||++this.order,e.$id=this.inputId+"-opt-"+e.$order,this.options[t]=e,t)}registerOptionGroup(e){var t=j(e[this.settings.optgroupValueField])
|
||||
return null!==t&&(e.$order=e.$order||++this.order,this.optgroups[t]=e,t)}addOptionGroup(e,t){var i
|
||||
t[this.settings.optgroupValueField]=e,(i=this.registerOptionGroup(t))&&this.trigger("optgroup_add",i,t)}removeOptionGroup(e){this.optgroups.hasOwnProperty(e)&&(delete this.optgroups[e],this.clearCache(),this.trigger("optgroup_remove",e))}clearOptionGroups(){this.optgroups={},this.clearCache(),this.trigger("optgroup_clear")}updateOption(e,t){const i=this
|
||||
var s,n
|
||||
const o=j(e)
|
||||
if(null===o)return
|
||||
const r=j(t[i.settings.valueField]),l=i.getOption(o),a=i.getItem(o)
|
||||
if(i.options.hasOwnProperty(o)){if("string"!=typeof r)throw new Error("Value must be set in option data")
|
||||
if(t.$order=t.$order||i.options[o].$order,delete i.options[o],i.uncacheValue(r),i.uncacheValue(o,!1),i.options[r]=t,l){if(i.dropdown_content.contains(l)){const e=i._render("option",t)
|
||||
E(l,e),i.activeOption===l&&i.setActiveOption(e)}l.remove()}a&&(-1!==(n=i.items.indexOf(o))&&i.items.splice(n,1,r),s=i._render("item",t),a.classList.contains("active")&&A(s,"active"),E(a,s)),i.lastQuery=null}}removeOption(e,t){const i=this
|
||||
e=$(e),i.uncacheValue(e),delete i.userOptions[e],delete i.options[e],i.lastQuery=null,i.trigger("option_remove",e),i.removeItem(e,t)}clearOptions(){this.loadedSearches={},this.userOptions={},this.clearCache()
|
||||
var e={}
|
||||
for(let t in this.options)this.options.hasOwnProperty(t)&&this.items.indexOf(t)>=0&&(e[t]=this.options[t])
|
||||
this.options=this.sifter.items=e,this.lastQuery=null,this.trigger("option_clear")}uncacheValue(e,t=!0){const i=this,s=i.renderCache.item,n=i.renderCache.option
|
||||
if(s&&delete s[e],n&&delete n[e],t){const t=i.getOption(e)
|
||||
t&&t.remove()}}getOption(e,t=!1){var i=j(e),s=this.rendered("option",i)
|
||||
return!s&&t&&null!==i&&(s=this._render("option",this.options[i])),s}getAdjacent(e,t,i="option"){var s
|
||||
if(!e)return null
|
||||
s="item"==i?this.controlChildren():this.dropdown_content.querySelectorAll("[data-selectable]")
|
||||
for(let i=0;i<s.length;i++)if(s[i]==e)return t>0?s[i+1]:s[i-1]
|
||||
return null}getItem(e){if("object"==typeof e)return e
|
||||
var t=j(e)
|
||||
return null!==t?this.control.querySelector(`[data-value="${B(t)}"]`):null}addItems(e,t){var i=this,s=Array.isArray(e)?e:[e]
|
||||
for(let e=0,n=(s=s.filter((e=>-1===i.items.indexOf(e)))).length;e<n;e++)i.isPending=e<n-1,i.addItem(s[e],t)}addItem(e,t){R(this,t?[]:["change"],(()=>{var i,s
|
||||
const n=this,o=n.settings.mode,r=j(e)
|
||||
if((!r||-1===n.items.indexOf(r)||("single"===o&&n.close(),"single"!==o&&n.settings.duplicates))&&null!==r&&n.options.hasOwnProperty(r)&&("single"===o&&n.clear(t),"multi"!==o||!n.isFull())){if(i=n._render("item",n.options[r]),n.control.contains(i)&&(i=i.cloneNode(!0)),s=n.isFull(),n.items.splice(n.caretPos,0,r),n.insertAtCaret(i),n.isSetup){let e=n.selectable()
|
||||
if(!n.isPending&&n.settings.hideSelected){let e=n.getOption(r),t=n.getAdjacent(e,1)
|
||||
t&&n.setActiveOption(t)}n.isPending||n.refreshOptions(n.isFocused&&"single"!==o),!e.length||n.isFull()?n.close():n.isPending||n.positionDropdown(),n.trigger("item_add",r,i),n.isPending||n.updateOriginalInput({silent:t})}(!n.isPending||!s&&n.isFull())&&n.refreshState()}}))}removeItem(e=null,t){const i=this
|
||||
if(!(e=i.getItem(e)))return
|
||||
var s,n
|
||||
const o=e.dataset.value
|
||||
s=P(e),e.remove(),e.classList.contains("active")&&(n=i.activeItems.indexOf(e),i.activeItems.splice(n,1),_(e,"active")),i.items.splice(s,1),i.lastQuery=null,!i.settings.persist&&i.userOptions.hasOwnProperty(o)&&i.removeOption(o,t),s<i.caretPos&&i.setCaret(i.caretPos-1),i.updateOriginalInput({silent:t}),i.refreshState(),i.positionDropdown(),i.trigger("item_remove",o,e)}createItem(e=null,t=!0,i=(()=>{})){var s,n=this,o=n.caretPos
|
||||
if(e=e||n.inputValue(),!n.canCreate(e))return i(),!1
|
||||
n.lock()
|
||||
var r=!1,l=e=>{if(n.unlock(),!e||"object"!=typeof e)return i()
|
||||
var s=j(e[n.settings.valueField])
|
||||
if("string"!=typeof s)return i()
|
||||
n.setTextboxValue(),n.addOption(e),n.setCaret(o),n.addItem(s),n.refreshOptions(t&&"single"!==n.settings.mode),i(e),r=!0}
|
||||
return s="function"==typeof n.settings.create?n.settings.create.call(this,e,l):{[n.settings.labelField]:e,[n.settings.valueField]:e},r||l(s),!0}refreshItems(){var e=this
|
||||
e.lastQuery=null,e.isSetup&&e.addItems(e.items),e.updateOriginalInput(),e.refreshState()}refreshState(){var e=this
|
||||
e.refreshValidityState()
|
||||
var t=e.isFull(),i=e.isLocked
|
||||
e.wrapper.classList.toggle("rtl",e.rtl)
|
||||
var s,n=e.control.classList
|
||||
n.toggle("focus",e.isFocused),n.toggle("disabled",e.isDisabled),n.toggle("required",e.isRequired),n.toggle("invalid",e.isInvalid),n.toggle("locked",i),n.toggle("full",t),n.toggle("not-full",!t),n.toggle("input-active",e.isFocused&&!e.isInputHidden),n.toggle("dropdown-active",e.isOpen),n.toggle("has-options",(s=e.options,0===Object.keys(s).length)),n.toggle("has-items",e.items.length>0)}refreshValidityState(){var e=this
|
||||
if(e.input.checkValidity){this.isRequired&&(e.input.required=!0)
|
||||
var t=!e.input.checkValidity()
|
||||
e.isInvalid=t,e.control_input.required=t,this.isRequired&&(e.input.required=!t)}}isFull(){return null!==this.settings.maxItems&&this.items.length>=this.settings.maxItems}updateOriginalInput(e={}){const t=this
|
||||
var i,s,n,o
|
||||
if(t.is_select_tag){const e=[]
|
||||
function r(i,s,n){return i||(i=w('<option value="'+D(s)+'">'+D(n)+"</option>")),t.input.prepend(i),e.push(i),L(i,{selected:"true"}),i.selected=!0,i}if(t.input.querySelectorAll("option[selected]").forEach((e=>{L(e,{selected:null}),e.selected=!1})),0!=t.items.length||"single"!=t.settings.mode||t.isRequired)for(i=t.items.length-1;i>=0;i--)if(s=t.items[i],o=(n=t.options[s])[t.settings.labelField]||"",e.includes(n.$option)){r(t.input.querySelector(`option[value="${B(s)}"]:not([selected])`),s,o)}else n.$option=r(n.$option,s,o)
|
||||
else r(t.input.querySelector('option[value=""]'),"","")}else t.input.value=t.getValue()
|
||||
t.isSetup&&(e.silent||t.trigger("change",t.getValue()))}open(){var e=this
|
||||
e.isLocked||e.isOpen||"multi"===e.settings.mode&&e.isFull()||(e.isOpen=!0,L(e.control_input,{"aria-expanded":"true"}),e.refreshState(),C(e.dropdown,{visibility:"hidden",display:"block"}),e.positionDropdown(),C(e.dropdown,{visibility:"visible",display:"block"}),e.focus(),e.trigger("dropdown_open",e.dropdown))}close(e=!0){var t=this,i=t.isOpen
|
||||
e&&(t.setTextboxValue(),"single"===t.settings.mode&&t.items.length&&(t.hideInput(),t.tab_key||t.blur())),t.isOpen=!1,L(t.control_input,{"aria-expanded":"false"}),C(t.dropdown,{display:"none"}),t.settings.hideSelected&&t.clearActiveOption(),t.refreshState(),i&&t.trigger("dropdown_close",t.dropdown)}positionDropdown(){if("body"===this.settings.dropdownParent){var e=this.control,t=e.getBoundingClientRect(),i=e.offsetHeight+t.top+window.scrollY,s=t.left+window.scrollX
|
||||
C(this.dropdown,{width:t.width+"px",top:i+"px",left:s+"px"})}}clear(e){var t=this
|
||||
if(t.items.length){var i=t.controlChildren()
|
||||
for(const e of i)t.removeItem(e,!0)
|
||||
t.showInput(),e||t.updateOriginalInput(),t.trigger("clear")}}insertAtCaret(e){var t=this,i=Math.min(t.caretPos,t.items.length),s=t.control
|
||||
0===i?s.insertBefore(e,s.firstChild):s.insertBefore(e,s.children[i]),t.setCaret(i+1)}deleteSelection(e){var t,i,s,n,o,r=this
|
||||
t=e&&8===e.keyCode?-1:1,i={start:(o=r.control_input).selectionStart||0,length:(o.selectionEnd||0)-(o.selectionStart||0)}
|
||||
const l=[]
|
||||
if(r.activeItems.length){n=k(r.activeItems,t),s=P(n),t>0&&s++
|
||||
for(const e of r.activeItems)l.push(e)}else if((r.isFocused||"single"===r.settings.mode)&&r.items.length){const e=r.controlChildren()
|
||||
t<0&&0===i.start&&0===i.length?l.push(e[r.caretPos-1]):t>0&&i.start===r.inputValue().length&&l.push(e[r.caretPos])}const a=l.map((e=>e.dataset.value))
|
||||
if(!a.length||"function"==typeof r.settings.onDelete&&!1===r.settings.onDelete.call(r,a,e))return!1
|
||||
for(H(e,!0),void 0!==s&&r.setCaret(s);l.length;)r.removeItem(l.pop())
|
||||
return r.showInput(),r.positionDropdown(),r.refreshOptions(!1),!0}advanceSelection(e,t){var i,s,n,o=this
|
||||
o.rtl&&(e*=-1),o.inputValue().length||(K(q,t)||K("shiftKey",t)?(n=(s=o.getLastActive(e))?s.classList.contains("active")?o.getAdjacent(s,e,"item"):s:e>0?o.control_input.nextElementSibling:o.control_input.previousElementSibling)&&(n.classList.contains("active")&&o.removeActiveItem(s),o.setActiveItemClass(n)):o.isFocused&&!o.activeItems.length?o.setCaret(o.caretPos+e):(s=o.getLastActive(e))&&(i=P(s),o.setCaret(e>0?i+1:i),o.setActiveItem()))}getLastActive(e){let t=this.control.querySelector(".last-active")
|
||||
if(t)return t
|
||||
var i=this.control.querySelectorAll(".active")
|
||||
return i?k(i,e):void 0}setCaret(e){var t=this
|
||||
"single"===t.settings.mode||t.settings.controlInput?e=t.items.length:(e=Math.max(0,Math.min(t.items.length,e)))==t.caretPos||t.isPending||t.controlChildren().forEach(((i,s)=>{s<e?t.control_input.insertAdjacentElement("beforebegin",i):t.control.appendChild(i)})),t.caretPos=e}controlChildren(){return Array.from(this.control.getElementsByClassName(this.settings.itemClass))}lock(){this.close(),this.isLocked=!0,this.refreshState()}unlock(){this.isLocked=!1,this.refreshState()}disable(){var e=this
|
||||
e.input.disabled=!0,e.control_input.disabled=!0,e.control_input.tabIndex=-1,e.isDisabled=!0,e.lock()}enable(){var e=this
|
||||
e.input.disabled=!1,e.control_input.disabled=!1,e.control_input.tabIndex=e.tabIndex,e.isDisabled=!1,e.unlock()}destroy(){var e=this,t=e.revertSettings
|
||||
e.trigger("destroy"),e.off(),e.wrapper.remove(),e.dropdown.remove(),e.input.innerHTML=t.innerHTML,e.input.tabIndex=t.tabIndex,_(e.input,"tomselected"),L(e.input,{hidden:null}),e.input.required=this.isRequired,e._destroy(),delete e.input.tomselect}render(e,t){return"function"!=typeof this.settings.render[e]?null:this._render(e,t)}_render(e,t){var i,s,n=""
|
||||
const o=this
|
||||
return("option"===e||"item"===e)&&(n=$(t[o.settings.valueField]),s=o.rendered(e,n))||null==(s=o.settings.render[e].call(this,t,D))||(s=w(s),"option"===e||"option_create"===e?t[o.settings.disabledField]?L(s,{"aria-disabled":"true"}):L(s,{"data-selectable":""}):"optgroup"===e&&(i=t.group[o.settings.optgroupValueField],L(s,{"data-group":i}),t.group[o.settings.disabledField]&&L(s,{"data-disabled":""})),"option"!==e&&"item"!==e||(L(s,{"data-value":n}),"item"===e?A(s,o.settings.itemClass):(A(s,o.settings.optionClass),L(s,{role:"option",id:t.$id})),o.renderCache[e][n]=s)),s}rendered(e,t){return null!==t&&this.renderCache[e].hasOwnProperty(t)?this.renderCache[e][t]:null}clearCache(e){var t=this
|
||||
for(let e in t.options){const i=t.getOption(e)
|
||||
i&&i.remove()}void 0===e?t.renderCache={item:{},option:{}}:t.renderCache[e]={}}canCreate(e){return this.settings.create&&e.length>0&&this.settings.createFilter.call(this,e)}hook(e,t,i){var s=this,n=s[t]
|
||||
s[t]=function(){var t,o
|
||||
return"after"===e&&(t=n.apply(s,arguments)),o=i.apply(s,arguments),"instead"===e?o:("before"===e&&(t=n.apply(s,arguments)),t)}}}return U}))
|
||||
var tomSelect=function(e,t){return new TomSelect(e,t)}
|
||||
//# sourceMappingURL=tom-select.base.min.js.map
|
Loading…
Add table
Reference in a new issue