Compare commits

..

No commits in common. "82534403714c35cd689c85ea480b7faefd554131" and "97f00e8172ea0441338057d2a611b3c542b8e30e" have entirely different histories.

517 changed files with 6356 additions and 41811 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -15,29 +15,17 @@ class CCMS
// } // }
public static function getSiteVars() // public static function getSiteVars()
{ // {
$siteVars = DB::table("settings")->where('status', 1)->orderby('display_order')->first(); // $siteVars = DB::table("settings")->where('status', 1)->orderby('display_order')->first();
return $siteVars; // return $siteVars;
} // }
public static function createMenuLink($text, $URL)
{
$isActive = request()->fullUrl() == $URL;
$activeClass = $isActive ? 'active' : '';
?>
<li>
<a class="nav-link menu-link <?php echo $activeClass; ?>" href="<?php echo $URL; ?>"><i class="ri-file-text-line "></i> <span data-key="t-landing">
<?php echo $text; ?>
</span></a>
</li>
<?php
}
// private function initDB() // private function initDB()
// { // {
// static $initialized = false; // static $initialized = false;
// if (!$initialized) { // if (!$initialized) {
// if (!(DB::table('users')->first())) { // if (!(DB::table('users')->first())) {
// DB::statement("INSERT INTO `tbl_users` (`name`,`email`,`username`,`password`,`status`) VALUES ('Prajwal Adhikari','prajwalbro@hotmail.com','prajwalbro@hotmail.com','$2y$10$3zlF9VeXexzWKRDPZuDio.W7RZIC3tU.cjwMoLzG8ki8bVwAQn1WW','1');"); // DB::statement("INSERT INTO `tbl_users` (`name`,`email`,`username`,`password`,`status`) VALUES ('Prajwal Adhikari','prajwalbro@hotmail.com','prajwalbro@hotmail.com','$2y$10$3zlF9VeXexzWKRDPZuDio.W7RZIC3tU.cjwMoLzG8ki8bVwAQn1WW','1');");

View File

@ -0,0 +1,95 @@
<?php
namespace App\Helpers\Installer;
use Exception;
use Illuminate\Database\SQLiteConnection;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\DB;
use Symfony\Component\Console\Output\BufferedOutput;
class DatabaseManager
{
/**
* Migrate and seed the database.
*
* @return array
*/
public function migrateAndSeed()
{
$outputLog = new BufferedOutput;
$this->sqlite($outputLog);
return $this->migrate($outputLog);
}
/**
* Run the migration and call the seeder.
*
* @param \Symfony\Component\Console\Output\BufferedOutput $outputLog
* @return array
*/
private function migrate(BufferedOutput $outputLog)
{
try {
Artisan::call('migrate', ['--force'=> true], $outputLog);
} catch (Exception $e) {
return $this->response($e->getMessage(), 'error', $outputLog);
}
return $this->seed($outputLog);
}
/**
* Seed the database.
*
* @param \Symfony\Component\Console\Output\BufferedOutput $outputLog
* @return array
*/
private function seed(BufferedOutput $outputLog)
{
try {
Artisan::call('db:seed', ['--force' => true], $outputLog);
} catch (Exception $e) {
return $this->response($e->getMessage(), 'error', $outputLog);
}
return $this->response(trans('installer_messages.final.finished'), 'success', $outputLog);
}
/**
* Return a formatted error messages.
*
* @param string $message
* @param string $status
* @param \Symfony\Component\Console\Output\BufferedOutput $outputLog
* @return array
*/
private function response($message, $status, BufferedOutput $outputLog)
{
return [
'status' => $status,
'message' => $message,
'dbOutputLog' => $outputLog->fetch(),
];
}
/**
* Check database type. If SQLite, then create the database file.
*
* @param \Symfony\Component\Console\Output\BufferedOutput $outputLog
*/
private function sqlite(BufferedOutput $outputLog)
{
if (DB::connection() instanceof SQLiteConnection) {
$database = DB::connection()->getDatabaseName();
if (! file_exists($database)) {
touch($database);
DB::reconnect(Config::get('database.default'));
}
$outputLog->write('Using SqlLite database: '.$database, 1);
}
}
}

View File

@ -0,0 +1,135 @@
<?php
namespace App\Helpers\Installer;
use Exception;
use Illuminate\Http\Request;
use Illuminate\Support\Str;
class EnvironmentManager
{
/**
* @var string
*/
private $envPath;
/**
* @var string
*/
private $envExamplePath;
/**
* Set the .env and .env.example paths.
*/
public function __construct()
{
$this->envPath = base_path('.env');
$this->envExamplePath = base_path('.env.example');
}
/**
* Get the content of the .env file.
*
* @return string
*/
public function getEnvContent()
{
if (! file_exists($this->envPath)) {
if (file_exists($this->envExamplePath)) {
copy($this->envExamplePath, $this->envPath);
} else {
touch($this->envPath);
}
}
return file_get_contents($this->envPath);
}
/**
* Get the the .env file path.
*
* @return string
*/
public function getEnvPath()
{
return $this->envPath;
}
/**
* Get the the .env.example file path.
*
* @return string
*/
public function getEnvExamplePath()
{
return $this->envExamplePath;
}
/**
* Save the edited content to the .env file.
*
* @param Request $input
* @return string
*/
public function saveFileClassic(Request $input)
{
$message = trans('installer_messages.environment.success');
try {
file_put_contents($this->envPath, $input->get('envConfig'));
} catch (Exception $e) {
$message = trans('installer_messages.environment.errors');
}
return $message;
}
/**
* Save the form content to the .env file.
*
* @param Request $request
* @return string
*/
public function saveFileWizard(Request $request)
{
$results = trans('installer_messages.environment.success');
$envFileData =
'APP_NAME=\''.$request->app_name."'\n".
'APP_ENV='.$request->environment."\n".
'APP_KEY='.'base64:'.base64_encode(Str::random(32))."\n".
'APP_DEBUG='.$request->app_debug."\n".
'APP_LOG_LEVEL='.$request->app_log_level."\n".
'APP_URL='.$request->app_url."\n\n".
'DB_CONNECTION='.$request->database_connection."\n".
'DB_HOST='.$request->database_hostname."\n".
'DB_PORT='.$request->database_port."\n".
'DB_DATABASE='.$request->database_name."\n".
'DB_USERNAME='.$request->database_username."\n".
'DB_PASSWORD='.$request->database_password."\n\n".
'BROADCAST_DRIVER='.$request->broadcast_driver."\n".
'CACHE_DRIVER='.$request->cache_driver."\n".
'SESSION_DRIVER='.$request->session_driver."\n".
'QUEUE_DRIVER='.$request->queue_driver."\n\n".
'REDIS_HOST='.$request->redis_hostname."\n".
'REDIS_PASSWORD='.$request->redis_password."\n".
'REDIS_PORT='.$request->redis_port."\n\n".
'MAIL_DRIVER='.$request->mail_driver."\n".
'MAIL_HOST='.$request->mail_host."\n".
'MAIL_PORT='.$request->mail_port."\n".
'MAIL_USERNAME='.$request->mail_username."\n".
'MAIL_PASSWORD='.$request->mail_password."\n".
'MAIL_ENCRYPTION='.$request->mail_encryption."\n\n".
'PUSHER_APP_ID='.$request->pusher_app_id."\n".
'PUSHER_APP_KEY='.$request->pusher_app_key."\n".
'PUSHER_APP_SECRET='.$request->pusher_app_secret;
try {
file_put_contents($this->envPath, $envFileData);
} catch (Exception $e) {
$results = trans('installer_messages.environment.errors');
}
return $results;
}
}

View File

@ -0,0 +1,79 @@
<?php
namespace App\Helpers\Installer;
use Exception;
use Illuminate\Support\Facades\Artisan;
use Symfony\Component\Console\Output\BufferedOutput;
class FinalInstallManager
{
/**
* Run final commands.
*
* @return string
*/
public function runFinal()
{
$outputLog = new BufferedOutput;
$this->generateKey($outputLog);
$this->publishVendorAssets($outputLog);
return $outputLog->fetch();
}
/**
* Generate New Application Key.
*
* @param \Symfony\Component\Console\Output\BufferedOutput $outputLog
* @return \Symfony\Component\Console\Output\BufferedOutput|array
*/
private static function generateKey(BufferedOutput $outputLog)
{
try {
if (config('installer.final.key')) {
Artisan::call('key:generate', ['--force'=> true], $outputLog);
}
} catch (Exception $e) {
return static::response($e->getMessage(), $outputLog);
}
return $outputLog;
}
/**
* Publish vendor assets.
*
* @param \Symfony\Component\Console\Output\BufferedOutput $outputLog
* @return \Symfony\Component\Console\Output\BufferedOutput|array
*/
private static function publishVendorAssets(BufferedOutput $outputLog)
{
try {
if (config('installer.final.publish')) {
Artisan::call('vendor:publish', ['--all' => true], $outputLog);
}
} catch (Exception $e) {
return static::response($e->getMessage(), $outputLog);
}
return $outputLog;
}
/**
* Return a formatted error messages.
*
* @param $message
* @param \Symfony\Component\Console\Output\BufferedOutput $outputLog
* @return array
*/
private static function response($message, BufferedOutput $outputLog)
{
return [
'status' => 'error',
'message' => $message,
'dbOutputLog' => $outputLog->fetch(),
];
}
}

View File

@ -0,0 +1,40 @@
<?php
namespace App\Helpers\Installer;
class InstalledFileManager
{
/**
* Create installed file.
*
* @return int
*/
public function create()
{
$installedLogFile = storage_path('installed');
$dateStamp = date('Y/m/d h:i:sa');
if (! file_exists($installedLogFile)) {
$message = trans('installer_messages.installed.success_log_message').$dateStamp."\n";
file_put_contents($installedLogFile, $message);
} else {
$message = trans('installer_messages.updater.log.success_message').$dateStamp;
file_put_contents($installedLogFile, $message.PHP_EOL, FILE_APPEND | LOCK_EX);
}
return $message;
}
/**
* Update installed file.
*
* @return int
*/
public function update()
{
return $this->create();
}
}

View File

@ -0,0 +1,31 @@
<?php
namespace App\Helpers\Installer;
use Illuminate\Support\Facades\DB;
trait MigrationsHelper
{
/**
* Get the migrations in /database/migrations.
*
* @return array Array of migrations name, empty if no migrations are existing
*/
public function getMigrations()
{
$migrations = glob(database_path().DIRECTORY_SEPARATOR.'migrations'.DIRECTORY_SEPARATOR.'*.php');
return str_replace('.php', '', $migrations);
}
/**
* Get the migrations that have already been ran.
*
* @return \Illuminate\Support\Collection List of migrations
*/
public function getExecutedMigrations()
{
// migrations table should exist, if not, user will receive an error.
return DB::table('migrations')->get()->pluck('migration');
}
}

View File

@ -0,0 +1,83 @@
<?php
namespace App\Helpers\Installer;
class PermissionsChecker
{
/**
* @var array
*/
protected $results = [];
/**
* Set the result array permissions and errors.
*
* @return mixed
*/
public function __construct()
{
$this->results['permissions'] = [];
$this->results['errors'] = null;
}
/**
* Check for the folders permissions.
*
* @param array $folders
* @return array
*/
public function check(array $folders)
{
foreach ($folders as $folder => $permission) {
if (! ($this->getPermission($folder) >= $permission)) {
$this->addFileAndSetErrors($folder, $permission, false);
} else {
$this->addFile($folder, $permission, true);
}
}
return $this->results;
}
/**
* Get a folder permission.
*
* @param $folder
* @return string
*/
private function getPermission($folder)
{
return substr(sprintf('%o', fileperms(base_path($folder))), -4);
}
/**
* Add the file to the list of results.
*
* @param $folder
* @param $permission
* @param $isSet
*/
private function addFile($folder, $permission, $isSet)
{
array_push($this->results['permissions'], [
'folder' => $folder,
'permission' => $permission,
'isSet' => $isSet,
]);
}
/**
* Add the file and set the errors.
*
* @param $folder
* @param $permission
* @param $isSet
*/
private function addFileAndSetErrors($folder, $permission, $isSet)
{
$this->addFile($folder, $permission, $isSet);
$this->results['errors'] = true;
}
}

View File

@ -0,0 +1,114 @@
<?php
namespace App\Helpers\Installer;
class RequirementsChecker
{
/**
* Minimum PHP Version Supported (Override is in installer.php config file).
*
* @var _minPhpVersion
*/
private $_minPhpVersion = '7.0.0';
/**
* Check for the server requirements.
*
* @param array $requirements
* @return array
*/
public function check(array $requirements)
{
$results = [];
foreach ($requirements as $type => $requirement) {
switch ($type) {
// check php requirements
case 'php':
foreach ($requirements[$type] as $requirement) {
$results['requirements'][$type][$requirement] = true;
if (! extension_loaded($requirement)) {
$results['requirements'][$type][$requirement] = false;
$results['errors'] = true;
}
}
break;
// check apache requirements
case 'apache':
foreach ($requirements[$type] as $requirement) {
// if function doesn't exist we can't check apache modules
if (function_exists('apache_get_modules')) {
$results['requirements'][$type][$requirement] = true;
if (! in_array($requirement, apache_get_modules())) {
$results['requirements'][$type][$requirement] = false;
$results['errors'] = true;
}
}
}
break;
}
}
return $results;
}
/**
* Check PHP version requirement.
*
* @return array
*/
public function checkPHPversion(string $minPhpVersion = null)
{
$minVersionPhp = $minPhpVersion;
$currentPhpVersion = $this->getPhpVersionInfo();
$supported = false;
if ($minPhpVersion == null) {
$minVersionPhp = $this->getMinPhpVersion();
}
if (version_compare($currentPhpVersion['version'], $minVersionPhp) >= 0) {
$supported = true;
}
$phpStatus = [
'full' => $currentPhpVersion['full'],
'current' => $currentPhpVersion['version'],
'minimum' => $minVersionPhp,
'supported' => $supported,
];
return $phpStatus;
}
/**
* Get current Php version information.
*
* @return array
*/
private static function getPhpVersionInfo()
{
$currentVersionFull = PHP_VERSION;
preg_match("#^\d+(\.\d+)*#", $currentVersionFull, $filtered);
$currentVersion = $filtered[0];
return [
'full' => $currentVersionFull,
'version' => $currentVersion,
];
}
/**
* Get minimum PHP version ID.
*
* @return string _minPhpVersion
*/
protected function getMinPhpVersion()
{
return $this->_minPhpVersion;
}
}

View File

@ -0,0 +1,23 @@
<?php
if (! function_exists('isActive')) {
/**
* Set the active class to the current opened menu.
*
* @param string|array $route
* @param string $className
* @return string
*/
function isActive($route, $className = 'active')
{
if (is_array($route)) {
return in_array(Route::currentRouteName(), $route) ? $className : '';
}
if (Route::currentRouteName() == $route) {
return $className;
}
if (strpos(URL::current(), $route)) {
return $className;
}
}
}

View File

@ -1,88 +0,0 @@
<?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class AuthenticationController extends Controller
{
private $path;
public function __construct()
{
$this->path = config('app.client_path');
}
public function login()
{
return view($this->path.'.auth.login');
}
public function register()
{
return view($this->path.'.auth.registration');
}
public static function store(Request $request)
{
$request->validate([
'name' => ['required', 'string', 'max:255'],
'email' => ['required', 'string', 'email', 'max:255', 'unique:users'],
'password' => ['required', 'string', 'min:8', 'confirmed'],
]);
User::create([
'name' => $request->name,
'email' => $request->email,
'password' => bcrypt($request->password),
'username' => $request->name
]);
$credentials = $request->only('email', 'password');
if (Auth::attempt($credentials)) {
$request->session()->regenerate();
return response()->json([
'success' => true,
'message' => 'You have successfully logged in!',
'redirect_url' => route('home')
]);
}
return response()->json([
'success' => false,
'message' => 'The provided credentials do not match our records.'
]);
}
public static function authenticate(Request $request){
$credentials = $request->validate([
'email' => ['required', 'string', 'email', 'max:255'],
'password' => ['required', 'string', 'min:8'],
]);
$remember = $request->has('remember_me') ? true : false;
if (Auth::attempt($credentials, $remember)) {
$request->session()->regenerate();
return response()->json([
'success' => true,
'message' => 'You have successfully logged in!',
'redirect_url' => route('home')
]);
}
return response()->json([
'success' => false,
'message' => 'The provided credentials do not match our records.'
]);
}
public static function logout(Request $request){
Auth::logout();
$request->session()->invalidate();
$request->session()->regenerateToken();
return redirect()->route('userLogin');
}
}

View File

