issue #1 reset form resets selected icon to empty
This commit is contained in:
32
.env.example
Normal file
32
.env.example
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
APP_ENV=local
|
||||||
|
APP_KEY=
|
||||||
|
APP_DEBUG=true
|
||||||
|
APP_LOG_LEVEL=debug
|
||||||
|
APP_URL=http://localhost
|
||||||
|
|
||||||
|
DB_CONNECTION=mysql
|
||||||
|
DB_HOST=127.0.0.1
|
||||||
|
DB_PORT=3306
|
||||||
|
DB_DATABASE=homestead
|
||||||
|
DB_USERNAME=homestead
|
||||||
|
DB_PASSWORD=secret
|
||||||
|
|
||||||
|
BROADCAST_DRIVER=log
|
||||||
|
CACHE_DRIVER=file
|
||||||
|
SESSION_DRIVER=file
|
||||||
|
QUEUE_DRIVER=sync
|
||||||
|
|
||||||
|
REDIS_HOST=127.0.0.1
|
||||||
|
REDIS_PASSWORD=null
|
||||||
|
REDIS_PORT=6379
|
||||||
|
|
||||||
|
MAIL_DRIVER=smtp
|
||||||
|
MAIL_HOST=mailtrap.io
|
||||||
|
MAIL_PORT=2525
|
||||||
|
MAIL_USERNAME=null
|
||||||
|
MAIL_PASSWORD=null
|
||||||
|
MAIL_ENCRYPTION=null
|
||||||
|
|
||||||
|
PUSHER_APP_ID=
|
||||||
|
PUSHER_APP_KEY=
|
||||||
|
PUSHER_APP_SECRET=
|
||||||
3
.gitattributes
vendored
Normal file
3
.gitattributes
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
* text=auto
|
||||||
|
*.css linguist-vendored
|
||||||
|
*.scss linguist-vendored
|
||||||
9
.gitignore
vendored
Normal file
9
.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
/node_modules
|
||||||
|
/public/storage
|
||||||
|
/public/hot
|
||||||
|
/storage/*.key
|
||||||
|
/vendor
|
||||||
|
/.idea
|
||||||
|
Homestead.json
|
||||||
|
Homestead.yaml
|
||||||
|
.env
|
||||||
3
.htaccess
Normal file
3
.htaccess
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<FilesMatch "\.(ico|pdf|jpg|jpeg|png|gif|html|htm|xml|txt|xsl)$">
|
||||||
|
Header set Cache-Control "max-age=31536050"
|
||||||
|
</FilesMatch>
|
||||||
40
app/Console/Kernel.php
Normal file
40
app/Console/Kernel.php
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Console;
|
||||||
|
|
||||||
|
use Illuminate\Console\Scheduling\Schedule;
|
||||||
|
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
||||||
|
|
||||||
|
class Kernel extends ConsoleKernel
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The Artisan commands provided by your application.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $commands = [
|
||||||
|
//
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define the application's command schedule.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
protected function schedule(Schedule $schedule)
|
||||||
|
{
|
||||||
|
// $schedule->command('inspire')
|
||||||
|
// ->hourly();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register the Closure based commands for the application.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
protected function commands()
|
||||||
|
{
|
||||||
|
require base_path('routes/console.php');
|
||||||
|
}
|
||||||
|
}
|
||||||
65
app/Exceptions/Handler.php
Normal file
65
app/Exceptions/Handler.php
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Exceptions;
|
||||||
|
|
||||||
|
use Exception;
|
||||||
|
use Illuminate\Auth\AuthenticationException;
|
||||||
|
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
|
||||||
|
|
||||||
|
class Handler extends ExceptionHandler
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* A list of the exception types that should not be reported.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $dontReport = [
|
||||||
|
\Illuminate\Auth\AuthenticationException::class,
|
||||||
|
\Illuminate\Auth\Access\AuthorizationException::class,
|
||||||
|
\Symfony\Component\HttpKernel\Exception\HttpException::class,
|
||||||
|
\Illuminate\Database\Eloquent\ModelNotFoundException::class,
|
||||||
|
\Illuminate\Session\TokenMismatchException::class,
|
||||||
|
\Illuminate\Validation\ValidationException::class,
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Report or log an exception.
|
||||||
|
*
|
||||||
|
* This is a great spot to send exceptions to Sentry, Bugsnag, etc.
|
||||||
|
*
|
||||||
|
* @param \Exception $exception
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function report(Exception $exception)
|
||||||
|
{
|
||||||
|
parent::report($exception);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Render an exception into an HTTP response.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @param \Exception $exception
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
public function render($request, Exception $exception)
|
||||||
|
{
|
||||||
|
return parent::render($request, $exception);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Convert an authentication exception into an unauthenticated response.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @param \Illuminate\Auth\AuthenticationException $exception
|
||||||
|
* @return \Illuminate\Http\Response
|
||||||
|
*/
|
||||||
|
protected function unauthenticated($request, AuthenticationException $exception)
|
||||||
|
{
|
||||||
|
if ($request->expectsJson()) {
|
||||||
|
return response()->json(['error' => 'Unauthenticated.'], 401);
|
||||||
|
}
|
||||||
|
|
||||||
|
return redirect()->guest('login');
|
||||||
|
}
|
||||||
|
}
|
||||||
32
app/Http/Controllers/Auth/ForgotPasswordController.php
Normal file
32
app/Http/Controllers/Auth/ForgotPasswordController.php
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers\Auth;
|
||||||
|
|
||||||
|
use App\Http\Controllers\Controller;
|
||||||
|
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
|
||||||
|
|
||||||
|
class ForgotPasswordController extends Controller
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Password Reset Controller
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This controller is responsible for handling password reset emails and
|
||||||
|
| includes a trait which assists in sending these notifications from
|
||||||
|
| your application to your users. Feel free to explore this trait.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
use SendsPasswordResetEmails;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new controller instance.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->middleware('guest');
|
||||||
|
}
|
||||||
|
}
|
||||||
39
app/Http/Controllers/Auth/LoginController.php
Normal file
39
app/Http/Controllers/Auth/LoginController.php
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers\Auth;
|
||||||
|
|
||||||
|
use App\Http\Controllers\Controller;
|
||||||
|
use Illuminate\Foundation\Auth\AuthenticatesUsers;
|
||||||
|
|
||||||
|
class LoginController extends Controller
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Login Controller
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This controller handles authenticating users for the application and
|
||||||
|
| redirecting them to your home screen. The controller uses a trait
|
||||||
|
| to conveniently provide its functionality to your applications.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
use AuthenticatesUsers;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Where to redirect users after login.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $redirectTo = '/home';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new controller instance.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->middleware('guest', ['except' => 'logout']);
|
||||||
|
}
|
||||||
|
}
|
||||||
71
app/Http/Controllers/Auth/RegisterController.php
Normal file
71
app/Http/Controllers/Auth/RegisterController.php
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers\Auth;
|
||||||
|
|
||||||
|
use App\User;
|
||||||
|
use App\Http\Controllers\Controller;
|
||||||
|
use Illuminate\Support\Facades\Validator;
|
||||||
|
use Illuminate\Foundation\Auth\RegistersUsers;
|
||||||
|
|
||||||
|
class RegisterController extends Controller
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Register Controller
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This controller handles the registration of new users as well as their
|
||||||
|
| validation and creation. By default this controller uses a trait to
|
||||||
|
| provide this functionality without requiring any additional code.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
use RegistersUsers;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Where to redirect users after registration.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $redirectTo = '/home';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new controller instance.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->middleware('guest');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get a validator for an incoming registration request.
|
||||||
|
*
|
||||||
|
* @param array $data
|
||||||
|
* @return \Illuminate\Contracts\Validation\Validator
|
||||||
|
*/
|
||||||
|
protected function validator(array $data)
|
||||||
|
{
|
||||||
|
return Validator::make($data, [
|
||||||
|
'name' => 'required|max:255',
|
||||||
|
'email' => 'required|email|max:255|unique:users',
|
||||||
|
'password' => 'required|min:6|confirmed',
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new user instance after a valid registration.
|
||||||
|
*
|
||||||
|
* @param array $data
|
||||||
|
* @return User
|
||||||
|
*/
|
||||||
|
protected function create(array $data)
|
||||||
|
{
|
||||||
|
return User::create([
|
||||||
|
'name' => $data['name'],
|
||||||
|
'email' => $data['email'],
|
||||||
|
'password' => bcrypt($data['password']),
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
||||||
39
app/Http/Controllers/Auth/ResetPasswordController.php
Normal file
39
app/Http/Controllers/Auth/ResetPasswordController.php
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers\Auth;
|
||||||
|
|
||||||
|
use App\Http\Controllers\Controller;
|
||||||
|
use Illuminate\Foundation\Auth\ResetsPasswords;
|
||||||
|
|
||||||
|
class ResetPasswordController extends Controller
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Password Reset Controller
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This controller is responsible for handling password reset requests
|
||||||
|
| and uses a simple trait to include this behavior. You're free to
|
||||||
|
| explore this trait and override any methods you wish to tweak.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
use ResetsPasswords;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Where to redirect users after resetting their password.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $redirectTo = '/home';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new controller instance.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->middleware('guest');
|
||||||
|
}
|
||||||
|
}
|
||||||
42
app/Http/Controllers/ClosedShops.php
Normal file
42
app/Http/Controllers/ClosedShops.php
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Paper\Paper;
|
||||||
|
|
||||||
|
class ClosedShops extends Controller
|
||||||
|
{
|
||||||
|
|
||||||
|
private $icon = 'frown-o';
|
||||||
|
private $daysClosed = ['11-03','18-03',
|
||||||
|
'01-04','02-04','08-04','15-04','22-04',
|
||||||
|
'01-05','03-05','13-05','20-05','31-05',
|
||||||
|
'10-06','17-06',
|
||||||
|
'08-07','15-07','22-07',
|
||||||
|
'12-08','15-08','19-08',
|
||||||
|
'09-09','16-09','23-09',
|
||||||
|
'14-10','21-10',
|
||||||
|
'01-11','11-11','18-11',
|
||||||
|
'09-12','16-12','25-12','16-12'
|
||||||
|
];
|
||||||
|
|
||||||
|
private $paper;
|
||||||
|
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->paper = new Paper();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function tomorrow()
|
||||||
|
{
|
||||||
|
$today = new \DateTime();
|
||||||
|
$tomorrow = $today->modify('+1 day');
|
||||||
|
if(in_array($tomorrow->format('d-m'), $this->daysClosed)){
|
||||||
|
$this->paper->sendPrint('Jutro sklepy są zamknięte.', "Jutrzejszy dzień jest dniem \nwolnym od handlu ponieważ jutro \njest święto albo niedziela wolna \nod handlu\n\n".$tomorrow->format('d-m-Y'), $this->icon);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
13
app/Http/Controllers/Controller.php
Normal file
13
app/Http/Controllers/Controller.php
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Bus\DispatchesJobs;
|
||||||
|
use Illuminate\Routing\Controller as BaseController;
|
||||||
|
use Illuminate\Foundation\Validation\ValidatesRequests;
|
||||||
|
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
|
||||||
|
|
||||||
|
class Controller extends BaseController
|
||||||
|
{
|
||||||
|
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
|
||||||
|
}
|
||||||
26
app/Http/Controllers/Keyboard.php
Normal file
26
app/Http/Controllers/Keyboard.php
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Paper\CinemaMultikino;
|
||||||
|
use DiDom\Query;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use DiDom\Document;
|
||||||
|
use App\Paper\Paper;
|
||||||
|
|
||||||
|
class Keyboard extends Controller
|
||||||
|
{
|
||||||
|
|
||||||
|
private $paper;
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->paper = new Paper();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function press($key)
|
||||||
|
{
|
||||||
|
$this->paper->sendPrint($key);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
281
app/Http/Controllers/Main.php
Normal file
281
app/Http/Controllers/Main.php
Normal file
@@ -0,0 +1,281 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Created by PhpStorm.
|
||||||
|
* User: k
|
||||||
|
* Date: 10.02.2017
|
||||||
|
* Time: 20:10
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
set_time_limit(-1);
|
||||||
|
|
||||||
|
use App\Paper\Airly;
|
||||||
|
use App\Paper\Paper;
|
||||||
|
use Illuminate\Support\Facades\DB;
|
||||||
|
use Mike42\Escpos\PrintConnectors\FilePrintConnector;
|
||||||
|
use Mike42\Escpos\Printer;
|
||||||
|
use Intervention\Image\ImageManagerStatic as Image;
|
||||||
|
use Mike42\Escpos\EscposImage;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
|
class Main extends Controller
|
||||||
|
{
|
||||||
|
|
||||||
|
private $paper = null;
|
||||||
|
const TEMPLATE = 'template';
|
||||||
|
const NOTE = 'note';
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->paper = new Paper();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* post::/printImage
|
||||||
|
* @param Request $request
|
||||||
|
* @return \Illuminate\Http\RedirectResponse
|
||||||
|
*/
|
||||||
|
public function imagePrint(Request $request)
|
||||||
|
{
|
||||||
|
|
||||||
|
if ($request->hasFile('photo')) {
|
||||||
|
$file = $request->photo;
|
||||||
|
} else {
|
||||||
|
$file = $request->input('url');
|
||||||
|
}
|
||||||
|
|
||||||
|
$image = Image::make($file);
|
||||||
|
if ($image->width() > $image->height()) {
|
||||||
|
$image->rotate(90);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$image = $image->greyscale()
|
||||||
|
->resize(300, null, function ($constraint) {
|
||||||
|
$constraint->aspectRatio();
|
||||||
|
$constraint->upsize();
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
$fileName = storage_path('temp.png');
|
||||||
|
$image->save($fileName, 100);
|
||||||
|
|
||||||
|
|
||||||
|
$img = imagecreatefrompng($fileName);
|
||||||
|
// imagefilter($img, IMG_FILTER_GRAYSCALE);
|
||||||
|
$width = imagesx($img);
|
||||||
|
$height = imagesy($img);
|
||||||
|
$img_arr = array();
|
||||||
|
|
||||||
|
// Parse image (can be combined with dither stage, but combining them is slower.)
|
||||||
|
|
||||||
|
for ($y = 0; $y < $height; $y++) {
|
||||||
|
for ($x = 0; $x < $width; $x++) {
|
||||||
|
$img_arr[$x][$y] = imagecolorat($img, $x, $y);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// make a b/w output image.
|
||||||
|
$output = imagecreate($width, $height);
|
||||||
|
$black = imagecolorallocate($output, 0, 0, 0); //background color.
|
||||||
|
$white = imagecolorallocate($output, 0xff, 0xff, 0xff);
|
||||||
|
|
||||||
|
|
||||||
|
for ($y = 1; $y < $height - 3; $y++) {
|
||||||
|
for ($x = 1; $x < $width - 3; $x++) {
|
||||||
|
$old = $img_arr[$x][$y];
|
||||||
|
if ($old > 0xffffff * .5) { // This is the b/w threshold. Currently @ halfway between white and black.
|
||||||
|
$new = 0xffffff;
|
||||||
|
imagesetpixel($output, $x, $y, $white); // Only setting white pixels, because the image is already black.
|
||||||
|
} else {
|
||||||
|
$new = 0x000000;
|
||||||
|
}
|
||||||
|
$quant_error = $old - $new;
|
||||||
|
$error_diffusion = (1 / 8) * $quant_error; //I can do this because this dither uses 1 value for the applied error diffusion.
|
||||||
|
//dithering here.
|
||||||
|
$img_arr[$x + 1][$y] += $error_diffusion;
|
||||||
|
$img_arr[$x + 2][$y] += $error_diffusion;
|
||||||
|
$img_arr[$x - 1][$y + 1] += $error_diffusion;
|
||||||
|
$img_arr[$x][$y + 1] += $error_diffusion;
|
||||||
|
$img_arr[$x + 1][$y + 1] += $error_diffusion;
|
||||||
|
$img_arr[$x][$y + 2] += $error_diffusion;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// plop out a png of the dithered image.
|
||||||
|
|
||||||
|
// Header("Content-type: image/png");
|
||||||
|
imagepng($output, $fileName, 9); //to print to screen
|
||||||
|
|
||||||
|
|
||||||
|
$connector = new FilePrintConnector("/dev/usb/lp0");
|
||||||
|
$printer = new Printer($connector);
|
||||||
|
$img = EscposImage::load($fileName, false);
|
||||||
|
$printer->bitImage($img);
|
||||||
|
|
||||||
|
$printer->feed(4);
|
||||||
|
|
||||||
|
return back();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* get:/
|
||||||
|
* @param Request $request
|
||||||
|
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
|
||||||
|
*/
|
||||||
|
public function listView(Request $request)
|
||||||
|
{
|
||||||
|
$notes = DB::select('SELECT * FROM note WHERE type = "note" ORDER BY updated_at DESC');
|
||||||
|
$templates = DB::select('SELECT * FROM note WHERE type = "template" ORDER BY updated_at DESC');
|
||||||
|
return view('list', [
|
||||||
|
'notes' => $notes,
|
||||||
|
'templates' => $templates,
|
||||||
|
'title' => $request->old('title'),
|
||||||
|
'text' => $request->old('text'),
|
||||||
|
'icon_selected' => $request->old('icon'),
|
||||||
|
'icons' => $this->paper->getIcons()
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* get:/airly
|
||||||
|
* @param Request $request
|
||||||
|
* @return \Illuminate\Http\RedirectResponse
|
||||||
|
*/
|
||||||
|
public function airly(Request $request)
|
||||||
|
{
|
||||||
|
$airly = new Airly();
|
||||||
|
$this->paper->sendImagePrint('cloud.png');
|
||||||
|
$this->paper->sendHeaderPrint('Jakość powietrza:' . PHP_EOL . date('H:i d-m-Y'));
|
||||||
|
foreach ($airly->getStations() as $stationId) {
|
||||||
|
$stationInfo = $airly->getStationInfo($stationId);
|
||||||
|
$this->paper->sendHeaderPrint($stationInfo['address']['locality'] . ' ' . $stationInfo['address']['route']);
|
||||||
|
$dataText = $airly->getInformationText($stationId);
|
||||||
|
$this->paper->sendPrint('', $dataText);
|
||||||
|
}
|
||||||
|
return back();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* post::/print/{id}
|
||||||
|
* @param $id
|
||||||
|
* @return \Illuminate\Http\RedirectResponse
|
||||||
|
*/
|
||||||
|
public function printText($id)
|
||||||
|
{
|
||||||
|
$note = DB::table('note')->where('id', $id)->first();
|
||||||
|
$this->paper->sendPrint($note->topic, $note->text, $note->icon);
|
||||||
|
return back();
|
||||||
|
}
|
||||||
|
|
||||||
|
private function templateReplace($input){
|
||||||
|
|
||||||
|
return str_replace(['[d]', '[m]', '[y]', '[h]', '[i]', '[s]'],
|
||||||
|
[date('d'), date('m'), date('Y'), date('H'), date('i'), date('s')],
|
||||||
|
$input);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* get::/edit/{id}/{slug}
|
||||||
|
* post::/edit/{id}/{slug}
|
||||||
|
* @param Request $request
|
||||||
|
* @param $id
|
||||||
|
* @param $slug
|
||||||
|
* @return \Illuminate\Contracts\View\Factory|\Illuminate\Http\RedirectResponse|\Illuminate\View\View
|
||||||
|
*/
|
||||||
|
public function edit(Request $request, $id, $slug)
|
||||||
|
{
|
||||||
|
$note = DB::table('note')->where('id', $id)->first();
|
||||||
|
if ($request->isMethod('post')) {
|
||||||
|
if ($request->exists('save') ||
|
||||||
|
$request->exists('save_template')) {
|
||||||
|
if ($note->type == $this::TEMPLATE) {
|
||||||
|
$id = DB::table('note')
|
||||||
|
->insertGetId([
|
||||||
|
'topic' => $this->templateReplace($request->input('title')),
|
||||||
|
'topic_slug' => str_slug($request->input('title'), '_'),
|
||||||
|
'text' => $this->templateReplace($request->input('text')),
|
||||||
|
'icon' => $request->input('icon'),
|
||||||
|
'type' => self::NOTE,
|
||||||
|
'created_at' => time(),
|
||||||
|
'updated_at' => time()
|
||||||
|
]);
|
||||||
|
$note = DB::table('note')->where('id', $id)->first();
|
||||||
|
} else {
|
||||||
|
DB::table('note')
|
||||||
|
->where('id', $note->id)
|
||||||
|
->update([
|
||||||
|
'topic' => $request->input('title'),
|
||||||
|
'topic_slug' => str_slug($request->input('title'), '_'),
|
||||||
|
'text' => $request->input('text'),
|
||||||
|
'icon' => $request->input('icon'),
|
||||||
|
'updated_at' => time(),
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
} elseif ($request->exists('delete')) {
|
||||||
|
DB::table('note')
|
||||||
|
->where('id', $note->id)
|
||||||
|
->delete();
|
||||||
|
return redirect()->route('list');
|
||||||
|
} elseif ($request->exists('print')) {
|
||||||
|
$this->paper->sendPrint($request->input('title'), $request->input('text'), $request->input('icon'));
|
||||||
|
}
|
||||||
|
return redirect()->route('edit', ['id' => $note->id, 'slug' => $note->topic_slug]);
|
||||||
|
} else {
|
||||||
|
return view('edit', [
|
||||||
|
'title' => $note->topic,
|
||||||
|
'text' => $note->text,
|
||||||
|
'icon_selected' => $note->icon,
|
||||||
|
'type' => $note->type,
|
||||||
|
'id' => $note->id,
|
||||||
|
'icons' => $this->paper->getIcons(),
|
||||||
|
'topic_slug' => $note->topic_slug,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* post::/
|
||||||
|
* @param Request $request
|
||||||
|
* @return $this|\Illuminate\Http\RedirectResponse
|
||||||
|
*/
|
||||||
|
public function main(Request $request)
|
||||||
|
{
|
||||||
|
if ($request->exists('save')) {
|
||||||
|
$id = DB::table('note')
|
||||||
|
->insertGetId([
|
||||||
|
'topic' => $request->input('title'),
|
||||||
|
'topic_slug' => str_slug($request->input('title'), '_'),
|
||||||
|
'text' => $request->input('text'),
|
||||||
|
'icon' => $request->input('icon'),
|
||||||
|
'type' => self::NOTE,
|
||||||
|
'created_at' => time(),
|
||||||
|
'updated_at' => time()
|
||||||
|
]);
|
||||||
|
$note = DB::table('note')->where('id', $id)->first();
|
||||||
|
return redirect()->route('edit', ['id' => $note->id, 'slug' => $note->topic_slug]);
|
||||||
|
} elseif ($request->exists('save_template')) {
|
||||||
|
$id = DB::table('note')
|
||||||
|
->insertGetId([
|
||||||
|
'topic' => $request->input('title'),
|
||||||
|
'topic_slug' => str_slug($request->input('title'), '_'),
|
||||||
|
'text' => $request->input('text'),
|
||||||
|
'icon' => $request->input('icon'),
|
||||||
|
'type' => self::TEMPLATE,
|
||||||
|
'created_at' => time(),
|
||||||
|
'updated_at' => time()
|
||||||
|
]);
|
||||||
|
$note = DB::table('note')->where('id', $id)->first();
|
||||||
|
return redirect()->route('edit', ['id' => $note->id, 'slug' => $note->topic_slug]);
|
||||||
|
} else {
|
||||||
|
$this->paper->sendPrint($request->input('title'), $request->input('text'), $request->input('icon'));
|
||||||
|
return back()->withInput();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
110
app/Http/Controllers/PacktPub.php
Normal file
110
app/Http/Controllers/PacktPub.php
Normal file
@@ -0,0 +1,110 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Paper\CinemaMultikino;
|
||||||
|
use DiDom\Query;
|
||||||
|
use Illuminate\Http\Request;
|
||||||
|
use DiDom\Document;
|
||||||
|
use App\Paper\Paper;
|
||||||
|
|
||||||
|
class PacktPub extends Controller
|
||||||
|
{
|
||||||
|
|
||||||
|
private $main;
|
||||||
|
private $icon = '/small/book.png';
|
||||||
|
|
||||||
|
private $freeBook = 'https://www.packtpub.com/packt/offers/free-learning';
|
||||||
|
|
||||||
|
|
||||||
|
private $loginData;
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->paper = new Paper();
|
||||||
|
$this->loginData = array(
|
||||||
|
'email' => 'krzysiej@gmail.com',
|
||||||
|
'password' => 'korki1korki1',
|
||||||
|
'op' => 'Login',
|
||||||
|
'form_build_id' => '',
|
||||||
|
'form_id' => 'packt_user_login_form',
|
||||||
|
);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function today()
|
||||||
|
{
|
||||||
|
|
||||||
|
$data = file_get_contents($this->freeBook);
|
||||||
|
$document = new Document($data);
|
||||||
|
|
||||||
|
// list(,,$id,)= explode('/', $document->first('//form[@id="free-learning-form"]/@action', Query::TYPE_XPATH));
|
||||||
|
$id = $document->first('//input[@id="free-learning-register-claim-title-nid"]/@value', Query::TYPE_XPATH);
|
||||||
|
|
||||||
|
$myBooksRaw = $this->c('https://www.packtpub.com/account/my-ebooks', $this->loginData);
|
||||||
|
|
||||||
|
print_r($myBooksRaw);
|
||||||
|
$myBooks = new Document($myBooksRaw);
|
||||||
|
|
||||||
|
// $x = $myBooks->first('//div[@nid="' . $id . '"]', Query::TYPE_XPATH);
|
||||||
|
|
||||||
|
var_dump($id);
|
||||||
|
|
||||||
|
var_dump('//div[@nid="' . $id . '"]');
|
||||||
|
$isOwnd = (bool)$myBooks->first('//div[@nid="' . $id . '"]', Query::TYPE_XPATH);
|
||||||
|
|
||||||
|
var_dump($isOwnd);
|
||||||
|
die();
|
||||||
|
$titleNode = $document->first('.dotd-title h2');
|
||||||
|
|
||||||
|
if ($titleNode) {
|
||||||
|
$title = trim($titleNode->text());
|
||||||
|
}
|
||||||
|
|
||||||
|
$descriptionNodes = $document->find('//div[contains(@class,"dotd-main-book-summary")]/div[not(@class)]', Query::TYPE_XPATH);
|
||||||
|
$descriptionText = '';
|
||||||
|
if ($descriptionNodes) {
|
||||||
|
foreach ($descriptionNodes as $node) {
|
||||||
|
$descriptionText .= trim($node->text()) . "\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$descriptionText .= "\n\n" . (($isOwnd) ? 'Masz już tę książkę w biblioteczce.' : 'Nie masz jeszcze tej książki.');
|
||||||
|
$descriptionText .= "\n\n" . date('Y-m-d');
|
||||||
|
|
||||||
|
|
||||||
|
$imageNode = $document->first('//div[contains(@class, "dotd-main-book")]//img[contains(@class, "bookimage")]/@src', Query::TYPE_XPATH);
|
||||||
|
if ($imageNode) {
|
||||||
|
$imageNode = str_replace(' ', '%20', $imageNode);
|
||||||
|
|
||||||
|
$this->paper->sendPrint($title, $descriptionText, 'https:' . $imageNode, false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private function c($url, $postArray = null)
|
||||||
|
{
|
||||||
|
$cookie = __DIR__ . '/cookie.txt';
|
||||||
|
$ch = curl_init();
|
||||||
|
$useragent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6";
|
||||||
|
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
|
||||||
|
curl_setopt($ch, CURLOPT_FAILONERROR, TRUE);
|
||||||
|
curl_setopt($ch, CURLOPT_COOKIESESSION, TRUE);
|
||||||
|
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
|
||||||
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
|
||||||
|
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie);
|
||||||
|
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
|
||||||
|
curl_setopt($ch, CURLOPT_USERAGENT, $useragent);
|
||||||
|
curl_setopt($ch, CURLOPT_URL, $url);
|
||||||
|
if (!is_null($postArray)) {
|
||||||
|
curl_setopt($ch, CURLOPT_POST, TRUE);
|
||||||
|
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($postArray));
|
||||||
|
}
|
||||||
|
$result = curl_exec($ch);
|
||||||
|
|
||||||
|
curl_close($ch);
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
219
app/Http/Controllers/Repertoire.php
Normal file
219
app/Http/Controllers/Repertoire.php
Normal file
@@ -0,0 +1,219 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Paper\CinemaMultikino;
|
||||||
|
use DiDom\Document;
|
||||||
|
use App\Paper\Paper;
|
||||||
|
|
||||||
|
class Repertoire extends Controller
|
||||||
|
{
|
||||||
|
|
||||||
|
private $main;
|
||||||
|
private $icon = '/small/film.png';
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->main = new Paper();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function today_cinemacity()
|
||||||
|
{
|
||||||
|
$date = date('d/m/Y');
|
||||||
|
$repertuarText = $this->cinemacityRepertuar($date);
|
||||||
|
$this->main->sendPrint('', $repertuarText, $this->icon, $this->icon);
|
||||||
|
return back();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function tomorrow_cinemacity()
|
||||||
|
{
|
||||||
|
$date = new \DateTime();
|
||||||
|
$date->modify('+1 day');
|
||||||
|
$repertuarText = $this->cinemacityRepertuar($date->format('d/m/Y'));
|
||||||
|
$this->main->sendPrint('', $repertuarText, $this->icon, $this->icon);
|
||||||
|
return back();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function cinemacityRepertuar($date)
|
||||||
|
{
|
||||||
|
$url = 'https://www.cinema-city.pl/scheduleInfo?locationId=1010308&date=' . $date . '&venueTypeId=0&hideSite=false&openedFromPopup=1';
|
||||||
|
|
||||||
|
$document = new Document($url, true);
|
||||||
|
$text = "Repertuar Cinema-City\n";
|
||||||
|
$text .= str_replace('/', '-', $date) . "\n\n";
|
||||||
|
|
||||||
|
$movies = $document->find('table tbody tr');
|
||||||
|
foreach ($movies as $movie) {
|
||||||
|
// dump($movie);
|
||||||
|
$text .= $movie->find('.featureLink')[0]->text() . "\n";
|
||||||
|
$hours = [];
|
||||||
|
foreach ($movie->find('.prsnt a') as $projection) {
|
||||||
|
$hours[] = trim($projection->text());
|
||||||
|
}
|
||||||
|
$text .= implode(', ', $hours) . "\n\n";
|
||||||
|
}
|
||||||
|
return $text;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private function multikinoRepertuar($date)
|
||||||
|
{
|
||||||
|
|
||||||
|
$text = '';
|
||||||
|
$repertuar = json_decode(file_get_contents('https://multikino.pl/pl/repertoire/cinema/seances?id=4&from=' . $date));
|
||||||
|
$text .= "Repertuar Multikino Gdańsk\n";
|
||||||
|
$text .= $date . "\n\n";
|
||||||
|
|
||||||
|
foreach ($repertuar->results as $movie) {
|
||||||
|
$text .= $movie->title . "\n";
|
||||||
|
$text .= $movie->print_version . "\n";
|
||||||
|
|
||||||
|
$hours = [];
|
||||||
|
foreach ($movie->seances as $seans) {
|
||||||
|
$hours[] = date('H:i', strtotime($seans->beginning_date));
|
||||||
|
}
|
||||||
|
$text .= implode(', ', $hours) . "\n\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
return $text;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function today_multikino()
|
||||||
|
{
|
||||||
|
$multikino = new CinemaMultikino();
|
||||||
|
|
||||||
|
$repertuarText = $multikino->convertToPrint(date('Y-m-d'), 4);
|
||||||
|
$this->main->sendPrint('', $repertuarText, $this->icon);
|
||||||
|
return back();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function tomorrow_multikino()
|
||||||
|
{
|
||||||
|
$date = new \DateTime();
|
||||||
|
$date->modify('+1 day');
|
||||||
|
|
||||||
|
$multikino = new CinemaMultikino();
|
||||||
|
$repertuarText = $multikino->convertToPrint($date->format('Y-m-d'), 4);
|
||||||
|
$this->main->sendPrint('', $repertuarText, $this->icon);
|
||||||
|
return back();
|
||||||
|
|
||||||
|
|
||||||
|
// $repertuarText = $this->multikinoRepertuar($date->format('Y-m-d'));
|
||||||
|
// $this->main->sendPrint('', $repertuarText);
|
||||||
|
// return back();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function tomorrow_gdynskiecentrumfilmowe()
|
||||||
|
{
|
||||||
|
$date = new \DateTime();
|
||||||
|
$date->modify('+1 day');
|
||||||
|
|
||||||
|
$repertuarText = $this->gdynskieCentrumFilmowe($date->format('d_m_Y'));
|
||||||
|
$this->main->sendPrint('', $repertuarText, $this->icon);
|
||||||
|
return back();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function today_gdynskiecentrumfilmowe()
|
||||||
|
{
|
||||||
|
$date = date('d_m_Y');
|
||||||
|
$repertuarText = $this->gdynskieCentrumFilmowe($date);
|
||||||
|
$this->main->sendPrint('', $repertuarText, $this->icon);
|
||||||
|
return back();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function today_helios()
|
||||||
|
{
|
||||||
|
$this->main->sendPrint('', $this->helios(0, 2), $this->icon);
|
||||||
|
$this->main->sendPrint('', $this->helios(0, 49));
|
||||||
|
return back();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function tomorrow_helios()
|
||||||
|
{
|
||||||
|
$this->main->sendPrint('', $this->helios(1, 2), $this->icon);
|
||||||
|
$this->main->sendPrint('', $this->helios(1, 49));
|
||||||
|
return back();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function today_repertoire()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->today_multikino();
|
||||||
|
$this->today_cinemacity();
|
||||||
|
$this->today_helios();
|
||||||
|
$this->today_gdynskiecentrumfilmowe();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public function tomorrow_repertoire()
|
||||||
|
{
|
||||||
|
|
||||||
|
$this->tomorrow_multikino();
|
||||||
|
$this->tomorrow_cinemacity();
|
||||||
|
$this->tomorrow_helios();
|
||||||
|
$this->tomorrow_gdynskiecentrumfilmowe();
|
||||||
|
}
|
||||||
|
|
||||||
|
private function helios($day, $cinemaId)
|
||||||
|
{
|
||||||
|
$url = 'http://www.helios.pl/2,Gdansk/Repertuar/axRepertoire/?dzien=' . $day . '&kino=' . $cinemaId;
|
||||||
|
|
||||||
|
|
||||||
|
$data = json_decode(file_get_contents($url));
|
||||||
|
$document = new Document();
|
||||||
|
$data->html = str_replace(["\n", "\t"], '', $data->html);
|
||||||
|
$document->loadHtml($data->html);
|
||||||
|
|
||||||
|
|
||||||
|
$cinemas = [2 => 'Helios Alfa', 49 => 'Helios Metropolia'];
|
||||||
|
|
||||||
|
$text = '';
|
||||||
|
$text .= "Repertuar $cinemas[$cinemaId]\n";
|
||||||
|
|
||||||
|
$date = new \DateTime();
|
||||||
|
$date->modify('+' . $day . ' day');
|
||||||
|
|
||||||
|
$text .= $date->format('d-m-Y') . "\n\n";
|
||||||
|
|
||||||
|
|
||||||
|
foreach ($document->find('.seance') as $seans) {
|
||||||
|
$text .= trim($seans->find('.movie-title')[0]->text()) . "\n";
|
||||||
|
$hours = [];
|
||||||
|
foreach ($seans->find('.time li') as $hour) {
|
||||||
|
$hours[] = $hour->text();
|
||||||
|
}
|
||||||
|
$text .= implode(', ', array_unique($hours)) . "\n\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
return $text;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private function gdynskieCentrumFilmowe($date)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
$url = 'http://www.gdynskiecentrumfilmowe.pl/kino_studyjne/repertuar/,' . strtotime($date) . ',_' . $date . '.html';
|
||||||
|
$document = new Document($url, true);
|
||||||
|
$text = '';
|
||||||
|
$text .= "Repertuar Gdyńskie Centrum Filmowe\n";
|
||||||
|
$text .= str_replace('_', '-', $date) . "\n\n";
|
||||||
|
|
||||||
|
$movies = $document->find('.articles .article-item');
|
||||||
|
foreach ($movies as $movie) {
|
||||||
|
|
||||||
|
$text .= $movie->find('.item-title-int')[0]->text() . "\n";
|
||||||
|
$hours = [];
|
||||||
|
foreach ($movie->find('.projection span') as $projection) {
|
||||||
|
$hours[] = $projection->innerHtml();
|
||||||
|
}
|
||||||
|
$text .= implode(', ', array_unique($hours)) . "\n\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
return $text;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
60
app/Http/Kernel.php
Normal file
60
app/Http/Kernel.php
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Http\Kernel as HttpKernel;
|
||||||
|
|
||||||
|
class Kernel extends HttpKernel
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The application's global HTTP middleware stack.
|
||||||
|
*
|
||||||
|
* These middleware are run during every request to your application.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $middleware = [
|
||||||
|
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
|
||||||
|
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
|
||||||
|
\App\Http\Middleware\TrimStrings::class,
|
||||||
|
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The application's route middleware groups.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $middlewareGroups = [
|
||||||
|
'web' => [
|
||||||
|
\App\Http\Middleware\EncryptCookies::class,
|
||||||
|
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
||||||
|
\Illuminate\Session\Middleware\StartSession::class,
|
||||||
|
// \Illuminate\Session\Middleware\AuthenticateSession::class,
|
||||||
|
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
||||||
|
\App\Http\Middleware\VerifyCsrfToken::class,
|
||||||
|
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||||
|
],
|
||||||
|
|
||||||
|
'api' => [
|
||||||
|
'throttle:60,1',
|
||||||
|
'bindings',
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The application's route middleware.
|
||||||
|
*
|
||||||
|
* These middleware may be assigned to groups or used individually.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $routeMiddleware = [
|
||||||
|
'auth' => \Illuminate\Auth\Middleware\Authenticate::class,
|
||||||
|
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
|
||||||
|
'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||||
|
'can' => \Illuminate\Auth\Middleware\Authorize::class,
|
||||||
|
'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
|
||||||
|
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
|
||||||
|
];
|
||||||
|
}
|
||||||
17
app/Http/Middleware/EncryptCookies.php
Normal file
17
app/Http/Middleware/EncryptCookies.php
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;
|
||||||
|
|
||||||
|
class EncryptCookies extends BaseEncrypter
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The names of the cookies that should not be encrypted.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $except = [
|
||||||
|
//
|
||||||
|
];
|
||||||
|
}
|
||||||
26
app/Http/Middleware/RedirectIfAuthenticated.php
Normal file
26
app/Http/Middleware/RedirectIfAuthenticated.php
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Closure;
|
||||||
|
use Illuminate\Support\Facades\Auth;
|
||||||
|
|
||||||
|
class RedirectIfAuthenticated
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Handle an incoming request.
|
||||||
|
*
|
||||||
|
* @param \Illuminate\Http\Request $request
|
||||||
|
* @param \Closure $next
|
||||||
|
* @param string|null $guard
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function handle($request, Closure $next, $guard = null)
|
||||||
|
{
|
||||||
|
if (Auth::guard($guard)->check()) {
|
||||||
|
return redirect('/home');
|
||||||
|
}
|
||||||
|
|
||||||
|
return $next($request);
|
||||||
|
}
|
||||||
|
}
|
||||||
18
app/Http/Middleware/TrimStrings.php
Normal file
18
app/Http/Middleware/TrimStrings.php
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Http\Middleware\TrimStrings as BaseTrimmer;
|
||||||
|
|
||||||
|
class TrimStrings extends BaseTrimmer
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The names of the attributes that should not be trimmed.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $except = [
|
||||||
|
'password',
|
||||||
|
'password_confirmation',
|
||||||
|
];
|
||||||
|
}
|
||||||
17
app/Http/Middleware/VerifyCsrfToken.php
Normal file
17
app/Http/Middleware/VerifyCsrfToken.php
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
|
||||||
|
|
||||||
|
class VerifyCsrfToken extends BaseVerifier
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The URIs that should be excluded from CSRF verification.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $except = [
|
||||||
|
//
|
||||||
|
];
|
||||||
|
}
|
||||||
78
app/Paper/Airly.php
Normal file
78
app/Paper/Airly.php
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Paper;
|
||||||
|
|
||||||
|
|
||||||
|
class Airly
|
||||||
|
{
|
||||||
|
|
||||||
|
private $apiKey = '8b6d77b2950e4e018b0684912bf7b9ed';
|
||||||
|
|
||||||
|
|
||||||
|
private $stations = ['2210', '2256', '2180'];
|
||||||
|
private $airlyApi = 'https://airapi.airly.eu/v1';
|
||||||
|
|
||||||
|
|
||||||
|
public function getStations()
|
||||||
|
{
|
||||||
|
return $this->stations;
|
||||||
|
}
|
||||||
|
|
||||||
|
function getStationInfo($stationId)
|
||||||
|
{
|
||||||
|
return json_decode(file_get_contents(sprintf('%s/sensors/%d?apikey=%s', $this->airlyApi, $stationId, $this->apiKey)), 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
function getStationMeasurements($stationId)
|
||||||
|
{
|
||||||
|
return json_decode(file_get_contents(sprintf('%s/sensor/measurements?sensorId=%d&apikey=%s', $this->airlyApi, $stationId, $this->apiKey)), 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getPollutionLevelToText($pollutionLevel)
|
||||||
|
{
|
||||||
|
return ["Wspaniałe powietrze! Idealny dzień na aktywność na świeżym powietrzu",
|
||||||
|
"Dobre powietrze. Możesz bez obaw wyjść na zewnątrz i cieszyć się dniem",
|
||||||
|
"Bywało lepiej… To nie jest najlepszy dzień na aktywność poza domem",
|
||||||
|
"Zła jakość powietrza! Lepiej zostań dzisiaj w domu",
|
||||||
|
"Zła jakość powietrza! Lepiej zostań dzisiaj w domu",
|
||||||
|
"Bardzo zła jakość powietrza! Zostań dziś w domu"][$pollutionLevel - 1];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function getInformationText($stationId)
|
||||||
|
{
|
||||||
|
$stationMeasurements = $this->getStationMeasurements($stationId);
|
||||||
|
|
||||||
|
if ($stationMeasurements['currentMeasurements'] === []) {
|
||||||
|
$dataText = 'Brak aktualnych danych ze stacji';
|
||||||
|
} else {
|
||||||
|
$dataText = "Aktualne warunki:" . PHP_EOL;
|
||||||
|
if (isset($stationMeasurements['currentMeasurements']['temperature'])) {
|
||||||
|
$dataText .= "Temperatura: " . round((int)$stationMeasurements['currentMeasurements']['temperature'], 0) . "°C" . PHP_EOL;
|
||||||
|
}
|
||||||
|
if (isset($stationMeasurements['currentMeasurements']['pressure'])) {
|
||||||
|
$dataText .= "Ciśnienie: " . round(((float)$stationMeasurements['currentMeasurements']['pressure'] / 100), 2) . "hPa" . PHP_EOL;
|
||||||
|
}
|
||||||
|
if (isset($stationMeasurements['currentMeasurements']['humidity'])) {
|
||||||
|
$dataText .= "Wilgotność: " . round((int)$stationMeasurements['currentMeasurements']['humidity'], 2) . "%" . PHP_EOL . PHP_EOL;
|
||||||
|
}
|
||||||
|
if (isset($stationMeasurements['currentMeasurements']['pm1'])) {
|
||||||
|
$dataText .= "PMI 1: " . (int)$stationMeasurements['currentMeasurements']['pm1'] . "ppm" . PHP_EOL;
|
||||||
|
}
|
||||||
|
if (isset($stationMeasurements['currentMeasurements']['pm25'])) {
|
||||||
|
$dataText .= "PMI 2.5: " . (int)$stationMeasurements['currentMeasurements']['pm25'] . "ppm / " . round((int)$stationMeasurements['currentMeasurements']['pm25'] / 0.25, 0) . '%' . PHP_EOL;
|
||||||
|
}
|
||||||
|
if (isset($stationMeasurements['currentMeasurements']['pm10'])) {
|
||||||
|
$dataText .= "PMI 10: " . (int)$stationMeasurements['currentMeasurements']['pm10'] . "ppm / " . round((int)$stationMeasurements['currentMeasurements']['pm10'] / 0.50, 0) . '%' . PHP_EOL;
|
||||||
|
}
|
||||||
|
if (isset($stationMeasurements['currentMeasurements']['airQualityIndex'])) {
|
||||||
|
$dataText .= "Ogólna jakość powietrza: " . (int)$stationMeasurements['currentMeasurements']['airQualityIndex'] . '/100' . PHP_EOL;
|
||||||
|
}
|
||||||
|
if (isset($stationMeasurements['currentMeasurements']['pollutionLevel'])) {
|
||||||
|
$dataText .= "Stopień zanieczyszczeń: " . (int)$stationMeasurements['currentMeasurements']['pollutionLevel'] . '/6' . PHP_EOL;
|
||||||
|
$dataText .= $this->getPollutionLevelToText((int)$stationMeasurements['currentMeasurements']['pollutionLevel']);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return $dataText;
|
||||||
|
}
|
||||||
|
}
|
||||||
80
app/Paper/CinemaMultikino.php
Normal file
80
app/Paper/CinemaMultikino.php
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Paper;
|
||||||
|
|
||||||
|
|
||||||
|
use App\Paper\Interfaces\Cinema;
|
||||||
|
|
||||||
|
class CinemaMultikino implements Cinema
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
function fetchRepertorire($day, $cinemaId = null)
|
||||||
|
{
|
||||||
|
$moviePath = 'https://multikino.pl/data/filmswithshowings/' . $cinemaId;
|
||||||
|
$movieContent = file_get_contents($moviePath);
|
||||||
|
print_r($movieContent);
|
||||||
|
$movieJson = json_decode($movieContent, 0);
|
||||||
|
return $movieJson;
|
||||||
|
}
|
||||||
|
|
||||||
|
function parseRepertoire($day, $cinemaId = null)
|
||||||
|
{
|
||||||
|
$movieJson = $this->fetchRepertorire($day, $cinemaId);
|
||||||
|
|
||||||
|
echo $day;
|
||||||
|
// print_r($movieJson);
|
||||||
|
$filmy = [];
|
||||||
|
foreach ($movieJson->films as $movie) {
|
||||||
|
$film = [];
|
||||||
|
$film['id'] = $movie->id;
|
||||||
|
$film['title'] = $movie->title;
|
||||||
|
$film['times'] = [];
|
||||||
|
$film['date'] = $day;
|
||||||
|
$film['runningtime'] = $movie->info_runningtime;
|
||||||
|
$film['genres'] = [];
|
||||||
|
$film['synopsis_short'] = str_replace(["\r\n", " "], [" "], $movie->synopsis_short);
|
||||||
|
if ($movie->original_s_count > 0 && $movie->show_showings) {
|
||||||
|
foreach ($movie->showings as $shoving) {
|
||||||
|
if ($shoving->date_time == $day) {
|
||||||
|
foreach ($shoving->times as $time) {
|
||||||
|
$film['times'][] = $time->time . " " . $time->screen_type;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach ($movie->genres->names as $genre) {
|
||||||
|
$film['genres'][] = $genre->name;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (count($film['times'])) {
|
||||||
|
$filmy[] = $film;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// print_r($filmy);
|
||||||
|
die();
|
||||||
|
return $filmy;
|
||||||
|
}
|
||||||
|
|
||||||
|
function convertToPrint($day, $cinemaId = null)
|
||||||
|
{
|
||||||
|
$filmy = $this->parseRepertoire($day, $cinemaId);
|
||||||
|
|
||||||
|
$text = '';
|
||||||
|
$text .= "Repertuar Multikino Gdańsk\n";
|
||||||
|
$text .= $day . "\n\n";
|
||||||
|
|
||||||
|
foreach ($filmy as $movie) {
|
||||||
|
$text .= $movie['title']. "\n";
|
||||||
|
$text .= '('.$movie['runningtime']. ")\n";
|
||||||
|
$text .= implode(', ', $movie['genres']) . "\n\n";
|
||||||
|
$text .= $movie['synopsis_short'] . "\n\n";
|
||||||
|
|
||||||
|
$text .= implode(', ', $movie['times']) . "\n";
|
||||||
|
$text .= "--------------------------------\n\n";
|
||||||
|
}
|
||||||
|
return $text;
|
||||||
|
}
|
||||||
|
}
|
||||||
21
app/Paper/HtmlToPos.php
Normal file
21
app/Paper/HtmlToPos.php
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Paper;
|
||||||
|
|
||||||
|
|
||||||
|
class HtmlToPos
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
private function handleNewLine($text)
|
||||||
|
{
|
||||||
|
return str_replace(['<br>', '<br/>', '<br />'], "\n", $text);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function convert($html = '')
|
||||||
|
{
|
||||||
|
$posText = $this->handleNewLine($html);
|
||||||
|
return $posText;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
20
app/Paper/Interfaces/Cinema.php
Normal file
20
app/Paper/Interfaces/Cinema.php
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
namespace App\Paper\Interfaces;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Created by PhpStorm.
|
||||||
|
* User: k
|
||||||
|
* Date: 28.05.2017
|
||||||
|
* Time: 20:14
|
||||||
|
*/
|
||||||
|
interface Cinema
|
||||||
|
{
|
||||||
|
function fetchRepertorire($day, $cinemaId = null);
|
||||||
|
|
||||||
|
function parseRepertoire($day, $cinemaId = null);
|
||||||
|
|
||||||
|
function convertToPrint($day, $cinemaId = null);
|
||||||
|
|
||||||
|
}
|
||||||
104
app/Paper/Paper.php
Normal file
104
app/Paper/Paper.php
Normal file
@@ -0,0 +1,104 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Paper;
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\DB;
|
||||||
|
use Mike42\Escpos\PrintConnectors\FilePrintConnector;
|
||||||
|
use Mike42\Escpos\Printer;
|
||||||
|
use Mike42\Escpos\EscposImage;
|
||||||
|
use Mockery\Exception;
|
||||||
|
|
||||||
|
class Paper
|
||||||
|
{
|
||||||
|
private $imageDirectory = 'large/';
|
||||||
|
private $imageDirectorySmall = 'small/';
|
||||||
|
|
||||||
|
|
||||||
|
private $printer;
|
||||||
|
private $connector;
|
||||||
|
|
||||||
|
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
$this->connector = new FilePrintConnector("/dev/usb/lp0");
|
||||||
|
$this->printer = new Printer($this->connector);
|
||||||
|
} catch (Exception $e) {
|
||||||
|
die($e->getMessage());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function sendHeaderPrint($title)
|
||||||
|
{
|
||||||
|
if (strlen($title)) {
|
||||||
|
$this->printer->setDoubleStrike(true);
|
||||||
|
$this->printer->setJustification(Printer::JUSTIFY_CENTER);
|
||||||
|
$this->printer->setEmphasis(true);
|
||||||
|
$this->printer->text($title . "\n\n");
|
||||||
|
$this->printer->setEmphasis(false);
|
||||||
|
$this->printer->setJustification(Printer::JUSTIFY_LEFT);
|
||||||
|
$this->printer->setDoubleStrike(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function sendImagePrint($image, $imageLocal = true)
|
||||||
|
{
|
||||||
|
if ($image) {
|
||||||
|
if ($imageLocal) {
|
||||||
|
$img = EscposImage::load($this->imageDirectory . basename($image) . '.png');
|
||||||
|
} else { //image not local so then remote image
|
||||||
|
$extension = strtolower(pathinfo($image, PATHINFO_EXTENSION));
|
||||||
|
|
||||||
|
$tmpFile = storage_path() . '/image_packt.' . $extension;
|
||||||
|
file_put_contents($tmpFile, file_get_contents($image));
|
||||||
|
$img = EscposImage::load($tmpFile);
|
||||||
|
}
|
||||||
|
$this->printer->setJustification(Printer::JUSTIFY_CENTER);
|
||||||
|
$this->printer->bitImageColumnFormat($img);
|
||||||
|
$this->printer->feed(2);
|
||||||
|
$this->printer->setJustification(Printer::JUSTIFY_LEFT);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public function sendPrint($title, $text = '', $image = false, $imageLocal = true)
|
||||||
|
{
|
||||||
|
$this->sendImagePrint($image, $imageLocal);
|
||||||
|
|
||||||
|
$this->sendHeaderPrint($title);
|
||||||
|
$htmlToPos = new HtmlToPos();
|
||||||
|
$this->printer->text($htmlToPos->convert($text));
|
||||||
|
|
||||||
|
$this->printer->feed(4);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* pobieranie ikon z bazy w kolejności ilości użyć, ikon z dysku a następnie
|
||||||
|
* usunięcie pozdbioru ikon z bazy ze wszystkich ikon a następnie dodanie
|
||||||
|
* ich na początek listy ikon
|
||||||
|
*
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function getIcons()
|
||||||
|
{
|
||||||
|
// $icons = array_diff(scandir($this->imageDirectorySmall), ['.', '..']);
|
||||||
|
|
||||||
|
$icons = ["address-card-o", "anchor", "archive-3", "at", "balance-scale", "ban", "bar-chart-o", "barcode", "battery-empty", "battery-full", "battery-half", "battery-quarter", "battery-three-quarters", "bed", "beer", "bell-o", "bell-slash-o", "bicycle", "birthday-cake", "bolt", "bomb", "book", "bug", "building-o", "bullhorn", "bus", "camera", "car", "chain", "chat-2", "check", "cloud", "code", "coffee", "cog", "cutlery", "dashboard", "database", "diamond", "dollar", "dribbble", "envelope-o", "envira", "exclamation-triangle", "female", "file-text-o", "film", "fingerprint", "fire-extinguisher", "fire", "flag-o", "flask", "floppy-o", "folder-o", "folder-open-o", "frown-o", "gamepad", "gift", "git", "glass", "graduation-cap", "grav", "group", "hand-o-left", "heart-o", "home", "lemon-o", "lightbulb-o", "list-alt", "location-arrow", "lock", "male", "map-1", "map-marker", "microchip", "money", "moon-o", "music", "paper-plane", "paperclip", "paw", "pencil", "phone", "pie-chart", "piggy-bank", "plane", "question-circle-o", "rocket", "search", "ship", "shopping-cart", "smile-o", "snowflake-o", "steam", "subway", "success", "support", "thermometer-2", "thumbs-o-down", "thumbs-o-up", "ticket", "times", "trash-o", "tree", "trophy", "truck", "umbrella", "usd", "warning", "wifi", "wpexplorer", "wrench", "youtube-play"];
|
||||||
|
|
||||||
|
|
||||||
|
$iconsDatabase = [];
|
||||||
|
$iconsDb = DB::select('SELECT icon FROM note WHERE icon is not null group by icon ORDER BY count(icon) DESC ');
|
||||||
|
foreach ($iconsDb as $icon) {
|
||||||
|
$iconsDatabase[] = pathinfo(basename($icon->icon), PATHINFO_FILENAME);
|
||||||
|
}
|
||||||
|
return (array_merge($iconsDatabase, array_diff($icons, $iconsDatabase)));
|
||||||
|
}
|
||||||
|
|
||||||
|
public function __destruct()
|
||||||
|
{
|
||||||
|
$this->printer->close();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
28
app/Providers/AppServiceProvider.php
Normal file
28
app/Providers/AppServiceProvider.php
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Providers;
|
||||||
|
|
||||||
|
use Illuminate\Support\ServiceProvider;
|
||||||
|
|
||||||
|
class AppServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Bootstrap any application services.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function boot()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register any application services.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function register()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
}
|
||||||
30
app/Providers/AuthServiceProvider.php
Normal file
30
app/Providers/AuthServiceProvider.php
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Providers;
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Gate;
|
||||||
|
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
|
||||||
|
|
||||||
|
class AuthServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The policy mappings for the application.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $policies = [
|
||||||
|
'App\Model' => 'App\Policies\ModelPolicy',
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register any authentication / authorization services.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function boot()
|
||||||
|
{
|
||||||
|
$this->registerPolicies();
|
||||||
|
|
||||||
|
//
|
||||||
|
}
|
||||||
|
}
|
||||||
21
app/Providers/BroadcastServiceProvider.php
Normal file
21
app/Providers/BroadcastServiceProvider.php
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Providers;
|
||||||
|
|
||||||
|
use Illuminate\Support\ServiceProvider;
|
||||||
|
use Illuminate\Support\Facades\Broadcast;
|
||||||
|
|
||||||
|
class BroadcastServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Bootstrap any application services.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function boot()
|
||||||
|
{
|
||||||
|
Broadcast::routes();
|
||||||
|
|
||||||
|
require base_path('routes/channels.php');
|
||||||
|
}
|
||||||
|
}
|
||||||
32
app/Providers/EventServiceProvider.php
Normal file
32
app/Providers/EventServiceProvider.php
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Providers;
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Event;
|
||||||
|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
||||||
|
|
||||||
|
class EventServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* The event listener mappings for the application.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $listen = [
|
||||||
|
'App\Events\SomeEvent' => [
|
||||||
|
'App\Listeners\EventListener',
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register any events for your application.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function boot()
|
||||||
|
{
|
||||||
|
parent::boot();
|
||||||
|
|
||||||
|
//
|
||||||
|
}
|
||||||
|
}
|
||||||
73
app/Providers/RouteServiceProvider.php
Normal file
73
app/Providers/RouteServiceProvider.php
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Providers;
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Route;
|
||||||
|
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
|
||||||
|
|
||||||
|
class RouteServiceProvider extends ServiceProvider
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* This namespace is applied to your controller routes.
|
||||||
|
*
|
||||||
|
* In addition, it is set as the URL generator's root namespace.
|
||||||
|
*
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $namespace = 'App\Http\Controllers';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define your route model bindings, pattern filters, etc.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function boot()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
|
||||||
|
parent::boot();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define the routes for the application.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function map()
|
||||||
|
{
|
||||||
|
$this->mapApiRoutes();
|
||||||
|
|
||||||
|
$this->mapWebRoutes();
|
||||||
|
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define the "web" routes for the application.
|
||||||
|
*
|
||||||
|
* These routes all receive session state, CSRF protection, etc.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
protected function mapWebRoutes()
|
||||||
|
{
|
||||||
|
Route::middleware('web')
|
||||||
|
->namespace($this->namespace)
|
||||||
|
->group(base_path('routes/web.php'));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Define the "api" routes for the application.
|
||||||
|
*
|
||||||
|
* These routes are typically stateless.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
protected function mapApiRoutes()
|
||||||
|
{
|
||||||
|
Route::prefix('api')
|
||||||
|
->middleware('api')
|
||||||
|
->namespace($this->namespace)
|
||||||
|
->group(base_path('routes/api.php'));
|
||||||
|
}
|
||||||
|
}
|
||||||
29
app/User.php
Normal file
29
app/User.php
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Illuminate\Notifications\Notifiable;
|
||||||
|
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||||
|
|
||||||
|
class User extends Authenticatable
|
||||||
|
{
|
||||||
|
use Notifiable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The attributes that are mass assignable.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $fillable = [
|
||||||
|
'name', 'email', 'password',
|
||||||
|
];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The attributes that should be hidden for arrays.
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $hidden = [
|
||||||
|
'password', 'remember_token',
|
||||||
|
];
|
||||||
|
}
|
||||||
51
artisan
Normal file
51
artisan
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
#!/usr/bin/env php
|
||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Register The Auto Loader
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Composer provides a convenient, automatically generated class loader
|
||||||
|
| for our application. We just need to utilize it! We'll require it
|
||||||
|
| into the script here so that we do not have to worry about the
|
||||||
|
| loading of any our classes "manually". Feels great to relax.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
require __DIR__.'/bootstrap/autoload.php';
|
||||||
|
|
||||||
|
$app = require_once __DIR__.'/bootstrap/app.php';
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Run The Artisan Application
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When we run the console application, the current CLI command will be
|
||||||
|
| executed in this console and the response sent back to a terminal
|
||||||
|
| or another output device for the developers. Here goes nothing!
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
|
||||||
|
|
||||||
|
$status = $kernel->handle(
|
||||||
|
$input = new Symfony\Component\Console\Input\ArgvInput,
|
||||||
|
new Symfony\Component\Console\Output\ConsoleOutput
|
||||||
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Shutdown The Application
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Once Artisan has finished running. We will fire off the shutdown events
|
||||||
|
| so that any final work may be done by the application before we shut
|
||||||
|
| down the process. This is the last thing to happen to the request.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$kernel->terminate($input, $status);
|
||||||
|
|
||||||
|
exit($status);
|
||||||
55
bootstrap/app.php
Normal file
55
bootstrap/app.php
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Create The Application
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The first thing we will do is create a new Laravel application instance
|
||||||
|
| which serves as the "glue" for all the components of Laravel, and is
|
||||||
|
| the IoC container for the system binding all of the various parts.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$app = new Illuminate\Foundation\Application(
|
||||||
|
realpath(__DIR__.'/../')
|
||||||
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Bind Important Interfaces
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Next, we need to bind some important interfaces into the container so
|
||||||
|
| we will be able to resolve them when needed. The kernels serve the
|
||||||
|
| incoming requests to this application from both the web and CLI.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$app->singleton(
|
||||||
|
Illuminate\Contracts\Http\Kernel::class,
|
||||||
|
App\Http\Kernel::class
|
||||||
|
);
|
||||||
|
|
||||||
|
$app->singleton(
|
||||||
|
Illuminate\Contracts\Console\Kernel::class,
|
||||||
|
App\Console\Kernel::class
|
||||||
|
);
|
||||||
|
|
||||||
|
$app->singleton(
|
||||||
|
Illuminate\Contracts\Debug\ExceptionHandler::class,
|
||||||
|
App\Exceptions\Handler::class
|
||||||
|
);
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Return The Application
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This script returns the application instance. The instance is given to
|
||||||
|
| the calling script so we can separate the building of the instances
|
||||||
|
| from the actual running of the application and sending responses.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
return $app;
|
||||||
17
bootstrap/autoload.php
Normal file
17
bootstrap/autoload.php
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
define('LARAVEL_START', microtime(true));
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Register The Composer Auto Loader
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Composer provides a convenient, automatically generated class loader
|
||||||
|
| for our application. We just need to utilize it! We'll require it
|
||||||
|
| into the script here so that we do not have to worry about the
|
||||||
|
| loading of any our classes "manually". Feels great to relax.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
require __DIR__.'/../vendor/autoload.php';
|
||||||
2
bootstrap/cache/.gitignore
vendored
Normal file
2
bootstrap/cache/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
||||||
53
composer.json
Normal file
53
composer.json
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
{
|
||||||
|
"name": "laravel/laravel",
|
||||||
|
"description": "The Laravel Framework.",
|
||||||
|
"keywords": ["framework", "laravel"],
|
||||||
|
"license": "MIT",
|
||||||
|
"type": "project",
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.6.4",
|
||||||
|
"imangazaliev/didom": "^1.9",
|
||||||
|
"intervention/image": "^2.3",
|
||||||
|
"laravel/framework": "5.4.*",
|
||||||
|
"laravel/tinker": "~1.0",
|
||||||
|
"mike42/escpos-php": "^1.5"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"fzaninotto/faker": "~1.4",
|
||||||
|
"mockery/mockery": "0.9.*",
|
||||||
|
"phpunit/phpunit": "~5.7"
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"classmap": [
|
||||||
|
"database"
|
||||||
|
],
|
||||||
|
"psr-4": {
|
||||||
|
"App\\": "app/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload-dev": {
|
||||||
|
"psr-4": {
|
||||||
|
"Tests\\": "tests/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"post-root-package-install": [
|
||||||
|
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
|
||||||
|
],
|
||||||
|
"post-create-project-cmd": [
|
||||||
|
"php artisan key:generate"
|
||||||
|
],
|
||||||
|
"post-install-cmd": [
|
||||||
|
"Illuminate\\Foundation\\ComposerScripts::postInstall",
|
||||||
|
"php artisan optimize"
|
||||||
|
],
|
||||||
|
"post-update-cmd": [
|
||||||
|
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
|
||||||
|
"php artisan optimize"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"preferred-install": "dist",
|
||||||
|
"sort-packages": true
|
||||||
|
}
|
||||||
|
}
|
||||||
3698
composer.lock
generated
Normal file
3698
composer.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
231
config/app.php
Normal file
231
config/app.php
Normal file
@@ -0,0 +1,231 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Name
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This value is the name of your application. This value is used when the
|
||||||
|
| framework needs to place the application's name in a notification or
|
||||||
|
| any other location as required by the application or its packages.
|
||||||
|
*/
|
||||||
|
|
||||||
|
'name' => 'Laravel',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Environment
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This value determines the "environment" your application is currently
|
||||||
|
| running in. This may determine how you prefer to configure various
|
||||||
|
| services your application utilizes. Set this in your ".env" file.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'env' => env('APP_ENV', 'production'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Debug Mode
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When your application is in debug mode, detailed error messages with
|
||||||
|
| stack traces will be shown on every error that occurs within your
|
||||||
|
| application. If disabled, a simple generic error page is shown.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'debug' => env('APP_DEBUG', true),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application URL
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This URL is used by the console to properly generate URLs when using
|
||||||
|
| the Artisan command line tool. You should set this to the root of
|
||||||
|
| your application so that it is used when running Artisan tasks.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'url' => env('APP_URL', 'https://paper.pi.techtube.pl'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Timezone
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify the default timezone for your application, which
|
||||||
|
| will be used by the PHP date and date-time functions. We have gone
|
||||||
|
| ahead and set this to a sensible default for you out of the box.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'timezone' => 'UTC',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Locale Configuration
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The application locale determines the default locale that will be used
|
||||||
|
| by the translation service provider. You are free to set this value
|
||||||
|
| to any of the locales which will be supported by the application.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'locale' => 'en',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Application Fallback Locale
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The fallback locale determines the locale to use when the current one
|
||||||
|
| is not available. You may change the value to correspond to any of
|
||||||
|
| the language folders that are provided through your application.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'fallback_locale' => 'en',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Encryption Key
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This key is used by the Illuminate encrypter service and should be set
|
||||||
|
| to a random, 32 character string, otherwise these encrypted strings
|
||||||
|
| will not be safe. Please do this before deploying an application!
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'key' => env('APP_KEY'),
|
||||||
|
|
||||||
|
'cipher' => 'AES-256-CBC',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Logging Configuration
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may configure the log settings for your application. Out of
|
||||||
|
| the box, Laravel uses the Monolog PHP logging library. This gives
|
||||||
|
| you a variety of powerful log handlers / formatters to utilize.
|
||||||
|
|
|
||||||
|
| Available Settings: "single", "daily", "syslog", "errorlog"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'log' => env('APP_LOG', 'single'),
|
||||||
|
|
||||||
|
'log_level' => env('APP_LOG_LEVEL', 'debug'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Autoloaded Service Providers
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The service providers listed here will be automatically loaded on the
|
||||||
|
| request to your application. Feel free to add your own services to
|
||||||
|
| this array to grant expanded functionality to your applications.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'providers' => [
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Laravel Framework Service Providers...
|
||||||
|
*/
|
||||||
|
Illuminate\Auth\AuthServiceProvider::class,
|
||||||
|
Illuminate\Broadcasting\BroadcastServiceProvider::class,
|
||||||
|
Illuminate\Bus\BusServiceProvider::class,
|
||||||
|
Illuminate\Cache\CacheServiceProvider::class,
|
||||||
|
Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
|
||||||
|
Illuminate\Cookie\CookieServiceProvider::class,
|
||||||
|
Illuminate\Database\DatabaseServiceProvider::class,
|
||||||
|
Illuminate\Encryption\EncryptionServiceProvider::class,
|
||||||
|
Illuminate\Filesystem\FilesystemServiceProvider::class,
|
||||||
|
Illuminate\Foundation\Providers\FoundationServiceProvider::class,
|
||||||
|
Illuminate\Hashing\HashServiceProvider::class,
|
||||||
|
Illuminate\Mail\MailServiceProvider::class,
|
||||||
|
Illuminate\Notifications\NotificationServiceProvider::class,
|
||||||
|
Illuminate\Pagination\PaginationServiceProvider::class,
|
||||||
|
Illuminate\Pipeline\PipelineServiceProvider::class,
|
||||||
|
Illuminate\Queue\QueueServiceProvider::class,
|
||||||
|
Illuminate\Redis\RedisServiceProvider::class,
|
||||||
|
Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
|
||||||
|
Illuminate\Session\SessionServiceProvider::class,
|
||||||
|
Illuminate\Translation\TranslationServiceProvider::class,
|
||||||
|
Illuminate\Validation\ValidationServiceProvider::class,
|
||||||
|
Illuminate\View\ViewServiceProvider::class,
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Package Service Providers...
|
||||||
|
*/
|
||||||
|
Laravel\Tinker\TinkerServiceProvider::class,
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Application Service Providers...
|
||||||
|
*/
|
||||||
|
App\Providers\AppServiceProvider::class,
|
||||||
|
App\Providers\AuthServiceProvider::class,
|
||||||
|
// App\Providers\BroadcastServiceProvider::class,
|
||||||
|
App\Providers\EventServiceProvider::class,
|
||||||
|
App\Providers\RouteServiceProvider::class,
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Class Aliases
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This array of class aliases will be registered when this application
|
||||||
|
| is started. However, feel free to register as many as you wish as
|
||||||
|
| the aliases are "lazy" loaded so they don't hinder performance.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'aliases' => [
|
||||||
|
|
||||||
|
'App' => Illuminate\Support\Facades\App::class,
|
||||||
|
'Artisan' => Illuminate\Support\Facades\Artisan::class,
|
||||||
|
'Auth' => Illuminate\Support\Facades\Auth::class,
|
||||||
|
'Blade' => Illuminate\Support\Facades\Blade::class,
|
||||||
|
'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
|
||||||
|
'Bus' => Illuminate\Support\Facades\Bus::class,
|
||||||
|
'Cache' => Illuminate\Support\Facades\Cache::class,
|
||||||
|
'Config' => Illuminate\Support\Facades\Config::class,
|
||||||
|
'Cookie' => Illuminate\Support\Facades\Cookie::class,
|
||||||
|
'Crypt' => Illuminate\Support\Facades\Crypt::class,
|
||||||
|
'DB' => Illuminate\Support\Facades\DB::class,
|
||||||
|
'Eloquent' => Illuminate\Database\Eloquent\Model::class,
|
||||||
|
'Event' => Illuminate\Support\Facades\Event::class,
|
||||||
|
'File' => Illuminate\Support\Facades\File::class,
|
||||||
|
'Gate' => Illuminate\Support\Facades\Gate::class,
|
||||||
|
'Hash' => Illuminate\Support\Facades\Hash::class,
|
||||||
|
'Lang' => Illuminate\Support\Facades\Lang::class,
|
||||||
|
'Log' => Illuminate\Support\Facades\Log::class,
|
||||||
|
'Mail' => Illuminate\Support\Facades\Mail::class,
|
||||||
|
'Notification' => Illuminate\Support\Facades\Notification::class,
|
||||||
|
'Password' => Illuminate\Support\Facades\Password::class,
|
||||||
|
'Queue' => Illuminate\Support\Facades\Queue::class,
|
||||||
|
'Redirect' => Illuminate\Support\Facades\Redirect::class,
|
||||||
|
'Redis' => Illuminate\Support\Facades\Redis::class,
|
||||||
|
'Request' => Illuminate\Support\Facades\Request::class,
|
||||||
|
'Response' => Illuminate\Support\Facades\Response::class,
|
||||||
|
'Route' => Illuminate\Support\Facades\Route::class,
|
||||||
|
'Schema' => Illuminate\Support\Facades\Schema::class,
|
||||||
|
'Session' => Illuminate\Support\Facades\Session::class,
|
||||||
|
'Storage' => Illuminate\Support\Facades\Storage::class,
|
||||||
|
'URL' => Illuminate\Support\Facades\URL::class,
|
||||||
|
'Validator' => Illuminate\Support\Facades\Validator::class,
|
||||||
|
'View' => Illuminate\Support\Facades\View::class,
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
102
config/auth.php
Normal file
102
config/auth.php
Normal file
@@ -0,0 +1,102 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Authentication Defaults
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option controls the default authentication "guard" and password
|
||||||
|
| reset options for your application. You may change these defaults
|
||||||
|
| as required, but they're a perfect start for most applications.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'defaults' => [
|
||||||
|
'guard' => 'web',
|
||||||
|
'passwords' => 'users',
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Authentication Guards
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Next, you may define every authentication guard for your application.
|
||||||
|
| Of course, a great default configuration has been defined for you
|
||||||
|
| here which uses session storage and the Eloquent user provider.
|
||||||
|
|
|
||||||
|
| All authentication drivers have a user provider. This defines how the
|
||||||
|
| users are actually retrieved out of your database or other storage
|
||||||
|
| mechanisms used by this application to persist your user's data.
|
||||||
|
|
|
||||||
|
| Supported: "session", "token"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'guards' => [
|
||||||
|
'web' => [
|
||||||
|
'driver' => 'session',
|
||||||
|
'provider' => 'users',
|
||||||
|
],
|
||||||
|
|
||||||
|
'api' => [
|
||||||
|
'driver' => 'token',
|
||||||
|
'provider' => 'users',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| User Providers
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| All authentication drivers have a user provider. This defines how the
|
||||||
|
| users are actually retrieved out of your database or other storage
|
||||||
|
| mechanisms used by this application to persist your user's data.
|
||||||
|
|
|
||||||
|
| If you have multiple user tables or models you may configure multiple
|
||||||
|
| sources which represent each model / table. These sources may then
|
||||||
|
| be assigned to any extra authentication guards you have defined.
|
||||||
|
|
|
||||||
|
| Supported: "database", "eloquent"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'providers' => [
|
||||||
|
'users' => [
|
||||||
|
'driver' => 'eloquent',
|
||||||
|
'model' => App\User::class,
|
||||||
|
],
|
||||||
|
|
||||||
|
// 'users' => [
|
||||||
|
// 'driver' => 'database',
|
||||||
|
// 'table' => 'users',
|
||||||
|
// ],
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Resetting Passwords
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| You may specify multiple password reset configurations if you have more
|
||||||
|
| than one user table or model in the application and you want to have
|
||||||
|
| separate password reset settings based on the specific user types.
|
||||||
|
|
|
||||||
|
| The expire time is the number of minutes that the reset token should be
|
||||||
|
| considered valid. This security feature keeps tokens short-lived so
|
||||||
|
| they have less time to be guessed. You may change this as needed.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'passwords' => [
|
||||||
|
'users' => [
|
||||||
|
'provider' => 'users',
|
||||||
|
'table' => 'password_resets',
|
||||||
|
'expire' => 60,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
58
config/broadcasting.php
Normal file
58
config/broadcasting.php
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Broadcaster
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option controls the default broadcaster that will be used by the
|
||||||
|
| framework when an event needs to be broadcast. You may set this to
|
||||||
|
| any of the connections defined in the "connections" array below.
|
||||||
|
|
|
||||||
|
| Supported: "pusher", "redis", "log", "null"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('BROADCAST_DRIVER', 'null'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Broadcast Connections
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may define all of the broadcast connections that will be used
|
||||||
|
| to broadcast events to other systems or over websockets. Samples of
|
||||||
|
| each available type of connection are provided inside this array.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'connections' => [
|
||||||
|
|
||||||
|
'pusher' => [
|
||||||
|
'driver' => 'pusher',
|
||||||
|
'key' => env('PUSHER_APP_KEY'),
|
||||||
|
'secret' => env('PUSHER_APP_SECRET'),
|
||||||
|
'app_id' => env('PUSHER_APP_ID'),
|
||||||
|
'options' => [
|
||||||
|
//
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
'redis' => [
|
||||||
|
'driver' => 'redis',
|
||||||
|
'connection' => 'default',
|
||||||
|
],
|
||||||
|
|
||||||
|
'log' => [
|
||||||
|
'driver' => 'log',
|
||||||
|
],
|
||||||
|
|
||||||
|
'null' => [
|
||||||
|
'driver' => 'null',
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
91
config/cache.php
Normal file
91
config/cache.php
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Cache Store
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option controls the default cache connection that gets used while
|
||||||
|
| using this caching library. This connection is used when another is
|
||||||
|
| not explicitly specified when executing a given caching function.
|
||||||
|
|
|
||||||
|
| Supported: "apc", "array", "database", "file", "memcached", "redis"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('CACHE_DRIVER', 'file'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Cache Stores
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may define all of the cache "stores" for your application as
|
||||||
|
| well as their drivers. You may even define multiple stores for the
|
||||||
|
| same cache driver to group types of items stored in your caches.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'stores' => [
|
||||||
|
|
||||||
|
'apc' => [
|
||||||
|
'driver' => 'apc',
|
||||||
|
],
|
||||||
|
|
||||||
|
'array' => [
|
||||||
|
'driver' => 'array',
|
||||||
|
],
|
||||||
|
|
||||||
|
'database' => [
|
||||||
|
'driver' => 'database',
|
||||||
|
'table' => 'cache',
|
||||||
|
'connection' => null,
|
||||||
|
],
|
||||||
|
|
||||||
|
'file' => [
|
||||||
|
'driver' => 'file',
|
||||||
|
'path' => storage_path('framework/cache/data'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'memcached' => [
|
||||||
|
'driver' => 'memcached',
|
||||||
|
'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
|
||||||
|
'sasl' => [
|
||||||
|
env('MEMCACHED_USERNAME'),
|
||||||
|
env('MEMCACHED_PASSWORD'),
|
||||||
|
],
|
||||||
|
'options' => [
|
||||||
|
// Memcached::OPT_CONNECT_TIMEOUT => 2000,
|
||||||
|
],
|
||||||
|
'servers' => [
|
||||||
|
[
|
||||||
|
'host' => env('MEMCACHED_HOST', '127.0.0.1'),
|
||||||
|
'port' => env('MEMCACHED_PORT', 11211),
|
||||||
|
'weight' => 100,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
'redis' => [
|
||||||
|
'driver' => 'redis',
|
||||||
|
'connection' => 'default',
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Cache Key Prefix
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When utilizing a RAM based store such as APC or Memcached, there might
|
||||||
|
| be other applications utilizing the same cache. So, we'll specify a
|
||||||
|
| value to get prefixed to all our keys so we can avoid collisions.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'prefix' => 'laravel',
|
||||||
|
|
||||||
|
];
|
||||||
108
config/database.php
Normal file
108
config/database.php
Normal file
@@ -0,0 +1,108 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Database Connection Name
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify which of the database connections below you wish
|
||||||
|
| to use as your default connection for all database work. Of course
|
||||||
|
| you may use many connections at once using the Database library.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('DB_CONNECTION', 'mysql'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Database Connections
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here are each of the database connections setup for your application.
|
||||||
|
| Of course, examples of configuring each database platform that is
|
||||||
|
| supported by Laravel is shown below to make development simple.
|
||||||
|
|
|
||||||
|
|
|
||||||
|
| All database work in Laravel is done through the PHP PDO facilities
|
||||||
|
| so make sure you have the driver for your particular database of
|
||||||
|
| choice installed on your machine before you begin development.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'connections' => [
|
||||||
|
|
||||||
|
'sqlite' => [
|
||||||
|
'driver' => 'sqlite',
|
||||||
|
'database' => env('DB_DATABASE', database_path('database.sqlite')),
|
||||||
|
'prefix' => '',
|
||||||
|
],
|
||||||
|
|
||||||
|
'mysql' => [
|
||||||
|
'driver' => 'mysql',
|
||||||
|
'host' => env('DB_HOST', '127.0.0.1'),
|
||||||
|
'port' => env('DB_PORT', '3306'),
|
||||||
|
'database' => env('DB_DATABASE', 'forge'),
|
||||||
|
'username' => env('DB_USERNAME', 'forge'),
|
||||||
|
'password' => env('DB_PASSWORD', ''),
|
||||||
|
'charset' => 'utf8mb4',
|
||||||
|
'collation' => 'utf8mb4_unicode_ci',
|
||||||
|
'prefix' => '',
|
||||||
|
'strict' => true,
|
||||||
|
'engine' => null,
|
||||||
|
],
|
||||||
|
|
||||||
|
'pgsql' => [
|
||||||
|
'driver' => 'pgsql',
|
||||||
|
'host' => env('DB_HOST', '127.0.0.1'),
|
||||||
|
'port' => env('DB_PORT', '5432'),
|
||||||
|
'database' => env('DB_DATABASE', 'forge'),
|
||||||
|
'username' => env('DB_USERNAME', 'forge'),
|
||||||
|
'password' => env('DB_PASSWORD', ''),
|
||||||
|
'charset' => 'utf8',
|
||||||
|
'prefix' => '',
|
||||||
|
'schema' => 'public',
|
||||||
|
'sslmode' => 'prefer',
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Migration Repository Table
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This table keeps track of all the migrations that have already run for
|
||||||
|
| your application. Using this information, we can determine which of
|
||||||
|
| the migrations on disk haven't actually been run in the database.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'migrations' => 'migrations',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Redis Databases
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Redis is an open source, fast, and advanced key-value store that also
|
||||||
|
| provides a richer set of commands than a typical key-value systems
|
||||||
|
| such as APC or Memcached. Laravel makes it easy to dig right in.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'redis' => [
|
||||||
|
|
||||||
|
'client' => 'predis',
|
||||||
|
|
||||||
|
'default' => [
|
||||||
|
'host' => env('REDIS_HOST', '127.0.0.1'),
|
||||||
|
'password' => env('REDIS_PASSWORD', null),
|
||||||
|
'port' => env('REDIS_PORT', 6379),
|
||||||
|
'database' => 0,
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
68
config/filesystems.php
Normal file
68
config/filesystems.php
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Filesystem Disk
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify the default filesystem disk that should be used
|
||||||
|
| by the framework. The "local" disk, as well as a variety of cloud
|
||||||
|
| based disks are available to your application. Just store away!
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => 'local',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Cloud Filesystem Disk
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Many applications store files both locally and in the cloud. For this
|
||||||
|
| reason, you may specify a default "cloud" driver here. This driver
|
||||||
|
| will be bound as the Cloud disk implementation in the container.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'cloud' => 's3',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Filesystem Disks
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may configure as many filesystem "disks" as you wish, and you
|
||||||
|
| may even configure multiple disks of the same driver. Defaults have
|
||||||
|
| been setup for each driver as an example of the required options.
|
||||||
|
|
|
||||||
|
| Supported Drivers: "local", "ftp", "s3", "rackspace"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'disks' => [
|
||||||
|
|
||||||
|
'local' => [
|
||||||
|
'driver' => 'local',
|
||||||
|
'root' => storage_path('app'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'public' => [
|
||||||
|
'driver' => 'local',
|
||||||
|
'root' => storage_path('app/public'),
|
||||||
|
'url' => env('APP_URL').'/storage',
|
||||||
|
'visibility' => 'public',
|
||||||
|
],
|
||||||
|
|
||||||
|
's3' => [
|
||||||
|
'driver' => 's3',
|
||||||
|
'key' => env('AWS_KEY'),
|
||||||
|
'secret' => env('AWS_SECRET'),
|
||||||
|
'region' => env('AWS_REGION'),
|
||||||
|
'bucket' => env('AWS_BUCKET'),
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
123
config/mail.php
Normal file
123
config/mail.php
Normal file
@@ -0,0 +1,123 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Mail Driver
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
|
||||||
|
| sending of e-mail. You may specify which one you're using throughout
|
||||||
|
| your application here. By default, Laravel is setup for SMTP mail.
|
||||||
|
|
|
||||||
|
| Supported: "smtp", "sendmail", "mailgun", "mandrill", "ses",
|
||||||
|
| "sparkpost", "log", "array"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'driver' => env('MAIL_DRIVER', 'smtp'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| SMTP Host Address
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may provide the host address of the SMTP server used by your
|
||||||
|
| applications. A default option is provided that is compatible with
|
||||||
|
| the Mailgun mail service which will provide reliable deliveries.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| SMTP Host Port
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This is the SMTP port used by your application to deliver e-mails to
|
||||||
|
| users of the application. Like the host we have set this value to
|
||||||
|
| stay compatible with the Mailgun e-mail application by default.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'port' => env('MAIL_PORT', 587),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Global "From" Address
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| You may wish for all e-mails sent by your application to be sent from
|
||||||
|
| the same address. Here, you may specify a name and address that is
|
||||||
|
| used globally for all e-mails that are sent by your application.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'from' => [
|
||||||
|
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
|
||||||
|
'name' => env('MAIL_FROM_NAME', 'Example'),
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| E-Mail Encryption Protocol
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify the encryption protocol that should be used when
|
||||||
|
| the application send e-mail messages. A sensible default using the
|
||||||
|
| transport layer security protocol should provide great security.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| SMTP Server Username
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If your SMTP server requires a username for authentication, you should
|
||||||
|
| set it here. This will get used to authenticate with your server on
|
||||||
|
| connection. You may also set the "password" value below this one.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'username' => env('MAIL_USERNAME'),
|
||||||
|
|
||||||
|
'password' => env('MAIL_PASSWORD'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Sendmail System Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When using the "sendmail" driver to send e-mails, we will need to know
|
||||||
|
| the path to where Sendmail lives on this server. A default path has
|
||||||
|
| been provided here, which will work well on most of your systems.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'sendmail' => '/usr/sbin/sendmail -bs',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Markdown Mail Settings
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| If you are using Markdown based email rendering, you may configure your
|
||||||
|
| theme and component paths here, allowing you to customize the design
|
||||||
|
| of the emails. Or, you may simply stick with the Laravel defaults!
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'markdown' => [
|
||||||
|
'theme' => 'default',
|
||||||
|
|
||||||
|
'paths' => [
|
||||||
|
resource_path('views/vendor/mail'),
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
85
config/queue.php
Normal file
85
config/queue.php
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Queue Driver
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Laravel's queue API supports an assortment of back-ends via a single
|
||||||
|
| API, giving you convenient access to each back-end using the same
|
||||||
|
| syntax for each one. Here you may set the default queue driver.
|
||||||
|
|
|
||||||
|
| Supported: "sync", "database", "beanstalkd", "sqs", "redis", "null"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'default' => env('QUEUE_DRIVER', 'sync'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Queue Connections
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may configure the connection information for each server that
|
||||||
|
| is used by your application. A default configuration has been added
|
||||||
|
| for each back-end shipped with Laravel. You are free to add more.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'connections' => [
|
||||||
|
|
||||||
|
'sync' => [
|
||||||
|
'driver' => 'sync',
|
||||||
|
],
|
||||||
|
|
||||||
|
'database' => [
|
||||||
|
'driver' => 'database',
|
||||||
|
'table' => 'jobs',
|
||||||
|
'queue' => 'default',
|
||||||
|
'retry_after' => 90,
|
||||||
|
],
|
||||||
|
|
||||||
|
'beanstalkd' => [
|
||||||
|
'driver' => 'beanstalkd',
|
||||||
|
'host' => 'localhost',
|
||||||
|
'queue' => 'default',
|
||||||
|
'retry_after' => 90,
|
||||||
|
],
|
||||||
|
|
||||||
|
'sqs' => [
|
||||||
|
'driver' => 'sqs',
|
||||||
|
'key' => 'your-public-key',
|
||||||
|
'secret' => 'your-secret-key',
|
||||||
|
'prefix' => 'https://sqs.us-east-1.amazonaws.com/your-account-id',
|
||||||
|
'queue' => 'your-queue-name',
|
||||||
|
'region' => 'us-east-1',
|
||||||
|
],
|
||||||
|
|
||||||
|
'redis' => [
|
||||||
|
'driver' => 'redis',
|
||||||
|
'connection' => 'default',
|
||||||
|
'queue' => 'default',
|
||||||
|
'retry_after' => 90,
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Failed Queue Jobs
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| These options configure the behavior of failed queue job logging so you
|
||||||
|
| can control which database and table are used to store the jobs that
|
||||||
|
| have failed. You may change them to any database / table you wish.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'failed' => [
|
||||||
|
'database' => env('DB_CONNECTION', 'mysql'),
|
||||||
|
'table' => 'failed_jobs',
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
38
config/services.php
Normal file
38
config/services.php
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Third Party Services
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This file is for storing the credentials for third party services such
|
||||||
|
| as Stripe, Mailgun, SparkPost and others. This file provides a sane
|
||||||
|
| default location for this type of information, allowing packages
|
||||||
|
| to have a conventional place to find your various credentials.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'mailgun' => [
|
||||||
|
'domain' => env('MAILGUN_DOMAIN'),
|
||||||
|
'secret' => env('MAILGUN_SECRET'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'ses' => [
|
||||||
|
'key' => env('SES_KEY'),
|
||||||
|
'secret' => env('SES_SECRET'),
|
||||||
|
'region' => 'us-east-1',
|
||||||
|
],
|
||||||
|
|
||||||
|
'sparkpost' => [
|
||||||
|
'secret' => env('SPARKPOST_SECRET'),
|
||||||
|
],
|
||||||
|
|
||||||
|
'stripe' => [
|
||||||
|
'model' => App\User::class,
|
||||||
|
'key' => env('STRIPE_KEY'),
|
||||||
|
'secret' => env('STRIPE_SECRET'),
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
179
config/session.php
Normal file
179
config/session.php
Normal file
@@ -0,0 +1,179 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Default Session Driver
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option controls the default session "driver" that will be used on
|
||||||
|
| requests. By default, we will use the lightweight native driver but
|
||||||
|
| you may specify any of the other wonderful drivers provided here.
|
||||||
|
|
|
||||||
|
| Supported: "file", "cookie", "database", "apc",
|
||||||
|
| "memcached", "redis", "array"
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'driver' => env('SESSION_DRIVER', 'file'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Lifetime
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may specify the number of minutes that you wish the session
|
||||||
|
| to be allowed to remain idle before it expires. If you want them
|
||||||
|
| to immediately expire on the browser closing, set that option.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'lifetime' => 120,
|
||||||
|
|
||||||
|
'expire_on_close' => false,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Encryption
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option allows you to easily specify that all of your session data
|
||||||
|
| should be encrypted before it is stored. All encryption will be run
|
||||||
|
| automatically by Laravel and you can use the Session like normal.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'encrypt' => false,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session File Location
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When using the native session driver, we need a location where session
|
||||||
|
| files may be stored. A default has been set for you but a different
|
||||||
|
| location may be specified. This is only needed for file sessions.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'files' => storage_path('framework/sessions'),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Database Connection
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When using the "database" or "redis" session drivers, you may specify a
|
||||||
|
| connection that should be used to manage these sessions. This should
|
||||||
|
| correspond to a connection in your database configuration options.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'connection' => null,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Database Table
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When using the "database" session driver, you may specify the table we
|
||||||
|
| should use to manage the sessions. Of course, a sensible default is
|
||||||
|
| provided for you; however, you are free to change this as needed.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'table' => 'sessions',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Cache Store
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| When using the "apc" or "memcached" session drivers, you may specify a
|
||||||
|
| cache store that should be used for these sessions. This value must
|
||||||
|
| correspond with one of the application's configured cache stores.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'store' => null,
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Sweeping Lottery
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Some session drivers must manually sweep their storage location to get
|
||||||
|
| rid of old sessions from storage. Here are the chances that it will
|
||||||
|
| happen on a given request. By default, the odds are 2 out of 100.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'lottery' => [2, 100],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Cookie Name
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may change the name of the cookie used to identify a session
|
||||||
|
| instance by ID. The name specified here will get used every time a
|
||||||
|
| new session cookie is created by the framework for every driver.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'cookie' => 'laravel_session',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Cookie Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| The session cookie path determines the path for which the cookie will
|
||||||
|
| be regarded as available. Typically, this will be the root path of
|
||||||
|
| your application but you are free to change this when necessary.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'path' => '/',
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Session Cookie Domain
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may change the domain of the cookie used to identify a session
|
||||||
|
| in your application. This will determine which domains the cookie is
|
||||||
|
| available to in your application. A sensible default has been set.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'domain' => env('SESSION_DOMAIN', null),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| HTTPS Only Cookies
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| By setting this option to true, session cookies will only be sent back
|
||||||
|
| to the server if the browser has a HTTPS connection. This will keep
|
||||||
|
| the cookie from being sent to you if it can not be done securely.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'secure' => env('SESSION_SECURE_COOKIE', false),
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| HTTP Access Only
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Setting this value to true will prevent JavaScript from accessing the
|
||||||
|
| value of the cookie and the cookie will only be accessible through
|
||||||
|
| the HTTP protocol. You are free to modify this option if needed.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'http_only' => true,
|
||||||
|
|
||||||
|
];
|
||||||
33
config/view.php
Normal file
33
config/view.php
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| View Storage Paths
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Most templating systems load templates from disk. Here you may specify
|
||||||
|
| an array of paths that should be checked for your views. Of course
|
||||||
|
| the usual Laravel view path has already been registered for you.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'paths' => [
|
||||||
|
realpath(base_path('resources/views')),
|
||||||
|
],
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Compiled View Path
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| This option determines where all the compiled Blade templates will be
|
||||||
|
| stored for your application. Typically, this is within the storage
|
||||||
|
| directory. However, as usual, you are free to change this value.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
'compiled' => realpath(storage_path('framework/views')),
|
||||||
|
|
||||||
|
];
|
||||||
1
database/.gitignore
vendored
Normal file
1
database/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.sqlite
|
||||||
24
database/factories/ModelFactory.php
Normal file
24
database/factories/ModelFactory.php
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Model Factories
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Here you may define all of your model factories. Model factories give
|
||||||
|
| you a convenient way to create models for testing and seeding your
|
||||||
|
| database. Just tell the factory how a default model should look.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
/** @var \Illuminate\Database\Eloquent\Factory $factory */
|
||||||
|
$factory->define(App\User::class, function (Faker\Generator $faker) {
|
||||||
|
static $password;
|
||||||
|
|
||||||
|
return [
|
||||||
|
'name' => $faker->name,
|
||||||
|
'email' => $faker->unique()->safeEmail,
|
||||||
|
'password' => $password ?: $password = bcrypt('secret'),
|
||||||
|
'remember_token' => str_random(10),
|
||||||
|
];
|
||||||
|
});
|
||||||
35
database/migrations/2014_10_12_000000_create_users_table.php
Normal file
35
database/migrations/2014_10_12_000000_create_users_table.php
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
|
||||||
|
class CreateUsersTable extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::create('users', function (Blueprint $table) {
|
||||||
|
$table->increments('id');
|
||||||
|
$table->string('name');
|
||||||
|
$table->string('email')->unique();
|
||||||
|
$table->string('password');
|
||||||
|
$table->rememberToken();
|
||||||
|
$table->timestamps();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('users');
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
|
||||||
|
class CreatePasswordResetsTable extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
Schema::create('password_resets', function (Blueprint $table) {
|
||||||
|
$table->string('email')->index();
|
||||||
|
$table->string('token')->index();
|
||||||
|
$table->timestamp('created_at')->nullable();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::dropIfExists('password_resets');
|
||||||
|
}
|
||||||
|
}
|
||||||
16
database/seeds/DatabaseSeeder.php
Normal file
16
database/seeds/DatabaseSeeder.php
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Seeder;
|
||||||
|
|
||||||
|
class DatabaseSeeder extends Seeder
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the database seeds.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function run()
|
||||||
|
{
|
||||||
|
// $this->call(UsersTableSeeder::class);
|
||||||
|
}
|
||||||
|
}
|
||||||
17
package.json
Normal file
17
package.json
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"dev": "node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||||
|
"watch": "node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||||
|
"hot": "node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||||
|
"production": "node node_modules/cross-env/bin/cross-env.js NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"axios": "^0.15.3",
|
||||||
|
"bootstrap-sass": "^3.3.7",
|
||||||
|
"jquery": "^3.1.1",
|
||||||
|
"laravel-mix": "^0.7.2",
|
||||||
|
"lodash": "^4.17.4",
|
||||||
|
"vue": "^2.1.10"
|
||||||
|
}
|
||||||
|
}
|
||||||
31
phpunit.xml
Normal file
31
phpunit.xml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<phpunit backupGlobals="false"
|
||||||
|
backupStaticAttributes="false"
|
||||||
|
bootstrap="bootstrap/autoload.php"
|
||||||
|
colors="true"
|
||||||
|
convertErrorsToExceptions="true"
|
||||||
|
convertNoticesToExceptions="true"
|
||||||
|
convertWarningsToExceptions="true"
|
||||||
|
processIsolation="false"
|
||||||
|
stopOnFailure="false">
|
||||||
|
<testsuites>
|
||||||
|
<testsuite name="Feature Tests">
|
||||||
|
<directory suffix="Test.php">./tests/Feature</directory>
|
||||||
|
</testsuite>
|
||||||
|
|
||||||
|
<testsuite name="Unit Tests">
|
||||||
|
<directory suffix="Test.php">./tests/Unit</directory>
|
||||||
|
</testsuite>
|
||||||
|
</testsuites>
|
||||||
|
<filter>
|
||||||
|
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||||
|
<directory suffix=".php">./app</directory>
|
||||||
|
</whitelist>
|
||||||
|
</filter>
|
||||||
|
<php>
|
||||||
|
<env name="APP_ENV" value="testing"/>
|
||||||
|
<env name="CACHE_DRIVER" value="array"/>
|
||||||
|
<env name="SESSION_DRIVER" value="array"/>
|
||||||
|
<env name="QUEUE_DRIVER" value="sync"/>
|
||||||
|
</php>
|
||||||
|
</phpunit>
|
||||||
20
public/.htaccess
Normal file
20
public/.htaccess
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<IfModule mod_rewrite.c>
|
||||||
|
<IfModule mod_negotiation.c>
|
||||||
|
Options -MultiViews
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
RewriteEngine On
|
||||||
|
|
||||||
|
# Redirect Trailing Slashes If Not A Folder...
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteRule ^(.*)/$ /$1 [L,R=301]
|
||||||
|
|
||||||
|
# Handle Front Controller...
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteRule ^ index.php [L]
|
||||||
|
|
||||||
|
# Handle Authorization Header
|
||||||
|
RewriteCond %{HTTP:Authorization} .
|
||||||
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||||
|
</IfModule>
|
||||||
252
public/css/accordion.css
vendored
Normal file
252
public/css/accordion.css
vendored
Normal file
@@ -0,0 +1,252 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Accordion
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Accordion
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.accordion,
|
||||||
|
.ui.accordion .accordion {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
.ui.accordion .accordion {
|
||||||
|
margin: 1em 0em 0em;
|
||||||
|
padding: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Title */
|
||||||
|
.ui.accordion .title,
|
||||||
|
.ui.accordion .accordion .title {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Default Styling */
|
||||||
|
.ui.accordion .title:not(.ui) {
|
||||||
|
padding: 0.5em 0em;
|
||||||
|
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 1em;
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Content */
|
||||||
|
.ui.accordion .title ~ .content,
|
||||||
|
.ui.accordion .accordion .title ~ .content {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Default Styling */
|
||||||
|
.ui.accordion:not(.styled) .title ~ .content:not(.ui),
|
||||||
|
.ui.accordion:not(.styled) .accordion .title ~ .content:not(.ui) {
|
||||||
|
margin: '';
|
||||||
|
padding: 0.5em 0em 1em;
|
||||||
|
}
|
||||||
|
.ui.accordion:not(.styled) .title ~ .content:not(.ui):last-child {
|
||||||
|
padding-bottom: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Arrow */
|
||||||
|
.ui.accordion .title .dropdown.icon,
|
||||||
|
.ui.accordion .accordion .title .dropdown.icon {
|
||||||
|
display: inline-block;
|
||||||
|
float: none;
|
||||||
|
opacity: 1;
|
||||||
|
width: 1.25em;
|
||||||
|
height: 1em;
|
||||||
|
margin: 0em 0.25rem 0em 0rem;
|
||||||
|
padding: 0em;
|
||||||
|
font-size: 1em;
|
||||||
|
-webkit-transition: opacity 0.1s ease, -webkit-transform 0.1s ease;
|
||||||
|
transition: opacity 0.1s ease, -webkit-transform 0.1s ease;
|
||||||
|
transition: transform 0.1s ease, opacity 0.1s ease;
|
||||||
|
transition: transform 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease;
|
||||||
|
vertical-align: baseline;
|
||||||
|
-webkit-transform: none;
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Coupling
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Menu */
|
||||||
|
.ui.accordion.menu .item .title {
|
||||||
|
display: block;
|
||||||
|
padding: 0em;
|
||||||
|
}
|
||||||
|
.ui.accordion.menu .item .title > .dropdown.icon {
|
||||||
|
float: right;
|
||||||
|
margin: 0.21425em 0em 0em 1em;
|
||||||
|
-webkit-transform: rotate(180deg);
|
||||||
|
transform: rotate(180deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Header */
|
||||||
|
.ui.accordion .ui.header .dropdown.icon {
|
||||||
|
font-size: 1em;
|
||||||
|
margin: 0em 0.25rem 0em 0rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
States
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.accordion .active.title .dropdown.icon,
|
||||||
|
.ui.accordion .accordion .active.title .dropdown.icon {
|
||||||
|
-webkit-transform: rotate(90deg);
|
||||||
|
transform: rotate(90deg);
|
||||||
|
}
|
||||||
|
.ui.accordion.menu .item .active.title > .dropdown.icon {
|
||||||
|
-webkit-transform: rotate(90deg);
|
||||||
|
transform: rotate(90deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Types
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Styled
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.styled.accordion {
|
||||||
|
width: 600px;
|
||||||
|
}
|
||||||
|
.ui.styled.accordion,
|
||||||
|
.ui.styled.accordion .accordion {
|
||||||
|
border-radius: 0.28571429rem;
|
||||||
|
background: #FFFFFF;
|
||||||
|
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15);
|
||||||
|
}
|
||||||
|
.ui.styled.accordion .title,
|
||||||
|
.ui.styled.accordion .accordion .title {
|
||||||
|
margin: 0em;
|
||||||
|
padding: 0.75em 1em;
|
||||||
|
color: rgba(0, 0, 0, 0.4);
|
||||||
|
font-weight: bold;
|
||||||
|
border-top: 1px solid rgba(34, 36, 38, 0.15);
|
||||||
|
-webkit-transition: background 0.1s ease, color 0.1s ease;
|
||||||
|
transition: background 0.1s ease, color 0.1s ease;
|
||||||
|
}
|
||||||
|
.ui.styled.accordion > .title:first-child,
|
||||||
|
.ui.styled.accordion .accordion .title:first-child {
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Content */
|
||||||
|
.ui.styled.accordion .content,
|
||||||
|
.ui.styled.accordion .accordion .content {
|
||||||
|
margin: 0em;
|
||||||
|
padding: 0.5em 1em 1.5em;
|
||||||
|
}
|
||||||
|
.ui.styled.accordion .accordion .content {
|
||||||
|
padding: 0em;
|
||||||
|
padding: 0.5em 1em 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hover */
|
||||||
|
.ui.styled.accordion .title:hover,
|
||||||
|
.ui.styled.accordion .active.title,
|
||||||
|
.ui.styled.accordion .accordion .title:hover,
|
||||||
|
.ui.styled.accordion .accordion .active.title {
|
||||||
|
background: transparent;
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
}
|
||||||
|
.ui.styled.accordion .accordion .title:hover,
|
||||||
|
.ui.styled.accordion .accordion .active.title {
|
||||||
|
background: transparent;
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Active */
|
||||||
|
.ui.styled.accordion .active.title {
|
||||||
|
background: transparent;
|
||||||
|
color: rgba(0, 0, 0, 0.95);
|
||||||
|
}
|
||||||
|
.ui.styled.accordion .accordion .active.title {
|
||||||
|
background: transparent;
|
||||||
|
color: rgba(0, 0, 0, 0.95);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
States
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Active
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.accordion .active.content,
|
||||||
|
.ui.accordion .accordion .active.content {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Variations
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Fluid
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.fluid.accordion,
|
||||||
|
.ui.fluid.accordion .accordion {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Inverted
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.inverted.accordion .title:not(.ui) {
|
||||||
|
color: rgba(255, 255, 255, 0.9);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Theme Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Accordion';
|
||||||
|
src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggjB5AAAAC8AAAAYGNtYXAPfOIKAAABHAAAAExnYXNwAAAAEAAAAWgAAAAIZ2x5Zryj6HgAAAFwAAAAyGhlYWT/0IhHAAACOAAAADZoaGVhApkB5wAAAnAAAAAkaG10eAJuABIAAAKUAAAAGGxvY2EAjABWAAACrAAAAA5tYXhwAAgAFgAAArwAAAAgbmFtZfC1n04AAALcAAABPHBvc3QAAwAAAAAEGAAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADw2gHg/+D/4AHgACAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEADgAAAAKAAgAAgACAAEAIPDa//3//wAAAAAAIPDZ//3//wAB/+MPKwADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQASAEkAtwFuABMAADc0PwE2FzYXFh0BFAcGJwYvASY1EgaABQgHBQYGBQcIBYAG2wcGfwcBAQcECf8IBAcBAQd/BgYAAAAAAQAAAEkApQFuABMAADcRNDc2MzIfARYVFA8BBiMiJyY1AAUGBwgFgAYGgAUIBwYFWwEACAUGBoAFCAcFgAYGBQcAAAABAAAAAQAAqWYls18PPPUACwIAAAAAAM/9o+4AAAAAz/2j7gAAAAAAtwFuAAAACAACAAAAAAAAAAEAAAHg/+AAAAIAAAAAAAC3AAEAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAQAAAAC3ABIAtwAAAAAAAAAKABQAHgBCAGQAAAABAAAABgAUAAEAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEADAAAAAEAAAAAAAIADgBAAAEAAAAAAAMADAAiAAEAAAAAAAQADABOAAEAAAAAAAUAFgAMAAEAAAAAAAYABgAuAAEAAAAAAAoANABaAAMAAQQJAAEADAAAAAMAAQQJAAIADgBAAAMAAQQJAAMADAAiAAMAAQQJAAQADABOAAMAAQQJAAUAFgAMAAMAAQQJAAYADAA0AAMAAQQJAAoANABaAHIAYQB0AGkAbgBnAFYAZQByAHMAaQBvAG4AIAAxAC4AMAByAGEAdABpAG4AZ3JhdGluZwByAGEAdABpAG4AZwBSAGUAZwB1AGwAYQByAHIAYQB0AGkAbgBnAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('truetype'), url(data:application/font-woff;charset=utf-8;base64,d09GRk9UVE8AAASwAAoAAAAABGgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAAAS0AAAEtFpovuE9TLzIAAAIkAAAAYAAAAGAIIweQY21hcAAAAoQAAABMAAAATA984gpnYXNwAAAC0AAAAAgAAAAIAAAAEGhlYWQAAALYAAAANgAAADb/0IhHaGhlYQAAAxAAAAAkAAAAJAKZAedobXR4AAADNAAAABgAAAAYAm4AEm1heHAAAANMAAAABgAAAAYABlAAbmFtZQAAA1QAAAE8AAABPPC1n05wb3N0AAAEkAAAACAAAAAgAAMAAAEABAQAAQEBB3JhdGluZwABAgABADr4HAL4GwP4GAQeCgAZU/+Lix4KABlT/4uLDAeLa/iU+HQFHQAAAHkPHQAAAH4RHQAAAAkdAAABJBIABwEBBw0PERQZHnJhdGluZ3JhdGluZ3UwdTF1MjB1RjBEOXVGMERBAAACAYkABAAGAQEEBwoNVp38lA78lA78lA77lA773Z33bxWLkI2Qj44I9xT3FAWOj5CNkIuQi4+JjoePiI2Gi4YIi/uUBYuGiYeHiIiHh4mGi4aLho2Ijwj7FPcUBYeOiY+LkAgO+92L5hWL95QFi5CNkI6Oj4+PjZCLkIuQiY6HCPcU+xQFj4iNhouGi4aJh4eICPsU+xQFiIeGiYaLhouHjYePiI6Jj4uQCA74lBT4lBWLDAoAAAAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADw2gHg/+D/4AHgACAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEADgAAAAKAAgAAgACAAEAIPDa//3//wAAAAAAIPDZ//3//wAB/+MPKwADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAEAADfYOJZfDzz1AAsCAAAAAADP/aPuAAAAAM/9o+4AAAAAALcBbgAAAAgAAgAAAAAAAAABAAAB4P/gAAACAAAAAAAAtwABAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAEAAAAAtwASALcAAAAAUAAABgAAAAAADgCuAAEAAAAAAAEADAAAAAEAAAAAAAIADgBAAAEAAAAAAAMADAAiAAEAAAAAAAQADABOAAEAAAAAAAUAFgAMAAEAAAAAAAYABgAuAAEAAAAAAAoANABaAAMAAQQJAAEADAAAAAMAAQQJAAIADgBAAAMAAQQJAAMADAAiAAMAAQQJAAQADABOAAMAAQQJAAUAFgAMAAMAAQQJAAYADAA0AAMAAQQJAAoANABaAHIAYQB0AGkAbgBnAFYAZQByAHMAaQBvAG4AIAAxAC4AMAByAGEAdABpAG4AZ3JhdGluZwByAGEAdABpAG4AZwBSAGUAZwB1AGwAYQByAHIAYQB0AGkAbgBnAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('woff');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Dropdown Icon */
|
||||||
|
.ui.accordion .title .dropdown.icon,
|
||||||
|
.ui.accordion .accordion .title .dropdown.icon {
|
||||||
|
font-family: Accordion;
|
||||||
|
line-height: 1;
|
||||||
|
-webkit-backface-visibility: hidden;
|
||||||
|
backface-visibility: hidden;
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.ui.accordion .title .dropdown.icon:before,
|
||||||
|
.ui.accordion .accordion .title .dropdown.icon:before {
|
||||||
|
content: '\f0da' /*rtl:'\f0d9'*/;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
User Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
9
public/css/accordion.min.css
vendored
Normal file
9
public/css/accordion.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
275
public/css/ad.css
vendored
Normal file
275
public/css/ad.css
vendored
Normal file
@@ -0,0 +1,275 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Ad
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Copyright 2013 Contributors
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Advertisement
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.ad {
|
||||||
|
display: block;
|
||||||
|
overflow: hidden;
|
||||||
|
margin: 1em 0em;
|
||||||
|
}
|
||||||
|
.ui.ad:first-child {
|
||||||
|
margin: 0em;
|
||||||
|
}
|
||||||
|
.ui.ad:last-child {
|
||||||
|
margin: 0em;
|
||||||
|
}
|
||||||
|
.ui.ad iframe {
|
||||||
|
margin: 0em;
|
||||||
|
padding: 0em;
|
||||||
|
border: none;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Common
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Leaderboard */
|
||||||
|
.ui.leaderboard.ad {
|
||||||
|
width: 728px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Medium Rectangle */
|
||||||
|
.ui[class*="medium rectangle"].ad {
|
||||||
|
width: 300px;
|
||||||
|
height: 250px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Large Rectangle */
|
||||||
|
.ui[class*="large rectangle"].ad {
|
||||||
|
width: 336px;
|
||||||
|
height: 280px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Half Page */
|
||||||
|
.ui[class*="half page"].ad {
|
||||||
|
width: 300px;
|
||||||
|
height: 600px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Square
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Square */
|
||||||
|
.ui.square.ad {
|
||||||
|
width: 250px;
|
||||||
|
height: 250px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Small Square */
|
||||||
|
.ui[class*="small square"].ad {
|
||||||
|
width: 200px;
|
||||||
|
height: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Rectangle
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Small Rectangle */
|
||||||
|
.ui[class*="small rectangle"].ad {
|
||||||
|
width: 180px;
|
||||||
|
height: 150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Vertical Rectangle */
|
||||||
|
.ui[class*="vertical rectangle"].ad {
|
||||||
|
width: 240px;
|
||||||
|
height: 400px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Button
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.button.ad {
|
||||||
|
width: 120px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
.ui[class*="square button"].ad {
|
||||||
|
width: 125px;
|
||||||
|
height: 125px;
|
||||||
|
}
|
||||||
|
.ui[class*="small button"].ad {
|
||||||
|
width: 120px;
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Skyscrapers
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Skyscraper */
|
||||||
|
.ui.skyscraper.ad {
|
||||||
|
width: 120px;
|
||||||
|
height: 600px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Wide Skyscraper */
|
||||||
|
.ui[class*="wide skyscraper"].ad {
|
||||||
|
width: 160px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Banners
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Banner */
|
||||||
|
.ui.banner.ad {
|
||||||
|
width: 468px;
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Vertical Banner */
|
||||||
|
.ui[class*="vertical banner"].ad {
|
||||||
|
width: 120px;
|
||||||
|
height: 240px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Top Banner */
|
||||||
|
.ui[class*="top banner"].ad {
|
||||||
|
width: 930px;
|
||||||
|
height: 180px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Half Banner */
|
||||||
|
.ui[class*="half banner"].ad {
|
||||||
|
width: 234px;
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Boards
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Leaderboard */
|
||||||
|
.ui[class*="large leaderboard"].ad {
|
||||||
|
width: 970px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Billboard */
|
||||||
|
.ui.billboard.ad {
|
||||||
|
width: 970px;
|
||||||
|
height: 250px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Panorama
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Panorama */
|
||||||
|
.ui.panorama.ad {
|
||||||
|
width: 980px;
|
||||||
|
height: 120px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Netboard
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Netboard */
|
||||||
|
.ui.netboard.ad {
|
||||||
|
width: 580px;
|
||||||
|
height: 400px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Mobile
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Large Mobile Banner */
|
||||||
|
.ui[class*="large mobile banner"].ad {
|
||||||
|
width: 320px;
|
||||||
|
height: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mobile Leaderboard */
|
||||||
|
.ui[class*="mobile leaderboard"].ad {
|
||||||
|
width: 320px;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Types
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/* Mobile Sizes */
|
||||||
|
.ui.mobile.ad {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
@media only screen and (max-width: 767px) {
|
||||||
|
.ui.mobile.ad {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Variations
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.centered.ad {
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
.ui.test.ad {
|
||||||
|
position: relative;
|
||||||
|
background: #545454;
|
||||||
|
}
|
||||||
|
.ui.test.ad:after {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
-webkit-transform: translateX(-50%) translateY(-50%);
|
||||||
|
transform: translateX(-50%) translateY(-50%);
|
||||||
|
content: 'Ad';
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-size: 1em;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.ui.mobile.test.ad:after {
|
||||||
|
font-size: 0.85714286em;
|
||||||
|
}
|
||||||
|
.ui.test.ad[data-text]:after {
|
||||||
|
content: attr(data-text);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Theme Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
User Variable Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
10
public/css/ad.min.css
vendored
Normal file
10
public/css/ad.min.css
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Ad
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Copyright 2013 Contributors
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/.ui.ad{display:block;overflow:hidden;margin:1em 0}.ui.ad:first-child{margin:0}.ui.ad:last-child{margin:0}.ui.ad iframe{margin:0;padding:0;border:none;overflow:hidden}.ui.leaderboard.ad{width:728px;height:90px}.ui[class*="medium rectangle"].ad{width:300px;height:250px}.ui[class*="large rectangle"].ad{width:336px;height:280px}.ui[class*="half page"].ad{width:300px;height:600px}.ui.square.ad{width:250px;height:250px}.ui[class*="small square"].ad{width:200px;height:200px}.ui[class*="small rectangle"].ad{width:180px;height:150px}.ui[class*="vertical rectangle"].ad{width:240px;height:400px}.ui.button.ad{width:120px;height:90px}.ui[class*="square button"].ad{width:125px;height:125px}.ui[class*="small button"].ad{width:120px;height:60px}.ui.skyscraper.ad{width:120px;height:600px}.ui[class*="wide skyscraper"].ad{width:160px}.ui.banner.ad{width:468px;height:60px}.ui[class*="vertical banner"].ad{width:120px;height:240px}.ui[class*="top banner"].ad{width:930px;height:180px}.ui[class*="half banner"].ad{width:234px;height:60px}.ui[class*="large leaderboard"].ad{width:970px;height:90px}.ui.billboard.ad{width:970px;height:250px}.ui.panorama.ad{width:980px;height:120px}.ui.netboard.ad{width:580px;height:400px}.ui[class*="large mobile banner"].ad{width:320px;height:100px}.ui[class*="mobile leaderboard"].ad{width:320px;height:50px}.ui.mobile.ad{display:none}@media only screen and (max-width:767px){.ui.mobile.ad{display:block}}.ui.centered.ad{margin-left:auto;margin-right:auto}.ui.test.ad{position:relative;background:#545454}.ui.test.ad:after{position:absolute;top:50%;left:50%;width:100%;text-align:center;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);content:'Ad';color:#fff;font-size:1em;font-weight:700}.ui.mobile.test.ad:after{font-size:.85714286em}.ui.test.ad[data-text]:after{content:attr(data-text)}
|
||||||
396
public/css/app.css
vendored
Normal file
396
public/css/app.css
vendored
Normal file
@@ -0,0 +1,396 @@
|
|||||||
|
textarea {
|
||||||
|
font-family: monospace
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea.content {
|
||||||
|
font-family: monospace;
|
||||||
|
word-wrap: break-word;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
|
||||||
|
#editor {
|
||||||
|
border: 1px solid rgba(34, 36, 38, .15);
|
||||||
|
padding: 15px;
|
||||||
|
font-family: monospace;
|
||||||
|
word-wrap: break-word;
|
||||||
|
width: 257px;
|
||||||
|
word-break: break-all;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
box-sizing: content-box;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
form {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ui.file.input input[type="file"] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
cursor: pointer;
|
||||||
|
height: 25px;
|
||||||
|
width: 25px;
|
||||||
|
display: inline-block;
|
||||||
|
background: url(/small/iconsmall.png);
|
||||||
|
margin: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon:hover {
|
||||||
|
background-color: #1e90ff4d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon.empty {
|
||||||
|
height: 25px;
|
||||||
|
width: 25px;
|
||||||
|
background-image: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon.selected {
|
||||||
|
border: 2px solid dodgerblue;
|
||||||
|
border-radius: 3px;
|
||||||
|
background-color: #1e90ff4d;
|
||||||
|
width: 29px;
|
||||||
|
height: 29px;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
.icon.address-card-o {
|
||||||
|
background-position-x: -0px;
|
||||||
|
}
|
||||||
|
.icon.anchor {
|
||||||
|
background-position-x: -25px;
|
||||||
|
}
|
||||||
|
.icon.archive-3 {
|
||||||
|
background-position-x: -50px;
|
||||||
|
}
|
||||||
|
.icon.at {
|
||||||
|
background-position-x: -75px;
|
||||||
|
}
|
||||||
|
.icon.balance-scale {
|
||||||
|
background-position-x: -100px;
|
||||||
|
}
|
||||||
|
.icon.ban {
|
||||||
|
background-position-x: -125px;
|
||||||
|
}
|
||||||
|
.icon.bar-chart-o {
|
||||||
|
background-position-x: -150px;
|
||||||
|
}
|
||||||
|
.icon.barcode {
|
||||||
|
background-position-x: -175px;
|
||||||
|
}
|
||||||
|
.icon.battery-empty {
|
||||||
|
background-position-x: -200px;
|
||||||
|
}
|
||||||
|
.icon.battery-full {
|
||||||
|
background-position-x: -225px;
|
||||||
|
}
|
||||||
|
.icon.battery-half {
|
||||||
|
background-position-x: -250px;
|
||||||
|
}
|
||||||
|
.icon.battery-quarter {
|
||||||
|
background-position-x: -275px;
|
||||||
|
}
|
||||||
|
.icon.battery-three-quarters {
|
||||||
|
background-position-x: -300px;
|
||||||
|
}
|
||||||
|
.icon.bed {
|
||||||
|
background-position-x: -325px;
|
||||||
|
}
|
||||||
|
.icon.beer {
|
||||||
|
background-position-x: -350px;
|
||||||
|
}
|
||||||
|
.icon.bell-o {
|
||||||
|
background-position-x: -375px;
|
||||||
|
}
|
||||||
|
.icon.bell-slash-o {
|
||||||
|
background-position-x: -400px;
|
||||||
|
}
|
||||||
|
.icon.bicycle {
|
||||||
|
background-position-x: -425px;
|
||||||
|
}
|
||||||
|
.icon.birthday-cake {
|
||||||
|
background-position-x: -450px;
|
||||||
|
}
|
||||||
|
.icon.bolt {
|
||||||
|
background-position-x: -475px;
|
||||||
|
}
|
||||||
|
.icon.bomb {
|
||||||
|
background-position-x: -500px;
|
||||||
|
}
|
||||||
|
.icon.book {
|
||||||
|
background-position-x: -525px;
|
||||||
|
}
|
||||||
|
.icon.bug {
|
||||||
|
background-position-x: -550px;
|
||||||
|
}
|
||||||
|
.icon.building-o {
|
||||||
|
background-position-x: -575px;
|
||||||
|
}
|
||||||
|
.icon.bullhorn {
|
||||||
|
background-position-x: -600px;
|
||||||
|
}
|
||||||
|
.icon.bus {
|
||||||
|
background-position-x: -625px;
|
||||||
|
}
|
||||||
|
.icon.camera {
|
||||||
|
background-position-x: -650px;
|
||||||
|
}
|
||||||
|
.icon.car {
|
||||||
|
background-position-x: -675px;
|
||||||
|
}
|
||||||
|
.icon.chain {
|
||||||
|
background-position-x: -700px;
|
||||||
|
}
|
||||||
|
.icon.chat-2 {
|
||||||
|
background-position-x: -725px;
|
||||||
|
}
|
||||||
|
.icon.check {
|
||||||
|
background-position-x: -750px;
|
||||||
|
}
|
||||||
|
.icon.cloud {
|
||||||
|
background-position-x: -775px;
|
||||||
|
}
|
||||||
|
.icon.code {
|
||||||
|
background-position-x: -800px;
|
||||||
|
}
|
||||||
|
.icon.coffee {
|
||||||
|
background-position-x: -825px;
|
||||||
|
}
|
||||||
|
.icon.cog {
|
||||||
|
background-position-x: -850px;
|
||||||
|
}
|
||||||
|
.icon.cutlery {
|
||||||
|
background-position-x: -875px;
|
||||||
|
}
|
||||||
|
.icon.dashboard {
|
||||||
|
background-position-x: -900px;
|
||||||
|
}
|
||||||
|
.icon.database {
|
||||||
|
background-position-x: -925px;
|
||||||
|
}
|
||||||
|
.icon.diamond {
|
||||||
|
background-position-x: -950px;
|
||||||
|
}
|
||||||
|
.icon.dollar {
|
||||||
|
background-position-x: -975px;
|
||||||
|
}
|
||||||
|
.icon.dribbble {
|
||||||
|
background-position-x: -1000px;
|
||||||
|
}
|
||||||
|
.icon.envelope-o {
|
||||||
|
background-position-x: -1025px;
|
||||||
|
}
|
||||||
|
.icon.envira {
|
||||||
|
background-position-x: -1050px;
|
||||||
|
}
|
||||||
|
.icon.exclamation-triangle {
|
||||||
|
background-position-x: -1075px;
|
||||||
|
}
|
||||||
|
.icon.female {
|
||||||
|
background-position-x: -1100px;
|
||||||
|
}
|
||||||
|
.icon.file-text-o {
|
||||||
|
background-position-x: -1125px;
|
||||||
|
}
|
||||||
|
.icon.film {
|
||||||
|
background-position-x: -1150px;
|
||||||
|
}
|
||||||
|
.icon.fingerprint {
|
||||||
|
background-position-x: -1175px;
|
||||||
|
}
|
||||||
|
.icon.fire-extinguisher {
|
||||||
|
background-position-x: -1200px;
|
||||||
|
}
|
||||||
|
.icon.fire {
|
||||||
|
background-position-x: -1225px;
|
||||||
|
}
|
||||||
|
.icon.flag-o {
|
||||||
|
background-position-x: -1250px;
|
||||||
|
}
|
||||||
|
.icon.flask {
|
||||||
|
background-position-x: -1275px;
|
||||||
|
}
|
||||||
|
.icon.floppy-o {
|
||||||
|
background-position-x: -1300px;
|
||||||
|
}
|
||||||
|
.icon.folder-o {
|
||||||
|
background-position-x: -1325px;
|
||||||
|
}
|
||||||
|
.icon.folder-open-o {
|
||||||
|
background-position-x: -1350px;
|
||||||
|
}
|
||||||
|
.icon.frown-o {
|
||||||
|
background-position-x: -1375px;
|
||||||
|
}
|
||||||
|
.icon.gamepad {
|
||||||
|
background-position-x: -1400px;
|
||||||
|
}
|
||||||
|
.icon.gift {
|
||||||
|
background-position-x: -1425px;
|
||||||
|
}
|
||||||
|
.icon.git {
|
||||||
|
background-position-x: -1450px;
|
||||||
|
}
|
||||||
|
.icon.glass {
|
||||||
|
background-position-x: -1475px;
|
||||||
|
}
|
||||||
|
.icon.graduation-cap {
|
||||||
|
background-position-x: -1500px;
|
||||||
|
}
|
||||||
|
.icon.grav {
|
||||||
|
background-position-x: -1525px;
|
||||||
|
}
|
||||||
|
.icon.group {
|
||||||
|
background-position-x: -1550px;
|
||||||
|
}
|
||||||
|
.icon.hand-o-left {
|
||||||
|
background-position-x: -1575px;
|
||||||
|
}
|
||||||
|
.icon.heart-o {
|
||||||
|
background-position-x: -1600px;
|
||||||
|
}
|
||||||
|
.icon.home {
|
||||||
|
background-position-x: -1625px;
|
||||||
|
}
|
||||||
|
.icon.lemon-o {
|
||||||
|
background-position-x: -1650px;
|
||||||
|
}
|
||||||
|
.icon.lightbulb-o {
|
||||||
|
background-position-x: -1675px;
|
||||||
|
}
|
||||||
|
.icon.list-alt {
|
||||||
|
background-position-x: -1700px;
|
||||||
|
}
|
||||||
|
.icon.location-arrow {
|
||||||
|
background-position-x: -1725px;
|
||||||
|
}
|
||||||
|
.icon.lock {
|
||||||
|
background-position-x: -1750px;
|
||||||
|
}
|
||||||
|
.icon.male {
|
||||||
|
background-position-x: -1775px;
|
||||||
|
}
|
||||||
|
.icon.map-1 {
|
||||||
|
background-position-x: -1800px;
|
||||||
|
}
|
||||||
|
.icon.map-marker {
|
||||||
|
background-position-x: -1825px;
|
||||||
|
}
|
||||||
|
.icon.microchip {
|
||||||
|
background-position-x: -1850px;
|
||||||
|
}
|
||||||
|
.icon.money {
|
||||||
|
background-position-x: -1875px;
|
||||||
|
}
|
||||||
|
.icon.moon-o {
|
||||||
|
background-position-x: -1900px;
|
||||||
|
}
|
||||||
|
.icon.music {
|
||||||
|
background-position-x: -1925px;
|
||||||
|
}
|
||||||
|
.icon.paper-plane {
|
||||||
|
background-position-x: -1950px;
|
||||||
|
}
|
||||||
|
.icon.paperclip {
|
||||||
|
background-position-x: -1975px;
|
||||||
|
}
|
||||||
|
.icon.paw {
|
||||||
|
background-position-x: -2000px;
|
||||||
|
}
|
||||||
|
.icon.pencil {
|
||||||
|
background-position-x: -2025px;
|
||||||
|
}
|
||||||
|
.icon.phone {
|
||||||
|
background-position-x: -2050px;
|
||||||
|
}
|
||||||
|
.icon.pie-chart {
|
||||||
|
background-position-x: -2075px;
|
||||||
|
}
|
||||||
|
.icon.piggy-bank {
|
||||||
|
background-position-x: -2100px;
|
||||||
|
}
|
||||||
|
.icon.plane {
|
||||||
|
background-position-x: -2125px;
|
||||||
|
}
|
||||||
|
.icon.question-circle-o {
|
||||||
|
background-position-x: -2150px;
|
||||||
|
}
|
||||||
|
.icon.rocket {
|
||||||
|
background-position-x: -2175px;
|
||||||
|
}
|
||||||
|
.icon.search {
|
||||||
|
background-position-x: -2200px;
|
||||||
|
}
|
||||||
|
.icon.ship {
|
||||||
|
background-position-x: -2225px;
|
||||||
|
}
|
||||||
|
.icon.shopping-cart {
|
||||||
|
background-position-x: -2250px;
|
||||||
|
}
|
||||||
|
.icon.smile-o {
|
||||||
|
background-position-x: -2275px;
|
||||||
|
}
|
||||||
|
.icon.snowflake-o {
|
||||||
|
background-position-x: -2300px;
|
||||||
|
}
|
||||||
|
.icon.steam {
|
||||||
|
background-position-x: -2325px;
|
||||||
|
}
|
||||||
|
.icon.subway {
|
||||||
|
background-position-x: -2350px;
|
||||||
|
}
|
||||||
|
.icon.success {
|
||||||
|
background-position-x: -2375px;
|
||||||
|
}
|
||||||
|
.icon.support {
|
||||||
|
background-position-x: -2400px;
|
||||||
|
}
|
||||||
|
.icon.thermometer-2 {
|
||||||
|
background-position-x: -2425px;
|
||||||
|
}
|
||||||
|
.icon.thumbs-o-down {
|
||||||
|
background-position-x: -2450px;
|
||||||
|
}
|
||||||
|
.icon.thumbs-o-up {
|
||||||
|
background-position-x: -2475px;
|
||||||
|
}
|
||||||
|
.icon.ticket {
|
||||||
|
background-position-x: -2500px;
|
||||||
|
}
|
||||||
|
.icon.times {
|
||||||
|
background-position-x: -2525px;
|
||||||
|
}
|
||||||
|
.icon.trash-o {
|
||||||
|
background-position-x: -2550px;
|
||||||
|
}
|
||||||
|
.icon.tree {
|
||||||
|
background-position-x: -2575px;
|
||||||
|
}
|
||||||
|
.icon.trophy {
|
||||||
|
background-position-x: -2600px;
|
||||||
|
}
|
||||||
|
.icon.truck {
|
||||||
|
background-position-x: -2625px;
|
||||||
|
}
|
||||||
|
.icon.umbrella {
|
||||||
|
background-position-x: -2650px;
|
||||||
|
}
|
||||||
|
.icon.usd {
|
||||||
|
background-position-x: -2675px;
|
||||||
|
}
|
||||||
|
.icon.warning {
|
||||||
|
background-position-x: -2700px;
|
||||||
|
}
|
||||||
|
.icon.wifi {
|
||||||
|
background-position-x: -2725px;
|
||||||
|
}
|
||||||
|
.icon.wpexplorer {
|
||||||
|
background-position-x: -2750px;
|
||||||
|
}
|
||||||
|
.icon.wrench {
|
||||||
|
background-position-x: -2775px;
|
||||||
|
}
|
||||||
|
.icon.youtube-play {
|
||||||
|
background-position-x: -2800px;
|
||||||
|
}
|
||||||
124
public/css/breadcrumb.css
vendored
Normal file
124
public/css/breadcrumb.css
vendored
Normal file
@@ -0,0 +1,124 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Breadcrumb
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Breadcrumb
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.breadcrumb {
|
||||||
|
line-height: 1;
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0em 0em;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.ui.breadcrumb:first-child {
|
||||||
|
margin-top: 0em;
|
||||||
|
}
|
||||||
|
.ui.breadcrumb:last-child {
|
||||||
|
margin-bottom: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Content
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/* Divider */
|
||||||
|
.ui.breadcrumb .divider {
|
||||||
|
display: inline-block;
|
||||||
|
opacity: 0.7;
|
||||||
|
margin: 0em 0.21428571rem 0em;
|
||||||
|
font-size: 0.92857143em;
|
||||||
|
color: rgba(0, 0, 0, 0.4);
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Link */
|
||||||
|
.ui.breadcrumb a {
|
||||||
|
color: #4183C4;
|
||||||
|
}
|
||||||
|
.ui.breadcrumb a:hover {
|
||||||
|
color: #1e70bf;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Icon Divider */
|
||||||
|
.ui.breadcrumb .icon.divider {
|
||||||
|
font-size: 0.85714286em;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Section */
|
||||||
|
.ui.breadcrumb a.section {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.ui.breadcrumb .section {
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0em;
|
||||||
|
padding: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Loose Coupling */
|
||||||
|
.ui.breadcrumb.segment {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0.78571429em 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
States
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.breadcrumb .active.section {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Variations
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.mini.breadcrumb {
|
||||||
|
font-size: 0.78571429rem;
|
||||||
|
}
|
||||||
|
.ui.tiny.breadcrumb {
|
||||||
|
font-size: 0.85714286rem;
|
||||||
|
}
|
||||||
|
.ui.small.breadcrumb {
|
||||||
|
font-size: 0.92857143rem;
|
||||||
|
}
|
||||||
|
.ui.breadcrumb {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
.ui.large.breadcrumb {
|
||||||
|
font-size: 1.14285714rem;
|
||||||
|
}
|
||||||
|
.ui.big.breadcrumb {
|
||||||
|
font-size: 1.28571429rem;
|
||||||
|
}
|
||||||
|
.ui.huge.breadcrumb {
|
||||||
|
font-size: 1.42857143rem;
|
||||||
|
}
|
||||||
|
.ui.massive.breadcrumb {
|
||||||
|
font-size: 1.71428571rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Theme Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Site Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
9
public/css/breadcrumb.min.css
vendored
Normal file
9
public/css/breadcrumb.min.css
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Breadcrumb
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/.ui.breadcrumb{line-height:1;display:inline-block;margin:0 0;vertical-align:middle}.ui.breadcrumb:first-child{margin-top:0}.ui.breadcrumb:last-child{margin-bottom:0}.ui.breadcrumb .divider{display:inline-block;opacity:.7;margin:0 .21428571rem 0;font-size:.92857143em;color:rgba(0,0,0,.4);vertical-align:baseline}.ui.breadcrumb a{color:#4183c4}.ui.breadcrumb a:hover{color:#1e70bf}.ui.breadcrumb .icon.divider{font-size:.85714286em;vertical-align:baseline}.ui.breadcrumb a.section{cursor:pointer}.ui.breadcrumb .section{display:inline-block;margin:0;padding:0}.ui.breadcrumb.segment{display:inline-block;padding:.78571429em 1em}.ui.breadcrumb .active.section{font-weight:700}.ui.mini.breadcrumb{font-size:.78571429rem}.ui.tiny.breadcrumb{font-size:.85714286rem}.ui.small.breadcrumb{font-size:.92857143rem}.ui.breadcrumb{font-size:1rem}.ui.large.breadcrumb{font-size:1.14285714rem}.ui.big.breadcrumb{font-size:1.28571429rem}.ui.huge.breadcrumb{font-size:1.42857143rem}.ui.massive.breadcrumb{font-size:1.71428571rem}
|
||||||
3450
public/css/button.css
vendored
Normal file
3450
public/css/button.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
9
public/css/button.min.css
vendored
Normal file
9
public/css/button.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
964
public/css/card.css
vendored
Normal file
964
public/css/card.css
vendored
Normal file
@@ -0,0 +1,964 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Item
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Standard
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Card
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.cards > .card,
|
||||||
|
.ui.card {
|
||||||
|
max-width: 100%;
|
||||||
|
position: relative;
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
width: 290px;
|
||||||
|
min-height: 0px;
|
||||||
|
background: #FFFFFF;
|
||||||
|
padding: 0em;
|
||||||
|
border: none;
|
||||||
|
border-radius: 0.28571429rem;
|
||||||
|
box-shadow: 0px 1px 3px 0px #D4D4D5, 0px 0px 0px 1px #D4D4D5;
|
||||||
|
-webkit-transition: box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||||
|
transition: box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||||
|
transition: box-shadow 0.1s ease, transform 0.1s ease;
|
||||||
|
transition: box-shadow 0.1s ease, transform 0.1s ease, -webkit-transform 0.1s ease;
|
||||||
|
z-index: '';
|
||||||
|
}
|
||||||
|
.ui.card {
|
||||||
|
margin: 1em 0em;
|
||||||
|
}
|
||||||
|
.ui.cards > .card a,
|
||||||
|
.ui.card a {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.ui.card:first-child {
|
||||||
|
margin-top: 0em;
|
||||||
|
}
|
||||||
|
.ui.card:last-child {
|
||||||
|
margin-bottom: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Cards
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.cards {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
margin: -0.875em -0.5em;
|
||||||
|
-ms-flex-wrap: wrap;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
.ui.cards > .card {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
margin: 0.875em 0.5em;
|
||||||
|
float: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Clearing */
|
||||||
|
.ui.cards:after,
|
||||||
|
.ui.card:after {
|
||||||
|
display: block;
|
||||||
|
content: ' ';
|
||||||
|
height: 0px;
|
||||||
|
clear: both;
|
||||||
|
overflow: hidden;
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Consecutive Card Groups Preserve Row Spacing */
|
||||||
|
.ui.cards ~ .ui.cards {
|
||||||
|
margin-top: 0.875em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Rounded Edges
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.cards > .card > :first-child,
|
||||||
|
.ui.card > :first-child {
|
||||||
|
border-radius: 0.28571429rem 0.28571429rem 0em 0em !important;
|
||||||
|
border-top: none !important;
|
||||||
|
}
|
||||||
|
.ui.cards > .card > :last-child,
|
||||||
|
.ui.card > :last-child {
|
||||||
|
border-radius: 0em 0em 0.28571429rem 0.28571429rem !important;
|
||||||
|
}
|
||||||
|
.ui.cards > .card > :only-child,
|
||||||
|
.ui.card > :only-child {
|
||||||
|
border-radius: 0.28571429rem !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Images
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.cards > .card > .image,
|
||||||
|
.ui.card > .image {
|
||||||
|
position: relative;
|
||||||
|
display: block;
|
||||||
|
-webkit-box-flex: 0;
|
||||||
|
-ms-flex: 0 0 auto;
|
||||||
|
flex: 0 0 auto;
|
||||||
|
padding: 0em;
|
||||||
|
background: rgba(0, 0, 0, 0.05);
|
||||||
|
}
|
||||||
|
.ui.cards > .card > .image > img,
|
||||||
|
.ui.card > .image > img {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
border-radius: inherit;
|
||||||
|
}
|
||||||
|
.ui.cards > .card > .image:not(.ui) > img,
|
||||||
|
.ui.card > .image:not(.ui) > img {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Content
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.cards > .card > .content,
|
||||||
|
.ui.card > .content {
|
||||||
|
-webkit-box-flex: 1;
|
||||||
|
-ms-flex-positive: 1;
|
||||||
|
flex-grow: 1;
|
||||||
|
border: none;
|
||||||
|
border-top: 1px solid rgba(34, 36, 38, 0.1);
|
||||||
|
background: none;
|
||||||
|
margin: 0em;
|
||||||
|
padding: 1em 1em;
|
||||||
|
box-shadow: none;
|
||||||
|
font-size: 1em;
|
||||||
|
border-radius: 0em;
|
||||||
|
}
|
||||||
|
.ui.cards > .card > .content:after,
|
||||||
|
.ui.card > .content:after {
|
||||||
|
display: block;
|
||||||
|
content: ' ';
|
||||||
|
height: 0px;
|
||||||
|
clear: both;
|
||||||
|
overflow: hidden;
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
.ui.cards > .card > .content > .header,
|
||||||
|
.ui.card > .content > .header {
|
||||||
|
display: block;
|
||||||
|
margin: '';
|
||||||
|
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
||||||
|
color: rgba(0, 0, 0, 0.85);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Default Header Size */
|
||||||
|
.ui.cards > .card > .content > .header:not(.ui),
|
||||||
|
.ui.card > .content > .header:not(.ui) {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1.28571429em;
|
||||||
|
margin-top: -0.21425em;
|
||||||
|
line-height: 1.2857em;
|
||||||
|
}
|
||||||
|
.ui.cards > .card > .content > .meta + .description,
|
||||||
|
.ui.cards > .card > .content > .header + .description,
|
||||||
|
.ui.card > .content > .meta + .description,
|
||||||
|
.ui.card > .content > .header + .description {
|
||||||
|
margin-top: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*----------------
|
||||||
|
Floated Content
|
||||||
|
-----------------*/
|
||||||
|
|
||||||
|
.ui.cards > .card [class*="left floated"],
|
||||||
|
.ui.card [class*="left floated"] {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.ui.cards > .card [class*="right floated"],
|
||||||
|
.ui.card [class*="right floated"] {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Aligned
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.cards > .card [class*="left aligned"],
|
||||||
|
.ui.card [class*="left aligned"] {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.ui.cards > .card [class*="center aligned"],
|
||||||
|
.ui.card [class*="center aligned"] {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.ui.cards > .card [class*="right aligned"],
|
||||||
|
.ui.card [class*="right aligned"] {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Content Image
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.cards > .card .content img,
|
||||||
|
.ui.card .content img {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
width: '';
|
||||||
|
}
|
||||||
|
.ui.cards > .card img.avatar,
|
||||||
|
.ui.cards > .card .avatar img,
|
||||||
|
.ui.card img.avatar,
|
||||||
|
.ui.card .avatar img {
|
||||||
|
width: 2em;
|
||||||
|
height: 2em;
|
||||||
|
border-radius: 500rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Description
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.cards > .card > .content > .description,
|
||||||
|
.ui.card > .content > .description {
|
||||||
|
clear: both;
|
||||||
|
color: rgba(0, 0, 0, 0.68);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Paragraph
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.cards > .card > .content p,
|
||||||
|
.ui.card > .content p {
|
||||||
|
margin: 0em 0em 0.5em;
|
||||||
|
}
|
||||||
|
.ui.cards > .card > .content p:last-child,
|
||||||
|
.ui.card > .content p:last-child {
|
||||||
|
margin-bottom: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Meta
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.cards > .card .meta,
|
||||||
|
.ui.card .meta {
|
||||||
|
font-size: 1em;
|
||||||
|
color: rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
.ui.cards > .card .meta *,
|
||||||
|
.ui.card .meta * {
|
||||||
|
margin-right: 0.3em;
|
||||||
|
}
|
||||||
|
.ui.cards > .card .meta :last-child,
|
||||||
|
.ui.card .meta :last-child {
|
||||||
|
margin-right: 0em;
|
||||||
|
}
|
||||||
|
.ui.cards > .card .meta [class*="right floated"],
|
||||||
|
.ui.card .meta [class*="right floated"] {
|
||||||
|
margin-right: 0em;
|
||||||
|
margin-left: 0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Links
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Generic */
|
||||||
|
.ui.cards > .card > .content a:not(.ui),
|
||||||
|
.ui.card > .content a:not(.ui) {
|
||||||
|
color: '';
|
||||||
|
-webkit-transition: color 0.1s ease;
|
||||||
|
transition: color 0.1s ease;
|
||||||
|
}
|
||||||
|
.ui.cards > .card > .content a:not(.ui):hover,
|
||||||
|
.ui.card > .content a:not(.ui):hover {
|
||||||
|
color: '';
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Header */
|
||||||
|
.ui.cards > .card > .content > a.header,
|
||||||
|
.ui.card > .content > a.header {
|
||||||
|
color: rgba(0, 0, 0, 0.85);
|
||||||
|
}
|
||||||
|
.ui.cards > .card > .content > a.header:hover,
|
||||||
|
.ui.card > .content > a.header:hover {
|
||||||
|
color: #1e70bf;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Meta */
|
||||||
|
.ui.cards > .card .meta > a:not(.ui),
|
||||||
|
.ui.card .meta > a:not(.ui) {
|
||||||
|
color: rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
.ui.cards > .card .meta > a:not(.ui):hover,
|
||||||
|
.ui.card .meta > a:not(.ui):hover {
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Buttons
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.cards > .card > .buttons,
|
||||||
|
.ui.card > .buttons,
|
||||||
|
.ui.cards > .card > .button,
|
||||||
|
.ui.card > .button {
|
||||||
|
margin: 0px -1px;
|
||||||
|
width: calc(100% + 2px );
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Dimmer
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.cards > .card .dimmer,
|
||||||
|
.ui.card .dimmer {
|
||||||
|
background-color: '';
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Labels
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/*-----Star----- */
|
||||||
|
|
||||||
|
|
||||||
|
/* Icon */
|
||||||
|
.ui.cards > .card > .content .star.icon,
|
||||||
|
.ui.card > .content .star.icon {
|
||||||
|
cursor: pointer;
|
||||||
|
opacity: 0.75;
|
||||||
|
-webkit-transition: color 0.1s ease;
|
||||||
|
transition: color 0.1s ease;
|
||||||
|
}
|
||||||
|
.ui.cards > .card > .content .star.icon:hover,
|
||||||
|
.ui.card > .content .star.icon:hover {
|
||||||
|
opacity: 1;
|
||||||
|
color: #FFB70A;
|
||||||
|
}
|
||||||
|
.ui.cards > .card > .content .active.star.icon,
|
||||||
|
.ui.card > .content .active.star.icon {
|
||||||
|
color: #FFE623;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-----Like----- */
|
||||||
|
|
||||||
|
|
||||||
|
/* Icon */
|
||||||
|
.ui.cards > .card > .content .like.icon,
|
||||||
|
.ui.card > .content .like.icon {
|
||||||
|
cursor: pointer;
|
||||||
|
opacity: 0.75;
|
||||||
|
-webkit-transition: color 0.1s ease;
|
||||||
|
transition: color 0.1s ease;
|
||||||
|
}
|
||||||
|
.ui.cards > .card > .content .like.icon:hover,
|
||||||
|
.ui.card > .content .like.icon:hover {
|
||||||
|
opacity: 1;
|
||||||
|
color: #FF2733;
|
||||||
|
}
|
||||||
|
.ui.cards > .card > .content .active.like.icon,
|
||||||
|
.ui.card > .content .active.like.icon {
|
||||||
|
color: #FF2733;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*----------------
|
||||||
|
Extra Content
|
||||||
|
-----------------*/
|
||||||
|
|
||||||
|
.ui.cards > .card > .extra,
|
||||||
|
.ui.card > .extra {
|
||||||
|
max-width: 100%;
|
||||||
|
min-height: 0em !important;
|
||||||
|
-webkit-box-flex: 0;
|
||||||
|
-ms-flex-positive: 0;
|
||||||
|
flex-grow: 0;
|
||||||
|
border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
|
||||||
|
position: static;
|
||||||
|
background: none;
|
||||||
|
width: auto;
|
||||||
|
margin: 0em 0em;
|
||||||
|
padding: 0.75em 1em;
|
||||||
|
top: 0em;
|
||||||
|
left: 0em;
|
||||||
|
color: rgba(0, 0, 0, 0.4);
|
||||||
|
box-shadow: none;
|
||||||
|
-webkit-transition: color 0.1s ease;
|
||||||
|
transition: color 0.1s ease;
|
||||||
|
}
|
||||||
|
.ui.cards > .card > .extra a:not(.ui),
|
||||||
|
.ui.card > .extra a:not(.ui) {
|
||||||
|
color: rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
.ui.cards > .card > .extra a:not(.ui):hover,
|
||||||
|
.ui.card > .extra a:not(.ui):hover {
|
||||||
|
color: #1e70bf;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Variations
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Raised
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.raised.cards > .card,
|
||||||
|
.ui.raised.card {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
|
||||||
|
}
|
||||||
|
.ui.raised.cards a.card:hover,
|
||||||
|
.ui.link.cards .raised.card:hover,
|
||||||
|
a.ui.raised.card:hover,
|
||||||
|
.ui.link.raised.card:hover {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.15), 0px 2px 10px 0px rgba(34, 36, 38, 0.25);
|
||||||
|
}
|
||||||
|
.ui.raised.cards > .card,
|
||||||
|
.ui.raised.card {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Centered
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.centered.cards {
|
||||||
|
-webkit-box-pack: center;
|
||||||
|
-ms-flex-pack: center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
.ui.centered.card {
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Fluid
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.fluid.card {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 9999px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Link
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.cards a.card,
|
||||||
|
.ui.link.cards .card,
|
||||||
|
a.ui.card,
|
||||||
|
.ui.link.card {
|
||||||
|
-webkit-transform: none;
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
.ui.cards a.card:hover,
|
||||||
|
.ui.link.cards .card:hover,
|
||||||
|
a.ui.card:hover,
|
||||||
|
.ui.link.card:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
z-index: 5;
|
||||||
|
background: #FFFFFF;
|
||||||
|
border: none;
|
||||||
|
box-shadow: 0px 1px 3px 0px #BCBDBD, 0px 0px 0px 1px #D4D4D5;
|
||||||
|
-webkit-transform: translateY(-3px);
|
||||||
|
transform: translateY(-3px);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Colors
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Red */
|
||||||
|
.ui.red.cards > .card,
|
||||||
|
.ui.cards > .red.card,
|
||||||
|
.ui.red.card {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #DB2828, 0px 1px 3px 0px #D4D4D5;
|
||||||
|
}
|
||||||
|
.ui.red.cards > .card:hover,
|
||||||
|
.ui.cards > .red.card:hover,
|
||||||
|
.ui.red.card:hover {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #d01919, 0px 1px 3px 0px #BCBDBD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Orange */
|
||||||
|
.ui.orange.cards > .card,
|
||||||
|
.ui.cards > .orange.card,
|
||||||
|
.ui.orange.card {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #F2711C, 0px 1px 3px 0px #D4D4D5;
|
||||||
|
}
|
||||||
|
.ui.orange.cards > .card:hover,
|
||||||
|
.ui.cards > .orange.card:hover,
|
||||||
|
.ui.orange.card:hover {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #f26202, 0px 1px 3px 0px #BCBDBD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Yellow */
|
||||||
|
.ui.yellow.cards > .card,
|
||||||
|
.ui.cards > .yellow.card,
|
||||||
|
.ui.yellow.card {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #FBBD08, 0px 1px 3px 0px #D4D4D5;
|
||||||
|
}
|
||||||
|
.ui.yellow.cards > .card:hover,
|
||||||
|
.ui.cards > .yellow.card:hover,
|
||||||
|
.ui.yellow.card:hover {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #eaae00, 0px 1px 3px 0px #BCBDBD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Olive */
|
||||||
|
.ui.olive.cards > .card,
|
||||||
|
.ui.cards > .olive.card,
|
||||||
|
.ui.olive.card {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #B5CC18, 0px 1px 3px 0px #D4D4D5;
|
||||||
|
}
|
||||||
|
.ui.olive.cards > .card:hover,
|
||||||
|
.ui.cards > .olive.card:hover,
|
||||||
|
.ui.olive.card:hover {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #a7bd0d, 0px 1px 3px 0px #BCBDBD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Green */
|
||||||
|
.ui.green.cards > .card,
|
||||||
|
.ui.cards > .green.card,
|
||||||
|
.ui.green.card {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #21BA45, 0px 1px 3px 0px #D4D4D5;
|
||||||
|
}
|
||||||
|
.ui.green.cards > .card:hover,
|
||||||
|
.ui.cards > .green.card:hover,
|
||||||
|
.ui.green.card:hover {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #16ab39, 0px 1px 3px 0px #BCBDBD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Teal */
|
||||||
|
.ui.teal.cards > .card,
|
||||||
|
.ui.cards > .teal.card,
|
||||||
|
.ui.teal.card {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #00B5AD, 0px 1px 3px 0px #D4D4D5;
|
||||||
|
}
|
||||||
|
.ui.teal.cards > .card:hover,
|
||||||
|
.ui.cards > .teal.card:hover,
|
||||||
|
.ui.teal.card:hover {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #009c95, 0px 1px 3px 0px #BCBDBD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Blue */
|
||||||
|
.ui.blue.cards > .card,
|
||||||
|
.ui.cards > .blue.card,
|
||||||
|
.ui.blue.card {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #2185D0, 0px 1px 3px 0px #D4D4D5;
|
||||||
|
}
|
||||||
|
.ui.blue.cards > .card:hover,
|
||||||
|
.ui.cards > .blue.card:hover,
|
||||||
|
.ui.blue.card:hover {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #1678c2, 0px 1px 3px 0px #BCBDBD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Violet */
|
||||||
|
.ui.violet.cards > .card,
|
||||||
|
.ui.cards > .violet.card,
|
||||||
|
.ui.violet.card {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #6435C9, 0px 1px 3px 0px #D4D4D5;
|
||||||
|
}
|
||||||
|
.ui.violet.cards > .card:hover,
|
||||||
|
.ui.cards > .violet.card:hover,
|
||||||
|
.ui.violet.card:hover {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #5829bb, 0px 1px 3px 0px #BCBDBD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Purple */
|
||||||
|
.ui.purple.cards > .card,
|
||||||
|
.ui.cards > .purple.card,
|
||||||
|
.ui.purple.card {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #A333C8, 0px 1px 3px 0px #D4D4D5;
|
||||||
|
}
|
||||||
|
.ui.purple.cards > .card:hover,
|
||||||
|
.ui.cards > .purple.card:hover,
|
||||||
|
.ui.purple.card:hover {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #9627ba, 0px 1px 3px 0px #BCBDBD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Pink */
|
||||||
|
.ui.pink.cards > .card,
|
||||||
|
.ui.cards > .pink.card,
|
||||||
|
.ui.pink.card {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #E03997, 0px 1px 3px 0px #D4D4D5;
|
||||||
|
}
|
||||||
|
.ui.pink.cards > .card:hover,
|
||||||
|
.ui.cards > .pink.card:hover,
|
||||||
|
.ui.pink.card:hover {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #e61a8d, 0px 1px 3px 0px #BCBDBD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Brown */
|
||||||
|
.ui.brown.cards > .card,
|
||||||
|
.ui.cards > .brown.card,
|
||||||
|
.ui.brown.card {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #A5673F, 0px 1px 3px 0px #D4D4D5;
|
||||||
|
}
|
||||||
|
.ui.brown.cards > .card:hover,
|
||||||
|
.ui.cards > .brown.card:hover,
|
||||||
|
.ui.brown.card:hover {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #975b33, 0px 1px 3px 0px #BCBDBD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Grey */
|
||||||
|
.ui.grey.cards > .card,
|
||||||
|
.ui.cards > .grey.card,
|
||||||
|
.ui.grey.card {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #767676, 0px 1px 3px 0px #D4D4D5;
|
||||||
|
}
|
||||||
|
.ui.grey.cards > .card:hover,
|
||||||
|
.ui.cards > .grey.card:hover,
|
||||||
|
.ui.grey.card:hover {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #838383, 0px 1px 3px 0px #BCBDBD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Black */
|
||||||
|
.ui.black.cards > .card,
|
||||||
|
.ui.cards > .black.card,
|
||||||
|
.ui.black.card {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #1B1C1D, 0px 1px 3px 0px #D4D4D5;
|
||||||
|
}
|
||||||
|
.ui.black.cards > .card:hover,
|
||||||
|
.ui.cards > .black.card:hover,
|
||||||
|
.ui.black.card:hover {
|
||||||
|
box-shadow: 0px 0px 0px 1px #D4D4D5, 0px 2px 0px 0px #27292a, 0px 1px 3px 0px #BCBDBD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Card Count
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.one.cards {
|
||||||
|
margin-left: 0em;
|
||||||
|
margin-right: 0em;
|
||||||
|
}
|
||||||
|
.ui.one.cards > .card {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.ui.two.cards {
|
||||||
|
margin-left: -1em;
|
||||||
|
margin-right: -1em;
|
||||||
|
}
|
||||||
|
.ui.two.cards > .card {
|
||||||
|
width: calc( 50% - 2em );
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
.ui.three.cards {
|
||||||
|
margin-left: -1em;
|
||||||
|
margin-right: -1em;
|
||||||
|
}
|
||||||
|
.ui.three.cards > .card {
|
||||||
|
width: calc( 33.33333333% - 2em );
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
.ui.four.cards {
|
||||||
|
margin-left: -0.75em;
|
||||||
|
margin-right: -0.75em;
|
||||||
|
}
|
||||||
|
.ui.four.cards > .card {
|
||||||
|
width: calc( 25% - 1.5em );
|
||||||
|
margin-left: 0.75em;
|
||||||
|
margin-right: 0.75em;
|
||||||
|
}
|
||||||
|
.ui.five.cards {
|
||||||
|
margin-left: -0.75em;
|
||||||
|
margin-right: -0.75em;
|
||||||
|
}
|
||||||
|
.ui.five.cards > .card {
|
||||||
|
width: calc( 20% - 1.5em );
|
||||||
|
margin-left: 0.75em;
|
||||||
|
margin-right: 0.75em;
|
||||||
|
}
|
||||||
|
.ui.six.cards {
|
||||||
|
margin-left: -0.75em;
|
||||||
|
margin-right: -0.75em;
|
||||||
|
}
|
||||||
|
.ui.six.cards > .card {
|
||||||
|
width: calc( 16.66666667% - 1.5em );
|
||||||
|
margin-left: 0.75em;
|
||||||
|
margin-right: 0.75em;
|
||||||
|
}
|
||||||
|
.ui.seven.cards {
|
||||||
|
margin-left: -0.5em;
|
||||||
|
margin-right: -0.5em;
|
||||||
|
}
|
||||||
|
.ui.seven.cards > .card {
|
||||||
|
width: calc( 14.28571429% - 1em );
|
||||||
|
margin-left: 0.5em;
|
||||||
|
margin-right: 0.5em;
|
||||||
|
}
|
||||||
|
.ui.eight.cards {
|
||||||
|
margin-left: -0.5em;
|
||||||
|
margin-right: -0.5em;
|
||||||
|
}
|
||||||
|
.ui.eight.cards > .card {
|
||||||
|
width: calc( 12.5% - 1em );
|
||||||
|
margin-left: 0.5em;
|
||||||
|
margin-right: 0.5em;
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
.ui.nine.cards {
|
||||||
|
margin-left: -0.5em;
|
||||||
|
margin-right: -0.5em;
|
||||||
|
}
|
||||||
|
.ui.nine.cards > .card {
|
||||||
|
width: calc( 11.11111111% - 1em );
|
||||||
|
margin-left: 0.5em;
|
||||||
|
margin-right: 0.5em;
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
.ui.ten.cards {
|
||||||
|
margin-left: -0.5em;
|
||||||
|
margin-right: -0.5em;
|
||||||
|
}
|
||||||
|
.ui.ten.cards > .card {
|
||||||
|
width: calc( 10% - 1em );
|
||||||
|
margin-left: 0.5em;
|
||||||
|
margin-right: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Doubling
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Mobile Only */
|
||||||
|
@media only screen and (max-width: 767px) {
|
||||||
|
.ui.two.doubling.cards {
|
||||||
|
margin-left: 0em;
|
||||||
|
margin-right: 0em;
|
||||||
|
}
|
||||||
|
.ui.two.doubling.cards .card {
|
||||||
|
width: 100%;
|
||||||
|
margin-left: 0em;
|
||||||
|
margin-right: 0em;
|
||||||
|
}
|
||||||
|
.ui.three.doubling.cards {
|
||||||
|
margin-left: -1em;
|
||||||
|
margin-right: -1em;
|
||||||
|
}
|
||||||
|
.ui.three.doubling.cards .card {
|
||||||
|
width: calc( 50% - 2em );
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
.ui.four.doubling.cards {
|
||||||
|
margin-left: -1em;
|
||||||
|
margin-right: -1em;
|
||||||
|
}
|
||||||
|
.ui.four.doubling.cards .card {
|
||||||
|
width: calc( 50% - 2em );
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
.ui.five.doubling.cards {
|
||||||
|
margin-left: -1em;
|
||||||
|
margin-right: -1em;
|
||||||
|
}
|
||||||
|
.ui.five.doubling.cards .card {
|
||||||
|
width: calc( 50% - 2em );
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
.ui.six.doubling.cards {
|
||||||
|
margin-left: -1em;
|
||||||
|
margin-right: -1em;
|
||||||
|
}
|
||||||
|
.ui.six.doubling.cards .card {
|
||||||
|
width: calc( 50% - 2em );
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
.ui.seven.doubling.cards {
|
||||||
|
margin-left: -1em;
|
||||||
|
margin-right: -1em;
|
||||||
|
}
|
||||||
|
.ui.seven.doubling.cards .card {
|
||||||
|
width: calc( 33.33333333% - 2em );
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
.ui.eight.doubling.cards {
|
||||||
|
margin-left: -1em;
|
||||||
|
margin-right: -1em;
|
||||||
|
}
|
||||||
|
.ui.eight.doubling.cards .card {
|
||||||
|
width: calc( 33.33333333% - 2em );
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
.ui.nine.doubling.cards {
|
||||||
|
margin-left: -1em;
|
||||||
|
margin-right: -1em;
|
||||||
|
}
|
||||||
|
.ui.nine.doubling.cards .card {
|
||||||
|
width: calc( 33.33333333% - 2em );
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
.ui.ten.doubling.cards {
|
||||||
|
margin-left: -1em;
|
||||||
|
margin-right: -1em;
|
||||||
|
}
|
||||||
|
.ui.ten.doubling.cards .card {
|
||||||
|
width: calc( 33.33333333% - 2em );
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tablet Only */
|
||||||
|
@media only screen and (min-width: 768px) and (max-width: 991px) {
|
||||||
|
.ui.two.doubling.cards {
|
||||||
|
margin-left: 0em;
|
||||||
|
margin-right: 0em;
|
||||||
|
}
|
||||||
|
.ui.two.doubling.cards .card {
|
||||||
|
width: 100%;
|
||||||
|
margin-left: 0em;
|
||||||
|
margin-right: 0em;
|
||||||
|
}
|
||||||
|
.ui.three.doubling.cards {
|
||||||
|
margin-left: -1em;
|
||||||
|
margin-right: -1em;
|
||||||
|
}
|
||||||
|
.ui.three.doubling.cards .card {
|
||||||
|
width: calc( 50% - 2em );
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
.ui.four.doubling.cards {
|
||||||
|
margin-left: -1em;
|
||||||
|
margin-right: -1em;
|
||||||
|
}
|
||||||
|
.ui.four.doubling.cards .card {
|
||||||
|
width: calc( 50% - 2em );
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
.ui.five.doubling.cards {
|
||||||
|
margin-left: -1em;
|
||||||
|
margin-right: -1em;
|
||||||
|
}
|
||||||
|
.ui.five.doubling.cards .card {
|
||||||
|
width: calc( 33.33333333% - 2em );
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
.ui.six.doubling.cards {
|
||||||
|
margin-left: -1em;
|
||||||
|
margin-right: -1em;
|
||||||
|
}
|
||||||
|
.ui.six.doubling.cards .card {
|
||||||
|
width: calc( 33.33333333% - 2em );
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
.ui.eight.doubling.cards {
|
||||||
|
margin-left: -1em;
|
||||||
|
margin-right: -1em;
|
||||||
|
}
|
||||||
|
.ui.eight.doubling.cards .card {
|
||||||
|
width: calc( 33.33333333% - 2em );
|
||||||
|
margin-left: 1em;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
.ui.eight.doubling.cards {
|
||||||
|
margin-left: -0.75em;
|
||||||
|
margin-right: -0.75em;
|
||||||
|
}
|
||||||
|
.ui.eight.doubling.cards .card {
|
||||||
|
width: calc( 25% - 1.5em );
|
||||||
|
margin-left: 0.75em;
|
||||||
|
margin-right: 0.75em;
|
||||||
|
}
|
||||||
|
.ui.nine.doubling.cards {
|
||||||
|
margin-left: -0.75em;
|
||||||
|
margin-right: -0.75em;
|
||||||
|
}
|
||||||
|
.ui.nine.doubling.cards .card {
|
||||||
|
width: calc( 25% - 1.5em );
|
||||||
|
margin-left: 0.75em;
|
||||||
|
margin-right: 0.75em;
|
||||||
|
}
|
||||||
|
.ui.ten.doubling.cards {
|
||||||
|
margin-left: -0.75em;
|
||||||
|
margin-right: -0.75em;
|
||||||
|
}
|
||||||
|
.ui.ten.doubling.cards .card {
|
||||||
|
width: calc( 20% - 1.5em );
|
||||||
|
margin-left: 0.75em;
|
||||||
|
margin-right: 0.75em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Stackable
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
@media only screen and (max-width: 767px) {
|
||||||
|
.ui.stackable.cards {
|
||||||
|
display: block !important;
|
||||||
|
}
|
||||||
|
.ui.stackable.cards .card:first-child {
|
||||||
|
margin-top: 0em !important;
|
||||||
|
}
|
||||||
|
.ui.stackable.cards > .card {
|
||||||
|
display: block !important;
|
||||||
|
height: auto !important;
|
||||||
|
margin: 1em 1em;
|
||||||
|
padding: 0 !important;
|
||||||
|
width: calc( 100% - 2em ) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Size
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.cards > .card {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Theme Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
User Variable Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
9
public/css/card.min.css
vendored
Normal file
9
public/css/card.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
625
public/css/checkbox.css
vendored
Normal file
625
public/css/checkbox.css
vendored
Normal file
@@ -0,0 +1,625 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Checkbox
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Checkbox
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Content
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.checkbox {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
-webkit-backface-visibility: hidden;
|
||||||
|
backface-visibility: hidden;
|
||||||
|
outline: none;
|
||||||
|
vertical-align: baseline;
|
||||||
|
font-style: normal;
|
||||||
|
min-height: 17px;
|
||||||
|
font-size: 1rem;
|
||||||
|
line-height: 17px;
|
||||||
|
min-width: 17px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* HTML Checkbox */
|
||||||
|
.ui.checkbox input[type="checkbox"],
|
||||||
|
.ui.checkbox input[type="radio"] {
|
||||||
|
cursor: pointer;
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
left: 0px;
|
||||||
|
opacity: 0 !important;
|
||||||
|
outline: none;
|
||||||
|
z-index: 3;
|
||||||
|
width: 17px;
|
||||||
|
height: 17px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Box
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.checkbox .box,
|
||||||
|
.ui.checkbox label {
|
||||||
|
cursor: auto;
|
||||||
|
position: relative;
|
||||||
|
display: block;
|
||||||
|
padding-left: 1.85714em;
|
||||||
|
outline: none;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
.ui.checkbox .box:before,
|
||||||
|
.ui.checkbox label:before {
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
left: 0px;
|
||||||
|
width: 17px;
|
||||||
|
height: 17px;
|
||||||
|
content: '';
|
||||||
|
background: #FFFFFF;
|
||||||
|
border-radius: 0.21428571rem;
|
||||||
|
-webkit-transition: border 0.1s ease, opacity 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||||
|
transition: border 0.1s ease, opacity 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||||
|
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
|
||||||
|
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||||
|
border: 1px solid #D4D4D5;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Checkmark
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.checkbox .box:after,
|
||||||
|
.ui.checkbox label:after {
|
||||||
|
position: absolute;
|
||||||
|
font-size: 14px;
|
||||||
|
top: 0px;
|
||||||
|
left: 0px;
|
||||||
|
width: 17px;
|
||||||
|
height: 17px;
|
||||||
|
text-align: center;
|
||||||
|
opacity: 0;
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
-webkit-transition: border 0.1s ease, opacity 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||||
|
transition: border 0.1s ease, opacity 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||||
|
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
|
||||||
|
transition: border 0.1s ease, opacity 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease, -webkit-transform 0.1s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Label
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Inside */
|
||||||
|
.ui.checkbox label,
|
||||||
|
.ui.checkbox + label {
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
-webkit-transition: color 0.1s ease;
|
||||||
|
transition: color 0.1s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Outside */
|
||||||
|
.ui.checkbox + label {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
States
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Hover
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.checkbox .box:hover::before,
|
||||||
|
.ui.checkbox label:hover::before {
|
||||||
|
background: #FFFFFF;
|
||||||
|
border-color: rgba(34, 36, 38, 0.35);
|
||||||
|
}
|
||||||
|
.ui.checkbox label:hover,
|
||||||
|
.ui.checkbox + label:hover {
|
||||||
|
color: rgba(0, 0, 0, 0.8);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Down
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.checkbox .box:active::before,
|
||||||
|
.ui.checkbox label:active::before {
|
||||||
|
background: #F9FAFB;
|
||||||
|
border-color: rgba(34, 36, 38, 0.35);
|
||||||
|
}
|
||||||
|
.ui.checkbox .box:active::after,
|
||||||
|
.ui.checkbox label:active::after {
|
||||||
|
color: rgba(0, 0, 0, 0.95);
|
||||||
|
}
|
||||||
|
.ui.checkbox input:active ~ label {
|
||||||
|
color: rgba(0, 0, 0, 0.95);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Focus
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.checkbox input:focus ~ .box:before,
|
||||||
|
.ui.checkbox input:focus ~ label:before {
|
||||||
|
background: #FFFFFF;
|
||||||
|
border-color: #96C8DA;
|
||||||
|
}
|
||||||
|
.ui.checkbox input:focus ~ .box:after,
|
||||||
|
.ui.checkbox input:focus ~ label:after {
|
||||||
|
color: rgba(0, 0, 0, 0.95);
|
||||||
|
}
|
||||||
|
.ui.checkbox input:focus ~ label {
|
||||||
|
color: rgba(0, 0, 0, 0.95);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Active
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.checkbox input:checked ~ .box:before,
|
||||||
|
.ui.checkbox input:checked ~ label:before {
|
||||||
|
background: #FFFFFF;
|
||||||
|
border-color: rgba(34, 36, 38, 0.35);
|
||||||
|
}
|
||||||
|
.ui.checkbox input:checked ~ .box:after,
|
||||||
|
.ui.checkbox input:checked ~ label:after {
|
||||||
|
opacity: 1;
|
||||||
|
color: rgba(0, 0, 0, 0.95);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Indeterminate
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.checkbox input:not([type=radio]):indeterminate ~ .box:before,
|
||||||
|
.ui.checkbox input:not([type=radio]):indeterminate ~ label:before {
|
||||||
|
background: #FFFFFF;
|
||||||
|
border-color: rgba(34, 36, 38, 0.35);
|
||||||
|
}
|
||||||
|
.ui.checkbox input:not([type=radio]):indeterminate ~ .box:after,
|
||||||
|
.ui.checkbox input:not([type=radio]):indeterminate ~ label:after {
|
||||||
|
opacity: 1;
|
||||||
|
color: rgba(0, 0, 0, 0.95);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Active Focus
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.checkbox input:not([type=radio]):indeterminate:focus ~ .box:before,
|
||||||
|
.ui.checkbox input:not([type=radio]):indeterminate:focus ~ label:before,
|
||||||
|
.ui.checkbox input:checked:focus ~ .box:before,
|
||||||
|
.ui.checkbox input:checked:focus ~ label:before {
|
||||||
|
background: #FFFFFF;
|
||||||
|
border-color: #96C8DA;
|
||||||
|
}
|
||||||
|
.ui.checkbox input:not([type=radio]):indeterminate:focus ~ .box:after,
|
||||||
|
.ui.checkbox input:not([type=radio]):indeterminate:focus ~ label:after,
|
||||||
|
.ui.checkbox input:checked:focus ~ .box:after,
|
||||||
|
.ui.checkbox input:checked:focus ~ label:after {
|
||||||
|
color: rgba(0, 0, 0, 0.95);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Read-Only
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.read-only.checkbox,
|
||||||
|
.ui.read-only.checkbox label {
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Disabled
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.disabled.checkbox .box:after,
|
||||||
|
.ui.disabled.checkbox label,
|
||||||
|
.ui.checkbox input[disabled] ~ .box:after,
|
||||||
|
.ui.checkbox input[disabled] ~ label {
|
||||||
|
cursor: default !important;
|
||||||
|
opacity: 0.5;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Hidden
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Initialized checkbox moves input below element
|
||||||
|
to prevent manually triggering */
|
||||||
|
.ui.checkbox input.hidden {
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Selectable Label */
|
||||||
|
.ui.checkbox input.hidden + label {
|
||||||
|
cursor: pointer;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Types
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Radio
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.radio.checkbox {
|
||||||
|
min-height: 15px;
|
||||||
|
}
|
||||||
|
.ui.radio.checkbox .box,
|
||||||
|
.ui.radio.checkbox label {
|
||||||
|
padding-left: 1.85714em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Box */
|
||||||
|
.ui.radio.checkbox .box:before,
|
||||||
|
.ui.radio.checkbox label:before {
|
||||||
|
content: '';
|
||||||
|
-webkit-transform: none;
|
||||||
|
transform: none;
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
border-radius: 500rem;
|
||||||
|
top: 1px;
|
||||||
|
left: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Bullet */
|
||||||
|
.ui.radio.checkbox .box:after,
|
||||||
|
.ui.radio.checkbox label:after {
|
||||||
|
border: none;
|
||||||
|
content: '' !important;
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
line-height: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Radio Checkbox */
|
||||||
|
.ui.radio.checkbox .box:after,
|
||||||
|
.ui.radio.checkbox label:after {
|
||||||
|
top: 1px;
|
||||||
|
left: 0px;
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
border-radius: 500rem;
|
||||||
|
-webkit-transform: scale(0.46666667);
|
||||||
|
transform: scale(0.46666667);
|
||||||
|
background-color: rgba(0, 0, 0, 0.87);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Focus */
|
||||||
|
.ui.radio.checkbox input:focus ~ .box:before,
|
||||||
|
.ui.radio.checkbox input:focus ~ label:before {
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
}
|
||||||
|
.ui.radio.checkbox input:focus ~ .box:after,
|
||||||
|
.ui.radio.checkbox input:focus ~ label:after {
|
||||||
|
background-color: rgba(0, 0, 0, 0.95);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Indeterminate */
|
||||||
|
.ui.radio.checkbox input:indeterminate ~ .box:after,
|
||||||
|
.ui.radio.checkbox input:indeterminate ~ label:after {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Active */
|
||||||
|
.ui.radio.checkbox input:checked ~ .box:before,
|
||||||
|
.ui.radio.checkbox input:checked ~ label:before {
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
}
|
||||||
|
.ui.radio.checkbox input:checked ~ .box:after,
|
||||||
|
.ui.radio.checkbox input:checked ~ label:after {
|
||||||
|
background-color: rgba(0, 0, 0, 0.95);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Active Focus */
|
||||||
|
.ui.radio.checkbox input:focus:checked ~ .box:before,
|
||||||
|
.ui.radio.checkbox input:focus:checked ~ label:before {
|
||||||
|
background-color: #FFFFFF;
|
||||||
|
}
|
||||||
|
.ui.radio.checkbox input:focus:checked ~ .box:after,
|
||||||
|
.ui.radio.checkbox input:focus:checked ~ label:after {
|
||||||
|
background-color: rgba(0, 0, 0, 0.95);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Slider
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.slider.checkbox {
|
||||||
|
min-height: 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Input */
|
||||||
|
.ui.slider.checkbox input {
|
||||||
|
width: 3.5rem;
|
||||||
|
height: 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Label */
|
||||||
|
.ui.slider.checkbox .box,
|
||||||
|
.ui.slider.checkbox label {
|
||||||
|
padding-left: 4.5rem;
|
||||||
|
line-height: 1rem;
|
||||||
|
color: rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Line */
|
||||||
|
.ui.slider.checkbox .box:before,
|
||||||
|
.ui.slider.checkbox label:before {
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
content: '';
|
||||||
|
border: none !important;
|
||||||
|
left: 0em;
|
||||||
|
z-index: 1;
|
||||||
|
top: 0.4rem;
|
||||||
|
background-color: rgba(0, 0, 0, 0.05);
|
||||||
|
width: 3.5rem;
|
||||||
|
height: 0.21428571rem;
|
||||||
|
-webkit-transform: none;
|
||||||
|
transform: none;
|
||||||
|
border-radius: 500rem;
|
||||||
|
-webkit-transition: background 0.3s ease;
|
||||||
|
transition: background 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Handle */
|
||||||
|
.ui.slider.checkbox .box:after,
|
||||||
|
.ui.slider.checkbox label:after {
|
||||||
|
background: #FFFFFF -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
||||||
|
background: #FFFFFF linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
||||||
|
position: absolute;
|
||||||
|
content: '' !important;
|
||||||
|
opacity: 1;
|
||||||
|
z-index: 2;
|
||||||
|
border: none;
|
||||||
|
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
||||||
|
width: 1.5rem;
|
||||||
|
height: 1.5rem;
|
||||||
|
top: -0.25rem;
|
||||||
|
left: 0em;
|
||||||
|
-webkit-transform: none;
|
||||||
|
transform: none;
|
||||||
|
border-radius: 500rem;
|
||||||
|
-webkit-transition: left 0.3s ease;
|
||||||
|
transition: left 0.3s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Focus */
|
||||||
|
.ui.slider.checkbox input:focus ~ .box:before,
|
||||||
|
.ui.slider.checkbox input:focus ~ label:before {
|
||||||
|
background-color: rgba(0, 0, 0, 0.15);
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hover */
|
||||||
|
.ui.slider.checkbox .box:hover,
|
||||||
|
.ui.slider.checkbox label:hover {
|
||||||
|
color: rgba(0, 0, 0, 0.8);
|
||||||
|
}
|
||||||
|
.ui.slider.checkbox .box:hover::before,
|
||||||
|
.ui.slider.checkbox label:hover::before {
|
||||||
|
background: rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Active */
|
||||||
|
.ui.slider.checkbox input:checked ~ .box,
|
||||||
|
.ui.slider.checkbox input:checked ~ label {
|
||||||
|
color: rgba(0, 0, 0, 0.95) !important;
|
||||||
|
}
|
||||||
|
.ui.slider.checkbox input:checked ~ .box:before,
|
||||||
|
.ui.slider.checkbox input:checked ~ label:before {
|
||||||
|
background-color: #545454 !important;
|
||||||
|
}
|
||||||
|
.ui.slider.checkbox input:checked ~ .box:after,
|
||||||
|
.ui.slider.checkbox input:checked ~ label:after {
|
||||||
|
left: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Active Focus */
|
||||||
|
.ui.slider.checkbox input:focus:checked ~ .box,
|
||||||
|
.ui.slider.checkbox input:focus:checked ~ label {
|
||||||
|
color: rgba(0, 0, 0, 0.95) !important;
|
||||||
|
}
|
||||||
|
.ui.slider.checkbox input:focus:checked ~ .box:before,
|
||||||
|
.ui.slider.checkbox input:focus:checked ~ label:before {
|
||||||
|
background-color: #000000 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Toggle
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.toggle.checkbox {
|
||||||
|
min-height: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Input */
|
||||||
|
.ui.toggle.checkbox input {
|
||||||
|
width: 3.5rem;
|
||||||
|
height: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Label */
|
||||||
|
.ui.toggle.checkbox .box,
|
||||||
|
.ui.toggle.checkbox label {
|
||||||
|
min-height: 1.5rem;
|
||||||
|
padding-left: 4.5rem;
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
}
|
||||||
|
.ui.toggle.checkbox label {
|
||||||
|
padding-top: 0.15em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Switch */
|
||||||
|
.ui.toggle.checkbox .box:before,
|
||||||
|
.ui.toggle.checkbox label:before {
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
content: '';
|
||||||
|
z-index: 1;
|
||||||
|
-webkit-transform: none;
|
||||||
|
transform: none;
|
||||||
|
border: none;
|
||||||
|
top: 0rem;
|
||||||
|
background: rgba(0, 0, 0, 0.05);
|
||||||
|
box-shadow: none;
|
||||||
|
width: 3.5rem;
|
||||||
|
height: 1.5rem;
|
||||||
|
border-radius: 500rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Handle */
|
||||||
|
.ui.toggle.checkbox .box:after,
|
||||||
|
.ui.toggle.checkbox label:after {
|
||||||
|
background: #FFFFFF -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
||||||
|
background: #FFFFFF linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
||||||
|
position: absolute;
|
||||||
|
content: '' !important;
|
||||||
|
opacity: 1;
|
||||||
|
z-index: 2;
|
||||||
|
border: none;
|
||||||
|
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15) inset;
|
||||||
|
width: 1.5rem;
|
||||||
|
height: 1.5rem;
|
||||||
|
top: 0rem;
|
||||||
|
left: 0em;
|
||||||
|
border-radius: 500rem;
|
||||||
|
-webkit-transition: background 0.3s ease, left 0.3s ease;
|
||||||
|
transition: background 0.3s ease, left 0.3s ease;
|
||||||
|
}
|
||||||
|
.ui.toggle.checkbox input ~ .box:after,
|
||||||
|
.ui.toggle.checkbox input ~ label:after {
|
||||||
|
left: -0.05rem;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Focus */
|
||||||
|
.ui.toggle.checkbox input:focus ~ .box:before,
|
||||||
|
.ui.toggle.checkbox input:focus ~ label:before {
|
||||||
|
background-color: rgba(0, 0, 0, 0.15);
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hover */
|
||||||
|
.ui.toggle.checkbox .box:hover::before,
|
||||||
|
.ui.toggle.checkbox label:hover::before {
|
||||||
|
background-color: rgba(0, 0, 0, 0.15);
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Active */
|
||||||
|
.ui.toggle.checkbox input:checked ~ .box,
|
||||||
|
.ui.toggle.checkbox input:checked ~ label {
|
||||||
|
color: rgba(0, 0, 0, 0.95) !important;
|
||||||
|
}
|
||||||
|
.ui.toggle.checkbox input:checked ~ .box:before,
|
||||||
|
.ui.toggle.checkbox input:checked ~ label:before {
|
||||||
|
background-color: #2185D0 !important;
|
||||||
|
}
|
||||||
|
.ui.toggle.checkbox input:checked ~ .box:after,
|
||||||
|
.ui.toggle.checkbox input:checked ~ label:after {
|
||||||
|
left: 2.15rem;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Active Focus */
|
||||||
|
.ui.toggle.checkbox input:focus:checked ~ .box,
|
||||||
|
.ui.toggle.checkbox input:focus:checked ~ label {
|
||||||
|
color: rgba(0, 0, 0, 0.95) !important;
|
||||||
|
}
|
||||||
|
.ui.toggle.checkbox input:focus:checked ~ .box:before,
|
||||||
|
.ui.toggle.checkbox input:focus:checked ~ label:before {
|
||||||
|
background-color: #0d71bb !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Variations
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Fitted
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.fitted.checkbox .box,
|
||||||
|
.ui.fitted.checkbox label {
|
||||||
|
padding-left: 0em !important;
|
||||||
|
}
|
||||||
|
.ui.fitted.toggle.checkbox,
|
||||||
|
.ui.fitted.toggle.checkbox {
|
||||||
|
width: 3.5rem;
|
||||||
|
}
|
||||||
|
.ui.fitted.slider.checkbox,
|
||||||
|
.ui.fitted.slider.checkbox {
|
||||||
|
width: 3.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Theme Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Checkbox';
|
||||||
|
src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBD8AAAC8AAAAYGNtYXAYVtCJAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5Zn4huwUAAAF4AAABYGhlYWQGPe1ZAAAC2AAAADZoaGVhB30DyAAAAxAAAAAkaG10eBBKAEUAAAM0AAAAHGxvY2EAmgESAAADUAAAABBtYXhwAAkALwAAA2AAAAAgbmFtZSC8IugAAAOAAAABknBvc3QAAwAAAAAFFAAAACAAAwMTAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADoAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6AL//f//AAAAAAAg6AD//f//AAH/4xgEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAEUAUQO7AvgAGgAAARQHAQYjIicBJjU0PwE2MzIfAQE2MzIfARYVA7sQ/hQQFhcQ/uMQEE4QFxcQqAF2EBcXEE4QAnMWEP4UEBABHRAXFhBOEBCoAXcQEE4QFwAAAAABAAABbgMlAkkAFAAAARUUBwYjISInJj0BNDc2MyEyFxYVAyUQEBf9SRcQEBAQFwK3FxAQAhJtFxAQEBAXbRcQEBAQFwAAAAABAAAASQMlA24ALAAAARUUBwYrARUUBwYrASInJj0BIyInJj0BNDc2OwE1NDc2OwEyFxYdATMyFxYVAyUQEBfuEBAXbhYQEO4XEBAQEBfuEBAWbhcQEO4XEBACEm0XEBDuFxAQEBAX7hAQF20XEBDuFxAQEBAX7hAQFwAAAQAAAAIAAHRSzT9fDzz1AAsEAAAAAADRsdR3AAAAANGx1HcAAAAAA7sDbgAAAAgAAgAAAAAAAAABAAADwP/AAAAEAAAAAAADuwABAAAAAAAAAAAAAAAAAAAABwQAAAAAAAAAAAAAAAIAAAAEAABFAyUAAAMlAAAAAAAAAAoAFAAeAE4AcgCwAAEAAAAHAC0AAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAIAAAAAQAAAAAAAgAHAGkAAQAAAAAAAwAIADkAAQAAAAAABAAIAH4AAQAAAAAABQALABgAAQAAAAAABgAIAFEAAQAAAAAACgAaAJYAAwABBAkAAQAQAAgAAwABBAkAAgAOAHAAAwABBAkAAwAQAEEAAwABBAkABAAQAIYAAwABBAkABQAWACMAAwABBAkABgAQAFkAAwABBAkACgA0ALBDaGVja2JveABDAGgAZQBjAGsAYgBvAHhWZXJzaW9uIDIuMABWAGUAcgBzAGkAbwBuACAAMgAuADBDaGVja2JveABDAGgAZQBjAGsAYgBvAHhDaGVja2JveABDAGgAZQBjAGsAYgBvAHhSZWd1bGFyAFIAZQBnAHUAbABhAHJDaGVja2JveABDAGgAZQBjAGsAYgBvAHhGb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('truetype');
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Checkmark */
|
||||||
|
.ui.checkbox label:after,
|
||||||
|
.ui.checkbox .box:after {
|
||||||
|
font-family: 'Checkbox';
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Checked */
|
||||||
|
.ui.checkbox input:checked ~ .box:after,
|
||||||
|
.ui.checkbox input:checked ~ label:after {
|
||||||
|
content: '\e800';
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Indeterminate */
|
||||||
|
.ui.checkbox input:indeterminate ~ .box:after,
|
||||||
|
.ui.checkbox input:indeterminate ~ label:after {
|
||||||
|
font-size: 12px;
|
||||||
|
content: '\e801';
|
||||||
|
}
|
||||||
|
/* UTF Reference
|
||||||
|
.check:before { content: '\e800'; }
|
||||||
|
.dash:before { content: '\e801'; }
|
||||||
|
.plus:before { content: '\e802'; }
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Site Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
9
public/css/checkbox.min.css
vendored
Normal file
9
public/css/checkbox.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
270
public/css/comment.css
vendored
Normal file
270
public/css/comment.css
vendored
Normal file
@@ -0,0 +1,270 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Comment
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Standard
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Comments
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.comments {
|
||||||
|
margin: 1.5em 0em;
|
||||||
|
max-width: 650px;
|
||||||
|
}
|
||||||
|
.ui.comments:first-child {
|
||||||
|
margin-top: 0em;
|
||||||
|
}
|
||||||
|
.ui.comments:last-child {
|
||||||
|
margin-bottom: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Comment
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.comments .comment {
|
||||||
|
position: relative;
|
||||||
|
background: none;
|
||||||
|
margin: 0.5em 0em 0em;
|
||||||
|
padding: 0.5em 0em 0em;
|
||||||
|
border: none;
|
||||||
|
border-top: none;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
.ui.comments .comment:first-child {
|
||||||
|
margin-top: 0em;
|
||||||
|
padding-top: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Nested Comments
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.comments .comment .comments {
|
||||||
|
margin: 0em 0em 0.5em 0.5em;
|
||||||
|
padding: 1em 0em 1em 1em;
|
||||||
|
}
|
||||||
|
.ui.comments .comment .comments:before {
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
left: 0px;
|
||||||
|
}
|
||||||
|
.ui.comments .comment .comments .comment {
|
||||||
|
border: none;
|
||||||
|
border-top: none;
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Avatar
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.comments .comment .avatar {
|
||||||
|
display: block;
|
||||||
|
width: 2.5em;
|
||||||
|
height: auto;
|
||||||
|
float: left;
|
||||||
|
margin: 0.2em 0em 0em;
|
||||||
|
}
|
||||||
|
.ui.comments .comment img.avatar,
|
||||||
|
.ui.comments .comment .avatar img {
|
||||||
|
display: block;
|
||||||
|
margin: 0em auto;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
border-radius: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Content
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.comments .comment > .content {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If there is an avatar move content over */
|
||||||
|
.ui.comments .comment > .avatar ~ .content {
|
||||||
|
margin-left: 3.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Author
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.comments .comment .author {
|
||||||
|
font-size: 1em;
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.ui.comments .comment a.author {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.ui.comments .comment a.author:hover {
|
||||||
|
color: #1e70bf;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Metadata
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.comments .comment .metadata {
|
||||||
|
display: inline-block;
|
||||||
|
margin-left: 0.5em;
|
||||||
|
color: rgba(0, 0, 0, 0.4);
|
||||||
|
font-size: 0.875em;
|
||||||
|
}
|
||||||
|
.ui.comments .comment .metadata > * {
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0em 0.5em 0em 0em;
|
||||||
|
}
|
||||||
|
.ui.comments .comment .metadata > :last-child {
|
||||||
|
margin-right: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Comment Text
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.comments .comment .text {
|
||||||
|
margin: 0.25em 0em 0.5em;
|
||||||
|
font-size: 1em;
|
||||||
|
word-wrap: break-word;
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
line-height: 1.3;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
User Actions
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.comments .comment .actions {
|
||||||
|
font-size: 0.875em;
|
||||||
|
}
|
||||||
|
.ui.comments .comment .actions a {
|
||||||
|
cursor: pointer;
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0em 0.75em 0em 0em;
|
||||||
|
color: rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
.ui.comments .comment .actions a:last-child {
|
||||||
|
margin-right: 0em;
|
||||||
|
}
|
||||||
|
.ui.comments .comment .actions a.active,
|
||||||
|
.ui.comments .comment .actions a:hover {
|
||||||
|
color: rgba(0, 0, 0, 0.8);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Reply Form
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.comments > .reply.form {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
.ui.comments .comment .reply.form {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
.ui.comments .reply.form textarea {
|
||||||
|
font-size: 1em;
|
||||||
|
height: 12em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
State
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.collapsed.comments,
|
||||||
|
.ui.comments .collapsed.comments,
|
||||||
|
.ui.comments .collapsed.comment {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Variations
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Threaded
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.threaded.comments .comment .comments {
|
||||||
|
margin: -1.5em 0 -1em 1.25em;
|
||||||
|
padding: 3em 0em 2em 2.25em;
|
||||||
|
box-shadow: -1px 0px 0px rgba(34, 36, 38, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Minimal
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.minimal.comments .comment .actions {
|
||||||
|
opacity: 0;
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
right: 0px;
|
||||||
|
left: auto;
|
||||||
|
-webkit-transition: opacity 0.2s ease;
|
||||||
|
transition: opacity 0.2s ease;
|
||||||
|
-webkit-transition-delay: 0.1s;
|
||||||
|
transition-delay: 0.1s;
|
||||||
|
}
|
||||||
|
.ui.minimal.comments .comment > .content:hover > .actions {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Sizes
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.mini.comments {
|
||||||
|
font-size: 0.78571429rem;
|
||||||
|
}
|
||||||
|
.ui.tiny.comments {
|
||||||
|
font-size: 0.85714286rem;
|
||||||
|
}
|
||||||
|
.ui.small.comments {
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
|
.ui.comments {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
.ui.large.comments {
|
||||||
|
font-size: 1.1em;
|
||||||
|
}
|
||||||
|
.ui.big.comments {
|
||||||
|
font-size: 1.28571429rem;
|
||||||
|
}
|
||||||
|
.ui.huge.comments {
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
.ui.massive.comments {
|
||||||
|
font-size: 1.71428571rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Theme Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
User Variable Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
9
public/css/comment.min.css
vendored
Normal file
9
public/css/comment.min.css
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Comment
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/.ui.comments{margin:1.5em 0;max-width:650px}.ui.comments:first-child{margin-top:0}.ui.comments:last-child{margin-bottom:0}.ui.comments .comment{position:relative;background:0 0;margin:.5em 0 0;padding:.5em 0 0;border:none;border-top:none;line-height:1.2}.ui.comments .comment:first-child{margin-top:0;padding-top:0}.ui.comments .comment .comments{margin:0 0 .5em .5em;padding:1em 0 1em 1em}.ui.comments .comment .comments:before{position:absolute;top:0;left:0}.ui.comments .comment .comments .comment{border:none;border-top:none;background:0 0}.ui.comments .comment .avatar{display:block;width:2.5em;height:auto;float:left;margin:.2em 0 0}.ui.comments .comment .avatar img,.ui.comments .comment img.avatar{display:block;margin:0 auto;width:100%;height:100%;border-radius:.25rem}.ui.comments .comment>.content{display:block}.ui.comments .comment>.avatar~.content{margin-left:3.5em}.ui.comments .comment .author{font-size:1em;color:rgba(0,0,0,.87);font-weight:700}.ui.comments .comment a.author{cursor:pointer}.ui.comments .comment a.author:hover{color:#1e70bf}.ui.comments .comment .metadata{display:inline-block;margin-left:.5em;color:rgba(0,0,0,.4);font-size:.875em}.ui.comments .comment .metadata>*{display:inline-block;margin:0 .5em 0 0}.ui.comments .comment .metadata>:last-child{margin-right:0}.ui.comments .comment .text{margin:.25em 0 .5em;font-size:1em;word-wrap:break-word;color:rgba(0,0,0,.87);line-height:1.3}.ui.comments .comment .actions{font-size:.875em}.ui.comments .comment .actions a{cursor:pointer;display:inline-block;margin:0 .75em 0 0;color:rgba(0,0,0,.4)}.ui.comments .comment .actions a:last-child{margin-right:0}.ui.comments .comment .actions a.active,.ui.comments .comment .actions a:hover{color:rgba(0,0,0,.8)}.ui.comments>.reply.form{margin-top:1em}.ui.comments .comment .reply.form{width:100%;margin-top:1em}.ui.comments .reply.form textarea{font-size:1em;height:12em}.ui.collapsed.comments,.ui.comments .collapsed.comment,.ui.comments .collapsed.comments{display:none}.ui.threaded.comments .comment .comments{margin:-1.5em 0 -1em 1.25em;padding:3em 0 2em 2.25em;box-shadow:-1px 0 0 rgba(34,36,38,.15)}.ui.minimal.comments .comment .actions{opacity:0;position:absolute;top:0;right:0;left:auto;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;-webkit-transition-delay:.1s;transition-delay:.1s}.ui.minimal.comments .comment>.content:hover>.actions{opacity:1}.ui.mini.comments{font-size:.78571429rem}.ui.tiny.comments{font-size:.85714286rem}.ui.small.comments{font-size:.9em}.ui.comments{font-size:1em}.ui.large.comments{font-size:1.1em}.ui.big.comments{font-size:1.28571429rem}.ui.huge.comments{font-size:1.2em}.ui.massive.comments{font-size:1.71428571rem}
|
||||||
147
public/css/container.css
vendored
Normal file
147
public/css/container.css
vendored
Normal file
@@ -0,0 +1,147 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Container
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Container
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/* All Sizes */
|
||||||
|
.ui.container {
|
||||||
|
display: block;
|
||||||
|
max-width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mobile */
|
||||||
|
@media only screen and (max-width: 767px) {
|
||||||
|
.ui.container {
|
||||||
|
width: auto !important;
|
||||||
|
margin-left: 1em !important;
|
||||||
|
margin-right: 1em !important;
|
||||||
|
}
|
||||||
|
.ui.grid.container {
|
||||||
|
width: auto !important;
|
||||||
|
}
|
||||||
|
.ui.relaxed.grid.container {
|
||||||
|
width: auto !important;
|
||||||
|
}
|
||||||
|
.ui.very.relaxed.grid.container {
|
||||||
|
width: auto !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tablet */
|
||||||
|
@media only screen and (min-width: 768px) and (max-width: 991px) {
|
||||||
|
.ui.container {
|
||||||
|
width: 723px;
|
||||||
|
margin-left: auto !important;
|
||||||
|
margin-right: auto !important;
|
||||||
|
}
|
||||||
|
.ui.grid.container {
|
||||||
|
width: calc( 723px + 2rem ) !important;
|
||||||
|
}
|
||||||
|
.ui.relaxed.grid.container {
|
||||||
|
width: calc( 723px + 3rem ) !important;
|
||||||
|
}
|
||||||
|
.ui.very.relaxed.grid.container {
|
||||||
|
width: calc( 723px + 5rem ) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Small Monitor */
|
||||||
|
@media only screen and (min-width: 992px) and (max-width: 1199px) {
|
||||||
|
.ui.container {
|
||||||
|
width: 933px;
|
||||||
|
margin-left: auto !important;
|
||||||
|
margin-right: auto !important;
|
||||||
|
}
|
||||||
|
.ui.grid.container {
|
||||||
|
width: calc( 933px + 2rem ) !important;
|
||||||
|
}
|
||||||
|
.ui.relaxed.grid.container {
|
||||||
|
width: calc( 933px + 3rem ) !important;
|
||||||
|
}
|
||||||
|
.ui.very.relaxed.grid.container {
|
||||||
|
width: calc( 933px + 5rem ) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Large Monitor */
|
||||||
|
@media only screen and (min-width: 1200px) {
|
||||||
|
.ui.container {
|
||||||
|
width: 1127px;
|
||||||
|
margin-left: auto !important;
|
||||||
|
margin-right: auto !important;
|
||||||
|
}
|
||||||
|
.ui.grid.container {
|
||||||
|
width: calc( 1127px + 2rem ) !important;
|
||||||
|
}
|
||||||
|
.ui.relaxed.grid.container {
|
||||||
|
width: calc( 1127px + 3rem ) !important;
|
||||||
|
}
|
||||||
|
.ui.very.relaxed.grid.container {
|
||||||
|
width: calc( 1127px + 5rem ) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Types
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/* Text Container */
|
||||||
|
.ui.text.container {
|
||||||
|
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
||||||
|
max-width: 700px !important;
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
.ui.text.container {
|
||||||
|
font-size: 1.14285714rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Fluid */
|
||||||
|
.ui.fluid.container {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Variations
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui[class*="left aligned"].container {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.ui[class*="center aligned"].container {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.ui[class*="right aligned"].container {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.ui.justified.container {
|
||||||
|
text-align: justify;
|
||||||
|
-webkit-hyphens: auto;
|
||||||
|
-ms-hyphens: auto;
|
||||||
|
hyphens: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Theme Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Site Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
9
public/css/container.min.css
vendored
Normal file
9
public/css/container.min.css
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Container
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/.ui.container{display:block;max-width:100%!important}@media only screen and (max-width:767px){.ui.container{width:auto!important;margin-left:1em!important;margin-right:1em!important}.ui.grid.container{width:auto!important}.ui.relaxed.grid.container{width:auto!important}.ui.very.relaxed.grid.container{width:auto!important}}@media only screen and (min-width:768px) and (max-width:991px){.ui.container{width:723px;margin-left:auto!important;margin-right:auto!important}.ui.grid.container{width:calc(723px + 2rem)!important}.ui.relaxed.grid.container{width:calc(723px + 3rem)!important}.ui.very.relaxed.grid.container{width:calc(723px + 5rem)!important}}@media only screen and (min-width:992px) and (max-width:1199px){.ui.container{width:933px;margin-left:auto!important;margin-right:auto!important}.ui.grid.container{width:calc(933px + 2rem)!important}.ui.relaxed.grid.container{width:calc(933px + 3rem)!important}.ui.very.relaxed.grid.container{width:calc(933px + 5rem)!important}}@media only screen and (min-width:1200px){.ui.container{width:1127px;margin-left:auto!important;margin-right:auto!important}.ui.grid.container{width:calc(1127px + 2rem)!important}.ui.relaxed.grid.container{width:calc(1127px + 3rem)!important}.ui.very.relaxed.grid.container{width:calc(1127px + 5rem)!important}}.ui.text.container{font-family:Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;max-width:700px!important;line-height:1.5}.ui.text.container{font-size:1.14285714rem}.ui.fluid.container{width:100%}.ui[class*="left aligned"].container{text-align:left}.ui[class*="center aligned"].container{text-align:center}.ui[class*="right aligned"].container{text-align:right}.ui.justified.container{text-align:justify;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}
|
||||||
200
public/css/dimmer.css
vendored
Normal file
200
public/css/dimmer.css
vendored
Normal file
@@ -0,0 +1,200 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Dimmer
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Dimmer
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.dimmable:not(.body) {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.ui.dimmer {
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
top: 0em !important;
|
||||||
|
left: 0em !important;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
background-color: rgba(0, 0, 0, 0.85);
|
||||||
|
opacity: 0;
|
||||||
|
line-height: 1;
|
||||||
|
-webkit-animation-fill-mode: both;
|
||||||
|
animation-fill-mode: both;
|
||||||
|
-webkit-animation-duration: 0.5s;
|
||||||
|
animation-duration: 0.5s;
|
||||||
|
-webkit-transition: background-color 0.5s linear;
|
||||||
|
transition: background-color 0.5s linear;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
will-change: opacity;
|
||||||
|
z-index: 1000;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Dimmer Content */
|
||||||
|
.ui.dimmer > .content {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: table;
|
||||||
|
-webkit-user-select: text;
|
||||||
|
-moz-user-select: text;
|
||||||
|
-ms-user-select: text;
|
||||||
|
user-select: text;
|
||||||
|
}
|
||||||
|
.ui.dimmer > .content > * {
|
||||||
|
display: table-cell;
|
||||||
|
vertical-align: middle;
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Loose Coupling */
|
||||||
|
.ui.segment > .ui.dimmer {
|
||||||
|
border-radius: inherit !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
States
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.animating.dimmable:not(body),
|
||||||
|
.dimmed.dimmable:not(body) {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.dimmed.dimmable > .ui.animating.dimmer,
|
||||||
|
.dimmed.dimmable > .ui.visible.dimmer,
|
||||||
|
.ui.active.dimmer {
|
||||||
|
display: block;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.ui.disabled.dimmer {
|
||||||
|
width: 0 !important;
|
||||||
|
height: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Variations
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Page
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.page.dimmer {
|
||||||
|
position: fixed;
|
||||||
|
-webkit-transform-style: '';
|
||||||
|
transform-style: '';
|
||||||
|
-webkit-perspective: 2000px;
|
||||||
|
perspective: 2000px;
|
||||||
|
-webkit-transform-origin: center center;
|
||||||
|
transform-origin: center center;
|
||||||
|
}
|
||||||
|
body.animating.in.dimmable,
|
||||||
|
body.dimmed.dimmable {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
body.dimmable > .dimmer {
|
||||||
|
position: fixed;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Blurring
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.blurring.dimmable > :not(.dimmer) {
|
||||||
|
-webkit-filter: blur(0px) grayscale(0);
|
||||||
|
filter: blur(0px) grayscale(0);
|
||||||
|
-webkit-transition: 800ms -webkit-filter ease;
|
||||||
|
transition: 800ms -webkit-filter ease;
|
||||||
|
transition: 800ms filter ease;
|
||||||
|
transition: 800ms filter ease, 800ms -webkit-filter ease;
|
||||||
|
}
|
||||||
|
.blurring.dimmed.dimmable > :not(.dimmer) {
|
||||||
|
-webkit-filter: blur(5px) grayscale(0.7);
|
||||||
|
filter: blur(5px) grayscale(0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Dimmer Color */
|
||||||
|
.blurring.dimmable > .dimmer {
|
||||||
|
background-color: rgba(0, 0, 0, 0.6);
|
||||||
|
}
|
||||||
|
.blurring.dimmable > .inverted.dimmer {
|
||||||
|
background-color: rgba(255, 255, 255, 0.6);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Aligned
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.dimmer > .top.aligned.content > * {
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
.ui.dimmer > .bottom.aligned.content > * {
|
||||||
|
vertical-align: bottom;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Inverted
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.inverted.dimmer {
|
||||||
|
background-color: rgba(255, 255, 255, 0.85);
|
||||||
|
}
|
||||||
|
.ui.inverted.dimmer > .content > * {
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Simple
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Displays without javascript */
|
||||||
|
.ui.simple.dimmer {
|
||||||
|
display: block;
|
||||||
|
overflow: hidden;
|
||||||
|
opacity: 1;
|
||||||
|
width: 0%;
|
||||||
|
height: 0%;
|
||||||
|
z-index: -100;
|
||||||
|
background-color: rgba(0, 0, 0, 0);
|
||||||
|
}
|
||||||
|
.dimmed.dimmable > .ui.simple.dimmer {
|
||||||
|
overflow: visible;
|
||||||
|
opacity: 1;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background-color: rgba(0, 0, 0, 0.85);
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
.ui.simple.inverted.dimmer {
|
||||||
|
background-color: rgba(255, 255, 255, 0);
|
||||||
|
}
|
||||||
|
.dimmed.dimmable > .ui.simple.inverted.dimmer {
|
||||||
|
background-color: rgba(255, 255, 255, 0.85);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Theme Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
User Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
9
public/css/dimmer.min.css
vendored
Normal file
9
public/css/dimmer.min.css
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Dimmer
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/.dimmable:not(.body){position:relative}.ui.dimmer{display:none;position:absolute;top:0!important;left:0!important;width:100%;height:100%;text-align:center;vertical-align:middle;background-color:rgba(0,0,0,.85);opacity:0;line-height:1;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-transition:background-color .5s linear;transition:background-color .5s linear;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;will-change:opacity;z-index:1000}.ui.dimmer>.content{width:100%;height:100%;display:table;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ui.dimmer>.content>*{display:table-cell;vertical-align:middle;color:#fff}.ui.segment>.ui.dimmer{border-radius:inherit!important}.animating.dimmable:not(body),.dimmed.dimmable:not(body){overflow:hidden}.dimmed.dimmable>.ui.animating.dimmer,.dimmed.dimmable>.ui.visible.dimmer,.ui.active.dimmer{display:block;opacity:1}.ui.disabled.dimmer{width:0!important;height:0!important}.ui.page.dimmer{position:fixed;-webkit-transform-style:'';transform-style:'';-webkit-perspective:2000px;perspective:2000px;-webkit-transform-origin:center center;transform-origin:center center}body.animating.in.dimmable,body.dimmed.dimmable{overflow:hidden}body.dimmable>.dimmer{position:fixed}.blurring.dimmable>:not(.dimmer){-webkit-filter:blur(0) grayscale(0);filter:blur(0) grayscale(0);-webkit-transition:.8s -webkit-filter ease;transition:.8s -webkit-filter ease;transition:.8s filter ease;transition:.8s filter ease,.8s -webkit-filter ease}.blurring.dimmed.dimmable>:not(.dimmer){-webkit-filter:blur(5px) grayscale(.7);filter:blur(5px) grayscale(.7)}.blurring.dimmable>.dimmer{background-color:rgba(0,0,0,.6)}.blurring.dimmable>.inverted.dimmer{background-color:rgba(255,255,255,.6)}.ui.dimmer>.top.aligned.content>*{vertical-align:top}.ui.dimmer>.bottom.aligned.content>*{vertical-align:bottom}.ui.inverted.dimmer{background-color:rgba(255,255,255,.85)}.ui.inverted.dimmer>.content>*{color:#fff}.ui.simple.dimmer{display:block;overflow:hidden;opacity:1;width:0;height:0%;z-index:-100;background-color:rgba(0,0,0,0)}.dimmed.dimmable>.ui.simple.dimmer{overflow:visible;opacity:1;width:100%;height:100%;background-color:rgba(0,0,0,.85);z-index:1}.ui.simple.inverted.dimmer{background-color:rgba(255,255,255,0)}.dimmed.dimmable>.ui.simple.inverted.dimmer{background-color:rgba(255,255,255,.85)}
|
||||||
260
public/css/divider.css
vendored
Normal file
260
public/css/divider.css
vendored
Normal file
@@ -0,0 +1,260 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Divider
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Divider
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.divider {
|
||||||
|
margin: 1rem 0rem;
|
||||||
|
line-height: 1;
|
||||||
|
height: 0em;
|
||||||
|
font-weight: bold;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.05em;
|
||||||
|
color: rgba(0, 0, 0, 0.85);
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Basic
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.divider:not(.vertical):not(.horizontal) {
|
||||||
|
border-top: 1px solid rgba(34, 36, 38, 0.15);
|
||||||
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Coupling
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Allow divider between each column row */
|
||||||
|
.ui.grid > .column + .divider,
|
||||||
|
.ui.grid > .row > .column + .divider {
|
||||||
|
left: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Horizontal
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.horizontal.divider {
|
||||||
|
display: table;
|
||||||
|
white-space: nowrap;
|
||||||
|
height: auto;
|
||||||
|
margin: '';
|
||||||
|
line-height: 1;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.ui.horizontal.divider:before,
|
||||||
|
.ui.horizontal.divider:after {
|
||||||
|
content: '';
|
||||||
|
display: table-cell;
|
||||||
|
position: relative;
|
||||||
|
top: 50%;
|
||||||
|
width: 50%;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
.ui.horizontal.divider:before {
|
||||||
|
background-position: right 1em top 50%;
|
||||||
|
}
|
||||||
|
.ui.horizontal.divider:after {
|
||||||
|
background-position: left 1em top 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Vertical
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.vertical.divider {
|
||||||
|
position: absolute;
|
||||||
|
z-index: 2;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
margin: 0rem;
|
||||||
|
padding: 0em;
|
||||||
|
width: auto;
|
||||||
|
height: 50%;
|
||||||
|
line-height: 0em;
|
||||||
|
text-align: center;
|
||||||
|
-webkit-transform: translateX(-50%);
|
||||||
|
transform: translateX(-50%);
|
||||||
|
}
|
||||||
|
.ui.vertical.divider:before,
|
||||||
|
.ui.vertical.divider:after {
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
content: '';
|
||||||
|
z-index: 3;
|
||||||
|
border-left: 1px solid rgba(34, 36, 38, 0.15);
|
||||||
|
border-right: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
|
width: 0%;
|
||||||
|
height: calc(100% - 1rem );
|
||||||
|
}
|
||||||
|
.ui.vertical.divider:before {
|
||||||
|
top: -100%;
|
||||||
|
}
|
||||||
|
.ui.vertical.divider:after {
|
||||||
|
top: auto;
|
||||||
|
bottom: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inside grid */
|
||||||
|
@media only screen and (max-width: 767px) {
|
||||||
|
.ui.stackable.grid .ui.vertical.divider,
|
||||||
|
.ui.grid .stackable.row .ui.vertical.divider {
|
||||||
|
display: table;
|
||||||
|
white-space: nowrap;
|
||||||
|
height: auto;
|
||||||
|
margin: '';
|
||||||
|
overflow: hidden;
|
||||||
|
line-height: 1;
|
||||||
|
text-align: center;
|
||||||
|
position: static;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
-webkit-transform: none;
|
||||||
|
transform: none;
|
||||||
|
}
|
||||||
|
.ui.stackable.grid .ui.vertical.divider:before,
|
||||||
|
.ui.grid .stackable.row .ui.vertical.divider:before,
|
||||||
|
.ui.stackable.grid .ui.vertical.divider:after,
|
||||||
|
.ui.grid .stackable.row .ui.vertical.divider:after {
|
||||||
|
position: static;
|
||||||
|
left: 0;
|
||||||
|
border-left: none;
|
||||||
|
border-right: none;
|
||||||
|
content: '';
|
||||||
|
display: table-cell;
|
||||||
|
position: relative;
|
||||||
|
top: 50%;
|
||||||
|
width: 50%;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
.ui.stackable.grid .ui.vertical.divider:before,
|
||||||
|
.ui.grid .stackable.row .ui.vertical.divider:before {
|
||||||
|
background-position: right 1em top 50%;
|
||||||
|
}
|
||||||
|
.ui.stackable.grid .ui.vertical.divider:after,
|
||||||
|
.ui.grid .stackable.row .ui.vertical.divider:after {
|
||||||
|
background-position: left 1em top 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Icon
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.divider > .icon {
|
||||||
|
margin: 0rem;
|
||||||
|
font-size: 1rem;
|
||||||
|
height: 1em;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Variations
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Hidden
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.hidden.divider {
|
||||||
|
border-color: transparent !important;
|
||||||
|
}
|
||||||
|
.ui.hidden.divider:before,
|
||||||
|
.ui.hidden.divider:after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Inverted
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.divider.inverted,
|
||||||
|
.ui.vertical.inverted.divider,
|
||||||
|
.ui.horizontal.inverted.divider {
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
.ui.divider.inverted,
|
||||||
|
.ui.divider.inverted:after,
|
||||||
|
.ui.divider.inverted:before {
|
||||||
|
border-top-color: rgba(34, 36, 38, 0.15) !important;
|
||||||
|
border-left-color: rgba(34, 36, 38, 0.15) !important;
|
||||||
|
border-bottom-color: rgba(255, 255, 255, 0.15) !important;
|
||||||
|
border-right-color: rgba(255, 255, 255, 0.15) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Fitted
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.fitted.divider {
|
||||||
|
margin: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Clearing
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.clearing.divider {
|
||||||
|
clear: both;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Section
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.section.divider {
|
||||||
|
margin-top: 2rem;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Sizes
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.divider {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Theme Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.horizontal.divider:before,
|
||||||
|
.ui.horizontal.divider:after {
|
||||||
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABaAAAAACCAYAAACuTHuKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1OThBRDY4OUNDMTYxMUU0OUE3NUVGOEJDMzMzMjE2NyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1OThBRDY4QUNDMTYxMUU0OUE3NUVGOEJDMzMzMjE2NyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjU5OEFENjg3Q0MxNjExRTQ5QTc1RUY4QkMzMzMyMTY3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjU5OEFENjg4Q0MxNjExRTQ5QTc1RUY4QkMzMzMyMTY3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+VU513gAAADVJREFUeNrs0DENACAQBDBIWLGBJQby/mUcJn5sJXQmOQMAAAAAAJqt+2prAAAAAACg2xdgANk6BEVuJgyMAAAAAElFTkSuQmCC');
|
||||||
|
}
|
||||||
|
@media only screen and (max-width: 767px) {
|
||||||
|
.ui.stackable.grid .ui.vertical.divider:before,
|
||||||
|
.ui.grid .stackable.row .ui.vertical.divider:before,
|
||||||
|
.ui.stackable.grid .ui.vertical.divider:after,
|
||||||
|
.ui.grid .stackable.row .ui.vertical.divider:after {
|
||||||
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABaAAAAACCAYAAACuTHuKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1OThBRDY4OUNDMTYxMUU0OUE3NUVGOEJDMzMzMjE2NyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1OThBRDY4QUNDMTYxMUU0OUE3NUVGOEJDMzMzMjE2NyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjU5OEFENjg3Q0MxNjExRTQ5QTc1RUY4QkMzMzMyMTY3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjU5OEFENjg4Q0MxNjExRTQ5QTc1RUY4QkMzMzMyMTY3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+VU513gAAADVJREFUeNrs0DENACAQBDBIWLGBJQby/mUcJn5sJXQmOQMAAAAAAJqt+2prAAAAAACg2xdgANk6BEVuJgyMAAAAAElFTkSuQmCC');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Site Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
9
public/css/divider.min.css
vendored
Normal file
9
public/css/divider.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1417
public/css/dropdown.css
vendored
Normal file
1417
public/css/dropdown.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
9
public/css/dropdown.min.css
vendored
Normal file
9
public/css/dropdown.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
166
public/css/embed.css
vendored
Normal file
166
public/css/embed.css
vendored
Normal file
@@ -0,0 +1,166 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Video
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Types
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.embed {
|
||||||
|
position: relative;
|
||||||
|
max-width: 100%;
|
||||||
|
height: 0px;
|
||||||
|
overflow: hidden;
|
||||||
|
background: #DCDDDE;
|
||||||
|
padding-bottom: 56.25%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-----------------
|
||||||
|
Embedded Content
|
||||||
|
------------------*/
|
||||||
|
|
||||||
|
.ui.embed iframe,
|
||||||
|
.ui.embed embed,
|
||||||
|
.ui.embed object {
|
||||||
|
position: absolute;
|
||||||
|
border: none;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
top: 0px;
|
||||||
|
left: 0px;
|
||||||
|
margin: 0em;
|
||||||
|
padding: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-----------------
|
||||||
|
Embed
|
||||||
|
------------------*/
|
||||||
|
|
||||||
|
.ui.embed > .embed {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Placeholder
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.embed > .placeholder {
|
||||||
|
position: absolute;
|
||||||
|
cursor: pointer;
|
||||||
|
top: 0px;
|
||||||
|
left: 0px;
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background-color: radial-gradient(transparent 45%, rgba(0, 0, 0, 0.3));
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Icon
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.embed > .icon {
|
||||||
|
cursor: pointer;
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
left: 0px;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
.ui.embed > .icon:after {
|
||||||
|
position: absolute;
|
||||||
|
top: 0%;
|
||||||
|
left: 0%;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
z-index: 3;
|
||||||
|
content: '';
|
||||||
|
background: -webkit-radial-gradient(transparent 45%, rgba(0, 0, 0, 0.3));
|
||||||
|
background: radial-gradient(transparent 45%, rgba(0, 0, 0, 0.3));
|
||||||
|
opacity: 0.5;
|
||||||
|
-webkit-transition: opacity 0.5s ease;
|
||||||
|
transition: opacity 0.5s ease;
|
||||||
|
}
|
||||||
|
.ui.embed > .icon:before {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
z-index: 4;
|
||||||
|
-webkit-transform: translateX(-50%) translateY(-50%);
|
||||||
|
transform: translateX(-50%) translateY(-50%);
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-size: 6rem;
|
||||||
|
text-shadow: 0px 2px 10px rgba(34, 36, 38, 0.2);
|
||||||
|
-webkit-transition: opacity 0.5s ease, color 0.5s ease;
|
||||||
|
transition: opacity 0.5s ease, color 0.5s ease;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
States
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Hover
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.embed .icon:hover:after {
|
||||||
|
background: -webkit-radial-gradient(transparent 45%, rgba(0, 0, 0, 0.3));
|
||||||
|
background: radial-gradient(transparent 45%, rgba(0, 0, 0, 0.3));
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.ui.embed .icon:hover:before {
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Active
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.active.embed > .icon,
|
||||||
|
.ui.active.embed > .placeholder {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.ui.active.embed > .embed {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Video Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Site Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Variations
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.square.embed {
|
||||||
|
padding-bottom: 100%;
|
||||||
|
}
|
||||||
|
.ui[class*="4:3"].embed {
|
||||||
|
padding-bottom: 75%;
|
||||||
|
}
|
||||||
|
.ui[class*="16:9"].embed {
|
||||||
|
padding-bottom: 56.25%;
|
||||||
|
}
|
||||||
|
.ui[class*="21:9"].embed {
|
||||||
|
padding-bottom: 42.85714286%;
|
||||||
|
}
|
||||||
9
public/css/embed.min.css
vendored
Normal file
9
public/css/embed.min.css
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Video
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/.ui.embed{position:relative;max-width:100%;height:0;overflow:hidden;background:#dcddde;padding-bottom:56.25%}.ui.embed embed,.ui.embed iframe,.ui.embed object{position:absolute;border:none;width:100%;height:100%;top:0;left:0;margin:0;padding:0}.ui.embed>.embed{display:none}.ui.embed>.placeholder{position:absolute;cursor:pointer;top:0;left:0;display:block;width:100%;height:100%;background-color:radial-gradient(transparent 45%,rgba(0,0,0,.3))}.ui.embed>.icon{cursor:pointer;position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.ui.embed>.icon:after{position:absolute;top:0;left:0;width:100%;height:100%;z-index:3;content:'';background:-webkit-radial-gradient(transparent 45%,rgba(0,0,0,.3));background:radial-gradient(transparent 45%,rgba(0,0,0,.3));opacity:.5;-webkit-transition:opacity .5s ease;transition:opacity .5s ease}.ui.embed>.icon:before{position:absolute;top:50%;left:50%;z-index:4;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);color:#fff;font-size:6rem;text-shadow:0 2px 10px rgba(34,36,38,.2);-webkit-transition:opacity .5s ease,color .5s ease;transition:opacity .5s ease,color .5s ease;z-index:10}.ui.embed .icon:hover:after{background:-webkit-radial-gradient(transparent 45%,rgba(0,0,0,.3));background:radial-gradient(transparent 45%,rgba(0,0,0,.3));opacity:1}.ui.embed .icon:hover:before{color:#fff}.ui.active.embed>.icon,.ui.active.embed>.placeholder{display:none}.ui.active.embed>.embed{display:block}.ui.square.embed{padding-bottom:100%}.ui[class*="4:3"].embed{padding-bottom:75%}.ui[class*="16:9"].embed{padding-bottom:56.25%}.ui[class*="21:9"].embed{padding-bottom:42.85714286%}
|
||||||
296
public/css/feed.css
vendored
Normal file
296
public/css/feed.css
vendored
Normal file
@@ -0,0 +1,296 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Feed
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Activity Feed
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.feed {
|
||||||
|
margin: 1em 0em;
|
||||||
|
}
|
||||||
|
.ui.feed:first-child {
|
||||||
|
margin-top: 0em;
|
||||||
|
}
|
||||||
|
.ui.feed:last-child {
|
||||||
|
margin-bottom: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Content
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/* Event */
|
||||||
|
.ui.feed > .event {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-orient: horizontal;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: row;
|
||||||
|
flex-direction: row;
|
||||||
|
width: 100%;
|
||||||
|
padding: 0.21428571rem 0em;
|
||||||
|
margin: 0em;
|
||||||
|
background: none;
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
.ui.feed > .event:first-child {
|
||||||
|
border-top: 0px;
|
||||||
|
padding-top: 0em;
|
||||||
|
}
|
||||||
|
.ui.feed > .event:last-child {
|
||||||
|
padding-bottom: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Event Label */
|
||||||
|
.ui.feed > .event > .label {
|
||||||
|
display: block;
|
||||||
|
-webkit-box-flex: 0;
|
||||||
|
-ms-flex: 0 0 auto;
|
||||||
|
flex: 0 0 auto;
|
||||||
|
width: 2.5em;
|
||||||
|
height: auto;
|
||||||
|
-ms-flex-item-align: stretch;
|
||||||
|
-ms-grid-row-align: stretch;
|
||||||
|
align-self: stretch;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.ui.feed > .event > .label .icon {
|
||||||
|
opacity: 1;
|
||||||
|
font-size: 1.5em;
|
||||||
|
width: 100%;
|
||||||
|
padding: 0.25em;
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
border-radius: none;
|
||||||
|
color: rgba(0, 0, 0, 0.6);
|
||||||
|
}
|
||||||
|
.ui.feed > .event > .label img {
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
border-radius: 500rem;
|
||||||
|
}
|
||||||
|
.ui.feed > .event > .label + .content {
|
||||||
|
margin: 0.5em 0em 0.35714286em 1.14285714em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Content
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Content */
|
||||||
|
.ui.feed > .event > .content {
|
||||||
|
display: block;
|
||||||
|
-webkit-box-flex: 1;
|
||||||
|
-ms-flex: 1 1 auto;
|
||||||
|
flex: 1 1 auto;
|
||||||
|
-ms-flex-item-align: stretch;
|
||||||
|
-ms-grid-row-align: stretch;
|
||||||
|
align-self: stretch;
|
||||||
|
text-align: left;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
.ui.feed > .event:last-child > .content {
|
||||||
|
padding-bottom: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Link */
|
||||||
|
.ui.feed > .event > .content a {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Date
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.feed > .event > .content .date {
|
||||||
|
margin: -0.5rem 0em 0em;
|
||||||
|
padding: 0em;
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 1em;
|
||||||
|
font-style: normal;
|
||||||
|
color: rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Summary
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.feed > .event > .content .summary {
|
||||||
|
margin: 0em;
|
||||||
|
font-size: 1em;
|
||||||
|
font-weight: bold;
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Summary Image */
|
||||||
|
.ui.feed > .event > .content .summary img {
|
||||||
|
display: inline-block;
|
||||||
|
width: auto;
|
||||||
|
height: 10em;
|
||||||
|
margin: -0.25em 0.25em 0em 0em;
|
||||||
|
border-radius: 0.25em;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
User
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.feed > .event > .content .user {
|
||||||
|
display: inline-block;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-right: 0em;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
.ui.feed > .event > .content .user img {
|
||||||
|
margin: -0.25em 0.25em 0em 0em;
|
||||||
|
width: auto;
|
||||||
|
height: 10em;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Inline Date
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Date inside Summary */
|
||||||
|
.ui.feed > .event > .content .summary > .date {
|
||||||
|
display: inline-block;
|
||||||
|
float: none;
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 0.85714286em;
|
||||||
|
font-style: normal;
|
||||||
|
margin: 0em 0em 0em 0.5em;
|
||||||
|
padding: 0em;
|
||||||
|
color: rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Extra Summary
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.feed > .event > .content .extra {
|
||||||
|
margin: 0.5em 0em 0em;
|
||||||
|
background: none;
|
||||||
|
padding: 0em;
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Images */
|
||||||
|
.ui.feed > .event > .content .extra.images img {
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0em 0.25em 0em 0em;
|
||||||
|
width: 6em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Text */
|
||||||
|
.ui.feed > .event > .content .extra.text {
|
||||||
|
padding: 0em;
|
||||||
|
border-left: none;
|
||||||
|
font-size: 1em;
|
||||||
|
max-width: 500px;
|
||||||
|
line-height: 1.4285em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Meta
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.feed > .event > .content .meta {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 0.85714286em;
|
||||||
|
margin: 0.5em 0em 0em;
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
box-shadow: none;
|
||||||
|
padding: 0em;
|
||||||
|
color: rgba(0, 0, 0, 0.6);
|
||||||
|
}
|
||||||
|
.ui.feed > .event > .content .meta > * {
|
||||||
|
position: relative;
|
||||||
|
margin-left: 0.75em;
|
||||||
|
}
|
||||||
|
.ui.feed > .event > .content .meta > *:after {
|
||||||
|
content: '';
|
||||||
|
color: rgba(0, 0, 0, 0.2);
|
||||||
|
top: 0em;
|
||||||
|
left: -1em;
|
||||||
|
opacity: 1;
|
||||||
|
position: absolute;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
.ui.feed > .event > .content .meta .like {
|
||||||
|
color: '';
|
||||||
|
-webkit-transition: 0.2s color ease;
|
||||||
|
transition: 0.2s color ease;
|
||||||
|
}
|
||||||
|
.ui.feed > .event > .content .meta .like:hover .icon {
|
||||||
|
color: #FF2733;
|
||||||
|
}
|
||||||
|
.ui.feed > .event > .content .meta .active.like .icon {
|
||||||
|
color: #EF404A;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* First element */
|
||||||
|
.ui.feed > .event > .content .meta > :first-child {
|
||||||
|
margin-left: 0em;
|
||||||
|
}
|
||||||
|
.ui.feed > .event > .content .meta > :first-child::after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Action */
|
||||||
|
.ui.feed > .event > .content .meta a,
|
||||||
|
.ui.feed > .event > .content .meta > .icon {
|
||||||
|
cursor: pointer;
|
||||||
|
opacity: 1;
|
||||||
|
color: rgba(0, 0, 0, 0.5);
|
||||||
|
-webkit-transition: color 0.1s ease;
|
||||||
|
transition: color 0.1s ease;
|
||||||
|
}
|
||||||
|
.ui.feed > .event > .content .meta a:hover,
|
||||||
|
.ui.feed > .event > .content .meta a:hover .icon,
|
||||||
|
.ui.feed > .event > .content .meta > .icon:hover {
|
||||||
|
color: rgba(0, 0, 0, 0.95);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Variations
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.small.feed {
|
||||||
|
font-size: 0.92857143rem;
|
||||||
|
}
|
||||||
|
.ui.feed {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
.ui.large.feed {
|
||||||
|
font-size: 1.14285714rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Theme Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
User Variable Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
9
public/css/feed.min.css
vendored
Normal file
9
public/css/feed.min.css
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Feed
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/.ui.feed{margin:1em 0}.ui.feed:first-child{margin-top:0}.ui.feed:last-child{margin-bottom:0}.ui.feed>.event{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;width:100%;padding:.21428571rem 0;margin:0;background:0 0;border-top:none}.ui.feed>.event:first-child{border-top:0;padding-top:0}.ui.feed>.event:last-child{padding-bottom:0}.ui.feed>.event>.label{display:block;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;width:2.5em;height:auto;-ms-flex-item-align:stretch;-ms-grid-row-align:stretch;align-self:stretch;text-align:left}.ui.feed>.event>.label .icon{opacity:1;font-size:1.5em;width:100%;padding:.25em;background:0 0;border:none;border-radius:none;color:rgba(0,0,0,.6)}.ui.feed>.event>.label img{width:100%;height:auto;border-radius:500rem}.ui.feed>.event>.label+.content{margin:.5em 0 .35714286em 1.14285714em}.ui.feed>.event>.content{display:block;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-item-align:stretch;-ms-grid-row-align:stretch;align-self:stretch;text-align:left;word-wrap:break-word}.ui.feed>.event:last-child>.content{padding-bottom:0}.ui.feed>.event>.content a{cursor:pointer}.ui.feed>.event>.content .date{margin:-.5rem 0 0;padding:0;font-weight:400;font-size:1em;font-style:normal;color:rgba(0,0,0,.4)}.ui.feed>.event>.content .summary{margin:0;font-size:1em;font-weight:700;color:rgba(0,0,0,.87)}.ui.feed>.event>.content .summary img{display:inline-block;width:auto;height:10em;margin:-.25em .25em 0 0;border-radius:.25em;vertical-align:middle}.ui.feed>.event>.content .user{display:inline-block;font-weight:700;margin-right:0;vertical-align:baseline}.ui.feed>.event>.content .user img{margin:-.25em .25em 0 0;width:auto;height:10em;vertical-align:middle}.ui.feed>.event>.content .summary>.date{display:inline-block;float:none;font-weight:400;font-size:.85714286em;font-style:normal;margin:0 0 0 .5em;padding:0;color:rgba(0,0,0,.4)}.ui.feed>.event>.content .extra{margin:.5em 0 0;background:0 0;padding:0;color:rgba(0,0,0,.87)}.ui.feed>.event>.content .extra.images img{display:inline-block;margin:0 .25em 0 0;width:6em}.ui.feed>.event>.content .extra.text{padding:0;border-left:none;font-size:1em;max-width:500px;line-height:1.4285em}.ui.feed>.event>.content .meta{display:inline-block;font-size:.85714286em;margin:.5em 0 0;background:0 0;border:none;border-radius:0;box-shadow:none;padding:0;color:rgba(0,0,0,.6)}.ui.feed>.event>.content .meta>*{position:relative;margin-left:.75em}.ui.feed>.event>.content .meta>:after{content:'';color:rgba(0,0,0,.2);top:0;left:-1em;opacity:1;position:absolute;vertical-align:top}.ui.feed>.event>.content .meta .like{color:'';-webkit-transition:.2s color ease;transition:.2s color ease}.ui.feed>.event>.content .meta .like:hover .icon{color:#ff2733}.ui.feed>.event>.content .meta .active.like .icon{color:#ef404a}.ui.feed>.event>.content .meta>:first-child{margin-left:0}.ui.feed>.event>.content .meta>:first-child::after{display:none}.ui.feed>.event>.content .meta a,.ui.feed>.event>.content .meta>.icon{cursor:pointer;opacity:1;color:rgba(0,0,0,.5);-webkit-transition:color .1s ease;transition:color .1s ease}.ui.feed>.event>.content .meta a:hover,.ui.feed>.event>.content .meta a:hover .icon,.ui.feed>.event>.content .meta>.icon:hover{color:rgba(0,0,0,.95)}.ui.small.feed{font-size:.92857143rem}.ui.feed{font-size:1rem}.ui.large.feed{font-size:1.14285714rem}
|
||||||
1031
public/css/flag.css
vendored
Normal file
1031
public/css/flag.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
9
public/css/flag.min.css
vendored
Normal file
9
public/css/flag.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1067
public/css/form.css
vendored
Normal file
1067
public/css/form.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
9
public/css/form.min.css
vendored
Normal file
9
public/css/form.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
2002
public/css/grid.css
vendored
Normal file
2002
public/css/grid.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
9
public/css/grid.min.css
vendored
Normal file
9
public/css/grid.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
721
public/css/header.css
vendored
Normal file
721
public/css/header.css
vendored
Normal file
@@ -0,0 +1,721 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Header
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Header
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/* Standard */
|
||||||
|
.ui.header {
|
||||||
|
border: none;
|
||||||
|
margin: calc(2rem - 0.14285em ) 0em 1rem;
|
||||||
|
padding: 0em 0em;
|
||||||
|
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
||||||
|
font-weight: bold;
|
||||||
|
line-height: 1.2857em;
|
||||||
|
text-transform: none;
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
}
|
||||||
|
.ui.header:first-child {
|
||||||
|
margin-top: -0.14285em;
|
||||||
|
}
|
||||||
|
.ui.header:last-child {
|
||||||
|
margin-bottom: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Sub Header
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.header .sub.header {
|
||||||
|
display: block;
|
||||||
|
font-weight: normal;
|
||||||
|
padding: 0em;
|
||||||
|
margin: 0em;
|
||||||
|
font-size: 1rem;
|
||||||
|
line-height: 1.2em;
|
||||||
|
color: rgba(0, 0, 0, 0.6);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Icon
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.header > .icon {
|
||||||
|
display: table-cell;
|
||||||
|
opacity: 1;
|
||||||
|
font-size: 1.5em;
|
||||||
|
padding-top: 0.14285em;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* With Text Node */
|
||||||
|
.ui.header .icon:only-child {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0em;
|
||||||
|
margin-right: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Image
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.header > .image,
|
||||||
|
.ui.header > img {
|
||||||
|
display: inline-block;
|
||||||
|
margin-top: 0.14285em;
|
||||||
|
width: 2.5em;
|
||||||
|
height: auto;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.ui.header > .image:only-child,
|
||||||
|
.ui.header > img:only-child {
|
||||||
|
margin-right: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Content
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.header .content {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* After Image */
|
||||||
|
.ui.header > img + .content,
|
||||||
|
.ui.header > .image + .content {
|
||||||
|
padding-left: 0.75rem;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* After Icon */
|
||||||
|
.ui.header > .icon + .content {
|
||||||
|
padding-left: 0.75rem;
|
||||||
|
display: table-cell;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Loose Coupling
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.header .ui.label {
|
||||||
|
font-size: '';
|
||||||
|
margin-left: 0.5rem;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Positioning */
|
||||||
|
.ui.header + p {
|
||||||
|
margin-top: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Types
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Page
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
h1.ui.header {
|
||||||
|
font-size: 2rem;
|
||||||
|
}
|
||||||
|
h2.ui.header {
|
||||||
|
font-size: 1.714rem;
|
||||||
|
}
|
||||||
|
h3.ui.header {
|
||||||
|
font-size: 1.28rem;
|
||||||
|
}
|
||||||
|
h4.ui.header {
|
||||||
|
font-size: 1.071rem;
|
||||||
|
}
|
||||||
|
h5.ui.header {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Sub Header */
|
||||||
|
h1.ui.header .sub.header {
|
||||||
|
font-size: 1.14285714rem;
|
||||||
|
}
|
||||||
|
h2.ui.header .sub.header {
|
||||||
|
font-size: 1.14285714rem;
|
||||||
|
}
|
||||||
|
h3.ui.header .sub.header {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
h4.ui.header .sub.header {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
h5.ui.header .sub.header {
|
||||||
|
font-size: 0.92857143rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Content Heading
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.huge.header {
|
||||||
|
min-height: 1em;
|
||||||
|
font-size: 2em;
|
||||||
|
}
|
||||||
|
.ui.large.header {
|
||||||
|
font-size: 1.714em;
|
||||||
|
}
|
||||||
|
.ui.medium.header {
|
||||||
|
font-size: 1.28em;
|
||||||
|
}
|
||||||
|
.ui.small.header {
|
||||||
|
font-size: 1.071em;
|
||||||
|
}
|
||||||
|
.ui.tiny.header {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Sub Header */
|
||||||
|
.ui.huge.header .sub.header {
|
||||||
|
font-size: 1.14285714rem;
|
||||||
|
}
|
||||||
|
.ui.large.header .sub.header {
|
||||||
|
font-size: 1.14285714rem;
|
||||||
|
}
|
||||||
|
.ui.header .sub.header {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
.ui.small.header .sub.header {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
.ui.tiny.header .sub.header {
|
||||||
|
font-size: 0.92857143rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Sub Heading
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.sub.header {
|
||||||
|
padding: 0em;
|
||||||
|
margin-bottom: 0.14285714rem;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 0.85714286em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
color: '';
|
||||||
|
}
|
||||||
|
.ui.small.sub.header {
|
||||||
|
font-size: 0.78571429em;
|
||||||
|
}
|
||||||
|
.ui.sub.header {
|
||||||
|
font-size: 0.85714286em;
|
||||||
|
}
|
||||||
|
.ui.large.sub.header {
|
||||||
|
font-size: 0.92857143em;
|
||||||
|
}
|
||||||
|
.ui.huge.sub.header {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Icon
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.icon.header {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
margin: 2rem 0em 1rem;
|
||||||
|
}
|
||||||
|
.ui.icon.header:after {
|
||||||
|
content: '';
|
||||||
|
display: block;
|
||||||
|
height: 0px;
|
||||||
|
clear: both;
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
.ui.icon.header:first-child {
|
||||||
|
margin-top: 0em;
|
||||||
|
}
|
||||||
|
.ui.icon.header .icon {
|
||||||
|
float: none;
|
||||||
|
display: block;
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
line-height: 1;
|
||||||
|
padding: 0em;
|
||||||
|
font-size: 3em;
|
||||||
|
margin: 0em auto 0.5rem;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
.ui.icon.header .content {
|
||||||
|
display: block;
|
||||||
|
padding: 0em;
|
||||||
|
}
|
||||||
|
.ui.icon.header .circular.icon {
|
||||||
|
font-size: 2em;
|
||||||
|
}
|
||||||
|
.ui.icon.header .square.icon {
|
||||||
|
font-size: 2em;
|
||||||
|
}
|
||||||
|
.ui.block.icon.header .icon {
|
||||||
|
margin-bottom: 0em;
|
||||||
|
}
|
||||||
|
.ui.icon.header.aligned {
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
States
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.disabled.header {
|
||||||
|
opacity: 0.45;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Variations
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Inverted
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.inverted.header {
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
.ui.inverted.header .sub.header {
|
||||||
|
color: rgba(255, 255, 255, 0.8);
|
||||||
|
}
|
||||||
|
.ui.inverted.attached.header {
|
||||||
|
background: #545454 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
||||||
|
background: #545454 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
||||||
|
box-shadow: none;
|
||||||
|
border-color: transparent;
|
||||||
|
}
|
||||||
|
.ui.inverted.block.header {
|
||||||
|
background: #545454 -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
||||||
|
background: #545454 linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
.ui.inverted.block.header {
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Colors
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/*--- Red ---*/
|
||||||
|
|
||||||
|
.ui.red.header {
|
||||||
|
color: #DB2828 !important;
|
||||||
|
}
|
||||||
|
a.ui.red.header:hover {
|
||||||
|
color: #d01919 !important;
|
||||||
|
}
|
||||||
|
.ui.red.dividing.header {
|
||||||
|
border-bottom: 2px solid #DB2828;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inverted */
|
||||||
|
.ui.inverted.red.header {
|
||||||
|
color: #FF695E !important;
|
||||||
|
}
|
||||||
|
a.ui.inverted.red.header:hover {
|
||||||
|
color: #ff5144 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--- Orange ---*/
|
||||||
|
|
||||||
|
.ui.orange.header {
|
||||||
|
color: #F2711C !important;
|
||||||
|
}
|
||||||
|
a.ui.orange.header:hover {
|
||||||
|
color: #f26202 !important;
|
||||||
|
}
|
||||||
|
.ui.orange.dividing.header {
|
||||||
|
border-bottom: 2px solid #F2711C;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inverted */
|
||||||
|
.ui.inverted.orange.header {
|
||||||
|
color: #FF851B !important;
|
||||||
|
}
|
||||||
|
a.ui.inverted.orange.header:hover {
|
||||||
|
color: #ff7701 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--- Olive ---*/
|
||||||
|
|
||||||
|
.ui.olive.header {
|
||||||
|
color: #B5CC18 !important;
|
||||||
|
}
|
||||||
|
a.ui.olive.header:hover {
|
||||||
|
color: #a7bd0d !important;
|
||||||
|
}
|
||||||
|
.ui.olive.dividing.header {
|
||||||
|
border-bottom: 2px solid #B5CC18;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inverted */
|
||||||
|
.ui.inverted.olive.header {
|
||||||
|
color: #D9E778 !important;
|
||||||
|
}
|
||||||
|
a.ui.inverted.olive.header:hover {
|
||||||
|
color: #d8ea5c !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--- Yellow ---*/
|
||||||
|
|
||||||
|
.ui.yellow.header {
|
||||||
|
color: #FBBD08 !important;
|
||||||
|
}
|
||||||
|
a.ui.yellow.header:hover {
|
||||||
|
color: #eaae00 !important;
|
||||||
|
}
|
||||||
|
.ui.yellow.dividing.header {
|
||||||
|
border-bottom: 2px solid #FBBD08;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inverted */
|
||||||
|
.ui.inverted.yellow.header {
|
||||||
|
color: #FFE21F !important;
|
||||||
|
}
|
||||||
|
a.ui.inverted.yellow.header:hover {
|
||||||
|
color: #ffdf05 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--- Green ---*/
|
||||||
|
|
||||||
|
.ui.green.header {
|
||||||
|
color: #21BA45 !important;
|
||||||
|
}
|
||||||
|
a.ui.green.header:hover {
|
||||||
|
color: #16ab39 !important;
|
||||||
|
}
|
||||||
|
.ui.green.dividing.header {
|
||||||
|
border-bottom: 2px solid #21BA45;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inverted */
|
||||||
|
.ui.inverted.green.header {
|
||||||
|
color: #2ECC40 !important;
|
||||||
|
}
|
||||||
|
a.ui.inverted.green.header:hover {
|
||||||
|
color: #22be34 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--- Teal ---*/
|
||||||
|
|
||||||
|
.ui.teal.header {
|
||||||
|
color: #00B5AD !important;
|
||||||
|
}
|
||||||
|
a.ui.teal.header:hover {
|
||||||
|
color: #009c95 !important;
|
||||||
|
}
|
||||||
|
.ui.teal.dividing.header {
|
||||||
|
border-bottom: 2px solid #00B5AD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inverted */
|
||||||
|
.ui.inverted.teal.header {
|
||||||
|
color: #6DFFFF !important;
|
||||||
|
}
|
||||||
|
a.ui.inverted.teal.header:hover {
|
||||||
|
color: #54ffff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--- Blue ---*/
|
||||||
|
|
||||||
|
.ui.blue.header {
|
||||||
|
color: #2185D0 !important;
|
||||||
|
}
|
||||||
|
a.ui.blue.header:hover {
|
||||||
|
color: #1678c2 !important;
|
||||||
|
}
|
||||||
|
.ui.blue.dividing.header {
|
||||||
|
border-bottom: 2px solid #2185D0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inverted */
|
||||||
|
.ui.inverted.blue.header {
|
||||||
|
color: #54C8FF !important;
|
||||||
|
}
|
||||||
|
a.ui.inverted.blue.header:hover {
|
||||||
|
color: #3ac0ff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--- Violet ---*/
|
||||||
|
|
||||||
|
.ui.violet.header {
|
||||||
|
color: #6435C9 !important;
|
||||||
|
}
|
||||||
|
a.ui.violet.header:hover {
|
||||||
|
color: #5829bb !important;
|
||||||
|
}
|
||||||
|
.ui.violet.dividing.header {
|
||||||
|
border-bottom: 2px solid #6435C9;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inverted */
|
||||||
|
.ui.inverted.violet.header {
|
||||||
|
color: #A291FB !important;
|
||||||
|
}
|
||||||
|
a.ui.inverted.violet.header:hover {
|
||||||
|
color: #8a73ff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--- Purple ---*/
|
||||||
|
|
||||||
|
.ui.purple.header {
|
||||||
|
color: #A333C8 !important;
|
||||||
|
}
|
||||||
|
a.ui.purple.header:hover {
|
||||||
|
color: #9627ba !important;
|
||||||
|
}
|
||||||
|
.ui.purple.dividing.header {
|
||||||
|
border-bottom: 2px solid #A333C8;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inverted */
|
||||||
|
.ui.inverted.purple.header {
|
||||||
|
color: #DC73FF !important;
|
||||||
|
}
|
||||||
|
a.ui.inverted.purple.header:hover {
|
||||||
|
color: #d65aff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--- Pink ---*/
|
||||||
|
|
||||||
|
.ui.pink.header {
|
||||||
|
color: #E03997 !important;
|
||||||
|
}
|
||||||
|
a.ui.pink.header:hover {
|
||||||
|
color: #e61a8d !important;
|
||||||
|
}
|
||||||
|
.ui.pink.dividing.header {
|
||||||
|
border-bottom: 2px solid #E03997;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inverted */
|
||||||
|
.ui.inverted.pink.header {
|
||||||
|
color: #FF8EDF !important;
|
||||||
|
}
|
||||||
|
a.ui.inverted.pink.header:hover {
|
||||||
|
color: #ff74d8 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--- Brown ---*/
|
||||||
|
|
||||||
|
.ui.brown.header {
|
||||||
|
color: #A5673F !important;
|
||||||
|
}
|
||||||
|
a.ui.brown.header:hover {
|
||||||
|
color: #975b33 !important;
|
||||||
|
}
|
||||||
|
.ui.brown.dividing.header {
|
||||||
|
border-bottom: 2px solid #A5673F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inverted */
|
||||||
|
.ui.inverted.brown.header {
|
||||||
|
color: #D67C1C !important;
|
||||||
|
}
|
||||||
|
a.ui.inverted.brown.header:hover {
|
||||||
|
color: #c86f11 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--- Grey ---*/
|
||||||
|
|
||||||
|
.ui.grey.header {
|
||||||
|
color: #767676 !important;
|
||||||
|
}
|
||||||
|
a.ui.grey.header:hover {
|
||||||
|
color: #838383 !important;
|
||||||
|
}
|
||||||
|
.ui.grey.dividing.header {
|
||||||
|
border-bottom: 2px solid #767676;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Inverted */
|
||||||
|
.ui.inverted.grey.header {
|
||||||
|
color: #DCDDDE !important;
|
||||||
|
}
|
||||||
|
a.ui.inverted.grey.header:hover {
|
||||||
|
color: #cfd0d2 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Aligned
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.left.aligned.header {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
.ui.right.aligned.header {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.ui.centered.header,
|
||||||
|
.ui.center.aligned.header {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.ui.justified.header {
|
||||||
|
text-align: justify;
|
||||||
|
}
|
||||||
|
.ui.justified.header:after {
|
||||||
|
display: inline-block;
|
||||||
|
content: '';
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Floated
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.floated.header,
|
||||||
|
.ui[class*="left floated"].header {
|
||||||
|
float: left;
|
||||||
|
margin-top: 0em;
|
||||||
|
margin-right: 0.5em;
|
||||||
|
}
|
||||||
|
.ui[class*="right floated"].header {
|
||||||
|
float: right;
|
||||||
|
margin-top: 0em;
|
||||||
|
margin-left: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Fitted
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.fitted.header {
|
||||||
|
padding: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Dividing
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.dividing.header {
|
||||||
|
padding-bottom: 0.21428571rem;
|
||||||
|
border-bottom: 1px solid rgba(34, 36, 38, 0.15);
|
||||||
|
}
|
||||||
|
.ui.dividing.header .sub.header {
|
||||||
|
padding-bottom: 0.21428571rem;
|
||||||
|
}
|
||||||
|
.ui.dividing.header .icon {
|
||||||
|
margin-bottom: 0em;
|
||||||
|
}
|
||||||
|
.ui.inverted.dividing.header {
|
||||||
|
border-bottom-color: rgba(255, 255, 255, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Block
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.block.header {
|
||||||
|
background: #F3F4F5;
|
||||||
|
padding: 0.78571429rem 1rem;
|
||||||
|
box-shadow: none;
|
||||||
|
border: 1px solid #D4D4D5;
|
||||||
|
border-radius: 0.28571429rem;
|
||||||
|
}
|
||||||
|
.ui.tiny.block.header {
|
||||||
|
font-size: 0.85714286rem;
|
||||||
|
}
|
||||||
|
.ui.small.block.header {
|
||||||
|
font-size: 0.92857143rem;
|
||||||
|
}
|
||||||
|
.ui.block.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
.ui.large.block.header {
|
||||||
|
font-size: 1.14285714rem;
|
||||||
|
}
|
||||||
|
.ui.huge.block.header {
|
||||||
|
font-size: 1.42857143rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Attached
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.attached.header {
|
||||||
|
background: #FFFFFF;
|
||||||
|
padding: 0.78571429rem 1rem;
|
||||||
|
margin-left: -1px;
|
||||||
|
margin-right: -1px;
|
||||||
|
box-shadow: none;
|
||||||
|
border: 1px solid #D4D4D5;
|
||||||
|
}
|
||||||
|
.ui.attached.block.header {
|
||||||
|
background: #F3F4F5;
|
||||||
|
}
|
||||||
|
.ui.attached:not(.top):not(.bottom).header {
|
||||||
|
margin-top: 0em;
|
||||||
|
margin-bottom: 0em;
|
||||||
|
border-top: none;
|
||||||
|
border-radius: 0em;
|
||||||
|
}
|
||||||
|
.ui.top.attached.header {
|
||||||
|
margin-bottom: 0em;
|
||||||
|
border-radius: 0.28571429rem 0.28571429rem 0em 0em;
|
||||||
|
}
|
||||||
|
.ui.bottom.attached.header {
|
||||||
|
margin-top: 0em;
|
||||||
|
border-top: none;
|
||||||
|
border-radius: 0em 0em 0.28571429rem 0.28571429rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Attached Sizes */
|
||||||
|
.ui.tiny.attached.header {
|
||||||
|
font-size: 0.85714286em;
|
||||||
|
}
|
||||||
|
.ui.small.attached.header {
|
||||||
|
font-size: 0.92857143em;
|
||||||
|
}
|
||||||
|
.ui.attached.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
.ui.large.attached.header {
|
||||||
|
font-size: 1.14285714em;
|
||||||
|
}
|
||||||
|
.ui.huge.attached.header {
|
||||||
|
font-size: 1.42857143em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Sizing
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.header:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6) {
|
||||||
|
font-size: 1.28em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Theme Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Site Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
9
public/css/header.min.css
vendored
Normal file
9
public/css/header.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
3142
public/css/icon.css
vendored
Normal file
3142
public/css/icon.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
9
public/css/icon.min.css
vendored
Normal file
9
public/css/icon.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
306
public/css/image.css
vendored
Normal file
306
public/css/image.css
vendored
Normal file
@@ -0,0 +1,306 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Image
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Image
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.image {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
max-width: 100%;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
img.ui.image {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.ui.image svg,
|
||||||
|
.ui.image img {
|
||||||
|
display: block;
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
States
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.hidden.images,
|
||||||
|
.ui.hidden.image {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.ui.hidden.transition.images,
|
||||||
|
.ui.hidden.transition.image {
|
||||||
|
display: block;
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
.ui.disabled.images,
|
||||||
|
.ui.disabled.image {
|
||||||
|
cursor: default;
|
||||||
|
opacity: 0.45;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Variations
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Inline
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.inline.image,
|
||||||
|
.ui.inline.image svg,
|
||||||
|
.ui.inline.image img {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*------------------
|
||||||
|
Vertical Aligned
|
||||||
|
-------------------*/
|
||||||
|
|
||||||
|
.ui.top.aligned.images .image,
|
||||||
|
.ui.top.aligned.image,
|
||||||
|
.ui.top.aligned.image svg,
|
||||||
|
.ui.top.aligned.image img {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
.ui.middle.aligned.images .image,
|
||||||
|
.ui.middle.aligned.image,
|
||||||
|
.ui.middle.aligned.image svg,
|
||||||
|
.ui.middle.aligned.image img {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
.ui.bottom.aligned.images .image,
|
||||||
|
.ui.bottom.aligned.image,
|
||||||
|
.ui.bottom.aligned.image svg,
|
||||||
|
.ui.bottom.aligned.image img {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: bottom;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Rounded
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.rounded.images .image,
|
||||||
|
.ui.rounded.image,
|
||||||
|
.ui.rounded.images .image > *,
|
||||||
|
.ui.rounded.image > * {
|
||||||
|
border-radius: 0.3125em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Bordered
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.bordered.images .image,
|
||||||
|
.ui.bordered.images img,
|
||||||
|
.ui.bordered.images svg,
|
||||||
|
.ui.bordered.image img,
|
||||||
|
.ui.bordered.image svg,
|
||||||
|
img.ui.bordered.image {
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Circular
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.circular.images,
|
||||||
|
.ui.circular.image {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.ui.circular.images .image,
|
||||||
|
.ui.circular.image,
|
||||||
|
.ui.circular.images .image > *,
|
||||||
|
.ui.circular.image > * {
|
||||||
|
border-radius: 500rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Fluid
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.fluid.images,
|
||||||
|
.ui.fluid.image,
|
||||||
|
.ui.fluid.images img,
|
||||||
|
.ui.fluid.images svg,
|
||||||
|
.ui.fluid.image svg,
|
||||||
|
.ui.fluid.image img {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Avatar
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.avatar.images .image,
|
||||||
|
.ui.avatar.images img,
|
||||||
|
.ui.avatar.images svg,
|
||||||
|
.ui.avatar.image img,
|
||||||
|
.ui.avatar.image svg,
|
||||||
|
.ui.avatar.image {
|
||||||
|
margin-right: 0.25em;
|
||||||
|
display: inline-block;
|
||||||
|
width: 2em;
|
||||||
|
height: 2em;
|
||||||
|
border-radius: 500rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Spaced
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.spaced.image {
|
||||||
|
display: inline-block !important;
|
||||||
|
margin-left: 0.5em;
|
||||||
|
margin-right: 0.5em;
|
||||||
|
}
|
||||||
|
.ui[class*="left spaced"].image {
|
||||||
|
margin-left: 0.5em;
|
||||||
|
margin-right: 0em;
|
||||||
|
}
|
||||||
|
.ui[class*="right spaced"].image {
|
||||||
|
margin-left: 0em;
|
||||||
|
margin-right: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Floated
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.floated.image,
|
||||||
|
.ui.floated.images {
|
||||||
|
float: left;
|
||||||
|
margin-right: 1em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
.ui.right.floated.images,
|
||||||
|
.ui.right.floated.image {
|
||||||
|
float: right;
|
||||||
|
margin-right: 0em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
margin-left: 1em;
|
||||||
|
}
|
||||||
|
.ui.floated.images:last-child,
|
||||||
|
.ui.floated.image:last-child {
|
||||||
|
margin-bottom: 0em;
|
||||||
|
}
|
||||||
|
.ui.centered.images,
|
||||||
|
.ui.centered.image {
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Sizes
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.mini.images .image,
|
||||||
|
.ui.mini.images img,
|
||||||
|
.ui.mini.images svg,
|
||||||
|
.ui.mini.image {
|
||||||
|
width: 35px;
|
||||||
|
height: auto;
|
||||||
|
font-size: 0.78571429rem;
|
||||||
|
}
|
||||||
|
.ui.tiny.images .image,
|
||||||
|
.ui.tiny.images img,
|
||||||
|
.ui.tiny.images svg,
|
||||||
|
.ui.tiny.image {
|
||||||
|
width: 80px;
|
||||||
|
height: auto;
|
||||||
|
font-size: 0.85714286rem;
|
||||||
|
}
|
||||||
|
.ui.small.images .image,
|
||||||
|
.ui.small.images img,
|
||||||
|
.ui.small.images svg,
|
||||||
|
.ui.small.image {
|
||||||
|
width: 150px;
|
||||||
|
height: auto;
|
||||||
|
font-size: 0.92857143rem;
|
||||||
|
}
|
||||||
|
.ui.medium.images .image,
|
||||||
|
.ui.medium.images img,
|
||||||
|
.ui.medium.images svg,
|
||||||
|
.ui.medium.image {
|
||||||
|
width: 300px;
|
||||||
|
height: auto;
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
.ui.large.images .image,
|
||||||
|
.ui.large.images img,
|
||||||
|
.ui.large.images svg,
|
||||||
|
.ui.large.image {
|
||||||
|
width: 450px;
|
||||||
|
height: auto;
|
||||||
|
font-size: 1.14285714rem;
|
||||||
|
}
|
||||||
|
.ui.big.images .image,
|
||||||
|
.ui.big.images img,
|
||||||
|
.ui.big.images svg,
|
||||||
|
.ui.big.image {
|
||||||
|
width: 600px;
|
||||||
|
height: auto;
|
||||||
|
font-size: 1.28571429rem;
|
||||||
|
}
|
||||||
|
.ui.huge.images .image,
|
||||||
|
.ui.huge.images img,
|
||||||
|
.ui.huge.images svg,
|
||||||
|
.ui.huge.image {
|
||||||
|
width: 800px;
|
||||||
|
height: auto;
|
||||||
|
font-size: 1.42857143rem;
|
||||||
|
}
|
||||||
|
.ui.massive.images .image,
|
||||||
|
.ui.massive.images img,
|
||||||
|
.ui.massive.images svg,
|
||||||
|
.ui.massive.image {
|
||||||
|
width: 960px;
|
||||||
|
height: auto;
|
||||||
|
font-size: 1.71428571rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Groups
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
.ui.images {
|
||||||
|
font-size: 0em;
|
||||||
|
margin: 0em -0.25rem 0rem;
|
||||||
|
}
|
||||||
|
.ui.images .image,
|
||||||
|
.ui.images img,
|
||||||
|
.ui.images svg {
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0em 0.25rem 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Theme Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Site Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
9
public/css/image.min.css
vendored
Normal file
9
public/css/image.min.css
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Image
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/.ui.image{position:relative;display:inline-block;vertical-align:middle;max-width:100%;background-color:transparent}img.ui.image{display:block}.ui.image img,.ui.image svg{display:block;max-width:100%;height:auto}.ui.hidden.image,.ui.hidden.images{display:none}.ui.hidden.transition.image,.ui.hidden.transition.images{display:block;visibility:hidden}.ui.disabled.image,.ui.disabled.images{cursor:default;opacity:.45}.ui.inline.image,.ui.inline.image img,.ui.inline.image svg{display:inline-block}.ui.top.aligned.image,.ui.top.aligned.image img,.ui.top.aligned.image svg,.ui.top.aligned.images .image{display:inline-block;vertical-align:top}.ui.middle.aligned.image,.ui.middle.aligned.image img,.ui.middle.aligned.image svg,.ui.middle.aligned.images .image{display:inline-block;vertical-align:middle}.ui.bottom.aligned.image,.ui.bottom.aligned.image img,.ui.bottom.aligned.image svg,.ui.bottom.aligned.images .image{display:inline-block;vertical-align:bottom}.ui.rounded.image,.ui.rounded.image>*,.ui.rounded.images .image,.ui.rounded.images .image>*{border-radius:.3125em}.ui.bordered.image img,.ui.bordered.image svg,.ui.bordered.images .image,.ui.bordered.images img,.ui.bordered.images svg,img.ui.bordered.image{border:1px solid rgba(0,0,0,.1)}.ui.circular.image,.ui.circular.images{overflow:hidden}.ui.circular.image,.ui.circular.image>*,.ui.circular.images .image,.ui.circular.images .image>*{border-radius:500rem}.ui.fluid.image,.ui.fluid.image img,.ui.fluid.image svg,.ui.fluid.images,.ui.fluid.images img,.ui.fluid.images svg{display:block;width:100%;height:auto}.ui.avatar.image,.ui.avatar.image img,.ui.avatar.image svg,.ui.avatar.images .image,.ui.avatar.images img,.ui.avatar.images svg{margin-right:.25em;display:inline-block;width:2em;height:2em;border-radius:500rem}.ui.spaced.image{display:inline-block!important;margin-left:.5em;margin-right:.5em}.ui[class*="left spaced"].image{margin-left:.5em;margin-right:0}.ui[class*="right spaced"].image{margin-left:0;margin-right:.5em}.ui.floated.image,.ui.floated.images{float:left;margin-right:1em;margin-bottom:1em}.ui.right.floated.image,.ui.right.floated.images{float:right;margin-right:0;margin-bottom:1em;margin-left:1em}.ui.floated.image:last-child,.ui.floated.images:last-child{margin-bottom:0}.ui.centered.image,.ui.centered.images{margin-left:auto;margin-right:auto}.ui.mini.image,.ui.mini.images .image,.ui.mini.images img,.ui.mini.images svg{width:35px;height:auto;font-size:.78571429rem}.ui.tiny.image,.ui.tiny.images .image,.ui.tiny.images img,.ui.tiny.images svg{width:80px;height:auto;font-size:.85714286rem}.ui.small.image,.ui.small.images .image,.ui.small.images img,.ui.small.images svg{width:150px;height:auto;font-size:.92857143rem}.ui.medium.image,.ui.medium.images .image,.ui.medium.images img,.ui.medium.images svg{width:300px;height:auto;font-size:1rem}.ui.large.image,.ui.large.images .image,.ui.large.images img,.ui.large.images svg{width:450px;height:auto;font-size:1.14285714rem}.ui.big.image,.ui.big.images .image,.ui.big.images img,.ui.big.images svg{width:600px;height:auto;font-size:1.28571429rem}.ui.huge.image,.ui.huge.images .image,.ui.huge.images img,.ui.huge.images svg{width:800px;height:auto;font-size:1.42857143rem}.ui.massive.image,.ui.massive.images .image,.ui.massive.images img,.ui.massive.images svg{width:960px;height:auto;font-size:1.71428571rem}.ui.images{font-size:0;margin:0 -.25rem 0}.ui.images .image,.ui.images img,.ui.images svg{display:inline-block;margin:0 .25rem .5rem}
|
||||||
510
public/css/input.css
vendored
Normal file
510
public/css/input.css
vendored
Normal file
@@ -0,0 +1,510 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Input
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Standard
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Inputs
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.input {
|
||||||
|
position: relative;
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
display: -webkit-inline-box;
|
||||||
|
display: -ms-inline-flexbox;
|
||||||
|
display: inline-flex;
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
}
|
||||||
|
.ui.input input {
|
||||||
|
margin: 0em;
|
||||||
|
max-width: 100%;
|
||||||
|
-webkit-box-flex: 1;
|
||||||
|
-ms-flex: 1 0 auto;
|
||||||
|
flex: 1 0 auto;
|
||||||
|
outline: none;
|
||||||
|
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
||||||
|
text-align: left;
|
||||||
|
line-height: 1.2142em;
|
||||||
|
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
||||||
|
padding: 0.67861429em 1em;
|
||||||
|
background: #FFFFFF;
|
||||||
|
border: 1px solid rgba(34, 36, 38, 0.15);
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
border-radius: 0.28571429rem;
|
||||||
|
-webkit-transition: box-shadow 0.1s ease, border-color 0.1s ease;
|
||||||
|
transition: box-shadow 0.1s ease, border-color 0.1s ease;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Placeholder
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* browsers require these rules separate */
|
||||||
|
.ui.input input::-webkit-input-placeholder {
|
||||||
|
color: rgba(191, 191, 191, 0.87);
|
||||||
|
}
|
||||||
|
.ui.input input::-moz-placeholder {
|
||||||
|
color: rgba(191, 191, 191, 0.87);
|
||||||
|
}
|
||||||
|
.ui.input input:-ms-input-placeholder {
|
||||||
|
color: rgba(191, 191, 191, 0.87);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
States
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Disabled
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.disabled.input,
|
||||||
|
.ui.input input[disabled] {
|
||||||
|
opacity: 0.45;
|
||||||
|
}
|
||||||
|
.ui.disabled.input input,
|
||||||
|
.ui.input input[disabled] {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Active
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.input input:active,
|
||||||
|
.ui.input.down input {
|
||||||
|
border-color: rgba(0, 0, 0, 0.3);
|
||||||
|
background: #FAFAFA;
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Loading
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.loading.loading.input > i.icon:before {
|
||||||
|
position: absolute;
|
||||||
|
content: '';
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
margin: -0.64285714em 0em 0em -0.64285714em;
|
||||||
|
width: 1.28571429em;
|
||||||
|
height: 1.28571429em;
|
||||||
|
border-radius: 500rem;
|
||||||
|
border: 0.2em solid rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
.ui.loading.loading.input > i.icon:after {
|
||||||
|
position: absolute;
|
||||||
|
content: '';
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
margin: -0.64285714em 0em 0em -0.64285714em;
|
||||||
|
width: 1.28571429em;
|
||||||
|
height: 1.28571429em;
|
||||||
|
-webkit-animation: button-spin 0.6s linear;
|
||||||
|
animation: button-spin 0.6s linear;
|
||||||
|
-webkit-animation-iteration-count: infinite;
|
||||||
|
animation-iteration-count: infinite;
|
||||||
|
border-radius: 500rem;
|
||||||
|
border-color: #767676 transparent transparent;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 0.2em;
|
||||||
|
box-shadow: 0px 0px 0px 1px transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Focus
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.input.focus input,
|
||||||
|
.ui.input input:focus {
|
||||||
|
border-color: #85B7D9;
|
||||||
|
background: #FFFFFF;
|
||||||
|
color: rgba(0, 0, 0, 0.8);
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
.ui.input.focus input::-webkit-input-placeholder,
|
||||||
|
.ui.input input:focus::-webkit-input-placeholder {
|
||||||
|
color: rgba(115, 115, 115, 0.87);
|
||||||
|
}
|
||||||
|
.ui.input.focus input::-moz-placeholder,
|
||||||
|
.ui.input input:focus::-moz-placeholder {
|
||||||
|
color: rgba(115, 115, 115, 0.87);
|
||||||
|
}
|
||||||
|
.ui.input.focus input:-ms-input-placeholder,
|
||||||
|
.ui.input input:focus:-ms-input-placeholder {
|
||||||
|
color: rgba(115, 115, 115, 0.87);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Error
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.input.error input {
|
||||||
|
background-color: #FFF6F6;
|
||||||
|
border-color: #E0B4B4;
|
||||||
|
color: #9F3A38;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Error Placeholder */
|
||||||
|
.ui.input.error input::-webkit-input-placeholder {
|
||||||
|
color: #e7bdbc;
|
||||||
|
}
|
||||||
|
.ui.input.error input::-moz-placeholder {
|
||||||
|
color: #e7bdbc;
|
||||||
|
}
|
||||||
|
.ui.input.error input:-ms-input-placeholder {
|
||||||
|
color: #e7bdbc !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Focused Error Placeholder */
|
||||||
|
.ui.input.error input:focus::-webkit-input-placeholder {
|
||||||
|
color: #da9796;
|
||||||
|
}
|
||||||
|
.ui.input.error input:focus::-moz-placeholder {
|
||||||
|
color: #da9796;
|
||||||
|
}
|
||||||
|
.ui.input.error input:focus:-ms-input-placeholder {
|
||||||
|
color: #da9796 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Variations
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Transparent
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.transparent.input input {
|
||||||
|
border-color: transparent !important;
|
||||||
|
background-color: transparent !important;
|
||||||
|
padding: 0em !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Transparent Icon */
|
||||||
|
.ui.transparent.icon.input > i.icon {
|
||||||
|
width: 1.1em;
|
||||||
|
}
|
||||||
|
.ui.transparent.icon.input > input {
|
||||||
|
padding-left: 0em !important;
|
||||||
|
padding-right: 2em !important;
|
||||||
|
}
|
||||||
|
.ui.transparent[class*="left icon"].input > input {
|
||||||
|
padding-left: 2em !important;
|
||||||
|
padding-right: 0em !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Transparent Inverted */
|
||||||
|
.ui.transparent.inverted.input {
|
||||||
|
color: #FFFFFF;
|
||||||
|
}
|
||||||
|
.ui.transparent.inverted.input input {
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
.ui.transparent.inverted.input input::-webkit-input-placeholder {
|
||||||
|
color: rgba(255, 255, 255, 0.5);
|
||||||
|
}
|
||||||
|
.ui.transparent.inverted.input input::-moz-placeholder {
|
||||||
|
color: rgba(255, 255, 255, 0.5);
|
||||||
|
}
|
||||||
|
.ui.transparent.inverted.input input:-ms-input-placeholder {
|
||||||
|
color: rgba(255, 255, 255, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Icon
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.icon.input > i.icon {
|
||||||
|
cursor: default;
|
||||||
|
position: absolute;
|
||||||
|
line-height: 1;
|
||||||
|
text-align: center;
|
||||||
|
top: 0px;
|
||||||
|
right: 0px;
|
||||||
|
margin: 0em;
|
||||||
|
height: 100%;
|
||||||
|
width: 2.67142857em;
|
||||||
|
opacity: 0.5;
|
||||||
|
border-radius: 0em 0.28571429rem 0.28571429rem 0em;
|
||||||
|
-webkit-transition: opacity 0.3s ease;
|
||||||
|
transition: opacity 0.3s ease;
|
||||||
|
}
|
||||||
|
.ui.icon.input > i.icon:not(.link) {
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
.ui.icon.input input {
|
||||||
|
padding-right: 2.67142857em !important;
|
||||||
|
}
|
||||||
|
.ui.icon.input > i.icon:before,
|
||||||
|
.ui.icon.input > i.icon:after {
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
text-align: center;
|
||||||
|
top: 50%;
|
||||||
|
width: 100%;
|
||||||
|
margin-top: -0.5em;
|
||||||
|
}
|
||||||
|
.ui.icon.input > i.link.icon {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.ui.icon.input > i.circular.icon {
|
||||||
|
top: 0.35em;
|
||||||
|
right: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Left Icon Input */
|
||||||
|
.ui[class*="left icon"].input > i.icon {
|
||||||
|
right: auto;
|
||||||
|
left: 1px;
|
||||||
|
border-radius: 0.28571429rem 0em 0em 0.28571429rem;
|
||||||
|
}
|
||||||
|
.ui[class*="left icon"].input > i.circular.icon {
|
||||||
|
right: auto;
|
||||||
|
left: 0.5em;
|
||||||
|
}
|
||||||
|
.ui[class*="left icon"].input > input {
|
||||||
|
padding-left: 2.67142857em !important;
|
||||||
|
padding-right: 1em !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Focus */
|
||||||
|
.ui.icon.input > input:focus ~ i.icon {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Labeled
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Adjacent Label */
|
||||||
|
.ui.labeled.input > .label {
|
||||||
|
-webkit-box-flex: 0;
|
||||||
|
-ms-flex: 0 0 auto;
|
||||||
|
flex: 0 0 auto;
|
||||||
|
margin: 0;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
.ui.labeled.input > .label:not(.corner) {
|
||||||
|
padding-top: 0.78571429em;
|
||||||
|
padding-bottom: 0.78571429em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Regular Label on Left */
|
||||||
|
.ui.labeled.input:not([class*="corner labeled"]) .label:first-child {
|
||||||
|
border-top-right-radius: 0px;
|
||||||
|
border-bottom-right-radius: 0px;
|
||||||
|
}
|
||||||
|
.ui.labeled.input:not([class*="corner labeled"]) .label:first-child + input {
|
||||||
|
border-top-left-radius: 0px;
|
||||||
|
border-bottom-left-radius: 0px;
|
||||||
|
border-left-color: transparent;
|
||||||
|
}
|
||||||
|
.ui.labeled.input:not([class*="corner labeled"]) .label:first-child + input:focus {
|
||||||
|
border-left-color: #85B7D9;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Regular Label on Right */
|
||||||
|
.ui[class*="right labeled"].input input {
|
||||||
|
border-top-right-radius: 0px !important;
|
||||||
|
border-bottom-right-radius: 0px !important;
|
||||||
|
border-right-color: transparent !important;
|
||||||
|
}
|
||||||
|
.ui[class*="right labeled"].input input + .label {
|
||||||
|
border-top-left-radius: 0px;
|
||||||
|
border-bottom-left-radius: 0px;
|
||||||
|
}
|
||||||
|
.ui[class*="right labeled"].input input:focus {
|
||||||
|
border-right-color: #85B7D9 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Corner Label */
|
||||||
|
.ui.labeled.input .corner.label {
|
||||||
|
top: 1px;
|
||||||
|
right: 1px;
|
||||||
|
font-size: 0.64285714em;
|
||||||
|
border-radius: 0em 0.28571429rem 0em 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Spacing with corner label */
|
||||||
|
.ui[class*="corner labeled"]:not([class*="left corner labeled"]).labeled.input input {
|
||||||
|
padding-right: 2.5em !important;
|
||||||
|
}
|
||||||
|
.ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > input {
|
||||||
|
padding-right: 3.25em !important;
|
||||||
|
}
|
||||||
|
.ui[class*="corner labeled"].icon.input:not([class*="left corner labeled"]) > .icon {
|
||||||
|
margin-right: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Left Labeled */
|
||||||
|
.ui[class*="left corner labeled"].labeled.input input {
|
||||||
|
padding-left: 2.5em !important;
|
||||||
|
}
|
||||||
|
.ui[class*="left corner labeled"].icon.input > input {
|
||||||
|
padding-left: 3.25em !important;
|
||||||
|
}
|
||||||
|
.ui[class*="left corner labeled"].icon.input > .icon {
|
||||||
|
margin-left: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Corner Label Position */
|
||||||
|
.ui.input > .ui.corner.label {
|
||||||
|
top: 1px;
|
||||||
|
right: 1px;
|
||||||
|
}
|
||||||
|
.ui.input > .ui.left.corner.label {
|
||||||
|
right: auto;
|
||||||
|
left: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Action
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.action.input > .button,
|
||||||
|
.ui.action.input > .buttons {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
-webkit-box-align: center;
|
||||||
|
-ms-flex-align: center;
|
||||||
|
align-items: center;
|
||||||
|
-webkit-box-flex: 0;
|
||||||
|
-ms-flex: 0 0 auto;
|
||||||
|
flex: 0 0 auto;
|
||||||
|
}
|
||||||
|
.ui.action.input > .button,
|
||||||
|
.ui.action.input > .buttons > .button {
|
||||||
|
padding-top: 0.78571429em;
|
||||||
|
padding-bottom: 0.78571429em;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Button on Right */
|
||||||
|
.ui.action.input:not([class*="left action"]) > input {
|
||||||
|
border-top-right-radius: 0px !important;
|
||||||
|
border-bottom-right-radius: 0px !important;
|
||||||
|
border-right-color: transparent !important;
|
||||||
|
}
|
||||||
|
.ui.action.input:not([class*="left action"]) > .dropdown:not(:first-child),
|
||||||
|
.ui.action.input:not([class*="left action"]) > .button:not(:first-child),
|
||||||
|
.ui.action.input:not([class*="left action"]) > .buttons:not(:first-child) > .button {
|
||||||
|
border-radius: 0px;
|
||||||
|
}
|
||||||
|
.ui.action.input:not([class*="left action"]) > .dropdown:last-child,
|
||||||
|
.ui.action.input:not([class*="left action"]) > .button:last-child,
|
||||||
|
.ui.action.input:not([class*="left action"]) > .buttons:last-child > .button {
|
||||||
|
border-radius: 0px 0.28571429rem 0.28571429rem 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Input Focus */
|
||||||
|
.ui.action.input:not([class*="left action"]) input:focus {
|
||||||
|
border-right-color: #85B7D9 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Button on Left */
|
||||||
|
.ui[class*="left action"].input > input {
|
||||||
|
border-top-left-radius: 0px !important;
|
||||||
|
border-bottom-left-radius: 0px !important;
|
||||||
|
border-left-color: transparent !important;
|
||||||
|
}
|
||||||
|
.ui[class*="left action"].input > .dropdown,
|
||||||
|
.ui[class*="left action"].input > .button,
|
||||||
|
.ui[class*="left action"].input > .buttons > .button {
|
||||||
|
border-radius: 0px;
|
||||||
|
}
|
||||||
|
.ui[class*="left action"].input > .dropdown:first-child,
|
||||||
|
.ui[class*="left action"].input > .button:first-child,
|
||||||
|
.ui[class*="left action"].input > .buttons:first-child > .button {
|
||||||
|
border-radius: 0.28571429rem 0px 0px 0.28571429rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Input Focus */
|
||||||
|
.ui[class*="left action"].input > input:focus {
|
||||||
|
border-left-color: #85B7D9 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Inverted
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Standard */
|
||||||
|
.ui.inverted.input input {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Fluid
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.fluid.input {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
.ui.fluid.input > input {
|
||||||
|
width: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
Size
|
||||||
|
---------------------*/
|
||||||
|
|
||||||
|
.ui.mini.input {
|
||||||
|
font-size: 0.78571429em;
|
||||||
|
}
|
||||||
|
.ui.small.input {
|
||||||
|
font-size: 0.92857143em;
|
||||||
|
}
|
||||||
|
.ui.input {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
.ui.large.input {
|
||||||
|
font-size: 1.14285714em;
|
||||||
|
}
|
||||||
|
.ui.big.input {
|
||||||
|
font-size: 1.28571429em;
|
||||||
|
}
|
||||||
|
.ui.huge.input {
|
||||||
|
font-size: 1.42857143em;
|
||||||
|
}
|
||||||
|
.ui.massive.input {
|
||||||
|
font-size: 1.71428571em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Theme Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Site Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
9
public/css/input.min.css
vendored
Normal file
9
public/css/input.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
475
public/css/item.css
vendored
Normal file
475
public/css/item.css
vendored
Normal file
@@ -0,0 +1,475 @@
|
|||||||
|
/*!
|
||||||
|
* # Semantic UI 2.2.7 - Item
|
||||||
|
* http://github.com/semantic-org/semantic-ui/
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* Released under the MIT license
|
||||||
|
* http://opensource.org/licenses/MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Standard
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Item
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.items > .item {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
margin: 1em 0em;
|
||||||
|
width: 100%;
|
||||||
|
min-height: 0px;
|
||||||
|
background: transparent;
|
||||||
|
padding: 0em;
|
||||||
|
border: none;
|
||||||
|
border-radius: 0rem;
|
||||||
|
box-shadow: none;
|
||||||
|
-webkit-transition: box-shadow 0.1s ease;
|
||||||
|
transition: box-shadow 0.1s ease;
|
||||||
|
z-index: '';
|
||||||
|
}
|
||||||
|
.ui.items > .item a {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Items
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.items {
|
||||||
|
margin: 1.5em 0em;
|
||||||
|
}
|
||||||
|
.ui.items:first-child {
|
||||||
|
margin-top: 0em !important;
|
||||||
|
}
|
||||||
|
.ui.items:last-child {
|
||||||
|
margin-bottom: 0em !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Item
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.items > .item:after {
|
||||||
|
display: block;
|
||||||
|
content: ' ';
|
||||||
|
height: 0px;
|
||||||
|
clear: both;
|
||||||
|
overflow: hidden;
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
.ui.items > .item:first-child {
|
||||||
|
margin-top: 0em;
|
||||||
|
}
|
||||||
|
.ui.items > .item:last-child {
|
||||||
|
margin-bottom: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Images
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.items > .item > .image {
|
||||||
|
position: relative;
|
||||||
|
-webkit-box-flex: 0;
|
||||||
|
-ms-flex: 0 0 auto;
|
||||||
|
flex: 0 0 auto;
|
||||||
|
display: block;
|
||||||
|
float: none;
|
||||||
|
margin: 0em;
|
||||||
|
padding: 0em;
|
||||||
|
max-height: '';
|
||||||
|
-ms-flex-item-align: top;
|
||||||
|
-ms-grid-row-align: top;
|
||||||
|
align-self: top;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .image > img {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: auto;
|
||||||
|
border-radius: 0.125rem;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .image:only-child > img {
|
||||||
|
border-radius: 0rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Content
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.items > .item > .content {
|
||||||
|
display: block;
|
||||||
|
-webkit-box-flex: 1;
|
||||||
|
-ms-flex: 1 1 auto;
|
||||||
|
flex: 1 1 auto;
|
||||||
|
background: none;
|
||||||
|
margin: 0em;
|
||||||
|
padding: 0em;
|
||||||
|
box-shadow: none;
|
||||||
|
font-size: 1em;
|
||||||
|
border: none;
|
||||||
|
border-radius: 0em;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .content:after {
|
||||||
|
display: block;
|
||||||
|
content: ' ';
|
||||||
|
height: 0px;
|
||||||
|
clear: both;
|
||||||
|
overflow: hidden;
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .image + .content {
|
||||||
|
min-width: 0;
|
||||||
|
width: auto;
|
||||||
|
display: block;
|
||||||
|
margin-left: 0em;
|
||||||
|
-ms-flex-item-align: top;
|
||||||
|
-ms-grid-row-align: top;
|
||||||
|
align-self: top;
|
||||||
|
padding-left: 1.5em;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .content > .header {
|
||||||
|
display: inline-block;
|
||||||
|
margin: -0.21425em 0em 0em;
|
||||||
|
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
||||||
|
font-weight: bold;
|
||||||
|
color: rgba(0, 0, 0, 0.85);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Default Header Size */
|
||||||
|
.ui.items > .item > .content > .header:not(.ui) {
|
||||||
|
font-size: 1.28571429em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Floated
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.items > .item [class*="left floated"] {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.ui.items > .item [class*="right floated"] {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Content Image
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.items > .item .content img {
|
||||||
|
-ms-flex-item-align: middle;
|
||||||
|
-ms-grid-row-align: middle;
|
||||||
|
align-self: middle;
|
||||||
|
width: '';
|
||||||
|
}
|
||||||
|
.ui.items > .item img.avatar,
|
||||||
|
.ui.items > .item .avatar img {
|
||||||
|
width: '';
|
||||||
|
height: '';
|
||||||
|
border-radius: 500rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Description
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.items > .item > .content > .description {
|
||||||
|
margin-top: 0.6em;
|
||||||
|
max-width: auto;
|
||||||
|
font-size: 1em;
|
||||||
|
line-height: 1.4285em;
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Paragraph
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.items > .item > .content p {
|
||||||
|
margin: 0em 0em 0.5em;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .content p:last-child {
|
||||||
|
margin-bottom: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Meta
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.items > .item .meta {
|
||||||
|
margin: 0.5em 0em 0.5em;
|
||||||
|
font-size: 1em;
|
||||||
|
line-height: 1em;
|
||||||
|
color: rgba(0, 0, 0, 0.6);
|
||||||
|
}
|
||||||
|
.ui.items > .item .meta * {
|
||||||
|
margin-right: 0.3em;
|
||||||
|
}
|
||||||
|
.ui.items > .item .meta :last-child {
|
||||||
|
margin-right: 0em;
|
||||||
|
}
|
||||||
|
.ui.items > .item .meta [class*="right floated"] {
|
||||||
|
margin-right: 0em;
|
||||||
|
margin-left: 0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Links
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/* Generic */
|
||||||
|
.ui.items > .item > .content a:not(.ui) {
|
||||||
|
color: '';
|
||||||
|
-webkit-transition: color 0.1s ease;
|
||||||
|
transition: color 0.1s ease;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .content a:not(.ui):hover {
|
||||||
|
color: '';
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Header */
|
||||||
|
.ui.items > .item > .content > a.header {
|
||||||
|
color: rgba(0, 0, 0, 0.85);
|
||||||
|
}
|
||||||
|
.ui.items > .item > .content > a.header:hover {
|
||||||
|
color: #1e70bf;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Meta */
|
||||||
|
.ui.items > .item .meta > a:not(.ui) {
|
||||||
|
color: rgba(0, 0, 0, 0.4);
|
||||||
|
}
|
||||||
|
.ui.items > .item .meta > a:not(.ui):hover {
|
||||||
|
color: rgba(0, 0, 0, 0.87);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Labels
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
|
||||||
|
/*-----Star----- */
|
||||||
|
|
||||||
|
|
||||||
|
/* Icon */
|
||||||
|
.ui.items > .item > .content .favorite.icon {
|
||||||
|
cursor: pointer;
|
||||||
|
opacity: 0.75;
|
||||||
|
-webkit-transition: color 0.1s ease;
|
||||||
|
transition: color 0.1s ease;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .content .favorite.icon:hover {
|
||||||
|
opacity: 1;
|
||||||
|
color: #FFB70A;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .content .active.favorite.icon {
|
||||||
|
color: #FFE623;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-----Like----- */
|
||||||
|
|
||||||
|
|
||||||
|
/* Icon */
|
||||||
|
.ui.items > .item > .content .like.icon {
|
||||||
|
cursor: pointer;
|
||||||
|
opacity: 0.75;
|
||||||
|
-webkit-transition: color 0.1s ease;
|
||||||
|
transition: color 0.1s ease;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .content .like.icon:hover {
|
||||||
|
opacity: 1;
|
||||||
|
color: #FF2733;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .content .active.like.icon {
|
||||||
|
color: #FF2733;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*----------------
|
||||||
|
Extra Content
|
||||||
|
-----------------*/
|
||||||
|
|
||||||
|
.ui.items > .item .extra {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
|
background: none;
|
||||||
|
margin: 0.5rem 0em 0em;
|
||||||
|
width: 100%;
|
||||||
|
padding: 0em 0em 0em;
|
||||||
|
top: 0em;
|
||||||
|
left: 0em;
|
||||||
|
color: rgba(0, 0, 0, 0.4);
|
||||||
|
box-shadow: none;
|
||||||
|
-webkit-transition: color 0.1s ease;
|
||||||
|
transition: color 0.1s ease;
|
||||||
|
border-top: none;
|
||||||
|
}
|
||||||
|
.ui.items > .item .extra > * {
|
||||||
|
margin: 0.25rem 0.5rem 0.25rem 0em;
|
||||||
|
}
|
||||||
|
.ui.items > .item .extra > [class*="right floated"] {
|
||||||
|
margin: 0.25rem 0em 0.25rem 0.5rem;
|
||||||
|
}
|
||||||
|
.ui.items > .item .extra:after {
|
||||||
|
display: block;
|
||||||
|
content: ' ';
|
||||||
|
height: 0px;
|
||||||
|
clear: both;
|
||||||
|
overflow: hidden;
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Responsive
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/* Default Image Width */
|
||||||
|
.ui.items > .item > .image:not(.ui) {
|
||||||
|
width: 175px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tablet Only */
|
||||||
|
@media only screen and (min-width: 768px) and (max-width: 991px) {
|
||||||
|
.ui.items > .item {
|
||||||
|
margin: 1em 0em;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .image:not(.ui) {
|
||||||
|
width: 150px;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .image + .content {
|
||||||
|
display: block;
|
||||||
|
padding: 0em 0em 0em 1em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mobile Only */
|
||||||
|
@media only screen and (max-width: 767px) {
|
||||||
|
.ui.items > .item {
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
margin: 2em 0em;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .image {
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .image,
|
||||||
|
.ui.items > .item > .image > img {
|
||||||
|
max-width: 100% !important;
|
||||||
|
width: auto !important;
|
||||||
|
max-height: 250px !important;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .image + .content {
|
||||||
|
display: block;
|
||||||
|
padding: 1.5em 0em 0em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Variations
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Aligned
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.items > .item > .image + [class*="top aligned"].content {
|
||||||
|
-ms-flex-item-align: start;
|
||||||
|
align-self: flex-start;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .image + [class*="middle aligned"].content {
|
||||||
|
-ms-flex-item-align: center;
|
||||||
|
-ms-grid-row-align: center;
|
||||||
|
align-self: center;
|
||||||
|
}
|
||||||
|
.ui.items > .item > .image + [class*="bottom aligned"].content {
|
||||||
|
-ms-flex-item-align: end;
|
||||||
|
align-self: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Relaxed
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.relaxed.items > .item {
|
||||||
|
margin: 1.5em 0em;
|
||||||
|
}
|
||||||
|
.ui[class*="very relaxed"].items > .item {
|
||||||
|
margin: 2em 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Divided
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.divided.items > .item {
|
||||||
|
border-top: 1px solid rgba(34, 36, 38, 0.15);
|
||||||
|
margin: 0em;
|
||||||
|
padding: 1em 0em;
|
||||||
|
}
|
||||||
|
.ui.divided.items > .item:first-child {
|
||||||
|
border-top: none;
|
||||||
|
margin-top: 0em !important;
|
||||||
|
padding-top: 0em !important;
|
||||||
|
}
|
||||||
|
.ui.divided.items > .item:last-child {
|
||||||
|
margin-bottom: 0em !important;
|
||||||
|
padding-bottom: 0em !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Relaxed Divided */
|
||||||
|
.ui.relaxed.divided.items > .item {
|
||||||
|
margin: 0em;
|
||||||
|
padding: 1.5em 0em;
|
||||||
|
}
|
||||||
|
.ui[class*="very relaxed"].divided.items > .item {
|
||||||
|
margin: 0em;
|
||||||
|
padding: 2em 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*-------------------
|
||||||
|
Link
|
||||||
|
--------------------*/
|
||||||
|
|
||||||
|
.ui.items a.item:hover,
|
||||||
|
.ui.link.items > .item:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.ui.items a.item:hover .content .header,
|
||||||
|
.ui.link.items > .item:hover .content .header {
|
||||||
|
color: #1e70bf;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*--------------
|
||||||
|
Size
|
||||||
|
---------------*/
|
||||||
|
|
||||||
|
.ui.items > .item {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
Theme Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*******************************
|
||||||
|
User Variable Overrides
|
||||||
|
*******************************/
|
||||||
|
|
||||||
9
public/css/item.min.css
vendored
Normal file
9
public/css/item.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user