1/***************************************************************** 2 * SearchPattern plugin for dokuwiki / CSS Style 3 * Author : Matthieu Rioteau (matthieu<dot>rioteau<at>skf<dot>com) 4 * Creation : 2009-12-22 5 * Releases list : 6 * - ver 0.1 : 2010-01-04 : Initial release 7 * - ver 0.2 : 2010-07-05 : Restriciton/exclusion capability 8 * - ver 0.3 : 2013-04-07 : Leo Eibler <dokuwiki@sprossenwanne.at>: add no result td.sp_nores background-color 9 * - ver 20130616 : Leo Eibler <dokuwiki@sprossenwanne.at>: add sp_warning, sp_warning_pat 10 *****************************************************************/ 11 12div.dokuwiki div.sp_main div.sp_main{ /* the div containing the result table (not the error message)*/ 13} 14 15div.dokuwiki div.sp_main table.sp_main_table{ /*the table containing the results (not the error message) / standard wiki type is applied first*/ 16} 17 18div.dokuwiki div.sp_main table.sp_main_table tr{ /*the rows of the table*/ 19} 20 21div.dokuwiki div.sp_main table.sp_main_table th, 22div.dokuwiki div.sp_main table.sp_main_table td{ /*the cells of the table*/ 23 text-align: center; 24 padding: 0.2em 2em; 25} 26 27div.dokuwiki div.sp_main table.sp_main_table tr.sp_title{ /*the main title row of the table*/ 28} 29 30div.dokuwiki div.sp_main table.sp_main_table th.sp_title{ /*the main title cell of the table*/ 31 background-color: #CAD2D7; 32 font-size: 1.2em; 33 font-weight: bold; 34} 35 36div.dokuwiki div.sp_main table.sp_main_table span.sp_src{ /*the pattern displayed in title*/ 37 font-style: italic; 38 font-weight: bolder; 39 color : #489948; 40} 41 42div.dokuwiki div.sp_main table.sp_main_table span.sp_src_params{ /*the search parameters displayed in title*/ 43 font-weight: normal; 44 font-style: italic; 45 color: gray; 46 font-size: 0.9em; 47} 48 49div.dokuwiki div.sp_main table.sp_main_table tr.sp_warning{ /*the warning row*/ 50} 51 52div.dokuwiki div.sp_main table.sp_main_table td.sp_warning{ /*the warning cell*/ 53 font-size: 0.8em; 54 line-height: 0.9em; 55 background-color: #FFFFCC; 56 color: #FF8000; 57 font-style: italic; 58} 59 60div.dokuwiki div.sp_main table.sp_main_table td.sp_warning ul { /*the list inside warning cells*/ 61 color: #FF8000; 62 font-style: normal; 63 text-align: left; 64 margin-bottom: 0px; 65} 66 67div.dokuwiki div.sp_main table.sp_main_table td.sp_options { /*the options cell*/ 68 background-color: #EEEEEE; 69 font-weight: bold; 70} 71 72div.dokuwiki div.sp_main table.sp_main_table td.sp_options ul { /*the inside options cell*/ 73 color: black; 74 text-align: left; 75 font-weight: normal; 76 margin-bottom: 0px; 77} 78 79div.dokuwiki div.sp_main table.sp_main_table tr.sp_col_head{ /*the column header row*/ 80} 81 82div.dokuwiki div.sp_main table.sp_main_table th.sp_col_head{ /*the column header cells*/ 83} 84 85div.dokuwiki div.sp_main table.sp_main_table tr.sp_result{ /*the result rows*/ 86} 87 88div.dokuwiki div.sp_main table.sp_main_table td.sp_page{ /*the page name cells in results*/ 89 text-align:left; 90} 91 92div.dokuwiki div.sp_main table.sp_main_table td.sp_count{ /*the match number cells in results*/ 93} 94 95div.dokuwiki div.sp_main table.sp_main_table td.sp_nores{ /*the "no result" cell*/ 96 /* @date 20130407 by Leo Eibler <dokuwiki@sprossenwanne.at> add no_result cell background-color */ 97 background-color: #C0C0C0; 98} 99 100div.dokuwiki div.sp_error{ /*the error display div*/ 101 background-color: #FFDDDD; 102 border: 2px dashed red; 103 margin:auto 2em; 104 padding: 1em 5em; 105 color: #990000; 106} 107 108div.dokuwiki div.sp_error span.sp_error_pat{ /*the faulty pattern*/ 109 font-size: 1.1em; 110 font-weight: bold; 111 font-style: italic; 112} 113 114div.dokuwiki div.sp_error ul.sp_error{ /*the list of error(s)*/ 115} 116 117div.dokuwiki div.sp_error li.sp_error{ /*each item (error) of the error list*/ 118 color: #990000; 119 font-style: italic; 120 text-decoration: underline; 121} 122 123div.dokuwiki div.sp_warning { /*the warning display div*/ 124 background-color: #FFFFCC; 125 color: #FF8000; 126 border: 2px dashed red; 127 margin:auto 2em; 128 padding: 1em 5em; 129} 130 131div.dokuwiki div.sp_warning span.sp_warning_pat{ /*the faulty pattern*/ 132 font-size: 1.1em; 133 font-weight: bold; 134 font-style: italic; 135} 136