@ -5,7 +5,7 @@ namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller; use App\Http\Controllers\Controller;
use App\Providers\RouteServiceProvider; use App\Providers\RouteServiceProvider;
use Illuminate\Http\RedirectResponse; use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request; use Illuminate\Http\Request;
class EmailVerificationNotificationController extends Controller class EmailVerificationNotificationController extends Controller
{ {

View File

@ -0,0 +1,35 @@
<?php
namespace App\Http\Controllers\Installer;
use Illuminate\Routing\Controller;
use App\Helpers\Installer\DatabaseManager;
class DatabaseController extends Controller
{
/**
* @var DatabaseManager
*/
private $databaseManager;
/**
* @param DatabaseManager $databaseManager
*/
public function __construct(DatabaseManager $databaseManager)
{
$this->databaseManager = $databaseManager;
}
/**
* Migrate and seed the database.
*
* @return \Illuminate\View\View
*/
public function database()
{
$response = $this->databaseManager->migrateAndSeed();
return redirect()->route('LaravelInstaller::final')
->with(['message' => $response]);
}
}

View File

@ -0,0 +1,153 @@
<?php
namespace App\Http\Controllers\Installer;
use Exception;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Illuminate\Routing\Redirector;
use Illuminate\Support\Facades\DB;
use App\Events\EnvironmentSaved;
use App\Helpers\Installer\EnvironmentManager;
use Validator;
class EnvironmentController extends Controller
{
/**
* @var EnvironmentManager
*/
protected $EnvironmentManager;
/**
* @param EnvironmentManager $environmentManager
*/
public function __construct(EnvironmentManager $environmentManager)
{
$this->EnvironmentManager = $environmentManager;
}
/**
* Display the Environment menu page.
*
* @return \Illuminate\View\View
*/
public function environmentMenu()
{
return view('vendor.installer.environment');
}
/**
* Display the Environment page.
*
* @return \Illuminate\View\View
*/
public function environmentWizard()
{
$envConfig = $this->EnvironmentManager->getEnvContent();
return view('vendor.installer.environment-wizard', compact('envConfig'));
}
/**
* Display the Environment page.
*
* @return \Illuminate\View\View
*/
public function environmentClassic()
{
$envConfig = $this->EnvironmentManager->getEnvContent();
return view('vendor.installer.environment-classic', compact('envConfig'));
}
/**
* Processes the newly saved environment configuration (Classic).
*
* @param Request $input
* @param Redirector $redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function saveClassic(Request $input, Redirector $redirect)
{
$message = $this->EnvironmentManager->saveFileClassic($input);
event(new EnvironmentSaved($input));
return $redirect->route('LaravelInstaller::environmentClassic')
->with(['message' => $message]);
}
/**
* Processes the newly saved environment configuration (Form Wizard).
*
* @param Request $request
* @param Redirector $redirect
* @return \Illuminate\Http\RedirectResponse
*/
public function saveWizard(Request $request, Redirector $redirect)
{
$rules = config('installer.environment.form.rules');
$messages = [
'environment_custom.required_if' => trans('installer_messages.environment.wizard.form.name_required'),
];
$validator = Validator::make($request->all(), $rules, $messages);
if ($validator->fails()) {
return $redirect->route('LaravelInstaller::environmentWizard')->withInput()->withErrors($validator->errors());
}
if (! $this->checkDatabaseConnection($request)) {
return $redirect->route('LaravelInstaller::environmentWizard')->withInput()->withErrors([
'database_connection' => trans('installer_messages.environment.wizard.form.db_connection_failed'),
]);
}
$results = $this->EnvironmentManager->saveFileWizard($request);
event(new EnvironmentSaved($request));
return $redirect->route('LaravelInstaller::database')
->with(['results' => $results]);
}
/**
* TODO: We can remove this code if PR will be merged: https://github.com/RachidLaasri/LaravelInstaller/pull/162
* Validate database connection with user credentials (Form Wizard).
*
* @param Request $request
* @return bool
*/
private function checkDatabaseConnection(Request $request)
{
$connection = $request->input('database_connection');
$settings = config("database.connections.$connection");
config([
'database' => [
'default' => $connection,
'connections' => [
$connection => array_merge($settings, [
'driver' => $connection,
'host' => $request->input('database_hostname'),
'port' => $request->input('database_port'),
'database' => $request->input('database_name'),
'username' => $request->input('database_username'),
'password' => $request->input('database_password'),
]),
],
],
]);
DB::purge();
try {
DB::connection()->getPdo();
return true;
} catch (Exception $e) {
return false;
}
}
}

View File

@ -0,0 +1,32 @@
<?php
namespace App\Http\Controllers\Installer;
use Illuminate\Routing\Controller;
use App\Events\LaravelInstallerFinished;
use App\Helpers\Installer\EnvironmentManager;
use App\Helpers\Installer\FinalInstallManager;
use App\Helpers\Installer\InstalledFileManager;
class FinalController extends Controller
{
/**
* Update installed file and display finished view.
*
* @param \App\Helpers\Installer\InstalledFileManager $fileManager
* @param \App\Helpers\Installer\FinalInstallManager $finalInstall
* @param \App\Helpers\Installer\EnvironmentManager $environment
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
public function finish(InstalledFileManager $fileManager, FinalInstallManager $finalInstall, EnvironmentManager $environment)
{
$finalMessages = $finalInstall->runFinal();
$finalStatusMessage = $fileManager->update();
$finalEnvFile = $environment->getEnvContent();
event(new LaravelInstallerFinished);
return view('vendor.installer.finished', compact('finalMessages', 'finalStatusMessage', 'finalEnvFile'));
}
}

View File

@ -0,0 +1,36 @@
<?php
namespace App\Http\Controllers\Installer;
use Illuminate\Routing\Controller;
use App\Helpers\Installer\PermissionsChecker;
class PermissionsController extends Controller
{
/**
* @var PermissionsChecker
*/
protected $permissions;
/**
* @param PermissionsChecker $checker
*/
public function __construct(PermissionsChecker $checker)
{
$this->permissions = $checker;
}
/**
* Display the permissions check page.
*
* @return \Illuminate\View\View
*/
public function permissions()
{
$permissions = $this->permissions->check(
config('installer.permissions')
);
return view('vendor.installer.permissions', compact('permissions'));
}
}

View File

@ -0,0 +1,39 @@
<?php
namespace App\Http\Controllers\Installer;
use Illuminate\Routing\Controller;
use App\Helpers\Installer\RequirementsChecker;
class RequirementsController extends Controller
{
/**
* @var RequirementsChecker
*/
protected $requirements;
/**
* @param RequirementsChecker $checker
*/
public function __construct(RequirementsChecker $checker)
{
$this->requirements = $checker;
}
/**
* Display the requirements page.
*
* @return \Illuminate\View\View
*/
public function requirements()
{
$phpSupportInfo = $this->requirements->checkPHPversion(
config('installer.core.minPhpVersion')
);
$requirements = $this->requirements->check(
config('installer.requirements')
);
return view('vendor.installer.requirements', compact('requirements', 'phpSupportInfo'));
}
}

View File

@ -0,0 +1,62 @@
<?php
namespace App\Http\Controllers\Installer;
use Illuminate\Routing\Controller;
use App\Helpers\Installer\DatabaseManager;
use App\Helpers\Installer\InstalledFileManager;
class UpdateController extends Controller
{
use \App\Helpers\Installer\MigrationsHelper;
/**
* Display the updater welcome page.
*
* @return \Illuminate\View\View
*/
public function welcome()
{
return view('vendor.installer.update.welcome');
}
/**
* Display the updater overview page.
*
* @return \Illuminate\View\View
*/
public function overview()
{
$migrations = $this->getMigrations();
$dbMigrations = $this->getExecutedMigrations();
return view('vendor.installer.update.overview', ['numberOfUpdatesPending' => count($migrations) - count($dbMigrations)]);
}
/**
* Migrate and seed the database.
*
* @return \Illuminate\View\View
*/
public function database()
{
$databaseManager = new DatabaseManager;
$response = $databaseManager->migrateAndSeed();
return redirect()->route('LaravelUpdater::final')
->with(['message' => $response]);
}
/**
* Update installed file and display finished view.
*
* @param InstalledFileManager $fileManager
* @return \Illuminate\View\View
*/
public function finish(InstalledFileManager $fileManager)
{
$fileManager->update();
return view('vendor.installer.update.finished');
}
}

View File

@ -0,0 +1,19 @@
<?php
namespace App\Http\Controllers\Installer;
use Illuminate\Routing\Controller;
class WelcomeController extends Controller
{
/**
* Display the installer welcome page.
*
* @return \Illuminate\Http\Response
*/
public function welcome()
{
dd('test');
return view('vendor.installer.welcome');
}
}

View File

@ -12,10 +12,7 @@ class WebsiteController extends Controller
} }
public function home(){ public function home(){
return view($this->path.'.home'); // return view($this->path.'home');
} return ('home');
public function single(){
return view($this->path.'.single');
} }
} }

View File

@ -36,6 +36,8 @@ class Kernel extends HttpKernel
\Illuminate\View\Middleware\ShareErrorsFromSession::class, \Illuminate\View\Middleware\ShareErrorsFromSession::class,
\App\Http\Middleware\VerifyCsrfToken::class, \App\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class, \Illuminate\Routing\Middleware\SubstituteBindings::class,
\App\Http\Middleware\Installer\canInstall::class,
\App\Http\Middleware\Installer\canUpdate::class,
], ],
'api' => [ 'api' => [
@ -64,5 +66,7 @@ class Kernel extends HttpKernel
'signed' => \App\Http\Middleware\ValidateSignature::class, 'signed' => \App\Http\Middleware\ValidateSignature::class,
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
'install' => \App\Http\Middleware\Installer\canInstall::class,
'update' =>\App\Http\Middleware\Installer\canUpdate::class,
]; ];
} }

View File

@ -0,0 +1,56 @@
<?php
namespace App\Http\Middleware\Installer;
use Closure;
class canInstall
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return \Illuminate\Http\RedirectResponse|mixed
*/
public function handle($request, Closure $next)
{
dd($this->alreadyInstalled());
if ($this->alreadyInstalled()) {
$installedRedirect = config('installer.installedAlreadyAction');
switch ($installedRedirect) {
case 'route':
$routeName = config('installer.installed.redirectOptions.route.name');
$data = config('installer.installed.redirectOptions.route.message');
return redirect()->route($routeName)->with(['data' => $data]);
break;
case 'abort':
abort(config('installer.installed.redirectOptions.abort.type'));
break;
case 'dump':
$dump = config('installer.installed.redirectOptions.dump.data');
break;
case '404':
case 'default':
default:
abort(404);
break;
}
}
return $next($request);
}
/**
* If application is already installed.
*
* @return bool
*/
public function alreadyInstalled()
{
return file_exists(storage_path('installed'));
}
}

View File

@ -0,0 +1,64 @@
<?php
namespace App\Http\Middleware\Installer;
use Closure;
class canUpdate
{
use \App\Helpers\Installer\MigrationsHelper;
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$updateEnabled = filter_var(config('installer.updaterEnabled'), FILTER_VALIDATE_BOOLEAN);
switch ($updateEnabled) {
case true:
$canInstall = new canInstall;
// if the application has not been installed,
// redirect to the installer
if (! $canInstall->alreadyInstalled()) {
return redirect()->route('LaravelInstaller::welcome');
}
if ($this->alreadyUpdated()) {
abort(404);
}
break;
case false:
default:
abort(404);
break;
}
return $next($request);
}
/**
* If application is already updated.
*
* @return bool
*/
public function alreadyUpdated()
{
$migrations = $this->getMigrations();
$dbMigrations = $this->getExecutedMigrations();
// If the count of migrations and dbMigrations is equal,
// then the update as already been updated.
if (count($migrations) == count($dbMigrations)) {
return true;
}
// Continue, the app needs an update
return false;
}
}

View File

@ -30,14 +30,13 @@
"psr-4": { "psr-4": {
"App\\": "app/", "App\\": "app/",
"Database\\Factories\\": "database/factories/", "Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/", "Database\\Seeders\\": "database/seeders/"
"Bibhuti\\Installer\\":"packages/bibhuti/installer/src/"
}, },
"files":[ "files":[
"app/Helpers/CCMS.php", "app/Helpers/CCMS.php",
"app/Helpers/BibClass.php", "app/Helpers/BibClass.php",
"app/Helpers/bibHelper.php" "app/Helpers/bibHelper.php",
"app/Helpers/Installer/functions.php"
] ]
}, },
"autoload-dev": { "autoload-dev": {

View File

@ -31,7 +31,7 @@ return [
'env' => env('APP_ENV', 'production'), 'env' => env('APP_ENV', 'production'),
'client_path' => env('CLIENT_PATH', ''), 'client_path' => env('CLIENT_PATH', 'accessskills'),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@ -170,9 +170,7 @@ return [
// App\Providers\BroadcastServiceProvider::class, // App\Providers\BroadcastServiceProvider::class,
App\Providers\EventServiceProvider::class, App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class, App\Providers\RouteServiceProvider::class,
// App\Providers\LaravelInstallerServiceProvider::class, App\Providers\LaravelInstallerServiceProvider::class,
Bibhuti\Installer\Providers\LaravelInstallerServiceProvider::class,
])->toArray(), ])->toArray(),

View File

@ -1,141 +1,141 @@
<?php <?php
return [ return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Server Requirements | Server Requirements
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| This is the default Laravel server requirements, you can add as many | This is the default Laravel server requirements, you can add as many
| as your application require, we check if the extension is enabled | as your application require, we check if the extension is enabled
| by looping through the array and run "extension_loaded" on it. | by looping through the array and run "extension_loaded" on it.
| |
*/ */
'core' => [ 'core' => [
'minPhpVersion' => '7.0.0', 'minPhpVersion' => '7.0.0',
], ],
'final' => [ 'final' => [
'key' => true, 'key' => true,
'publish' => false, 'publish' => false,
], ],
'requirements' => [ 'requirements' => [
'php' => [ 'php' => [
'openssl', 'openssl',
'pdo', 'pdo',
'mbstring', 'mbstring',
'tokenizer', 'tokenizer',
'JSON', 'JSON',
'cURL', 'cURL',
], ],
'apache' => [ 'apache' => [
'mod_rewrite', 'mod_rewrite',
], ],
], ],
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Folders Permissions | Folders Permissions
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| This is the default Laravel folders permissions, if your application | This is the default Laravel folders permissions, if your application
| requires more permissions just add them to the array list bellow. | requires more permissions just add them to the array list bellow.
| |
*/ */
'permissions' => [ 'permissions' => [
'storage/framework/' => '775', 'storage/framework/' => '775',
'storage/logs/' => '775', 'storage/logs/' => '775',
'bootstrap/cache/' => '775', 'bootstrap/cache/' => '775',
], ],
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Environment Form Wizard Validation Rules & Messages | Environment Form Wizard Validation Rules & Messages
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| This are the default form field validation rules. Available Rules: | This are the default form field validation rules. Available Rules:
| https://laravel.com/docs/5.4/validation#available-validation-rules | https://laravel.com/docs/5.4/validation#available-validation-rules
| |
*/ */
'environment' => [ 'environment' => [
'form' => [ 'form' => [
'rules' => [ 'rules' => [
'app_name' => 'required|string|max:50', 'app_name' => 'required|string|max:50',
'environment' => 'required|string|max:50', 'environment' => 'required|string|max:50',
'environment_custom' => 'required_if:environment,other|max:50', 'environment_custom' => 'required_if:environment,other|max:50',
'app_debug' => 'required|string', 'app_debug' => 'required|string',
'app_log_level' => 'required|string|max:50', 'app_log_level' => 'required|string|max:50',
'app_url' => 'required|url', 'app_url' => 'required|url',
'database_connection' => 'required|string|max:50', 'database_connection' => 'required|string|max:50',
'database_hostname' => 'required|string|max:50', 'database_hostname' => 'required|string|max:50',
'database_port' => 'required|numeric', 'database_port' => 'required|numeric',
'database_name' => 'required|string|max:50', 'database_name' => 'required|string|max:50',
'database_username' => 'required|string|max:50', 'database_username' => 'required|string|max:50',
'database_password' => 'nullable|string|max:50', 'database_password' => 'nullable|string|max:50',
'broadcast_driver' => 'required|string|max:50', 'broadcast_driver' => 'required|string|max:50',
'cache_driver' => 'required|string|max:50', 'cache_driver' => 'required|string|max:50',
'session_driver' => 'required|string|max:50', 'session_driver' => 'required|string|max:50',
'queue_driver' => 'required|string|max:50', 'queue_driver' => 'required|string|max:50',
'redis_hostname' => 'required|string|max:50', 'redis_hostname' => 'required|string|max:50',
'redis_password' => 'required|string|max:50', 'redis_password' => 'required|string|max:50',
'redis_port' => 'required|numeric', 'redis_port' => 'required|numeric',
'mail_driver' => 'required|string|max:50', 'mail_driver' => 'required|string|max:50',
'mail_host' => 'required|string|max:50', 'mail_host' => 'required|string|max:50',
'mail_port' => 'required|string|max:50', 'mail_port' => 'required|string|max:50',
'mail_username' => 'required|string|max:50', 'mail_username' => 'required|string|max:50',
'mail_password' => 'required|string|max:50', 'mail_password' => 'required|string|max:50',
'mail_encryption' => 'required|string|max:50', 'mail_encryption' => 'required|string|max:50',
'pusher_app_id' => 'max:50', 'pusher_app_id' => 'max:50',
'pusher_app_key' => 'max:50', 'pusher_app_key' => 'max:50',
'pusher_app_secret' => 'max:50', 'pusher_app_secret' => 'max:50',
], ],
], ],
], ],
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Installed Middleware Options | Installed Middleware Options
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Different available status switch configuration for the | Different available status switch configuration for the
| canInstall middleware located in `canInstall.php`. | canInstall middleware located in `canInstall.php`.
| |
*/ */
'installed' => [ 'installed' => [
'redirectOptions' => [ 'redirectOptions' => [
'route' => [ 'route' => [
'name' => 'welcome', 'name' => 'welcome',
'data' => [], 'data' => [],
], ],
'abort' => [ 'abort' => [
'type' => '404', 'type' => '404',
], ],
'dump' => [ 'dump' => [
'data' => 'Dumping a not found message.', 'data' => 'Dumping a not found message.',
], ],
], ],
], ],
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Selected Installed Middleware Option | Selected Installed Middleware Option
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| The selected option fo what happens when an installer instance has been | The selected option fo what happens when an installer instance has been
| Default output is to `/resources/views/error/404.blade.php` if none. | Default output is to `/resources/views/error/404.blade.php` if none.
| The available middleware options include: | The available middleware options include:
| route, abort, dump, 404, default, '' | route, abort, dump, 404, default, ''
| |
*/ */
'installedAlreadyAction' => '', 'installedAlreadyAction' => '404',
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Updater Enabled | Updater Enabled
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Can the application run the '/update' route with the migrations. | Can the application run the '/update' route with the migrations.
| The default option is set to False if none is present. | The default option is set to False if none is present.
| Boolean value | Boolean value
| |
*/ */
'updaterEnabled' => 'true', 'updaterEnabled' => 'true',
]; ];

