-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue #268: added bootstrap 4 framework class
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
namespace YAWK\FRAMEWORK\BOOTSTRAP4 { | ||
/** | ||
* <b>Bootstrap 4 CSS methods </b> | ||
* <p>Extends \YAWK\bootstrap - this class serves all bootstrap 4 component methods | ||
* and set this->cssCode variable that will be used by \YAWK\bootstrap </p> | ||
* | ||
* @author Daniel Retzl <[email protected]> | ||
* @copyright 2009-2015 Daniel Retzl yawk.io | ||
* @license https://opensource.org/licenses/MIT | ||
* @version 1.0.0 | ||
* @link http://yawk.io | ||
* @annotation Helper function to output custom (overriden) bootstrap 4 css (settings.css) | ||
*/ | ||
class bootstrap4 extends \YAWK\FRAMEWORK\cssFramework | ||
{ | ||
/** @var string all the css as string */ | ||
public $cssCode = ''; | ||
|
||
/** | ||
* Bootstrap 4: CARDS Component CSS Code | ||
* @author Daniel Retzl <[email protected]> | ||
* @version 1.0.0 | ||
* @link http://yawk.io | ||
* @annotation add bootstrap 4 cards component to this css code string | ||
*/ | ||
public function bs4_Cards() | ||
{ | ||
// cards css code | ||
$this->cssCode = " | ||
/* CARDS */ | ||
/* .... */ | ||
"; | ||
} | ||
} | ||
} |