
{"id":5327,"date":"2018-12-01T11:57:21","date_gmt":"2018-12-01T16:57:21","guid":{"rendered":"http:\/\/www.cogis2020.eval-expert.com\/?page_id=5327"},"modified":"2018-12-01T11:57:21","modified_gmt":"2018-12-01T16:57:21","slug":"message-box-styles","status":"publish","type":"page","link":"https:\/\/www.cogis2020.eval-expert.com\/?page_id=5327","title":{"rendered":"Message Box Styles"},"content":{"rendered":"<h3 class=\"margin-top-3\">Message box styles:<\/h3>\n<h4>&lsquo;Info&rsquo; style:<\/h4>\n<div class=\"info \"><div class=\"msg-box-icon\">This is a sample of the &lsquo;info&rsquo; style message box <em>shortcode<\/em>. To use this style use the following shortcode: <\/div><\/div>\n<div class=\"divider top-of-page\"><a href=\"#top\" title=\"Haut de page\">Retour en haut de page<\/a><\/div>\n<h4>&lsquo;success&rsquo; style:<\/h4>\n<div class=\"success \"><div class=\"msg-box-icon\">This is a sample of the &lsquo;success&rsquo; style message box <em>shortcode<\/em>. To use this style use the following shortcode: <\/div><\/div>\n<div class=\"divider top-of-page\"><a href=\"#top\" title=\"Haut de page\">Retour en haut de page<\/a><\/div>\n<h4>&lsquo;warning&rsquo; style:<\/h4>\n<div class=\"warning \"><div class=\"msg-box-icon\">This is a sample of the &lsquo;warning&rsquo; style message box <em>shortcode<\/em>. To use this style use the following shortcode: <\/div><\/div>\n<div class=\"divider top-of-page\"><a href=\"#top\" title=\"Haut de page\">Retour en haut de page<\/a><\/div>\n<h4>&lsquo;erroneous&rsquo; style:<\/h4>\n<div class=\"erroneous \"><div class=\"msg-box-icon\">This is a sample of the &lsquo;erroneous&rsquo; style message box <em>shortcode<\/em>. To use this style use the following shortcode: <\/div><\/div>\n<div class=\"divider top-of-page\"><a href=\"#top\" title=\"Haut de page\">Retour en haut de page<\/a><\/div>\n<h4>&lsquo;simple&rsquo; style:<\/h4>\n<div class=\"simple \" style=\"background-color:#EEEEEE; color:#333333;\"><div class=\"inner-padding\">Your info message goes here&#8230;<\/div><\/div>\n<div class=\"divider top-of-page\"><a href=\"#top\" title=\"Haut de page\">Retour en haut de page<\/a><\/div>\n<h4>&lsquo;pre-formatted&rsquo; text style:<\/h4>\n<pre>This is an example of 'preformatted' text.\r\nTo use this style use the following under HTML mode:<\/pre>\n<div class=\"divider top-of-page\"><a href=\"#top\" title=\"Haut de page\">Retour en haut de page<\/a><\/div>\n<h4>&lsquo;custom&rsquo; style (example 1):<\/h4>\n<div class=\"custom \" style=\"background:-moz-linear-gradient(center top , #FFFFFF, #EEEEEE) repeat scroll 0 0 transparent;\n\t\t\t\t\t\t   background: -webkit-gradient(linear, center top, center bottom, from(#FFFFFF), to(#EEEEEE));\n\t\t\t\t\t\t   background: -o-linear-gradient(top, #FFFFFF 0%,#EEEEEE 99%); \/* Opera 11.10+ *\/\n\t\t\t\t\t\t   background: -ms-linear-gradient(top, #FFFFFF 0%,#EEEEEE 99%); \/* IE10+ *\/\n\t\t\t\t\t\t   margin-left:0 !important;\n\t\t\t\t\t\t   margin-right:0 !important;\n\t\t\t\t\t\t   border:1px solid #BBBBBB;\n\t\t\t\t\t\t   background-color: #EEEEEE;\n\t\t\t\t\t\t   width:100%;\n\t\t\t\t\t\t   color:#333333;\"><div class=\"inner-padding\">This is an example of a custom type message box with default parameters. To use this style use the following shortcode:<\/div><\/div>\n<div class=\"divider top-of-page\"><a href=\"#top\" title=\"Haut de page\">Retour en haut de page<\/a><\/div>\n<h4>&lsquo;custom&rsquo; style (example 2):<\/h4>\n<div class=\"custom \" style=\"background:-moz-linear-gradient(center top , #1AAABA, #1AAABA) repeat scroll 0 0 transparent;\n\t\t\t\t\t\t   background: -webkit-gradient(linear, center top, center bottom, from(#1AAABA), to(#1AAABA));\n\t\t\t\t\t\t   background: -o-linear-gradient(top, #1AAABA 0%,#1AAABA 99%); \/* Opera 11.10+ *\/\n\t\t\t\t\t\t   background: -ms-linear-gradient(top, #1AAABA 0%,#1AAABA 99%); \/* IE10+ *\/\n\t\t\t\t\t\t   margin-left:0 !important;\n\t\t\t\t\t\t   margin-right:0 !important;\n\t\t\t\t\t\t   border:1px solid #167681;\n\t\t\t\t\t\t   background-color: #1AAABA;\n\t\t\t\t\t\t   width:100%;\n\t\t\t\t\t\t   color:#ffffff;\"><div class=\"inner-padding\">This is an example of a custom type message box with various parameters. You could specify <strong>width<\/strong>, <strong>start_color<\/strong>, <strong>end_color<\/strong>, <strong>border<\/strong> (refers to the border color), and <strong>color<\/strong> (refers to the text color). To use this style use the following shortcode:<\/div><\/div>\n[code language=\u00a0\u00bbphp\u00a0\u00bb gutter=\u00a0\u00bbfalse\u00a0\u00bb tabsize=\u00a0\u00bb4&Prime; toolbar=\u00a0\u00bbtrue\u00a0\u00bb][message type=&quot;custom&quot; width=&quot;100%&quot; start_color=&quot;#FD7800&quot; end_color=&quot;#1AAABA&quot; border=&quot;#167681&quot; color=&quot;#ffffff&quot;]Your info message goes here&#8230;[\/message][\/code]\n<div class=\"divider top-of-page\"><a href=\"#top\" title=\"Haut de page\">Retour en haut de page<\/a><\/div>\n<h4>&lsquo;custom&rsquo; style (example 3):<\/h4>\n<div class=\"custom \" style=\"background:-moz-linear-gradient(center top , #343A41, #343A41) repeat scroll 0 0 transparent;\n\t\t\t\t\t\t   background: -webkit-gradient(linear, center top, center bottom, from(#343A41), to(#343A41));\n\t\t\t\t\t\t   background: -o-linear-gradient(top, #343A41 0%,#343A41 99%); \/* Opera 11.10+ *\/\n\t\t\t\t\t\t   background: -ms-linear-gradient(top, #343A41 0%,#343A41 99%); \/* IE10+ *\/\n\t\t\t\t\t\t   margin-left:0 !important;\n\t\t\t\t\t\t   margin-right:0 !important;\n\t\t\t\t\t\t   border:1px solid #333333;\n\t\t\t\t\t\t   background-color: #343A41;\n\t\t\t\t\t\t   width:50%;\n\t\t\t\t\t\t   color:#ffffff;\"><div class=\"inner-padding\">Here&rsquo;s an example an a custom message box with width of &lsquo;50%&rsquo;. To use this style use the following shortcode:<\/div><\/div>\n[code language=\u00a0\u00bbphp\u00a0\u00bb gutter=\u00a0\u00bbfalse\u00a0\u00bb tabsize=\u00a0\u00bb4&Prime; toolbar=\u00a0\u00bbtrue\u00a0\u00bb][message type=&quot;custom&quot; width=&quot;50%&quot; start_color=&quot;#343A41&quot; end_color=&quot;#343A41&quot; border=&quot;#333333&quot; color=&quot;#ffffff&quot;]Your info message goes here&#8230;[\/message][\/code]\n<div class=\"divider top-of-page\"><a href=\"#top\" title=\"Haut de page\">Retour en haut de page<\/a><\/div>\n<h4>&lsquo;custom&rsquo; style (example 4 &#8211; center alignment):<\/h4>\n<div class=\"custom \" style=\"background:-moz-linear-gradient(center top , #BF6672, #BF6672) repeat scroll 0 0 transparent;\n\t\t\t\t\t\t   background: -webkit-gradient(linear, center top, center bottom, from(#BF6672), to(#BF6672));\n\t\t\t\t\t\t   background: -o-linear-gradient(top, #BF6672 0%,#BF6672 99%); \/* Opera 11.10+ *\/\n\t\t\t\t\t\t   background: -ms-linear-gradient(top, #BF6672 0%,#BF6672 99%); \/* IE10+ *\/\n\t\t\t\t\t\t   margin-left:auto !important;\n\t\t\t\t\t\t   margin-right:auto !important;\n\t\t\t\t\t\t   border:1px solid #98545d;\n\t\t\t\t\t\t   background-color: #BF6672;\n\t\t\t\t\t\t   width:50%;\n\t\t\t\t\t\t   color:#ffffff;\"><div class=\"inner-padding\">Here&rsquo;s an example an a custom message box with <strong>center<\/strong> alignment, the other options are <strong>left<\/strong> (default) and <strong>right<\/strong>. To use this style use the following shortcode:<\/div><\/div>\n[code language=\u00a0\u00bbphp\u00a0\u00bb gutter=\u00a0\u00bbfalse\u00a0\u00bb tabsize=\u00a0\u00bb4&Prime; toolbar=\u00a0\u00bbtrue\u00a0\u00bb][message type=&quot;custom&quot; width=&quot;50%&quot; align=&quot;center&quot; start_color=&quot;#BF6672&quot; end_color=&quot;#BF6672&quot; border=&quot;#98545d&quot; color=&quot;#ffffff&quot;]Your info message goes here&#8230;[\/message][\/code]\n<div class=\"divider top-of-page\"><a href=\"#top\" title=\"Haut de page\">Retour en haut de page<\/a><\/div>\n<h4>&lsquo;custom&rsquo; style (example 5 &#8211; right alignment):<\/h4>\n<div class=\"custom \" style=\"background:-moz-linear-gradient(center top , #FBD864, #FBD864) repeat scroll 0 0 transparent;\n\t\t\t\t\t\t   background: -webkit-gradient(linear, center top, center bottom, from(#FBD864), to(#FBD864));\n\t\t\t\t\t\t   background: -o-linear-gradient(top, #FBD864 0%,#FBD864 99%); \/* Opera 11.10+ *\/\n\t\t\t\t\t\t   background: -ms-linear-gradient(top, #FBD864 0%,#FBD864 99%); \/* IE10+ *\/\n\t\t\t\t\t\t   margin-left:auto !important;\n\t\t\t\t\t\t   margin-right:0 !important;\n\t\t\t\t\t\t   border:1px solid #e6c043;\n\t\t\t\t\t\t   background-color: #FBD864;\n\t\t\t\t\t\t   width:50%;\n\t\t\t\t\t\t   color:#735800;\"><div class=\"inner-padding\">Here&rsquo;s an example an a custom message box with <strong>right<\/strong> alignment, the other options are <strong>left<\/strong> (default) and <strong>center<\/strong>. To use this style use the following shortcode:<\/div><\/div>\n[code language=\u00a0\u00bbphp\u00a0\u00bb gutter=\u00a0\u00bbfalse\u00a0\u00bb tabsize=\u00a0\u00bb4&Prime; toolbar=\u00a0\u00bbtrue\u00a0\u00bb][message type=&quot;custom&quot; width=&quot;50%&quot; align=&quot;center&quot; start_color=&quot;#FBD864&quot; end_color=&quot;#FBD864&quot; border=&quot;#e6c043&quot; color=&quot;#735800&quot;]Your info message goes here&#8230;[\/message][\/code]\n<div class=\"divider top-of-page\"><a href=\"#top\" title=\"Haut de page\">Retour en haut de page<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Message box styles: &lsquo;Info&rsquo; style: &lsquo;success&rsquo; style: &lsquo;warning&rsquo; style: &lsquo;erroneous&rsquo; style: &lsquo;simple&rsquo; style: &lsquo;pre-formatted&rsquo; text style: This is an example of &lsquo;preformatted&rsquo; text. To use this style use the following under HTML mode: &lsquo;custom&rsquo; style (example 1): &lsquo;custom&rsquo; style (example 2): [code language=\u00a0\u00bbphp\u00a0\u00bb gutter=\u00a0\u00bbfalse\u00a0\u00bb tabsize=\u00a0\u00bb4&Prime; toolbar=\u00a0\u00bbtrue\u00a0\u00bb]Your info<\/p>\n","protected":false},"author":7,"featured_media":0,"parent":59,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5327","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.cogis2020.eval-expert.com\/index.php?rest_route=\/wp\/v2\/pages\/5327"}],"collection":[{"href":"https:\/\/www.cogis2020.eval-expert.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.cogis2020.eval-expert.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.cogis2020.eval-expert.com\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cogis2020.eval-expert.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5327"}],"version-history":[{"count":0,"href":"https:\/\/www.cogis2020.eval-expert.com\/index.php?rest_route=\/wp\/v2\/pages\/5327\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.cogis2020.eval-expert.com\/index.php?rest_route=\/wp\/v2\/pages\/59"}],"wp:attachment":[{"href":"https:\/\/www.cogis2020.eval-expert.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}