View File

@ -0,0 +1,37 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('accridations', function (Blueprint $table) {
$table->id('accridiation_id');
$table->string('display')->nullable();
$table->string('title')->nullable();
$table->text('text')->nullable();
$table->string('image')->nullable();
$table->string('thumb')->nullable();
$table->string('cover')->nullable();
$table->integer('display_order')->nullable();
$table->integer('status')->nullable();
$table->integer('created_by')->nullable();
$table->integer('updated_by')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('accridations');
}
};

View File

@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('activity_logs', function (Blueprint $table) {
$table->id('activity_id');
$table->integer('user_id')->nullable();
$table->string('controllerName')->nullable();
$table->string('methodName')->nullable();
$table->string('actionUrl')->nullable();
$table->string('activity')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('activity_logs');
}
};

View File

@ -0,0 +1,42 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('articles', function (Blueprint $table) {
$table->id('article_id');
$table->integer('parent_article')->default(0);
$table->string('title', 250)->nullable();
$table->text('subtitle')->nullable();
$table->string('alias', 250)->nullable();
$table->text('text')->nullable();
$table->string('cover_photo', 500)->nullable();
$table->string('thumb', 255)->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->text('seo_keywords')->nullable();
$table->text('seo_title')->nullable();
$table->text('seo_descriptions')->nullable();
$table->text('og_tags')->nullable();
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('articles');
}
};

View File

@ -0,0 +1,42 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('blogs', function (Blueprint $table) {
$table->id('blog_id');
$table->integer('parent_blog')->default(0);
$table->string('title', 250)->nullable();
$table->string('alias', 250)->nullable();
$table->text('text')->nullable();
$table->string('image', 255)->nullable();
$table->string('thumb', 255)->nullable();
$table->string('cover', 255)->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
$table->text('seo_keywords')->nullable();
$table->text('seo_title')->nullable();
$table->text('seo_descriptions')->nullable();
$table->text('og_tags')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('blogs');
}
};

View File

@ -0,0 +1,49 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('branches', function (Blueprint $table) {
$table->id('branch_id');
$table->string('parent_branch', 255)->nullable()->default(null);
$table->string('title', 255)->nullable()->default(null);
$table->string('alias', 255)->nullable()->default(null);
$table->string('contact_person', 250)->nullable()->default(null);
$table->string('designation', 250)->nullable()->default(null);
$table->text('text')->nullable()->default(null);
$table->string('cover_photo', 255)->nullable()->default(null);
$table->string('thumb', 255)->nullable()->default(null);
$table->text('description')->nullable()->default(null);
$table->string('contact1', 250)->nullable()->default(null);
$table->string('contact2', 250)->nullable()->default(null);
$table->string('email', 250)->nullable()->default(null);
$table->text('address')->nullable()->default(null);
$table->text('google_map')->nullable()->default(null);
$table->integer('display_order')->nullable()->default(null);
$table->integer('status')->nullable()->default(null);
$table->text('seo_keywords')->nullable()->default(null);
$table->text('seo_title')->nullable()->default(null);
$table->text('seo_description')->nullable()->default(null);
$table->text('og_tags')->nullable()->default(null);
$table->integer('createdby')->nullable()->default(null);
$table->integer('updatedby')->nullable()->default(null);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('branches');
}
};

View File

@ -0,0 +1,37 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('certificates', function (Blueprint $table) {
$table->id('certificate_id');
$table->string('title', 255)->nullable()->default(null);
$table->string('alias', 255)->nullable()->default(null);
$table->string('photo', 255)->nullable()->default(null);
$table->string('thumb', 255)->nullable()->default(null);
$table->string('text', 255)->nullable()->default(null);
$table->text('description')->nullable()->default(null);
$table->integer('display_order')->nullable()->default(null);
$table->integer('status')->nullable()->default(null);
$table->timestamps();
$table->integer('createdby')->nullable()->default(null);
$table->integer('updatedby')->nullable()->default(null);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('certificates');
}
};

View File

@ -0,0 +1,46 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('contacts', function (Blueprint $table) {
$table->id('contact_id');
$table->integer('forms_id')->nullable();
$table->integer('branches_id')->nullable();
$table->string('name', 255)->nullable()->default(null);
$table->string('tagline', 255)->nullable()->default(null);
$table->string('address', 255)->nullable()->default(null);
$table->string('tel', 20);
$table->string('fax', 255)->nullable()->default(null);
$table->string('email1', 255)->nullable()->default(null);
$table->string('email2', 255)->nullable()->default(null);
$table->string('website', 255)->nullable()->default(null);
$table->text('google_map')->nullable()->default(null);
$table->string('facebook', 50)->nullable();
$table->string('hp1', 50)->nullable();
$table->string('hp2', 50)->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->text('remarks')->nullable()->default(null);
$table->timestamps();
$table->integer('createdby')->nullable()->default(null);
$table->integer('updatedby')->nullable()->default(null);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('contacts');
}
};

View File

@ -0,0 +1,42 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('countries', function (Blueprint $table) {
$table->id('country_id');
$table->string('title', 255)->nullable()->default(null);
$table->string('alias', 255)->nullable()->default(null);
$table->text('text')->nullable()->default(null);
$table->text('details')->nullable()->default(null);
$table->string('cover_photo', 255)->nullable()->default(null);
$table->text('feature')->nullable()->default(null);
$table->string('image_thumb', 255)->nullable()->default(null);
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->text('seo_keywords')->nullable()->default(null);
$table->text('seo_title')->nullable()->default(null);
$table->text('seo_descriptions')->nullable()->default(null);
$table->text('og_tags')->nullable()->default(null);
$table->integer('createdby')->nullable()->default(null);
$table->integer('updatedby')->nullable()->default(null);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('countries');
}
};

View File

@ -0,0 +1,41 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('countryarticles', function (Blueprint $table) {
$table->id('article_id');
$table->integer('parent_article')->default(1);
$table->string('title', 255)->nullable();
$table->string('alias', 255)->nullable();
$table->text('text')->nullable();
$table->string('cover_photo', 255)->nullable();
$table->string('thumb', 255)->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->text('seo_keywords')->nullable();
$table->text('seo_title')->nullable();
$table->text('seo_descriptions')->nullable();
$table->text('og_tags')->nullable();
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('countryarticles');
}
};

View File

@ -0,0 +1,39 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('customfields', function (Blueprint $table) {
$table->id('customfield_id');
$table->string('customfield_for',255)->default(NULL);
$table->string('customfield_forref',255)->default(NULL);
$table->string('title',255)->default(NULL);
$table->string('alias',255)->default(NULL);
$table->text('text')->default(NULL);
$table->string('link',255)->default(NULL);
$table->string('fa_icon',255)->default(NULL);
$table->string('logo',255)->default(NULL);
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->integer('createdby')->nullable()->default(null);
$table->integer('updatedby')->nullable()->default(null);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('customfields');
}
};

View File

@ -11,11 +11,12 @@ return new class extends Migration
*/ */
public function up(): void public function up(): void
{ {
Schema::create('provinces', function (Blueprint $table) { Schema::create('error_logs', function (Blueprint $table) {
$table->id('priovince_id'); $table->id();
$table->string('province_name',255)->nullable(); $table->bigInteger('user_id')->unsigned()->default(NULL);
$table->string('province_nepali_name',255)->nullable(); $table->string('controller_name')->default(NULL);
$table->string('alias',255)->nullable(); $table->string('method_name')->default(NULL);
$table->string('errors')->default(NULL);
$table->timestamps(); $table->timestamps();
}); });
} }
@ -25,6 +26,6 @@ return new class extends Migration
*/ */
public function down(): void public function down(): void
{ {
Schema::dropIfExists('provinces'); Schema::dropIfExists('error_logs');
} }
}; };

View File

@ -0,0 +1,45 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('events', function (Blueprint $table) {
$table->id('event_id');
$table->date('startdate')->default(null);
$table->date('enddate')->default(null);
$table->string('title', 255)->nullable()->default(null);
$table->string('alias', 255)->nullable()->default(null);
$table->text('text')->nullable()->default(null);
$table->text('description')->nullable()->default(null);
$table->string('image', 255)->nullable()->default(null);
$table->string('thumb')->nullable()->default(null);
$table->string('cover', 255)->nullable()->default(null);
$table->string('link', 255)->nullable()->default(null);
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->text('seo_keywords')->nullable()->default(null);
$table->text('seo_title')->nullable()->default(null);
$table->text('seo_descriptions')->nullable()->default(null);
$table->text('og_tags')->nullable()->default(null);
$table->integer('createdby')->nullable()->default(null);
$table->integer('updatedby')->nullable()->default(null);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('events');
}
};

View File

@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('failed_jobs', function (Blueprint $table) {
$table->id();
$table->string('uuid',100)->unique();
$table->text('connection')->nullable();
$table->text('queue')->nullable();
$table->longText('payload');
$table->longText('exception');
$table->timestamp('failed_at')->useCurrent();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('failed_jobs');
}
};

View File

@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('faqs', function (Blueprint $table) {
$table->id('faq_id');
$table->text('title')->nullable();
$table->text('description')->nullable();
$table->integer('display_order')->default(0);
$table->integer('status')->default(1);
$table->integer('createdby')->default(NULL);
$table->integer('updatedby')->default(NULL);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('faqs');
}
};

View File

@ -0,0 +1,47 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('forms', function (Blueprint $table) {
$table->id('form_id');
$table->string('title', 255)->nullable()->default(null);
$table->string('alias', 255)->nullable()->default(null);
$table->string('cover_photo', 255)->nullable()->default(null);
$table->string('image_thumb', 255)->nullable()->default(null);
$table->text('form_fields')->nullable()->default(null);
$table->text('text')->nullable()->default(null);
$table->text('headers')->nullable()->default(null);
$table->string('toemail', 255)->nullable()->default(null);
$table->string('fromemail', 255)->nullable()->default(null);
$table->string('emailsubject', 255)->nullable()->default(null);
$table->text('emailtext')->nullable()->default(null);
$table->string('autoresponse', 255)->nullable()->default(null);
$table->string('responseheaders', 255)->nullable()->default(null);
$table->string('responsefrom', 255)->nullable()->default(null);
$table->string('responsesubject', 255)->nullable()->default(null);
$table->text('responsetext')->nullable()->default(null);
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->timestamps();
$table->integer('createdby')->nullable()->default(null);
$table->integer('updatedby')->nullable()->default(null);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('forms');
}
};

View File

@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('formssubmissions', function (Blueprint $table) {
$table->id('formsubmission_id');
$table->unsignedInteger('forms_id');
$table->longText('submitted_values')->charset('utf8mb4')->collation('utf8mb4_bin')->nullable(false)->check('json_valid(`submitted_values`)');
$table->integer('display_order')->default(0);
$table->integer('status')->default(1);
$table->timestamps();
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('formssubmissions');
}
};

View File

@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('galleries', function (Blueprint $table) {
$table->id('gallery_id');
$table->string('title', 255)->nullable()->default(null);
$table->text('text')->nullable()->default(null);
$table->string('alias', 255)->nullable()->default(null);
$table->string('thumb', 255)->nullable()->default(null);
$table->string('cover_photo', 255)->nullable()->default(null);
$table->integer('display_order')->nullable()->default(null);
$table->integer('status')->nullable()->default(1);
$table->integer('createdby')->default(null);
$table->integer('updatedby')->default(null);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('galleries');
}
};

View File

@ -0,0 +1,41 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('institutions', function (Blueprint $table) {
$table->id('institution_id');
$table->integer('countries_id')->nullable();
$table->string('title', 255)->nullable()->default(null);
$table->string('alias', 255)->nullable()->default(null);
$table->string('email', 250)->nullable()->default(null);
$table->text('text')->nullable()->default(null);
$table->string('logo', 255)->nullable()->default(null);
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->text('seo_keywords')->nullable()->default(null);
$table->text('seo_title')->nullable()->default(null);
$table->text('seo_descriptions')->nullable()->default(null);
$table->text('og_tags')->nullable()->default(null);
$table->timestamps();
$table->integer('createdby')->nullable()->default(null);
$table->integer('updatedby')->nullable()->default(null);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('institutions');
}
};

View File

@ -0,0 +1,38 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('menuitems', function (Blueprint $table) {
$table->id('menu_id');
$table->integer('parent_menu')->notNullable();
$table->integer('menulocations_id')->nullable();
$table->string('title', 255)->nullable()->default(null);
$table->string('alias', 255)->nullable()->default(null);
$table->string('type', 255)->nullable()->default(null);
$table->string('ref', 255)->nullable()->default(null);
$table->string('target', 255)->nullable()->default(null);
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->timestamps();
$table->integer('createdby')->nullable()->default(null);
$table->integer('updatedby')->nullable()->default(null);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('menuitems');
}
};

View File

@ -0,0 +1,33 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('menulocations', function (Blueprint $table) {
$table->id('menulocation_id');
$table->string('title', 255)->nullable()->default(null);
$table->string('alias', 255)->nullable()->default(null);
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->timestamps();
$table->integer('createdby')->nullable()->default(null);
$table->integer('updatedby')->nullable()->default(null);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('menulocations');
}
};

View File

@ -0,0 +1,37 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('milestones', function (Blueprint $table) {
$table->id('milestone_id');
$table->string('display', 255)->nullable()->default(null);
$table->string('title', 250)->charset('utf8')->collation('utf8_general_ci')->nullable(false);
$table->text('text')->charset('utf8')->collation('utf8_general_ci')->nullable(false);
$table->string('image', 255)->nullable()->default(null);
$table->string('thumb', 255)->nullable()->default(null);
$table->string('cover', 255)->nullable()->default(null);
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->integer('createdby')->nullable()->default(null);
$table->integer('updatedby')->nullable()->default(null);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('milestones');
}
};

View File

@ -0,0 +1,42 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('news', function (Blueprint $table) {
$table->id('news_id');
$table->integer('parent_news')->nullable(false);
$table->string('title', 250)->charset('utf8')->collation('utf8_general_ci')->nullable(false);
$table->string('alias', 50)->nullable();
$table->text('text')->charset('utf8')->collation('utf8_general_ci')->nullable(false);
$table->string('image', 255)->nullable()->default(null);
$table->string('thumb', 255)->nullable()->default(null);
$table->string('cover', 255)->nullable()->default(null);
$table->integer('display_order')->default(1);
$table->text('seo_keywords')->nullable();
$table->text('seo_title')->nullable();
$table->text('seo_descriptions')->nullable();
$table->text('og_tags')->nullable();
$table->integer('status')->default(1);
$table->integer('createdby')->nullable()->default(null);
$table->integer('updatedby')->nullable()->default(null);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('news');
}
};

