

CREATE TABLE `theme_rule` (
  `rule_id` int(11) NOT NULL,
  `rule_name` varchar(250) DEFAULT NULL,
  `rule_description` varchar(500) DEFAULT NULL,
  `rule_content` longtext,
  `rule_params` text,
  `rule_status` int(11) DEFAULT '1',
  `created_at` date DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `updated_at` date DEFAULT NULL,
  `updated_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


INSERT INTO `theme_rule` (`rule_id`, `rule_name`, `rule_description`, `rule_content`, `rule_params`, `rule_status`, `created_at`, `created_by`, `updated_at`, `updated_by`) VALUES
(1, 'Login Background', 'Background for Login page', '#login-overlay {\r\n    position: absolute;\r\n    width: 100%;\r\n    height: 100%;\r\n    background: {{background-gradient}}\r\n    background-size: 400% 400%;\r\n    -webkit-animation: Gradient 15s ease infinite;\r\n    -moz-animation: Gradient 15s ease infinite;\r\n    animation: Gradient 15s ease infinite;\r\n}\r\n\r\n@-webkit-keyframes Gradient {\r\n    0% {\r\n        background-position: 0% 50%\r\n    }\r\n    50% {\r\n        background-position: 100% 50%\r\n    }\r\n    100% {\r\n        background-position: 0% 50%\r\n    }\r\n}\r\n\r\n@-moz-keyframes Gradient {\r\n    0% {\r\n        background-position: 0% 50%\r\n    }\r\n    50% {\r\n        background-position: 100% 50%\r\n    }\r\n    100% {\r\n        background-position: 0% 50%\r\n    }\r\n}\r\n\r\n@keyframes Gradient {\r\n    0% {\r\n        background-position: 0% 50%\r\n    }\r\n    50% {\r\n        background-position: 100% 50%\r\n    }\r\n    100% {\r\n        background-position: 0% 50%\r\n    }\r\n}', '[{\"param_name\":\"background-gradient\",\"param_default\":\"gray\",\"param_type\":\"text\"}]', 1, '2021-03-07', 2, '2021-03-07', 2),
(2, 'Login welcome page', 'Description for login page', '.pvw-welcome-text span {\r\n  display: none;\r\n}\r\n.pvw-welcome-text:after {\r\n  content: \'{{description}}\';\r\n}\r\n\r\n.pvw-title-text span {\r\n  display: none;\r\n}\r\n.pvw-title-text:after {\r\n  content: \'{{title}}\';\r\n}\r\n.pvw-login-copyright span {\r\n  display: none;\r\n}\r\n.pvw-login-copyright:after {\r\n  content: \'{{copyright}}\';\r\n}', '[{\"param_name\":\"description\",\"param_default\":\"\",\"param_type\":\"text\"},{\"param_name\":\"title\",\"param_default\":\"\",\"param_type\":\"text\"},{\"param_name\":\"copyright\",\"param_default\":\"\",\"param_type\":\"text\"}]', 1, '2021-03-07', 2, '2021-03-07', 2),
(8, 'Breadcrumb', 'Available Option\r\n <br>\r\n- Background color\r\n<br>\r\n- Border Radius\r\n<br>\r\n- Breadcrumb Padding\r\n<br>\r\n- Breadcrumb Margin Bottom\r\n<br>\r\n- Border Radius', '.row.wrapper.border-bottom.white-bg.page-heading {\r\n    background: {{background-color}};\r\n    border-radius: {{border-radius}}\r\n}\r\n\r\n.breadcrumb {\r\n    background-color: {{breadcrumb-background-color}} ;\r\n    padding: {{breadcrumb-padding}};\r\n    margin-bottom: {{breadcrumb-margin-bottom}};\r\n    color: {{breadcrumb-color}}\r\n}', '[{\"param_name\":\"background-color\",\"param_default\":\"#eeeeee\",\"param_type\":\"colorpicker\"},{\"param_name\":\"breadcrumb-background-color\",\"param_default\":\"#eeeeee\",\"param_type\":\"colorpicker\"},{\"param_name\":\"breadcrumb-padding\",\"param_default\":{\"value\":\"0\",\"unit\":\"px\"},\"param_type\":\"unit\"},{\"param_name\":\"breadcrumb-margin-bottom\",\"param_default\":{\"value\":\"0\",\"unit\":\"px\"},\"param_type\":\"unit\"},{\"param_name\":\"border-radius\",\"param_default\":{\"value\":\"0\",\"unit\":\"px\"},\"param_type\":\"unit\"},{\"param_name\":\"breadcrumb-color\",\"param_default\":\"#676a6c\",\"param_type\":\"colorpicker\"}]', 1, '2020-11-13', 2, '2021-03-08', 2),
(12, 'Button Styling Primary', 'Change Button appearance', '.btn.btn-primary {\r\n    background-color: {{background-color}};\r\n    border-color: {{border-color}};\r\n    color: {{color}};\r\n    padding:{{padding}}\r\n}', '[{\"param_name\":\"background-color\",\"param_default\":\"#18a689\",\"param_type\":\"colorpicker\"},{\"param_name\":\"border-color\",\"param_default\":\"#18a689\",\"param_type\":\"colorpicker\"},{\"param_name\":\"color\",\"param_default\":\"#FFFFFF\",\"param_type\":\"colorpicker\"},{\"param_name\":\"padding\",\"param_default\":\"4px 12px\",\"param_type\":\"text\"}]', 1, '2020-11-13', 2, '2021-03-06', 2),
(13, 'Button styling success', 'Change success button appearance', '.btn.btn-success{\r\n    background-color: {{background-color}};\r\n    border-color: {{border-color}};\r\n    color: {{color}};\r\n}', '[{\"param_name\":\"background-color\",\"param_default\":\"#1a7bb9\",\"param_type\":\"colorpicker\"},{\"param_name\":\"border-color\",\"param_default\":\"#1a7bb9\",\"param_type\":\"colorpicker\"},{\"param_name\":\"color\",\"param_default\":\"#ffffff\",\"param_type\":\"colorpicker\"}]', 1, '2020-11-13', 2, '2021-03-08', 2),
(14, 'Sidebar background', 'Change sidebar background', '.navbar-default .nav > li > a:hover, .navbar-default .nav > li > a:focus {\r\n   background-color: {{background-color}};\r\n    color: {{color}};\r\n}', '[{\"param_name\":\"background-color\",\"param_default\":\"#293846\",\"param_type\":\"colorpicker\"},{\"param_name\":\"color\",\"param_default\":\"#676a6c\",\"param_type\":\"colorpicker\"}]', 1, '2020-11-13', 2, '2021-03-08', 2),
(18, 'Sidebar Brand Image', 'Available Option \r\n<br>\r\n- Border Radius [unit]\r\n<br>\r\n- Border  [text]', '.side-brand-image {\r\n    border-radius: {{border-radius}};\r\n    border: {{border}};\r\n}', '[{\"param_name\":\"border-radius\",\"param_default\":{\"value\":\"5\",\"unit\":\"px\"},\"param_type\":\"unit\"},{\"param_name\":\"border\",\"param_default\":\"0px\",\"param_type\":\"text\"}]', 1, '2020-11-18', 2, '2020-11-18', 2),
(19, 'Avatar Image', 'Avatar Image Styling', '.avatar-img {\r\n    -webkit-box-shadow: {{box-shadow}}\r\n    -moz-box-shadow: {{box-shadow}}\r\n     box-shadow: {{box-shadow}}\r\n     margin-top: 2px;\r\n}', '[{\"param_name\":\"box-shadow\",\"param_default\":\"9px 9px 20px -15px rgba(0,0,0,0.75);\",\"param_type\":\"text\"}]', 1, '2020-11-25', 2, '2020-11-25', 2),
(20, 'Language Flag', 'Language Flag size', '.language-flag{\r\n     width: {{width}}\r\n}', '[{\"param_name\":\"width\",\"param_default\":{\"value\":\"25\",\"unit\":\"px\"},\"param_type\":\"unit\"}]', 1, '2020-11-25', 2, '2020-11-25', 2),
(21, 'Nav Header', 'Background Color For Sidebar Logo  Area Background', '.nav-header{\r\n   background: {{background-color}};\r\n}', '[{\"param_name\":\"background-color\",\"param_default\":\"#c34b47\",\"param_type\":\"colorpicker\"}]', 1, '2021-03-01', 2, '2021-03-01', 2),
(22, 'Menu Background', 'Background color for the whole of the menu', '.pace-done {\r\nbackground-color: {{background-color}}\r\n}', '[{\"param_name\":\"background-color\",\"param_default\":\"#c34b47\",\"param_type\":\"colorpicker\"}]', 1, '2021-03-06', 2, '2021-03-06', 2),
(23, 'Page Body Background Color', 'Body background color', 'body {\r\nbackground-color : {{background-color}}\r\n}', '[{\"param_name\":\"background-color\",\"param_default\":\"#c34b47\",\"param_type\":\"colorpicker\"}]', 1, '2021-03-06', 2, '2021-03-06', 2),
(25, 'Side Bar First Level Default', 'Default Menu Colour', '#side-menu > li > a {\r\nbackground-color : {{background-color}};\r\ncolor : {{color}};\r\nborder-bottom: {{menu-panel-bottom-border}};\r\n}\r\n\r\n#side-menu > li.active > a {\r\nbackground: {{menu-panel-color-active}};\r\n}', '[{\"param_name\":\"background-color\",\"param_default\":\"#000000\",\"param_type\":\"colorpicker\"},{\"param_name\":\"color\",\"param_default\":\"#ffffff\",\"param_type\":\"colorpicker\"},{\"param_name\":\"menu-panel-color-active\",\"param_default\":\"#b96452\",\"param_type\":\"colorpicker\"},{\"param_name\":\"menu-panel-bottom-border\",\"param_default\":\"1px dashed #ffffff\",\"param_type\":\"text\"}]', 1, '2021-03-06', 2, '2021-03-06', 2),
(26, 'Side Bar Second Level Default', 'Default Colours For Second Level Menu', 'ul.nav-second-level {\r\n    background: {{menu-panel-background-color}};\r\n}\r\n\r\n.nav-second-level li, .nav-third-level li {\r\nbackground: {{menu-panel-color}};\r\n}\r\n\r\n.nav-second-level li a, .nav-third-level li a {\r\ncolor: {{menu-text-color}};\r\nborder-bottom: {{menu-panel-bottom-border}}\r\n}\r\n\r\n.nav-second-level li:hover, .nav-third-level li:hover {\r\nbackground: transparent;\r\n}\r\n\r\n.navbar-default .nav > li > a:hover, .navbar-default .nav > li > a:focus {\r\nbackground: {{menu-panel-color-hover}};\r\ncolor: {{menu-text-color-hover}};\r\n}\r\n\r\n.nav-second-level li.active, .nav-third-level li.active {\r\nbackground: {{menu-panel-color-active}};\r\n}\r\n\r\n.nav-second-level li.active > a, .nav-third-level li.active > a {\r\ncolor: {{menu-text-color-active}};\r\n}\r\n', '[{\"param_name\":\"menu-panel-background-color\",\"param_default\":\"#222c61\",\"param_type\":\"colorpicker\"},{\"param_name\":\"menu-panel-color\",\"param_default\":\"#222c61\",\"param_type\":\"colorpicker\"},{\"param_name\":\"menu-text-color\",\"param_default\":\"#ffffff\",\"param_type\":\"colorpicker\"},{\"param_name\":\"menu-panel-color-hover\",\"param_default\":\"#ffffff\",\"param_type\":\"colorpicker\"},{\"param_name\":\"menu-text-color-hover\",\"param_default\":\"#222c61\",\"param_type\":\"colorpicker\"},{\"param_name\":\"menu-panel-color-active\",\"param_default\":\"#2c3a88\",\"param_type\":\"colorpicker\"},{\"param_name\":\"menu-text-color-active\",\"param_default\":\"#ffffff\",\"param_type\":\"colorpicker\"},{\"param_name\":\"menu-panel-bottom-border\",\"param_default\":\"1px dashed #ffffff\",\"param_type\":\"text\"}]', 1, '2021-03-06', 2, '2021-03-06', 2),
(27, 'Side Bar Active Menu Border', 'Active Menu Border', '.nav > li.active {\r\n    border-left: 4px solid {{active-menu-border-color}};\r\n}', '[{\"param_name\":\"active-menu-border-color\",\"param_default\":\"#615922\",\"param_type\":\"colorpicker\"}]', 1, '2021-03-06', 2, '2021-03-06', 2),
(31, 'Side bar Minimal Header Background', 'Background For When Sidebar Is Minimum', 'body.mini-navbar .nav-header {\r\nbackground-color : {{background-color}}\r\n}', '[{\"param_name\":\"background-color\",\"param_default\":\"#c34b47\",\"param_type\":\"colorpicker\"}]', 1, '2021-03-08', 2, '2021-03-08', 2);




ALTER TABLE `theme_rule`
  ADD PRIMARY KEY (`rule_id`);


ALTER TABLE `theme_rule`
  MODIFY `rule_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32;

