Download the PHP package sprintive/seeds without Composer
On this page you can find all versions of the php package sprintive/seeds. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sprintive/seeds
More information about sprintive/seeds
Files in sprintive/seeds
Package seeds
Short Description Kickoff distro for SME's, Curated by Sprintive
License GPL-2.0-or-later
Informations about the package seeds
Seeds: Kickoff distribution for SMEs
Light distribution to kick off all projects regardless scale, you can use it to speed up your projects.
Seeds focusing on Arabic website with RTL interfaces so if you have any issue with your Arabic language website you are more than welcome to contribute with us.
Sponsored and developed by:
Sprintive is a web solution provider which transform ideas into realities, where humans are the center of everything, and Drupal is the heart of our actions, it has built and delivered Drupal projects focusing on a deep understanding of business goals and objective to help companies innovate and grow.
Documentation
- Creating a subtheme
- Styling using sass
- Enabling RTL styling
- Mixins you can use in sass
- Sass placeholder classes that you can extend
- CKEditor RTL and LTR styling
- Using responsive font sizes in sass
- Disable bootstrap container in certian content types
- Override blazy loader
- Set default medias
Creating a subtheme
Creating a subtheme is simple, you have to have a git init in your project, then by running the create_subtheme.sh
and following the instructions, you would have a ready-to-go theme in your hands. Run:
You will be asked to enter you theme machine name and label, after that, the theme is created and activated automatically.
Styling using sass
After you created your subtheme, it will automatically run npm install
inside the subtheme folder, all you have to do is running:
Then begin styling. After you are done, make sure to run:
To build and minify the css when deploying to production.
There are certian settings you can modify in the theme.json
:
Enabling RTL styling
In you THEMENAME.theme
, find the following lines:
Comment this out to enable RTL styling.
Mixins you can use in sass
@include form($gutter: 15px, $min-width: 180px);
This mixin defines general classes for forms:
- .form-2col
- .form-3col
- .form-4col
When you are creating a webform, you can create a container and then add one of the above to act as a row that contains form elements. By default, it is added for all webforms.
@include form-inline($gutter: 5px, $break: 767px);
Define an inline form with gutter and a maximum breakpoint.
@include responsive-image-blazy($lg, $md, $sm);
Using it with the combination of seeds_coat
responsive image styles, it can prove useful. This mixin is used when you want to use blazy with core responsive image styles
to avoid content reflows using padding-top
check the _mixin.scss
file for additonal info.
Where 'w' is the width of the image and 'h' is the height. The mixin uses three bootstrap breakpoints: lg, md, sm
@include shadow();
Sets a shadowy container on the element. Useful with images.
@include fontawesome($content, $psuedo: 'before');
Includes a fontawesome icon. See Fontawesome v4
Sass placeholder classes that you can extend
@extend %center
Centers an element.
@extend %absolute-full
Set position to absolute and stretch it.
CKEditor RTL and LTR styling
Go to /admin/config/content/seeds
or Admin >> Configuration >> Content Authoring >> Seeds Content Settings
, You will see CKEditor styling settings. By default, it is initialized, but if you want to change it, feel free to do it.
Using responsive font sizes in sass
in your _theme-variables.scss
file, comment out this line:
You can now use the bootstrap 4 build in mixin:
Disable bootstrap container in certian content types
Go to /admin/structure/types
, Click edit on a content type. You will be met with various settings. At the bottom, you will see Container settings
, Navigate there and enable Fluid container
to disable the bootstrap container.
Override blazy loader
Go to /admin/config/seeds_media
. You will see blazy settings. Check the Override blazy loader?
then set the background image and color to something you like, hit save and flush the cache, you should see the loader takes a different appearence.
Set default medias
We also provide a neat feature, you can set some default medias to not allow accidental edits by the client. Simply, go edit any media, you will see at the bottom a checkbox, Default media
, check it and save, now only users with Bypass Default Media Access
permission can edit the media.
All versions of seeds with dependencies
drush/drush Version ^13.3.3
drupal/coder Version *
composer/composer Version ^2
cweagans/composer-patches Version 1.7.3
drupal/core-composer-scaffold Version ^10.0
drupal/core Version 11.1.5
drupal/seeds_editor Version ^1.1
drupal/seeds_media Version ^1.0
drupal/seeds_pollination Version ^1.0
drupal/seeds_development Version ^1.0
drupal/seeds_security Version ^2.0
drupal/seeds_seo Version ^2.0
drupal/seeds_performance Version ^1.0
drupal/seeds_layouts Version ^2.0
drupal/seeds_toolbar Version ^2.0
drupal/seeds_ui Version ^1.0
drupal/seeds_page Version ^1.0
drupal/seeds_administration Version ^2.0