View File

@ -0,0 +1,37 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('operation_logs', function (Blueprint $table) {
$table->id('operation_id');
$table->string('refNo', 255)->nullable()->default(null);
$table->integer('user_id')->nullable()->default(null);
$table->bigInteger('operation_start_no')->nullable()->default(null);
$table->bigInteger('operation_end_no')->nullable()->default(null);
$table->string('model_name', 100)->nullable()->default(null);
$table->integer('model_id')->nullable()->default(null);
$table->string('operation_name', 100)->nullable()->default(null);
$table->text('previous_values')->nullable()->default(null);
$table->longText('new_values')->nullable()->default(null);
$table->timestamp('created_at')->nullable()->default(null);
$table->timestamp('updated_at')->nullable()->default(null);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('operation_logs');
}
};

View File

@ -11,9 +11,9 @@ return new class extends Migration
*/ */
public function up(): void public function up(): void
{ {
Schema::create('news_type', function (Blueprint $table) { Schema::create('password_reset_tokens', function (Blueprint $table) {
$table->id('news_type_id'); $table->string('email',255)->default(null)->nullable();
$table->string('title',255)->nullable(); $table->string('token',255)->default(null)->nullable();
$table->timestamps(); $table->timestamps();
}); });
} }
@ -23,6 +23,6 @@ return new class extends Migration
*/ */
public function down(): void public function down(): void
{ {
Schema::dropIfExists('news_type'); Schema::dropIfExists('password_reset_tokens');
} }
}; };

View File

@ -0,0 +1,34 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('personal_access_tokens', function (Blueprint $table) {
$table->id('id');
$table->string('tokenable_type', 255)->nullable()->default(null);
$table->unsignedBigInteger('tokenable_id');
$table->string('name', 255)->nullable()->default(null);
$table->string('token', 64)->notNullable();
$table->text('abilities')->nullable()->default(null);
$table->timestamp('last_used_at')->nullable()->default(null);
$table->timestamp('expires_at')->nullable()->default(null);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('personal_access_tokens');
}
};

View File

@ -0,0 +1,35 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('photos', function (Blueprint $table) {
$table->id('photo_id');
$table->integer('galleries_id')->nullable();
$table->string('title',255)->nullable()->default(null);
$table->string('alias',255)->nullable()->default(null);
$table->string('thumb',255)->nullable()->default(null);
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->integer('createdby')->default(1);
$table->integer('updatedby')->default(1);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('photos');
}
};

View File

@ -0,0 +1,35 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('popups', function (Blueprint $table) {
$table->id('popup_id');
$table->string('title', 250)->nullable()->default(null);
$table->string('alias', 250)->nullable()->default(null);
$table->text('text')->nullable()->default(null);
$table->string('photo', 500)->nullable()->default(null);
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->timestamps();
$table->integer('createdby')->nullable()->default(null);
$table->integer('updatedby')->nullable()->default(null);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('popups');
}
};

View File

@ -0,0 +1,44 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('preparationclasses', function (Blueprint $table) {
$table->id('preparationclass_id');
$table->string('title', 255)->nullable();
$table->string('alias', 255)->nullable();
$table->integer('parent_preparationclass');
$table->text('details')->nullable();
$table->text('intro')->nullable();
$table->string('image', 255)->nullable();
$table->string('thumb', 255)->nullable();
$table->string('cover', 255)->nullable();
$table->text('remarks')->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->text('seo_keywords')->nullable();
$table->text('seo_title')->nullable();
$table->text('seo_descriptions')->nullable();
$table->text('og_tags')->nullable();
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('preparationclasses');
}
};

View File

@ -0,0 +1,38 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('preparationclasstestimonials', function (Blueprint $table) {
$table->id('testimonial_id');
$table->integer('preparationclasses_id')->nullable();
$table->string('name', 255)->nullable();
$table->string('student', 255)->nullable();
$table->string('rating', 255)->nullable();
$table->text('message')->nullable();
$table->string('thumb', 255)->nullable();
$table->text('remarks')->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('preparationclasstestimonials');
}
};

View File

@ -0,0 +1,45 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('preparationclassoffers', function (Blueprint $table) {
$table->id('preparationclassoffer_id');
$table->integer('preparationclasses_id')->nullable();
$table->string('title', 255)->nullable();
$table->string('alias', 255)->nullable();
$table->time('classtime')->nullable();
$table->text('details')->nullable();
$table->text('intro')->nullable();
$table->string('image', 255)->nullable();
$table->string('thumb', 255)->nullable();
$table->string('cover', 255)->nullable();
$table->text('remarks')->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->timestamps();
$table->text('seo_keywords')->nullable();
$table->text('seo_title')->nullable();
$table->text('seo_descriptions')->nullable();
$table->text('og_tags')->nullable();
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('preparationclassoffers');
}
};

View File

@ -0,0 +1,45 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('programs', function (Blueprint $table) {
$table->id('program_id');
$table->string('title', 255)->nullable();
$table->string('alias', 255)->nullable();
$table->integer('countries_id')->nullable();
$table->text('details')->nullable();
$table->text('required_documents')->nullable();
$table->text('qualification')->nullable();
$table->string('image', 255)->nullable();
$table->string('thumb', 255)->nullable();
$table->string('cover', 255)->nullable();
$table->text('remarks')->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->timestamps();
$table->text('seo_keywords')->nullable();
$table->text('seo_title')->nullable();
$table->text('seo_descriptions')->nullable();
$table->text('og_tags')->nullable();
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('programs');
}
};

View File

@ -0,0 +1,34 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('quicklinks', function (Blueprint $table) {
$table->id('quicklink_id');
$table->string('title', 250)->charset('utf8')->collation('utf8_general_ci')->nullable(false);
$table->string('alias', 250)->charset('utf8')->collation('utf8_general_ci')->nullable(false);
$table->string('link', 250)->charset('utf8')->collation('utf8_general_ci')->nullable(false);
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('quicklinks');
}
};

View File

@ -0,0 +1,43 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('resources', function (Blueprint $table) {
$table->id('resource_id');
$table->integer('resourcetypes_id')->nullable();
$table->integer('parent_resource')->default(0);
$table->string('title', 250)->nullable();
$table->string('alias', 250)->nullable();
$table->text('text')->nullable();
$table->string('link', 500)->nullable();
$table->string('cover_photo', 500)->nullable();
$table->string('thumb', 250)->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->text('seo_keywords')->nullable();
$table->text('seo_title')->nullable();
$table->text('seo_descriptions')->nullable();
$table->text('og_tags')->nullable();
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('resources');
}
};

View File

@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('resourcetypes', function (Blueprint $table) {
$table->id('resourcetype_id');
$table->integer('parent_resourcetype')->default(0);
$table->string('title', 250)->nullable();
$table->string('alias', 250)->nullable();
$table->text('text')->nullable();
$table->string('cover_photo', 500)->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->timestamps();
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('resourcetypes');
}
};

View File

@ -0,0 +1,42 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('services', function (Blueprint $table) {
$table->integer('service_id');
$table->integer('parent_service')->default(0);
$table->string('title', 250)->nullable();
$table->string('alias', 250)->nullable();
$table->text('text')->nullable();
$table->string('link', 500)->nullable();
$table->string('cover_photo', 500)->nullable();
$table->string('image_thumb', 500)->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->timestamps();
$table->text('seo_keywords')->nullable();
$table->text('seo_title')->nullable();
$table->text('seo_descriptions')->nullable();
$table->text('og_tags')->nullable();
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('services');
}
};

View File

@ -0,0 +1,62 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('settings', function (Blueprint $table) {
$table->id('setting_id');
$table->string('title', 255)->nullable();
$table->text('description')->nullable();
$table->string('url1', 255)->nullable();
$table->string('url2', 255)->nullable();
$table->string('location', 255)->nullable();
$table->string('email', 255)->nullable();
$table->string('phone', 255)->nullable();
$table->string('secondary_phone', 255)->nullable();
$table->string('working_hours', 255)->nullable();
$table->string('working_days', 255)->nullable();
$table->string('leave_days', 255)->nullable();
$table->text('google_map')->nullable();
$table->string('fb', 255)->nullable();
$table->string('insta', 255)->nullable();
$table->string('twitter', 255)->nullable();
$table->string('tiktok', 255)->nullable();
$table->string('youtube', 255)->nullable();
$table->string('primary_logo', 255)->nullable();
$table->string('secondary_logo', 255)->nullable();
$table->string('thumb', 255)->nullable();
$table->string('icon', 255)->nullable();
$table->string('og_image', 255)->nullable();
$table->string('no_image', 250)->nullable();
$table->string('copyright_text', 250)->nullable();
$table->text('content1')->nullable();
$table->text('content2')->nullable();
$table->text('content3')->nullable();
$table->string('seo_title', 255)->nullable();
$table->text('seo_description')->nullable();
$table->text('seo_keywords')->nullable();
$table->text('og_tags')->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->timestamps();
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('settings');
}
};

View File

@ -0,0 +1,35 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('shortcodes', function (Blueprint $table) {
$table->id('shortcode_id');
$table->string('title', 255)->nullable();
$table->string('alias', 255)->nullable();
$table->string('text', 255)->nullable();
$table->text('description')->nullable();
$table->integer('display_order')->nullable();
$table->integer('status')->nullable();
$table->timestamps();
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('shortcodes');
}
};

View File

@ -0,0 +1,36 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('sliders', function (Blueprint $table) {
$table->id('slider_id');
$table->string('slider_title', 255)->nullable();
$table->string('slider_desc', 255)->nullable();
$table->string('url1', 255)->nullable();
$table->string('url2', 255)->nullable();
$table->string('thumb', 255)->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('sliders');
}
};

View File

@ -0,0 +1,40 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('successstories', function (Blueprint $table) {
$table->id('successstory_id');
$table->integer('countries_id')->nullable();
$table->string('title', 255)->nullable();
$table->string('alias', 200)->nullable();
$table->string('image', 255)->nullable();
$table->text('text')->nullable();
$table->string('remarks', 255)->nullable();
$table->integer('display_order')->nullable();
$table->integer('status')->nullable();
$table->string('university', 255)->nullable();
$table->string('faculty', 255)->nullable();
$table->string('createdby', 255)->nullable();
$table->string('updatedby', 255)->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('successstories');
}
};

View File

@ -0,0 +1,39 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('teams', function (Blueprint $table) {
$table->id('team_id');
$table->integer('branches_id')->nullable();
$table->string('title', 255)->nullable();
$table->string('alias', 255)->nullable();
$table->string('photo', 255)->nullable();
$table->string('thumb', 255)->nullable();
$table->string('designation', 255)->nullable();
$table->string('role', 255)->nullable();
$table->text('description')->nullable();
$table->integer('display_order')->nullable();
$table->integer('status')->nullable();
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('teams');
}
};

View File

@ -0,0 +1,45 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('testimonials', function (Blueprint $table) {
$table->id('testimonial_id');
$table->integer('branches_id')->nullable();
$table->string('for', 255)->nullable();
$table->integer('ref')->default(0);
$table->string('by', 255)->nullable();
$table->integer('rating')->nullable();
$table->string('alias', 200)->nullable();
$table->string('image', 255)->nullable();
$table->string('cover', 255)->nullable();
$table->text('text')->nullable();
$table->string('remarks', 255)->nullable();
$table->integer('display_order')->nullable();
$table->integer('status')->nullable();
$table->string('testimonials_faculty', 255)->nullable();
$table->string('testimonials_university', 255)->nullable();
$table->string('university', 255)->nullable();
$table->string('faculty', 255)->nullable();
$table->string('createdby', 255)->nullable();
$table->string('updatedby', 255)->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('testimonials');
}
};

View File

@ -16,12 +16,12 @@ return new class extends Migration
$table->string('name')->nullable(); $table->string('name')->nullable();
$table->string('email')->nullable(); $table->string('email')->nullable();
$table->string('username')->nullable(); $table->string('username')->nullable();
$table->string('email_verified_at')->nullable(); $table->timestamp('email_verified_at')->nullable();
$table->string('password')->nullable(); $table->string('password')->nullable();
$table->string('role')->nullable(); $table->string('role')->nullable();
$table->string('remember_token')->nullable(); $table->string('remember_token', 100)->nullable();
$table->integer('status')->nullable();
$table->timestamps(); $table->timestamps();
$table->integer('status')->nullable();
}); });
} }

View File

@ -0,0 +1,43 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('visas', function (Blueprint $table) {
$table->id('visa_id');
$table->integer('branches_id')->nullable();
$table->string('candidate')->nullable();
$table->integer('ref')->default(0);
$table->string('title')->nullable();
$table->string('alias')->nullable();
$table->string('image')->nullable();
$table->string('cover')->nullable();
$table->text('description')->nullable();
$table->text('text')->nullable();
$table->string('university')->nullable();
$table->string('faculty')->nullable();
$table->string('remarks')->nullable();
$table->integer('display_order')->nullable();
$table->integer('status')->nullable();
$table->string('createdby')->nullable();
$table->string('updatedby')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('visas');
}
};

View File

@ -11,15 +11,13 @@ return new class extends Migration
*/ */
public function up(): void public function up(): void
{ {
Schema::create('newscategories', function (Blueprint $table) { Schema::create('subscribers', function (Blueprint $table) {
$table->id('category_id'); $table->id('subscriber_id');
$table->string('title')->nullable(); $table->string('title')->nullable();
$table->string('nepali_title')->nullable();
$table->string('alias')->nullable(); $table->string('alias')->nullable();
$table->integer('parent_category')->default(0); $table->string('email')->nullable();
$table->integer('display_order')->default(1); $table->integer('display_order')->default(1);
$table->integer('status')->default(1); $table->integer('status')->default(1);
$table->text('remarks')->nullable();
$table->integer('createdby')->nullable(); $table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable(); $table->integer('updatedby')->nullable();
$table->timestamps(); $table->timestamps();
@ -31,6 +29,6 @@ return new class extends Migration
*/ */
public function down(): void public function down(): void
{ {
Schema::dropIfExists('newscategories'); Schema::dropIfExists('subscribers');
} }
}; };

View File

@ -1,66 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('settings', function (Blueprint $table) {
$table->id('setting_id');
$table->string('website_name',255)->nullable();
$table->bigInteger('suchana_darta_number')->nullable();
$table->bigInteger('company_registration_number')->nullable();
$table->bigInteger('pan_vat')->nullable();
$table->string('title', 255)->nullable();
$table->text('description')->nullable();
$table->string('url1', 255)->nullable();
$table->string('url2', 255)->nullable();
$table->string('location', 255)->nullable();
$table->string('email', 255)->nullable();
$table->string('phone', 255)->nullable();
$table->string('secondary_phone', 255)->nullable();
$table->string('working_hours', 255)->nullable();
$table->string('working_days', 255)->nullable();
$table->string('leave_days', 255)->nullable();
$table->text('google_map')->nullable();
$table->string('fb', 255)->nullable();
$table->string('insta', 255)->nullable();
$table->string('twitter', 255)->nullable();
$table->string('tiktok', 255)->nullable();
$table->string('youtube', 255)->nullable();
$table->string('primary_logo', 255)->nullable();
$table->string('secondary_logo', 255)->nullable();
$table->string('thumb', 255)->nullable();
$table->string('icon', 255)->nullable();
$table->string('og_image', 255)->nullable();
$table->string('no_image', 250)->nullable();
$table->string('copyright_text', 250)->nullable();
$table->text('content1')->nullable();
$table->text('content2')->nullable();
$table->text('content3')->nullable();
$table->string('seo_title', 255)->nullable();
$table->text('seo_description')->nullable();
$table->text('seo_keywords')->nullable();
$table->text('og_tags')->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->timestamps();
$table->integer('createdby')->nullable();
$table->integer('updatedby')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('settings');
}
};

View File

@ -1,44 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('news', function (Blueprint $table) {
$table->id('news_id');
$table->integer('newscategories_id')->unsigned();
$table->integer('provinces_id')->unsigned();
$table->integer('newstypes_id')->unsigned();
$table->integer('authors_id')->unsigned();
$table->string('title',255)->nullable();
$table->string('nepali_title',255)->nullable();
$table->string('alias',255)->nullable();
$table->longText('content')->nullable();
$table->longText('featured_news')->nullable();
$table->string('image',255)->nullable();
$table->string('thumb',255)->nullable();
$table->string('image_source',255)->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->text('remarks')->nullable();
$table->integer('created_by')->nullable();
$table->integer('updated_by')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('news');
}
};

View File

@ -1,38 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('seo_settings', function (Blueprint $table) {
$table->id('seosetting_id');
$table->string('title', 255)->nullable();
$table->string('nepali_title', 255)->nullable();
$table->string('alias', 255)->nullable();
$table->string('subtitle', 255)->nullable();
$table->string('keyword', 255)->nullable();
$table->text('description')->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->text('remarks')->nullable();
$table->integer('created_by')->nullable();
$table->integer('updated_by')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('seo_settings');
}
};

View File

@ -1,30 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('authors', function (Blueprint $table) {
$table->id('author_id');
$table->string('author_name',255)->nullable();
$table->string('author_description',255)->nullable();
$table->string('author_image',255)->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('authors');
}
};

View File

@ -1,38 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('advertisement', function (Blueprint $table) {
$table->id('advertisement_id');
$table->string('title',255)->nullable();
$table->string('alias',255)->nullable();
$table->text('description')->nullable();
$table->string('image',255)->nullable();
$table->string('video',255)->nullable();
$table->string('link',255)->nullable();
$table->integer('display_order')->default(1);
$table->integer('status')->default(1);
$table->text('remarks')->nullable();
$table->integer('created_by')->nullable();
$table->integer('updated_by')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('advertisement');
}
};

View File

@ -12,6 +12,11 @@ class DatabaseSeeder extends Seeder
*/ */
public function run(): void public function run(): void
{ {
$this->call(UserSeeder::class); // \App\Models\User::factory(10)->create();
// \App\Models\User::factory()->create([
// 'name' => 'Test User',
// 'email' => 'test@example.com',
// ]);
} }
} }

View File

@ -1,26 +0,0 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use App\Models\User;
class UserSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
User::create([
'name' => 'Prajwal Adhikari',
'email' => 'prajwalbro@hotmail.com',
'username' => 'prajwalbro',
'password' => '$2y$10$3zlF9VeXexzWKRDPZuDio.W7RZIC3tU.cjwMoLzG8ki8bVwAQn1WW',
'status' => 1,
'role' => 'super_admin'
]);
}
}

BIN
packages/.DS_Store vendored

Binary file not shown.

@ -1 +0,0 @@
Subproject commit 5008534f140a981e99b4250d44ca6e30be0e2007

BIN
public/.DS_Store vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,761 +0,0 @@
/*================================================
Default CSS
=================================================*/
.dark-version {
position: fixed;
z-index: 1;
right: 95px;
bottom: 45px;
}
.dark-version .switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
}
.dark-version .switch input {
opacity: 0;
width: 0;
height: 0;
}
.dark-version .slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: #dd0000;
-webkit-transition: 0.4s;
transition: 0.4s;
}
.dark-version .slider:before {
position: absolute;
content: "";
height: 30px;
width: 30px;
left: 2.5px;
bottom: 4px;
top: 0;
bottom: 0;
margin: auto 0;
-webkit-transition: 0.4s;
transition: 0.4s;
-webkit-box-shadow: 0 0px 15px #2020203d;
box-shadow: 0 0px 15px #2020203d;
background: white url("https://i.ibb.co/FxzBYR9/night.png");
background-repeat: no-repeat;
background-position: center;
}
.dark-version input:checked + .slider {
background-color: #dd0000;
}
.dark-version input:focus + .slider {
-webkit-box-shadow: 0 0 1px #dd0000;
box-shadow: 0 0 1px #dd0000;
}
.dark-version input:checked + .slider:before {
-webkit-transform: translateX(24px);
transform: translateX(24px);
background: white url("https://i.ibb.co/7JfqXxB/sunny.png");
background-repeat: no-repeat;
background-position: center;
}
.dark-version .slider.round {
border-radius: 50px;
}
.dark-version .slider.round:before {
border-radius: 50%;
}
.theme-light .black-logo {
display: block;
}
.theme-light .white-logo {
display: none;
}
.theme-dark .black-logo {
display: none;
}
.theme-dark .white-logo {
display: block;
}
.theme-dark body {
background-color: #000000;
color: #f1f1f1;
}
.theme-dark p {
color: #f1f1f1;
}
.theme-dark p a {
color: #f1f1f1 !important;
}
.theme-dark p a:hover {
color: #dd0000 !important;
}
.theme-dark span {
color: #ffffff !important;
}
.theme-dark .h1, .theme-dark .h2, .theme-dark .h3, .theme-dark .h4, .theme-dark .h5, .theme-dark .h6, .theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4, .theme-dark h5, .theme-dark h6 {
color: #ffffff !important;
}
.theme-dark .h1 a, .theme-dark .h2 a, .theme-dark .h3 a, .theme-dark .h4 a, .theme-dark .h5 a, .theme-dark .h6 a, .theme-dark h1 a, .theme-dark h2 a, .theme-dark h3 a, .theme-dark h4 a, .theme-dark h5 a, .theme-dark h6 a {
color: #ffffff !important;
}
.theme-dark .h1 a:hover, .theme-dark .h2 a:hover, .theme-dark .h3 a:hover, .theme-dark .h4 a:hover, .theme-dark .h5 a:hover, .theme-dark .h6 a:hover, .theme-dark h1 a:hover, .theme-dark h2 a:hover, .theme-dark h3 a:hover, .theme-dark h4 a:hover, .theme-dark h5 a:hover, .theme-dark h6 a:hover {
color: #dd0000 !important;
}
.theme-dark .date {
color: #f1f1f1 !important;
}
.theme-dark .section-title {
border-bottom: 1px solid #09101f;
}
.theme-dark .top-header-area {
background-color: #000000;
}
.theme-dark .top-header-area.bg-color {
border-bottom: 1px solid #000000;
}
.theme-dark .top-header-area.bg-color .top-header-others li a {
color: #ffffff !important;
}
.theme-dark .top-header-area.bg-color .top-header-others li a:hover {
color: #dd0000 !important;
}
.theme-dark .top-header-area.bg-ffffff .top-header-others li a {
color: #ffffff !important;
}
.theme-dark .top-header-area.bg-ffffff .top-header-others li a:hover {
color: #dd0000 !important;
}
.theme-dark .main-navbar {
background-color: #09101f;
}
.theme-dark .main-navbar .navbar .navbar-nav .nav-item a {
color: #ffffff;
}
.theme-dark .main-navbar .navbar .navbar-nav .nav-item a:hover, .theme-dark .main-navbar .navbar .navbar-nav .nav-item a:focus, .theme-dark .main-navbar .navbar .navbar-nav .nav-item a.active {
color: #ffffff;
background-color: #dd0000;
}
.theme-dark .main-navbar .navbar .navbar-nav .nav-item:hover a, .theme-dark .main-navbar .navbar .navbar-nav .nav-item.active a {
color: #ffffff;
background-color: #dd0000;
}
.theme-dark .main-navbar .navbar .navbar-nav .nav-item .dropdown-menu li a {
color: #000000;
background-color: transparent;
}
.theme-dark .main-navbar .navbar .navbar-nav .nav-item .dropdown-menu li a:hover, .theme-dark .main-navbar .navbar .navbar-nav .nav-item .dropdown-menu li a:focus, .theme-dark .main-navbar .navbar .navbar-nav .nav-item .dropdown-menu li a.active {
color: #dd0000;
}
.theme-dark .main-navbar .navbar .others-options .option-item .search-box .form-control {
background-color: #000000;
color: #ffffff;
border: 1px solid #000000;
}
.theme-dark .main-navbar .navbar .others-options .option-item .search-box .form-control::-webkit-input-placeholder {
color: #ffffff;
}
.theme-dark .main-navbar .navbar .others-options .option-item .search-box .form-control:-ms-input-placeholder {
color: #ffffff;
}
.theme-dark .main-navbar .navbar .others-options .option-item .search-box .form-control::-ms-input-placeholder {
color: #ffffff;
}
.theme-dark .main-navbar .navbar .others-options .option-item .search-box .form-control::placeholder {
color: #ffffff;
}
.theme-dark .single-main-news-box {
border: 1px solid #09101f;
}
.theme-dark .widget-area .widget .widget-title {
border-bottom: 1px solid #09101f;
}
.theme-dark .widget-area .tagcloud a {
border: 1px solid #09101f !important;
color: #ffffff;
}
.theme-dark .widget-area .widget_newsletter {
background-color: #09101f;
}
.theme-dark .widget-area .widget_newsletter .newsletter-form .input-newsletter {
background-color: #000000;
color: #ffffff;
}
.theme-dark .widget-area .widget_newsletter .newsletter-form .input-newsletter::-webkit-input-placeholder {
color: #ffffff;
}
.theme-dark .widget-area .widget_newsletter .newsletter-form .input-newsletter:-ms-input-placeholder {
color: #ffffff;
}
.theme-dark .widget-area .widget_newsletter .newsletter-form .input-newsletter::-ms-input-placeholder {
color: #ffffff;
}
.theme-dark .widget-area .widget_newsletter .newsletter-form .input-newsletter::placeholder {
color: #ffffff;
}
.theme-dark .widget-area .widget_newsletter .newsletter-form .input-newsletter:focus::-webkit-input-placeholder {
color: transparent;
}
.theme-dark .widget-area .widget_newsletter .newsletter-form .input-newsletter:focus:-ms-input-placeholder {
color: transparent;
}
.theme-dark .widget-area .widget_newsletter .newsletter-form .input-newsletter:focus::-ms-input-placeholder {
color: transparent;
}
.theme-dark .widget-area .widget_newsletter .newsletter-form .input-newsletter:focus::placeholder {
color: transparent;
}
.theme-dark .widget-area .widget_search form .search-field {
background-color: #000000;
color: #ffffff;
border: 1px solid #09101f;
}
.theme-dark .widget-area .widget_search form .search-field::-webkit-input-placeholder {
color: #ffffff;
}
.theme-dark .widget-area .widget_search form .search-field:-ms-input-placeholder {
color: #ffffff;
}
.theme-dark .widget-area .widget_search form .search-field::-ms-input-placeholder {
color: #ffffff;
}
.theme-dark .widget-area .widget_search form .search-field::placeholder {
color: #ffffff;
}
.theme-dark .most-popular-post {
border: 1px solid #09101f;
}
.theme-dark .single-footer-widget .social li a i {
border: 1px solid #000000;
}
.theme-dark .single-footer-widget .widget-subscribe-content .newsletter-form .input-newsletter {
background-color: #000000;
color: #ffffff;
}
.theme-dark .single-footer-widget .widget-subscribe-content .newsletter-form .input-newsletter::-webkit-input-placeholder {
color: #ffffff;
}
.theme-dark .single-footer-widget .widget-subscribe-content .newsletter-form .input-newsletter:-ms-input-placeholder {
color: #ffffff;
}
.theme-dark .single-footer-widget .widget-subscribe-content .newsletter-form .input-newsletter::-ms-input-placeholder {
color: #ffffff;
}
.theme-dark .single-footer-widget .widget-subscribe-content .newsletter-form .input-newsletter::placeholder {
color: #ffffff;
}
.theme-dark .single-footer-widget .widget-subscribe-content .newsletter-form .input-newsletter:focus::-webkit-input-placeholder {
color: transparent;
}
.theme-dark .single-footer-widget .widget-subscribe-content .newsletter-form .input-newsletter:focus:-ms-input-placeholder {
color: transparent;
}
.theme-dark .single-footer-widget .widget-subscribe-content .newsletter-form .input-newsletter:focus::-ms-input-placeholder {
color: transparent;
}
.theme-dark .single-footer-widget .widget-subscribe-content .newsletter-form .input-newsletter:focus::placeholder {
color: transparent;
}
.theme-dark .navbar-two .main-navbar {
border-bottom: 1px solid #09101f;
}
.theme-dark .single-new-news {
border: 1px solid #09101f;
}
.theme-dark .daily-briefing-item {
border: 1px solid #09101f;
}
.theme-dark .daily-briefing-item .title h3::before {
border-bottom: 1px solid #09101f;
}
.theme-dark .daily-briefing-item .daily-briefing-content {
border-bottom: 1px solid #09101f;
}
.theme-dark .single-new-news-box {
border: 1px solid #09101f;
}
.theme-dark .page-title-area {
border-bottom: 1px solid #09101f;
}
.theme-dark .page-title-content ul li a {
color: #ffffff;
}
.theme-dark .page-title-content ul li a:hover {
color: #dd0000;
}
.theme-dark .pagination-area .page-numbers {
-webkit-box-shadow: unset;
box-shadow: unset;
}
.theme-dark .blog-details-desc .article-content span a {
color: #f1f1f1;
}
.theme-dark .blog-details-desc .article-content span a:hover {
color: #dd0000;
}
.theme-dark .blog-details-desc .article-content .features-list li {
color: #ffffff;
}
.theme-dark .article-footer {
border-top: 1px solid #09101f;
}
.theme-dark blockquote, .theme-dark .blockquote {
background-color: #09101f;
}
.theme-dark blockquote p, .theme-dark .blockquote p {
color: #ffffff;
}
.theme-dark .post-navigation {
border-top: 1px solid #09101f;
border-bottom: 1px solid #09101f;
}
.theme-dark .post-navigation a {
color: #ffffff;
}
.theme-dark .post-navigation a:hover {
color: #dd0000;
}
.theme-dark .comments-area .comment-body {
color: #ffffff;
}
.theme-dark .comments-area .comment-body .reply a {
border: 1px dashed #ded9d9;
color: #ffffff;
}
.theme-dark .comments-area .comment-body .reply a:hover {
color: #ffffff;
background-color: #dd0000;
border-color: #dd0000;
}
.theme-dark .comments-area .comment-metadata {
color: #f1f1f1;
}
.theme-dark .comments-area .comment-metadata a {
color: #f1f1f1;
}
.theme-dark .comments-area .comment-metadata a:hover {
color: #dd0000;
}
.theme-dark .comments-area .comment-respond input[type="date"], .theme-dark .comments-area .comment-respond input[type="time"], .theme-dark .comments-area .comment-respond input[type="datetime-local"], .theme-dark .comments-area .comment-respond input[type="week"], .theme-dark .comments-area .comment-respond input[type="month"], .theme-dark .comments-area .comment-respond input[type="text"], .theme-dark .comments-area .comment-respond input[type="email"], .theme-dark .comments-area .comment-respond input[type="url"], .theme-dark .comments-area .comment-respond input[type="password"], .theme-dark .comments-area .comment-respond input[type="search"], .theme-dark .comments-area .comment-respond input[type="tel"], .theme-dark .comments-area .comment-respond input[type="number"], .theme-dark .comments-area .comment-respond textarea {
background-color: #09101f;
color: #ffffff;
border: 1px solid #09101f;
}
.theme-dark .comments-area .comment-respond input[type="date"]::-webkit-input-placeholder, .theme-dark .comments-area .comment-respond input[type="time"]::-webkit-input-placeholder, .theme-dark .comments-area .comment-respond input[type="datetime-local"]::-webkit-input-placeholder, .theme-dark .comments-area .comment-respond input[type="week"]::-webkit-input-placeholder, .theme-dark .comments-area .comment-respond input[type="month"]::-webkit-input-placeholder, .theme-dark .comments-area .comment-respond input[type="text"]::-webkit-input-placeholder, .theme-dark .comments-area .comment-respond input[type="email"]::-webkit-input-placeholder, .theme-dark .comments-area .comment-respond input[type="url"]::-webkit-input-placeholder, .theme-dark .comments-area .comment-respond input[type="password"]::-webkit-input-placeholder, .theme-dark .comments-area .comment-respond input[type="search"]::-webkit-input-placeholder, .theme-dark .comments-area .comment-respond input[type="tel"]::-webkit-input-placeholder, .theme-dark .comments-area .comment-respond input[type="number"]::-webkit-input-placeholder, .theme-dark .comments-area .comment-respond textarea::-webkit-input-placeholder {
color: #09101f;
}
.theme-dark .comments-area .comment-respond input[type="date"]:-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="time"]:-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="datetime-local"]:-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="week"]:-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="month"]:-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="text"]:-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="email"]:-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="url"]:-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="password"]:-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="search"]:-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="tel"]:-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="number"]:-ms-input-placeholder, .theme-dark .comments-area .comment-respond textarea:-ms-input-placeholder {
color: #09101f;
}
.theme-dark .comments-area .comment-respond input[type="date"]::-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="time"]::-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="datetime-local"]::-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="week"]::-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="month"]::-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="text"]::-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="email"]::-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="url"]::-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="password"]::-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="search"]::-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="tel"]::-ms-input-placeholder, .theme-dark .comments-area .comment-respond input[type="number"]::-ms-input-placeholder, .theme-dark .comments-area .comment-respond textarea::-ms-input-placeholder {
color: #09101f;
}
.theme-dark .comments-area .comment-respond input[type="date"]::placeholder, .theme-dark .comments-area .comment-respond input[type="time"]::placeholder, .theme-dark .comments-area .comment-respond input[type="datetime-local"]::placeholder, .theme-dark .comments-area .comment-respond input[type="week"]::placeholder, .theme-dark .comments-area .comment-respond input[type="month"]::placeholder, .theme-dark .comments-area .comment-respond input[type="text"]::placeholder, .theme-dark .comments-area .comment-respond input[type="email"]::placeholder, .theme-dark .comments-area .comment-respond input[type="url"]::placeholder, .theme-dark .comments-area .comment-respond input[type="password"]::placeholder, .theme-dark .comments-area .comment-respond input[type="search"]::placeholder, .theme-dark .comments-area .comment-respond input[type="tel"]::placeholder, .theme-dark .comments-area .comment-respond input[type="number"]::placeholder, .theme-dark .comments-area .comment-respond textarea::placeholder {
color: #09101f;
}
.theme-dark .comments-area .comment-respond .comment-form-cookies-consent label {
color: #ffffff;
}
.theme-dark .author-area .container {
border-bottom: 1px solid #09101f;
}
.theme-dark .author-content .author-list li a {
color: #ffffff;
}
.theme-dark .author-content .author-list li a:hover {
color: #dd0000;
}
.theme-dark .single-team-box .content {
background-color: #09101f;
}
.theme-dark .login-form {
background-color: #09101f;
}
.theme-dark .login-form form .form-group label {
color: #ffffff;
}
.theme-dark .login-form form .form-group .form-control {
background-color: #000000 !important;
color: #ffffff;
border: 1px solid #000000;
}
.theme-dark .login-form form .form-group .form-control::-webkit-input-placeholder {
color: #ffffff;
}
.theme-dark .login-form form .form-group .form-control:-ms-input-placeholder {
color: #ffffff;
}
.theme-dark .login-form form .form-group .form-control::-ms-input-placeholder {
color: #ffffff;
}
.theme-dark .login-form form .form-group .form-control::placeholder {
color: #ffffff;
}
.theme-dark .login-form form .form-group .form-control:focus::-webkit-input-placeholder {
color: transparent;
}
.theme-dark .login-form form .form-group .form-control:focus:-ms-input-placeholder {
color: transparent;
}
.theme-dark .login-form form .form-group .form-control:focus::-ms-input-placeholder {
color: transparent;
}
.theme-dark .login-form form .form-group .form-control:focus::placeholder {
color: transparent;
}
.theme-dark .login-form form .form-check {
color: #ffffff;
}
.theme-dark .login-form form .lost-your-password a {
color: #ffffff;
}
.theme-dark .login-form .important-text p {
color: #ffffff;
}
.theme-dark .register-form {
background-color: #09101f;
}
.theme-dark .register-form form .form-group label {
color: #ffffff;
}
.theme-dark .register-form form .form-group .form-control {
background-color: #000000 !important;
color: #ffffff;
border: 1px solid #000000;
}
.theme-dark .register-form form .form-group .form-control::-webkit-input-placeholder {
color: #ffffff;
}
.theme-dark .register-form form .form-group .form-control:-ms-input-placeholder {
color: #ffffff;
}
.theme-dark .register-form form .form-group .form-control::-ms-input-placeholder {
color: #ffffff;
}
.theme-dark .register-form form .form-group .form-control::placeholder {
color: #ffffff;
}
.theme-dark .register-form form .form-group .form-control:focus::-webkit-input-placeholder {
color: transparent;
}
.theme-dark .register-form form .form-group .form-control:focus:-ms-input-placeholder {
color: transparent;
}
.theme-dark .register-form form .form-group .form-control:focus::-ms-input-placeholder {
color: transparent;
}
.theme-dark .register-form form .form-group .form-control:focus::placeholder {
color: transparent;
}
.theme-dark .register-form form .form-check {
color: #ffffff;
}
.theme-dark .register-form .important-text p {
color: #ffffff;
}
.theme-dark .faq-accordion .accordion .accordion-item {
border: 2px solid #09101f;
background-color: #09101f;
}
.theme-dark .faq-accordion .accordion .accordion-title {
color: #ffffff;
}
.theme-dark .faq-accordion .accordion .accordion-title i {
color: #ffffff;
}
.theme-dark .faq-accordion .accordion .accordion-title.active i::before {
color: #dd0000;
}
.theme-dark .faq-accordion .accordion .accordion-content {
border-top: 1px solid #dd0000;
color: #f1f1f1;
}
.theme-dark .coming-soon-content {
background: #09101f;
}
.theme-dark .coming-soon-content #timer div {
background-color: #000000;
}
.theme-dark .coming-soon-content form .form-group .form-control {
background-color: transparent;
color: #ffffff;
}
.theme-dark .coming-soon-content form .form-group .form-control::-webkit-input-placeholder {
color: #ffffff;
}
.theme-dark .coming-soon-content form .form-group .form-control:-ms-input-placeholder {
color: #ffffff;
}
.theme-dark .coming-soon-content form .form-group .form-control::-ms-input-placeholder {
color: #ffffff;
}
.theme-dark .coming-soon-content form .form-group .form-control::placeholder {
color: #ffffff;
}
.theme-dark .contact-info li {
color: #f1f1f1;
}
.theme-dark .contact-info li a {
color: #f1f1f1;
}
.theme-dark .contact-info li a:hover {
color: #dd0000;
}
.theme-dark .contact-form {
background-color: #09101f;
}
.theme-dark .contact-form form .form-group .form-control {
background-color: #000000 !important;
color: #ffffff;
border: 1px solid #000000;
}
.theme-dark .contact-form form .form-group .form-control::-webkit-input-placeholder {
color: #ffffff;
}
.theme-dark .contact-form form .form-group .form-control:-ms-input-placeholder {
color: #ffffff;
}
.theme-dark .contact-form form .form-group .form-control::-ms-input-placeholder {
color: #ffffff;
}
.theme-dark .contact-form form .form-group .form-control::placeholder {
color: #ffffff;
}
.theme-dark .contact-form form .form-group .form-control:focus::-webkit-input-placeholder {
color: transparent;
}
.theme-dark .contact-form form .form-group .form-control:focus:-ms-input-placeholder {
color: transparent;
}
.theme-dark .contact-form form .form-group .form-control:focus::-ms-input-placeholder {
color: transparent;
}
.theme-dark .contact-form form .form-group .form-control:focus::placeholder {
color: transparent;
}
.theme-dark .contact-form form .form-check {
color: #ffffff;
}
@media only screen and (max-width: 767px) {
.theme-dark .navbar-area {
background-color: #09101f;
}
.theme-dark .navbar-area.is-sticky {
background-color: #09101f !important;
}
.theme-dark .others-option-for-responsive .dot-menu .inner .circle {
background-color: #ffffff;
}
.theme-dark .others-option-for-responsive .dot-menu .inner .circle:hover {
background-color: #dd0000;
}
.theme-dark .main-responsive-nav .mean-container a.meanmenu-reveal {
color: #ffffff;
}
.theme-dark .main-responsive-nav .mean-container a.meanmenu-reveal span {
background-color: #ffffff;
}
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
.theme-dark .navbar-area {
background-color: #09101f;
}
.theme-dark .navbar-area.is-sticky {
background-color: #09101f !important;
}
.theme-dark .others-option-for-responsive .dot-menu .inner .circle {
background-color: #ffffff;
}
.theme-dark .others-option-for-responsive .dot-menu .inner .circle:hover {
background-color: #dd0000;
}
.theme-dark .main-responsive-nav .mean-container a.meanmenu-reveal {
color: #ffffff;
}
.theme-dark .main-responsive-nav .mean-container a.meanmenu-reveal span {
background-color: #ffffff;
}
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
.theme-dark .navbar-area {
background-color: #09101f;
}
.theme-dark .navbar-area.is-sticky {
background-color: #09101f !important;
}
.theme-dark .others-option-for-responsive .dot-menu .inner .circle {
background-color: #ffffff;
}
.theme-dark .others-option-for-responsive .dot-menu .inner .circle:hover {
background-color: #dd0000;
}
.theme-dark .main-responsive-nav .mean-container a.meanmenu-reveal {
color: #ffffff;
}
.theme-dark .main-responsive-nav .mean-container a.meanmenu-reveal span {
background-color: #ffffff;
}
}
/*# sourceMappingURL=dark.css.map */

View File

@ -1,443 +0,0 @@
.mfp-bg {
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1042;
overflow: hidden;
position: fixed;
background: #0b0b0b;
opacity: .8
}
.mfp-wrap {
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1043;
position: fixed;
outline: 0 !important;
-webkit-backface-visibility: hidden
}
.mfp-container {
text-align: center;
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
padding: 0 8px;
box-sizing: border-box
}
.mfp-container:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle
}
.mfp-align-top .mfp-container:before {
display: none
}
.mfp-content {
position: relative;
display: inline-block;
vertical-align: middle;
margin: 0 auto;
text-align: left;
z-index: 1045
}
.mfp-ajax-holder .mfp-content,
.mfp-inline-holder .mfp-content {
width: 100%;
cursor: auto
}
.mfp-ajax-cur {
cursor: progress
}
.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
cursor: -moz-zoom-out;
cursor: -webkit-zoom-out;
cursor: zoom-out
}
.mfp-zoom {
cursor: pointer;
cursor: -webkit-zoom-in;
cursor: -moz-zoom-in;
cursor: zoom-in
}
.mfp-auto-cursor .mfp-content {
cursor: auto
}
.mfp-arrow,
.mfp-close,
.mfp-counter,
.mfp-preloader {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none
}
.mfp-loading.mfp-figure {
display: none
}
.mfp-hide {
display: none !important
}
.mfp-preloader {
color: #ccc;
position: absolute;
top: 50%;
width: auto;
text-align: center;
margin-top: -.8em;
left: 8px;
right: 8px;
z-index: 1044
}
.mfp-preloader a {
color: #ccc
}
.mfp-preloader a:hover {
color: #fff
}
.mfp-s-ready .mfp-preloader {
display: none
}
.mfp-s-error .mfp-content {
display: none
}
button.mfp-arrow,
button.mfp-close {
overflow: visible;
cursor: pointer;
background: 0 0;
border: 0;
-webkit-appearance: none;
display: block;
outline: 0;
padding: 0;
z-index: 1046;
box-shadow: none;
touch-action: manipulation
}
button::-moz-focus-inner {
padding: 0;
border: 0
}
.mfp-close {
width: 44px;
height: 44px;
line-height: 44px;
position: absolute;
right: 0;
top: 0;
text-decoration: none;
text-align: center;
opacity: .65;
padding: 0 0 18px 10px;
color: #fff;
font-style: normal;
font-size: 28px;
font-family: Arial, Baskerville, monospace
}
.mfp-close:focus,
.mfp-close:hover {
opacity: 1
}
.mfp-close:active {
top: 1px
}
.mfp-close-btn-in .mfp-close {
color: #333
}
.mfp-iframe-holder .mfp-close,
.mfp-image-holder .mfp-close {
color: #fff;
right: -6px;
text-align: right;
padding-right: 6px;
width: 100%
}
.mfp-counter {
position: absolute;
top: 0;
right: 0;
color: #ccc;
font-size: 12px;
line-height: 18px;
white-space: nowrap
}
.mfp-arrow {
position: absolute;
opacity: .65;
margin: 0;
top: 50%;
margin-top: -55px;
padding: 0;
width: 90px;
height: 110px;
-webkit-tap-highlight-color: transparent
}
.mfp-arrow:active {
margin-top: -54px
}
.mfp-arrow:focus,
.mfp-arrow:hover {
opacity: 1
}
.mfp-arrow:after,
.mfp-arrow:before {
content: '';
display: block;
width: 0;
height: 0;
position: absolute;
left: 0;
top: 0;
margin-top: 35px;
margin-left: 35px;
border: medium inset transparent
}
.mfp-arrow:after {
border-top-width: 13px;
border-bottom-width: 13px;
top: 8px
}
.mfp-arrow:before {
border-top-width: 21px;
border-bottom-width: 21px;
opacity: .7
}
.mfp-arrow-left {
left: 0
}
.mfp-arrow-left:after {
border-right: 17px solid #fff;
margin-left: 31px
}
.mfp-arrow-left:before {
margin-left: 25px;
border-right: 27px solid #3f3f3f
}
.mfp-arrow-right {
right: 0
}
.mfp-arrow-right:after {
border-left: 17px solid #fff;
margin-left: 39px
}
.mfp-arrow-right:before {
border-left: 27px solid #3f3f3f
}
.mfp-iframe-holder {
padding-top: 40px;
padding-bottom: 40px
}
.mfp-iframe-holder .mfp-content {
line-height: 0;
width: 100%;
max-width: 900px
}
.mfp-iframe-holder .mfp-close {
top: -40px
}
.mfp-iframe-scaler {
width: 100%;
height: 0;
overflow: hidden;
padding-top: 56.25%
}
.mfp-iframe-scaler iframe {
position: absolute;
display: block;
top: 0;
left: 0;
width: 100%;
height: 100%;
box-shadow: 0 0 8px rgba(0, 0, 0, .6);
background: #000
}
img.mfp-img {
width: auto;
max-width: 100%;
height: auto;
display: block;
line-height: 0;
box-sizing: border-box;
padding: 40px 0 40px;
margin: 0 auto
}
.mfp-figure {
line-height: 0
}
.mfp-figure:after {
content: '';
position: absolute;
left: 0;
top: 40px;
bottom: 40px;
display: block;
right: 0;
width: auto;
height: auto;
z-index: -1;
box-shadow: 0 0 8px rgba(0, 0, 0, .6);
background: #444
}
.mfp-figure small {
color: #bdbdbd;
display: block;
font-size: 12px;
line-height: 14px
}
.mfp-figure figure {
margin: 0
}
.mfp-bottom-bar {
margin-top: -36px;
position: absolute;
top: 100%;
left: 0;
width: 100%;
cursor: auto
}
.mfp-title {
text-align: left;
line-height: 18px;
color: #f3f3f3;
word-wrap: break-word;
padding-right: 36px
}
.mfp-image-holder .mfp-content {
max-width: 100%
}
.mfp-gallery .mfp-image-holder .mfp-figure {
cursor: pointer
}
@media screen and (max-width:800px) and (orientation:landscape),
screen and (max-height:300px) {
.mfp-img-mobile .mfp-image-holder {
padding-left: 0;
padding-right: 0
}
.mfp-img-mobile img.mfp-img {
padding: 0
}
.mfp-img-mobile .mfp-figure:after {
top: 0;
bottom: 0
}
.mfp-img-mobile .mfp-figure small {
display: inline;
margin-left: 5px
}
.mfp-img-mobile .mfp-bottom-bar {
background: rgba(0, 0, 0, .6);
bottom: 0;
margin: 0;
top: auto;
padding: 3px 5px;
position: fixed;
box-sizing: border-box
}
.mfp-img-mobile .mfp-bottom-bar:empty {
padding: 0
}
.mfp-img-mobile .mfp-counter {
right: 5px;
top: 3px
}
.mfp-img-mobile .mfp-close {
top: 0;
right: 0;
width: 35px;
height: 35px;
line-height: 35px;
background: rgba(0, 0, 0, .6);
position: fixed;
text-align: center;
padding: 0
}
}
@media all and (max-width:900px) {
.mfp-arrow {
-webkit-transform: scale(.75);
transform: scale(.75)
}
.mfp-arrow-left {
-webkit-transform-origin: 0;
transform-origin: 0
}
.mfp-arrow-right {
-webkit-transform-origin: 100%;
transform-origin: 100%
}
.mfp-container {
padding-left: 6px;
padding-right: 6px
}
}

View File

@ -1,347 +0,0 @@
.mean-container .mean-bar {
float: left;
width: 100%;
position: absolute;
background: 0 0;
padding: 20px 0 0;
z-index: 999;
border-bottom: 1px solid rgba(0, 0, 0, .03);
height: 55px
}
.mean-container a.meanmenu-reveal {
width: 35px;
height: 30px;
padding: 12px 15px 0 0;
position: absolute;
right: 0;
cursor: pointer;
color: #fff;
text-decoration: none;
font-size: 16px;
text-indent: -9999em;
line-height: 22px;
font-size: 1px;
display: block;
font-weight: 700
}
.mean-container a.meanmenu-reveal span {
display: block;
background: #fff;
height: 4px;
margin-top: 3px;
border-radius: 3px
}
.mean-container .mean-nav {
float: left;
width: 100%;
background: #fff;
margin-top: 55px
}
.mean-container .mean-nav ul {
padding: 0;
margin: 0;
width: 100%;
border: none;
list-style-type: none
}
.mean-container .mean-nav ul li {
position: relative;
float: left;
width: 100%
}
.mean-container .mean-nav ul li a {
display: block;
float: left;
width: 90%;
padding: 1em 5%;
margin: 0;
text-align: left;
color: #677294;
border-top: 1px solid #dbeefd;
text-decoration: none
}
.mean-container .mean-nav ul li a.active {
color: #000
}
.mean-container .mean-nav ul li li a {
width: 80%;
padding: 1em 10%;
color: #677294;
border-top: 1px solid #dbeefd;
opacity: 1;
text-shadow: none !important;
visibility: visible;
text-transform: none;
font-size: 14px
}
.mean-container .mean-nav ul li.mean-last a {
border-bottom: none;
margin-bottom: 0
}
.mean-container .mean-nav ul li li li a {
width: 70%;
padding: 1em 15%
}
.mean-container .mean-nav ul li li li li a {
width: 60%;
padding: 1em 20%
}
.mean-container .mean-nav ul li li li li li a {
width: 50%;
padding: 1em 25%
}
.mean-container .mean-nav ul li a:hover {
background: #252525;
background: rgba(255, 255, 255, .1)
}
.mean-container .mean-nav ul li a.mean-expand {
margin-top: 3px;
width: 100%;
height: 24px;
padding: 12px !important;
text-align: right;
position: absolute;
right: 0;
top: 0;
z-index: 2;
font-weight: 700;
background: 0 0;
border: none !important
}
.mean-container .mean-push {
float: left;
width: 100%;
padding: 0;
margin: 0;
clear: both
}
.mean-nav .wrapper {
width: 100%;
padding: 0;
margin: 0
}
.mean-container .mean-bar,
.mean-container .mean-bar * {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box
}
.mean-remove {
display: none !important
}
.mobile-nav {
display: none
}
.mobile-nav.mean-container .mean-nav ul li a.active {
color: #ff2d55
}
.main-nav {
background: #000;
position: absolute;
top: 0;
left: 0;
padding-top: 15px;
padding-bottom: 15px;
width: 100%;
z-index: 999;
height: auto
}
.mean-nav .dropdown-toggle::after {
display: none
}
.navbar-light .navbar-brand,
.navbar-light .navbar-brand:hover {
color: #fff;
font-weight: 700;
text-transform: uppercase;
line-height: 1
}
.main-nav nav ul {
padding: 0;
margin: 0;
list-style-type: none
}
.main-nav nav .navbar-nav .nav-item {
position: relative;
padding: 15px 0
}
.main-nav nav .navbar-nav .nav-item a {
font-weight: 500;
font-size: 16px;
text-transform: uppercase;
color: #fff;
padding-left: 0;
padding-right: 0;
padding-top: 0;
padding-bottom: 0;
margin-left: 15px;
margin-right: 15px
}
.main-nav nav .navbar-nav .nav-item a.active,
.main-nav nav .navbar-nav .nav-item a:focus,
.main-nav nav .navbar-nav .nav-item a:hover {
color: #ff2d55
}
.main-nav nav .navbar-nav .nav-item:hover a {
color: #ff2d55
}
.main-nav nav .navbar-nav .nav-item .dropdown-menu {
-webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, .05);
box-shadow: 0 0 30px 0 rgba(0, 0, 0, .05);
background: #0d1028;
position: absolute;
top: 80px;
left: 0;
width: 250px;
z-index: 99;
display: block;
padding-top: 20px;
padding-left: 5px;
padding-right: 5px;
padding-bottom: 20px;
opacity: 0;
visibility: hidden;
-webkit-transition: all .3s ease-in-out;
transition: all .3s ease-in-out
}
.main-nav nav .navbar-nav .nav-item .dropdown-menu li {
position: relative;
padding: 0
}
.main-nav nav .navbar-nav .nav-item .dropdown-menu li a {
font-size: 15px;
font-weight: 500;
text-transform: capitalize;
padding: 9px 15px;
margin: 0;
display: block;
color: #fff
}
.main-nav nav .navbar-nav .nav-item .dropdown-menu li a.active,
.main-nav nav .navbar-nav .nav-item .dropdown-menu li a:focus,
.main-nav nav .navbar-nav .nav-item .dropdown-menu li a:hover {
color: #ff2d55
}
.main-nav nav .navbar-nav .nav-item .dropdown-menu li .dropdown-menu {
position: absolute;
left: -100%;
top: 0;
opacity: 0 !important;
visibility: hidden !important
}
.main-nav nav .navbar-nav .nav-item .dropdown-menu li:hover .dropdown-menu {
opacity: 1 !important;
visibility: visible !important;
top: -20px !important
}
.main-nav nav .navbar-nav .nav-item .dropdown-menu li .dropdown-menu li .dropdown-menu {
position: absolute;
left: -100%;
top: 0;
opacity: 0 !important;
visibility: hidden !important
}
.main-nav nav .navbar-nav .nav-item .dropdown-menu li:hover .dropdown-menu li:hover .dropdown-menu {
opacity: 1 !important;
visibility: visible !important;
top: -20px !important
}
.main-nav nav .navbar-nav .nav-item .dropdown-menu li .dropdown-menu li a {
color: #fff;
text-transform: capitalize
}
.main-nav nav .navbar-nav .nav-item .dropdown-menu li .dropdown-menu li a.active,
.main-nav nav .navbar-nav .nav-item .dropdown-menu li .dropdown-menu li a:focus,
.main-nav nav .navbar-nav .nav-item .dropdown-menu li .dropdown-menu li a:hover {
color: #fff
}
.main-nav nav .navbar-nav .nav-item:hover ul {
opacity: 1;
visibility: visible;
top: 100%
}
.main-nav nav .navbar-nav .nav-item:last-child .dropdown-menu {
left: auto;
right: 0
}
@media only screen and (max-width:991px) {
.mobile-nav {
display: block;
position: relative
}
.mobile-nav .logo {
text-decoration: none;
position: absolute;
top: 11px;
z-index: 999;
left: 15px;
color: #fff;
font-weight: 700;
text-transform: uppercase;
font-size: 20px
}
.mean-container .mean-bar {
background-color: #fff;
padding: 0
}
.mean-container a.meanmenu-reveal {
padding: 15px 15px 0 0
}
.mobile-nav nav .navbar-nav {
height: 300px;
overflow-y: scroll
}
.mobile-nav nav .navbar-nav .nav-item a i {
display: none
}
.main-nav {
display: none !important
}
}

View File

@ -1,183 +0,0 @@
.nice-select {
-webkit-tap-highlight-color: transparent;
background-color: #fff;
border-radius: 5px;
border: solid 1px #e8e8e8;
box-sizing: border-box;
clear: both;
cursor: pointer;
display: block;
font-size: 14px;
font-weight: 400;
height: 42px;
line-height: 40px;
outline: none;
padding-left: 18px;
padding-right: 30px;
position: relative;
text-align: left !important;
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
white-space: nowrap;
width: auto
}
.nice-select:hover {
border-color: #dbdbdb
}
.nice-select:active,
.nice-select.open,
.nice-select:focus {
border-color: #999
}
.nice-select:after {
border-bottom: 2px solid #999;
border-right: 2px solid #999;
content: '';
display: block;
height: 5px;
margin-top: -4px;
pointer-events: none;
position: absolute;
right: 12px;
top: 50%;
-webkit-transform-origin: 66% 66%;
-ms-transform-origin: 66% 66%;
transform-origin: 66% 66%;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-transition: all 0.15s ease-in-out;
transition: all 0.15s ease-in-out;
width: 5px
}
.nice-select.open:after {
-webkit-transform: rotate(-135deg);
-ms-transform: rotate(-135deg);
transform: rotate(-135deg)
}
.nice-select.open .list {
opacity: 1;
pointer-events: auto;
-webkit-transform: scale(1) translateY(0);
-ms-transform: scale(1) translateY(0);
transform: scale(1) translateY(0)
}
.nice-select.disabled {
border-color: #ededed;
color: #999;
pointer-events: none
}
.nice-select.disabled:after {
border-color: #ccc
}
.nice-select.wide {
width: 100%
}
.nice-select.wide .list {
left: 0 !important;
right: 0 !important
}
.nice-select.right {
float: right
}
.nice-select.right .list {
left: auto;
right: 0
}
.nice-select.small {
font-size: 12px;
height: 36px;
line-height: 34px
}
.nice-select.small:after {
height: 4px;
width: 4px
}
.nice-select.small .option {
line-height: 34px;
min-height: 34px
}
.nice-select .list {
background-color: #fff;
border-radius: 5px;
box-shadow: 0 0 0 1px rgba(68, 68, 68, .11);
box-sizing: border-box;
margin-top: 4px;
opacity: 0;
overflow: hidden;
padding: 0;
pointer-events: none;
position: absolute;
top: 100%;
left: 0;
-webkit-transform-origin: 50% 0;
-ms-transform-origin: 50% 0;
transform-origin: 50% 0;
-webkit-transform: scale(.75) translateY(-21px);
-ms-transform: scale(.75) translateY(-21px);
transform: scale(.75) translateY(-21px);
-webkit-transition: all 0.2s cubic-bezier(.5, 0, 0, 1.25), opacity 0.15s ease-out;
transition: all 0.2s cubic-bezier(.5, 0, 0, 1.25), opacity 0.15s ease-out;
z-index: 9
}
.nice-select .list:hover .option:not(:hover) {
background-color: transparent !important
}
.nice-select .option {
cursor: pointer;
font-weight: 400;
line-height: 40px;
list-style: none;
min-height: 40px;
outline: none;
padding-left: 18px;
padding-right: 29px;
text-align: left;
-webkit-transition: all 0.2s;
transition: all 0.2s
}
.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
background-color: #f6f6f6
}
.nice-select .option.selected {
font-weight: 700
}
.nice-select .option.disabled {
background-color: transparent;
color: #999;
cursor: default
}
.no-csspointerevents .nice-select .list {
display: none
}
.no-csspointerevents .nice-select.open .list {
display: block
}

View File

@ -1,213 +0,0 @@
.owl-carousel,
.owl-carousel .owl-item {
-webkit-tap-highlight-color: transparent;
position: relative
}
.owl-carousel {
display: none;
width: 100%;
z-index: 1
}
.owl-carousel .owl-stage {
position: relative;
-ms-touch-action: pan-Y;
touch-action: manipulation;
-moz-backface-visibility: hidden
}
.owl-carousel .owl-stage:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0
}
.owl-carousel .owl-stage-outer {
position: relative;
overflow: hidden;
-webkit-transform: translate3d(0, 0, 0)
}
.owl-carousel .owl-item,
.owl-carousel .owl-wrapper {
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-ms-backface-visibility: hidden;
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0)
}
.owl-carousel .owl-item {
min-height: 1px;
float: left;
-webkit-backface-visibility: hidden;
-webkit-touch-callout: none
}
.owl-carousel .owl-item img {
display: block;
width: 100%
}
.owl-carousel .owl-dots.disabled,
.owl-carousel .owl-nav.disabled {
display: none
}
.no-js .owl-carousel,
.owl-carousel.owl-loaded {
display: block
}
.owl-carousel .owl-dot,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-nav .owl-prev {
cursor: pointer;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none
}
.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel button.owl-dot {
background: 0 0;
color: inherit;
border: none;
padding: 0 !important;
font: inherit
}
.owl-carousel.owl-loading {
opacity: 0;
display: block
}
.owl-carousel.owl-hidden {
opacity: 0
}
.owl-carousel.owl-refresh .owl-item {
visibility: hidden
}
.owl-carousel.owl-drag .owl-item {
-ms-touch-action: pan-y;
touch-action: pan-y;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none
}
.owl-carousel.owl-grab {
cursor: move;
cursor: grab
}
.owl-carousel.owl-rtl {
direction: rtl
}
.owl-carousel.owl-rtl .owl-item {
float: right
}
.owl-carousel .animated {
animation-duration: 1s;
animation-fill-mode: both
}
.owl-carousel .owl-animated-in {
z-index: 0
}
.owl-carousel .owl-animated-out {
z-index: 1
}
.owl-carousel .fadeOut {
animation-name: fadeOut
}
@keyframes fadeOut {
0% {
opacity: 1
}
100% {
opacity: 0
}
}
.owl-height {
transition: height .5s ease-in-out
}
.owl-carousel .owl-item .owl-lazy {
opacity: 0;
transition: opacity .4s ease
}
.owl-carousel .owl-item .owl-lazy:not([src]),
.owl-carousel .owl-item .owl-lazy[src^=""] {
max-height: 0
}
.owl-carousel .owl-item img.owl-lazy {
transform-style: preserve-3d
}
.owl-carousel .owl-video-wrapper {
position: relative;
height: 100%;
background: #000
}
.owl-carousel .owl-video-play-icon {
position: absolute;
height: 80px;
width: 80px;
left: 50%;
top: 50%;
margin-left: -40px;
margin-top: -40px;
background: url(https://templates.envytheme.com/depan/default/assets/css/owl.video.play.png) no-repeat;
cursor: pointer;
z-index: 1;
-webkit-backface-visibility: hidden;
transition: transform .1s ease
}
.owl-carousel .owl-video-play-icon:hover {
-ms-transform: scale(1.3, 1.3);
transform: scale(1.3, 1.3)
}
.owl-carousel .owl-video-playing .owl-video-play-icon,
.owl-carousel .owl-video-playing .owl-video-tn {
display: none
}
.owl-carousel .owl-video-tn {
opacity: 0;
height: 100%;
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
transition: opacity .4s ease
}
.owl-carousel .owl-video-frame {
position: relative;
z-index: 1;
height: 100%;
width: 100%
}

View File

@ -1,56 +0,0 @@
.owl-theme .owl-dots,
.owl-theme .owl-nav {
text-align: center;
-webkit-tap-highlight-color: transparent
}
.owl-theme .owl-nav {
margin-top: 10px
}
.owl-theme .owl-nav [class*=owl-] {
color: #FFF;
font-size: 14px;
margin: 5px;
padding: 4px 7px;
background: #D6D6D6;
display: inline-block;
cursor: pointer;
border-radius: 3px
}
.owl-theme .owl-nav [class*=owl-]:hover {
background: #869791;
color: #FFF;
text-decoration: none
}
.owl-theme .owl-nav .disabled {
opacity: .5;
cursor: default
}
.owl-theme .owl-nav.disabled+.owl-dots {
margin-top: 10px
}
.owl-theme .owl-dots .owl-dot {
display: inline-block;
zoom: 1
}
.owl-theme .owl-dots .owl-dot span {
width: 10px;
height: 10px;
margin: 5px 7px;
background: #D6D6D6;
display: block;
-webkit-backface-visibility: visible;
transition: opacity .2s ease;
border-radius: 30px
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
background: #869791
}

View File

@ -1,895 +0,0 @@
@media only screen and (max-width: 767px) {
.pt-100 {
padding-top: 50px;
}
.pb-70 {
padding-bottom: 20px;
}
.top-header-social {
text-align: center;
margin-bottom: 10px;
}
.text-right {
text-align: center !important;
}
.top-header-area.bg-color {
border: none;
}
.top-header-others {
text-align: center;
}
.top-header-others .languages-list .nice-select {
z-index: 999999;
}
.mean-container a.meanmenu-reveal {
padding: 5px 0 0 0;
}
.mean-container a.meanmenu-reveal span {
display: block;
background: #000;
height: 4px;
margin-top: -5px;
border-radius: 3px;
position: relative;
top: 8px;
}
.mean-container .mean-bar {
background-color: unset;
border-bottom: none;
}
.mean-container .mean-nav {
margin-top: 50px;
}
.main-responsive-nav .logo img {
max-width: 155px !important;
position: relative;
z-index: 99999;
}
.main-responsive-nav .main-responsive-menu {
position: relative;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item {
overflow: hidden;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item .container {
border-top: 1px solid #eeeeee;
padding-left: 0;
padding-right: 0;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item .row {
display: block;
-ms-flex-wrap: unset;
flex-wrap: unset;
margin-left: 0;
margin-right: 0;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item .row .col {
-ms-flex-preferred-size: unset;
flex-basis: unset;
-webkit-box-flex: unset;
-ms-flex-positive: unset;
flex-grow: unset;
max-width: 100%;
width: 85%;
margin-left: auto;
margin-right: auto;
padding-top: 0;
padding-left: 0;
padding-right: 0;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item .row .col:last-child {
margin-top: 15px;
margin-bottom: 15px;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item .row .col:first-child .megamenu-submenu li {
border-top: none;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item a {
width: 100%;
float: unset;
display: block;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu a {
border-bottom: none !important;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .mean-expand {
display: none !important;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu {
overflow: hidden;
display: block !important;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu li {
border-top: none !important;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu li a {
padding: 0;
border: none;
margin-top: 15px;
color: #677294;
font-size: 14px;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu li a:hover, .main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu li a.active {
color: #dd0000;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu li:first-child {
border-top: 1px solid #eeeeee;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .row {
margin-bottom: 20px !important;
}
.others-option-for-responsive .dot-menu {
top: -32px;
}
.others-option-for-responsive .container .container {
right: 20px;
max-width: 280px;
padding-top: 10px;
padding-bottom: 10px;
border-radius: 5px;
text-align: center;
}
.others-option-for-responsive .option-inner .others-options {
margin-left: 0;
}
.others-option-for-responsive .option-inner .others-options .option-item {
margin-bottom: 10px;
}
.others-option-for-responsive .option-inner .others-options .option-item:last-child {
margin-bottom: 0;
}
.others-option-for-responsive .option-inner .others-options .option-item .languages-list {
display: inline-block;
}
.others-option-for-responsive .option-inner .others-options .option-item .languages-list .nice-select .list {
right: auto;
left: 0;
margin: 5px 0 0;
}
.others-option-for-responsive .option-inner .others-options.d-flex {
display: block !important;
}
.main-news-area {
padding-bottom: 50px;
}
.single-main-news .news-content {
padding: 15px;
}
.single-main-news .news-content h3 {
font-size: 20px;
margin-bottom: 12px;
}
.single-main-news .news-content span {
font-size: 14px;
}
.single-main-news-inner .news-content {
padding: 15px;
}
.single-main-news-inner .news-content h3 {
font-size: 20px;
margin-bottom: 12px;
}
.single-main-news-inner .news-content span {
font-size: 14px;
}
.single-main-news-box .news-content h3 {
font-size: 14px;
margin-top: 8px;
margin-bottom: 8px;
}
.most-popular-post .post-content {
padding: 20px;
}
.video-item .video-news-content h3 {
font-size: 18px;
}
.politics-news-post .politics-news-content h3 {
font-size: 18px;
margin-top: 20px;
}
.single-sports-news .sports-news-content {
margin-top: 20px;
}
.single-tech-news .tech-news-content {
margin-top: 20px;
}
.culture-news-post .culture-news-content h3 {
margin-top: 20px;
}
.single-health-news .health-news-content {
padding: 10px;
}
.widget-area {
margin-top: 30px;
}
.widget-area .widget_stay_connected .stay-connected-list li {
-webkit-box-flex: unset;
-ms-flex: unset;
flex: unset;
max-width: unset;
width: 100%;
}
.single-footer-widget .post-content h4 {
margin-top: 15px;
}
.single-footer-widget .post-content .row .col-lg-8 {
padding-left: 15px;
padding-right: 15px;
}
.pl-5, .px-5 {
padding-left: 0 !important;
}
.single-new-news-box .new-news-content h3 {
font-size: 25px;
}
.new-news-area {
padding-bottom: 50px;
}
.breaking-news-content {
margin-bottom: 15px;
text-align: center;
}
.breaking-news-content .breaking-title {
float: unset;
margin-bottom: 10px;
}
.breaking-news-slides .single-breaking-news p {
padding-left: 0;
}
.single-main-default-news-inner .news-content h3 {
font-size: 20px;
}
.single-tech-news-box img {
width: 100%;
}
.single-health-news {
margin-bottom: 30px;
}
.health-news-content {
margin-top: 15px;
}
.culture-news-content {
margin-top: 15px;
}
.widget-area .widget_newsletter {
margin-bottom: 30px !important;
}
.news-slider-item .slider-content {
padding: 15px;
}
.news-slider-item .slider-content h3 {
font-size: 20px;
}
.politics-news-content-box {
margin-top: 15px;
}
.business-news-content-box {
margin-top: 15px;
}
.mt-0, .my-0 {
margin-top: 15px !important;
}
.sports-news-post .sports-news-image img {
margin-bottom: 15px;
}
.author-content {
text-align: center;
margin-top: 30px;
}
.author-content h3 {
font-size: 25px;
margin-bottom: 15px;
}
.about-content h3 {
font-size: 20px;
}
.page-title-content {
text-align: center;
}
.page-title-content h2 {
margin-bottom: 12px;
font-size: 25px;
}
.page-title-content ul {
text-align: center;
position: relative;
right: 0;
top: unset;
-webkit-transform: unset;
transform: unset;
}
.login-form {
padding: 30px 15px;
}
.login-form h2 {
font-size: 20px;
}
.login-form h2::before {
height: 20px;
}
.login-form form .lost-your-password {
text-align: left;
margin-top: 10px;
}
.register-form {
padding: 30px 15px;
}
.register-form h2 {
font-size: 20px;
}
.register-form h2::before {
height: 20px;
}
.register-form form .lost-your-password {
text-align: left;
margin-top: 10px;
}
.error-content h3 {
font-size: 20px;
}
.coming-soon-content {
padding: 30px 25px;
}
.coming-soon-content #timer {
margin-top: 30px;
}
.coming-soon-content #timer div {
width: 100px;
height: 105px;
margin-left: 5px;
margin-right: 5px;
font-size: 20px;
margin-top: 10px;
}
.coming-soon-content h2 {
font-size: 25px;
}
.contact-form {
padding: 20px;
}
.single-news-item .news-content {
margin-top: 15px;
}
.news-area.bg-ffffff .widget-area {
margin-top: 0;
}
.news-area.bg-ffffff .widget-area .widget:last-child {
margin-bottom: 30px;
}
.blog-details-desc .article-content h3 {
font-size: 20px;
}
.blog-details-desc .article-content h4 {
font-size: 20px;
}
.news-details-area.bg-ffffff .widget-area {
margin-top: 0;
}
.news-details-area.bg-ffffff .widget-area .widget:last-child {
margin-bottom: 30px;
}
.blog-details-desc .article-content .desc-overview .desc-image img {
margin-bottom: 20px;
}
}
@media only screen and (min-width: 576px) and (max-width: 767px) {
.top-header-area.bg-color {
border: none;
}
.single-main-news .news-content h3 {
font-size: 30px;
}
.single-main-news-inner .news-content h3 {
font-size: 25px;
}
.single-main-news-box .news-content h3 {
font-size: 18px;
}
.most-popular-post .post-content {
padding: 0;
}
.politics-news-post .politics-news-content h3 {
margin-top: 10px;
}
.culture-news-post .culture-news-content h3 {
margin-top: 10px;
}
.single-health-news .health-news-content {
padding: 30px;
}
.login-form form .lost-your-password {
text-align: right;
margin-top: 0;
}
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
.pt-100 {
padding-top: 70px;
}
.pb-70 {
padding-bottom: 40px;
}
.top-header-social {
text-align: center;
margin-bottom: 10px;
}
.text-right {
text-align: center !important;
}
.top-header-area.bg-color {
border: none;
}
.top-header-others {
text-align: center;
}
.top-header-others .languages-list .nice-select {
z-index: 999999;
}
.mean-container a.meanmenu-reveal {
padding: 5px 0 0 0;
}
.mean-container a.meanmenu-reveal span {
display: block;
background: #000;
height: 4px;
margin-top: -5px;
border-radius: 3px;
position: relative;
top: 8px;
}
.mean-container .mean-bar {
background-color: unset;
border-bottom: none;
}
.mean-container .mean-nav {
margin-top: 50px;
}
.main-responsive-nav .logo img {
max-width: 155px !important;
position: relative;
z-index: 99999;
}
.main-responsive-nav .main-responsive-menu {
position: relative;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item {
overflow: hidden;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item .container {
border-top: 1px solid #eeeeee;
padding-left: 0;
padding-right: 0;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item .row {
display: block;
-ms-flex-wrap: unset;
flex-wrap: unset;
margin-left: 0;
margin-right: 0;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item .row .col {
-ms-flex-preferred-size: unset;
flex-basis: unset;
-webkit-box-flex: unset;
-ms-flex-positive: unset;
flex-grow: unset;
max-width: 100%;
width: 85%;
margin-left: auto;
margin-right: auto;
padding-top: 0;
padding-left: 0;
padding-right: 0;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item .row .col:last-child {
margin-top: 15px;
margin-bottom: 15px;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item .row .col:first-child .megamenu-submenu li {
border-top: none;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item a {
width: 100%;
float: unset;
display: block;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu a {
border-bottom: none !important;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .mean-expand {
display: none !important;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu {
overflow: hidden;
display: block !important;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu li {
border-top: none !important;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu li a {
padding: 0;
border: none;
margin-top: 15px;
color: #677294;
font-size: 14px;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu li a:hover, .main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu li a.active {
color: #dd0000;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu li:first-child {
border-top: 1px solid #eeeeee;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .row {
margin-bottom: 20px !important;
}
.others-option-for-responsive .dot-menu {
top: -32px;
}
.others-option-for-responsive .container .container {
right: 20px;
max-width: 280px;
padding-top: 10px;
padding-bottom: 10px;
border-radius: 5px;
text-align: center;
}
.others-option-for-responsive .option-inner .others-options {
margin-left: 0;
}
.others-option-for-responsive .option-inner .others-options .option-item {
margin-bottom: 10px;
}
.others-option-for-responsive .option-inner .others-options .option-item:last-child {
margin-bottom: 0;
}
.others-option-for-responsive .option-inner .others-options .option-item .languages-list {
display: inline-block;
}
.others-option-for-responsive .option-inner .others-options .option-item .languages-list .nice-select .list {
right: auto;
left: 0;
margin: 5px 0 0;
}
.others-option-for-responsive .option-inner .others-options.d-flex {
display: block !important;
}
.main-news-area {
padding-bottom: 50px;
}
.single-main-news-inner img {
width: 100%;
}
.single-most-popular-news .popular-news-image img {
width: 100%;
}
.single-politics-news .politics-news-image img {
width: 100%;
}
.single-culture-news .culture-news-image img {
width: 100%;
}
.featured-reports-image img {
width: 100%;
}
.most-shared-image img {
width: 100%;
}
.single-footer-widget .post-content h4 {
margin-top: 15px;
}
.single-footer-widget .post-content .row .col-lg-8 {
padding-left: 15px;
padding-right: 15px;
}
.pl-5, .px-5 {
padding-left: 0 !important;
}
.sports-news-content {
margin-top: 15px;
}
.tech-news-content {
margin-top: 15px;
}
.new-news-image img {
width: 100%;
}
.new-news-area {
padding-bottom: 50px;
}
.breaking-news-content {
margin-bottom: 15px;
text-align: center;
}
.breaking-news-content .breaking-title {
float: unset;
margin-bottom: 10px;
}
.breaking-news-slides .single-breaking-news p {
padding-left: 0;
}
.single-main-default-news img {
width: 100%;
}
.single-sports-news-box .sports-news-image img {
width: 100%;
}
.widget-area {
margin-top: 30px;
}
.widget-area .widget_newsletter {
margin-bottom: 30px !important;
}
.single-health-news {
margin-bottom: 30px;
}
.news-slider-item .slider-content h3 {
font-size: 25px;
}
.politics-news-content-box {
margin-top: 15px;
}
.business-news-content-box {
margin-top: 15px;
}
.single-business-news .business-news-image img {
width: 100%;
}
.single-tech-inner-news .tech-news-image img {
width: 100%;
}
.mt-0, .my-0 {
margin-top: 15px !important;
}
.single-video-item .video-news-image img {
width: 100%;
}
.author-content {
text-align: center;
margin-top: 30px;
}
.author-content h3 {
font-size: 25px;
margin-bottom: 15px;
}
.single-overview-news .overview-news-image img {
width: 100%;
}
.page-title-content {
text-align: center;
}
.page-title-content h2 {
margin-bottom: 12px;
font-size: 25px;
}
.page-title-content ul {
text-align: center;
position: relative;
right: 0;
top: unset;
-webkit-transform: unset;
transform: unset;
}
.coming-soon-content {
padding: 30px 25px;
}
.coming-soon-content #timer {
margin-top: 30px;
}
.coming-soon-content #timer div {
width: 100px;
height: 105px;
margin-left: 5px;
margin-right: 5px;
font-size: 20px;
margin-top: 10px;
}
.coming-soon-content h2 {
font-size: 25px;
}
.single-news-item .news-content {
margin-top: 15px;
}
.single-news-item .news-image img {
width: 100%;
}
.news-area.bg-ffffff .widget-area {
margin-top: 0;
}
.news-area.bg-ffffff .widget-area .widget:last-child {
margin-bottom: 30px;
}
.news-details-area.bg-ffffff .widget-area {
margin-top: 0;
}
.news-details-area.bg-ffffff .widget-area .widget:last-child {
margin-bottom: 30px;
}
.blog-details-desc .article-content .desc-overview .desc-image img {
margin-bottom: 20px;
}
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
.top-header-area.bg-color {
border: none;
}
.top-header-others .languages-list .nice-select {
z-index: 999999;
}
.mean-container a.meanmenu-reveal {
padding: 5px 0 0 0;
}
.mean-container a.meanmenu-reveal span {
display: block;
background: #000;
height: 4px;
margin-top: -5px;
border-radius: 3px;
position: relative;
top: 8px;
}
.mean-container .mean-bar {
background-color: unset;
border-bottom: none;
padding-top: 0;
}
.mean-container .mean-nav {
margin-top: 50px;
}
.main-responsive-nav .logo img {
max-width: 155px !important;
position: relative;
z-index: 99999;
}
.main-responsive-nav .main-responsive-menu {
position: relative;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item {
overflow: hidden;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item .container {
border-top: 1px solid #eeeeee;
padding-left: 0;
padding-right: 0;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item .row {
display: block;
-ms-flex-wrap: unset;
flex-wrap: unset;
margin-left: 0;
margin-right: 0;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item .row .col {
-ms-flex-preferred-size: unset;
flex-basis: unset;
-webkit-box-flex: unset;
-ms-flex-positive: unset;
flex-grow: unset;
max-width: 100%;
width: 85%;
margin-left: auto;
margin-right: auto;
padding-top: 0;
padding-left: 0;
padding-right: 0;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item .row .col:last-child {
margin-top: 15px;
margin-bottom: 15px;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item .row .col:first-child .megamenu-submenu li {
border-top: none;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .nav-item a {
width: 100%;
float: unset;
display: block;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu a {
border-bottom: none !important;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .mean-expand {
display: none !important;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu {
overflow: hidden;
display: block !important;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu li {
border-top: none !important;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu li a {
padding: 0;
border: none;
margin-top: 15px;
color: #677294;
font-size: 14px;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu li a:hover, .main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu li a.active {
color: #dd0000;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .megamenu-submenu li:first-child {
border-top: 1px solid #eeeeee;
}
.main-responsive-nav .main-responsive-menu.mean-container .navbar-nav .nav-item.megamenu .dropdown-menu .row {
margin-bottom: 20px !important;
}
.others-option-for-responsive .dot-menu {
top: -32px;
}
.others-option-for-responsive .container .container {
right: 20px;
max-width: 280px;
padding-top: 10px;
padding-bottom: 10px;
border-radius: 5px;
text-align: center;
}
.others-option-for-responsive .option-inner .others-options {
margin-left: 0;
}
.others-option-for-responsive .option-inner .others-options .option-item {
margin-bottom: 10px;
}
.others-option-for-responsive .option-inner .others-options .option-item:last-child {
margin-bottom: 0;
}
.others-option-for-responsive .option-inner .others-options .option-item .languages-list {
display: inline-block;
}
.others-option-for-responsive .option-inner .others-options .option-item .languages-list .nice-select .list {
right: auto;
left: 0;
margin: 5px 0 0;
}
.others-option-for-responsive .option-inner .others-options.d-flex {
display: block !important;
}
.main-news-area {
padding: 50px;
}
.single-main-news-inner .news-content {
padding: 15px;
}
.single-main-news-inner .news-content h3 {
font-size: 18px;
}
.single-main-news-box .news-content {
padding-left: 10px;
padding-right: 10px;
}
.single-main-news-box .news-content h3 {
font-size: 13px;
}
.single-footer-widget .post-content .post-image a img {
max-width: 60px;
}
.single-footer-widget .social li a i {
height: 25px;
width: 25px;
line-height: 25px;
font-size: 16px;
}
.widget-area .widget_stay_connected .stay-connected-list li {
-webkit-box-flex: unset;
-ms-flex: unset;
flex: unset;
max-width: unset;
width: 100%;
}
.new-news-area {
padding-bottom: 50px;
}
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
.main-navbar .navbar .navbar-brand {
max-width: 135px;
}
.main-navbar .navbar .others-options .option-item .search-box {
width: 210px;
}
}
/*# sourceMappingURL=responsive.css.map */

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 335 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 483 KiB

Some files were not shown because too many files have changed in this diff Show More