From: Garry Collum Date: Thu, 12 May 2016 20:28:54 +0000 (-0400) Subject: Created directory structure for templates and copied over the css file. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6a6d67938fcdc85d2d4c8b519257b9a3a934644d;p=evergreen%2Fequinox.git Created directory structure for templates and copied over the css file. --- diff --git a/Open-ILS/src/kcpl_templates/opac/parts/css/style.css.tt2 b/Open-ILS/src/kcpl_templates/opac/parts/css/style.css.tt2 new file mode 100644 index 0000000000..166950f901 --- /dev/null +++ b/Open-ILS/src/kcpl_templates/opac/parts/css/style.css.tt2 @@ -0,0 +1,2142 @@ +[%- + PROCESS "opac/parts/css/colors.tt2"; + PROCESS "opac/parts/css/fonts.tt2"; +%] + +body { + margin:0; + font-family: Arial, Helvetica, sans-serif; + font-size: [% css_fonts.size_base %]; + background: [% css_colors.primary %]; +} + +button, input { + font-family: Arial, Helvetica, sans-serif; + font-size: [% css_fonts.size_base %]; +} + +img { + border: none; +} + +#topnav_logo { + margin: 2em 0; +} + +#homesearch_main_logo { + padding-top: 60px; + margin: auto; + width: 50%; +} + +a { + color: [% css_colors.primary %]; +} + +#search-wrapper input[type=text] { + margin:0; + padding:0; +} + +#search-wrapper select, .results_header_lbl select { + border:1px solid [% css_colors.border_standard %]; + margin:0; + padding:0; + width: 12em; +} + +.searchbar { + font-weight: bold; + padding-top: 10px; + margin-left: 1em; +} + +/* +#search-wrapper select { + border:0px solid [% css_colors.border_dark %]; + filter:alpha(opacity=0); + -moz-opacity:0; + -khtml-opacity:0; + opacity:0; + padding:0; + margin:0; + height:18px; +} +*/ +h1 { + margin:0; + margin-bottom: 5px; + font-size: [% css_fonts.size_biggest %]; + font-weight:normal; +} + +h2 { + font-size: [% css_fonts.size_bigger %]; + font-weight:bold; +} + +h2.graphic880 { + font-size: [% css_fonts.size_bigger %]; + font-weight:normal; +} + +.hide_me, .hidden { + display: none; + visibility: hidden; +} + +div.select-box-wrapper { + position:absolute; + padding-top:2px; + padding-left:3px; + overflow:hidden; + text-align:left; +} + +#dash_wrapper { + margin-left: 0.5em; +} + +#dash_wrapper div { + background: [% css_colors.primary %]; + border-radius: 5px; + padding: 0em 1em; +} + +.dash_divider { + margin: 1em; + color: [% css_colors.primary_fade %]; + display:inline-block; +} + +#dashboard { + margin-top: 1em; + height: 3em; +} + +#dashboard span.dash-align a { + font-weight: bold; + text-decoration: none; +} + +#dash_user { + font-weight: bold; +} + +#logout_link { left: 1px; } + +#dash_checked { color: [% css_colors.text_attention %]; } +#dash_holds { color: [% css_colors.text_attention %]; } +#dash_pickup { color: [% css_colors.text_goodnews %]; } + +/* +#dash_fines { color: [% css_colors.text_badnews %]; } +the color contrast between "text_badnews" and "primary" +is too low for WCAG compliance. Use "text_attention" +for now until a better color is picked - if needed. +*/ +#dash_fines { color: [% css_colors.text_attention %]; } + +#dash_wrapper #dash_user_message_button_container { + display: inline; + padding: 0; +} +#dash_wrapper #unread_message_count_floater { + position: absolute; + background-color: [% css_colors.text_alert %]; + padding-left: 0.2em; + padding-right: 0.2em; + display: inline-block; + font-size: 95%; + border-radius: 0; + z-index: 2; + margin-top: 0.2em; + margin-left: -1.5em; +} + +#header-wrap { + background: linear-gradient([% css_colors.primary %], [% css_colors.primary_fade %]); + background: -moz-linear-gradient([% css_colors.primary %], [% css_colors.primary_fade %]); + background: -o-linear-gradient([% css_colors.primary %], [% css_colors.primary_fade %]); + background: -webkit-linear-gradient([% css_colors.primary %], [% css_colors.primary_fade %]); + background-color: [% css_colors.primary_fade %]; +} +#header { + color: [% css_colors.background %]; + margin-left: 1em; + margin-right: 1em; + font-size: [% css_fonts.size_small %]; +} + +#header a { + color: [% css_colors.background %]; +} + +#header a:hover { + color: [% css_colors.text_invert %]; + text-decoration: none; +} + +#header-links { + color: [% css_colors.text_invert %]; + font-size: [% css_fonts.size_small %]; + font-weight: bold; + position: relative; + top:4px; + +} + +#header-links a { + color: [% css_colors.text_invert %]; + display: block; + float:left; + margin-right:22px; + text-decoration: none; +} + +#header-links a:hover { + color: [% css_colors.text_invert %]; + text-shadow: 0 0 0.2em [% css_colors.primary %], 0 0 0.2em [% css_colors.primary %]; + text-decoration: none; +} + +#header #header-links2 { + position:relative; + top:-8px; + color: [% css_colors.text_invert %]; + padding-bottom: 15px; +} + +#header #header-links2 a { + color: [% css_colors.text_invert %]; +} + +#header #header-links2 a:hover { + text-decoration: underline; +} + +#your-acct-login { + padding-top:2em; +} + +#gold-links { + margin-left: 1em; + padding-left:0px; +} + +#gold-links-home { + margin:auto; + padding-left:0px; +} + +#gold-links-holder { + height: 24px; + background: [% css_colors.background_invert %]; +} + +#util-bar { + margin-left: 1em; + padding-left:0px; + height:0px; +} + +#search-wrapper { + border-bottom: 1px solid [% css_colors.border_standard %]; + padding-bottom: 5px; + background: [% css_colors.background %]; +} + +#search-wrapper #breadcrumb { + margin-top:0px; + font-size: [% css_fonts.size_smaller %]; + float:left; +} + +#search-wrapper #search-within { + margin-top:10px; + float:right; + position:relative; + left:-173px; +} + +#search-wrapper #breadcrumb a { + color: [% css_colors.text %]; +} + +#search-wrapper #search_frm label { + font-size: [% css_fonts.size_smaller %]; +} + +#search-wrapper #search-box { + margin-left: 1em; + padding-left: 0px; + padding-top: 10px; + padding-bottom: 10px; +} + +#adv_search_tabs, #acct_tabs, #acct_fines_tabs, #acct_checked_tabs, #acct_holds_tabs, #acct_prefs_tabs, #results_header_inner{ + margin-left: 2px; + overflow: auto; +} + +#adv_search_tabs a, #acct_tabs a, #acct_fines_tabs a, #acct_checked_tabs a, #acct_holds_tabs a, #acct_prefs_tabs a { + float: left; + text-align: center; + vertical-align: middle; + display: block; + margin: 10px 7px 0px 0px; + padding: 10px 0px 10px 0px; + -moz-border-radius: 10px 10px 0px 0px; + border-radius: 10px 10px 0px 0px; + font-weight: bold; + color: [% css_colors.text_invert %]; + background: [% css_colors.control %]; + font-weight: bold; + text-decoration: none; +} + +#adv_search_tabs a, #acct_tabs a, #acct_fines_tabs a { + padding: 1em 1em 0.5em; +} + +#adv_search_tabs a:hover, #acct_tabs a:hover, #acct_fines_tabs a:hover, #acct_checked_tabs a:hover, #acct_holds_tabs a:hover, #acct_prefs_tabs a:hover { + background: [% css_colors.primary %]; + color: [% css_colors.text_invert %]; + text-decoration: none; +} + +#adv_search_filters { + position: relative; +} +#adv_search_rows { + border-bottom: none; +} +.adv_filter_block { + padding: 15px; + float: left; + clear: both; +} +.adv_filter_block_item { + float: left; + padding: 5px; +} + +#adv_special_block { + float: left; + padding: 5px; + margin-top: 5px; +} + +#adv_search_submit { + position: relative; + margin-left: 10px; + +} + +.checkbox_col { + width: 1%; + padding-left: 10px !important; +} + +#adv_search.on, #num_search.on, #expert_search.on { + color: [% css_colors.accent_darker %]; + background: [% css_colors.background %]; + text-decoration: none; +} + +#adv_search_tabs a.acct-tab-on, #acct_tabs a.acct-tab-on, #acct_fines_tabs a.acct-tab-on { + color: [% css_colors.accent_darker %]; + background: [% css_colors.background %]; + text-decoration: none; +} + +.acct-tab-off { + background: [% css_colors.control %]; +} + +#acct_checked_tabs a, #acct_holds_tabs a, #acct_prefs_tabs a { + margin-top: 0px; + font-size: [% css_fonts.size_smaller %]; + color: [% css_colors.accent_darker %]; + padding: 10px 10px 10px 10px; +} + +#acct_checked_tabs div.selected a, #acct_holds_tabs div.selected a, #acct_prefs_tabs div.selected a { + background: [% css_colors.accent_lightest %]; + color: [% css_colors.accent_darker %]; +} + +#acct_checked_tabs, #acct_holds_tabs, #acct_prefs_tabs { + padding-bottom: 12px; + color: [% css_colors.accent_medium %]; +} + +#acct_select, #acct_prefs_select { + display: none; +} + +#mobile_acct_search_links { + background: [% css_colors.primary_fade %]; +} + +.rdetail_header { + padding: 5px 7px 6px 0px; + margin-left: 1em; + border-bottom: 1px dotted [% css_colors.accent_light %]; +} + +.rdetail_results a { + color:[% css_colors.primary_fade %]; + font-weight:bold; + font-size: [% css_fonts.size_bigger %]; +} + +.rdetail_result_count { + color: [% css_colors.text %]; + font-weight: normal; + padding-left: 1em; + display: inline-block; +} + +.rdetail_result_nav { + font-weight:normal; + padding-left: 1em; + display: inline-block; +} + +#rdetail_details_table { + margin-top: 15px; +} + +#rdetail_image { border: none; } +#rdetail_image_cell { + padding-top: 3px; + padding-right: 10px; +} + +h2.rdetail_uris { + margin-top: 1em; +} +div.rdetail_uris { + padding: 0.5em 1em 0.5em 1em; + background-color: [% css_colors.accent_lighter2 %]; +} +div.rdetail_uris ul li { + position: relative; + left: 1em; +} + +div.rdetail_show_copies { + margin-top: 1em; +} + +div#rdetail_actions_div { + float: right; + background: [% css_colors.background %]; +} + +span#rdetail_copy_counts { + display: inline-block; + border-right: thin; + vertical-align: top; + margin-right: 1em; + padding-right: 1em; +} + +span#rdetail_hold_counts { + display: inline-block; + vertical-align: top; +} +span#rdetail_hold_counts p { + padding-left: 2em; +} + +#rdetail_image_div { + float: left; + margin-right: 1em; +} + +.rdetail_aux_utils { + border-left:1px dotted [% css_colors.accent_light %]; + padding-left: 17px; + padding-bottom: 6px; + padding-right: 70px; +} + +div.place_hold { + border-bottom: 1px dotted [% css_colors.accent_light %]; + padding-top: 10px; +} + +div.toggle_list { padding-top: 6px; } + +div.share_record { + padding-top: 6px; + border-top: 1px dotted [% css_colors.accent_light %]; +} + +div.format_icon { + float: right; + margin-right: 17px; +} + +.result_util { + border-bottom: 1px dotted [% css_colors.accent_light %]; + padding-top: 6px; +} + +.results_aux_utils { + display: table-cell; +} + +.result_util { + padding-left: 1em; +} + +.results_reviews { + top: -5px; +} + +#rdetail_copies { + padding-top: 1.5em; +} + +#rdetails_status td { + padding: 7px 0px 3px 13px; + white-space: nowrap; +} + +#rdetails_status td[headers=copy_header_library], +#rdetails_status td[headers=copy_header_shelfloc] { + white-space: normal; +} + +#rdetails_status thead th { + background-color: [% css_colors.accent_lighter2 %]; + padding: 13px 0px 13px 13px; + font-size: [% css_fonts.size_smaller %]; + font-weight: bold; + text-align: left; +} + +#rdetails_status tbody td { + padding-left: 13px; + text-align: left; +} +#rdetails_status tbody td.copy_note { + color: [% css_colors.primary %]; + text-wrap:normal; + white-space:pre-wrap !important; + word-wrap:normal; +} + +.rdetail_extras { + background: [% css_colors.primary_fade %]; + border: 1px solid [% css_colors.primary %]; + padding-top:1px; + clear:both; +} + +#rdetail_extras_div { + margin: 1em 0; +} + +.rdetail_extras_hr { + height: 1px; + background: [% css_colors.accent_light %]; + margin-left: 1px; + margin-right: 1px; +} + +.rdetail_extras_link { + padding: 6px 12px; + font-size: [% css_fonts.size_smaller %]; + font-weight: bold; +} + +.rdetail_extras_lbl { + color: [% css_colors.text_invert %]; + text-decoration: none; +} + +##rdetail_extras_expand, #rdetail_extras_collapse, #rdetail_locs_collapse { + margin-left: 13px; +} + +#rdetail_locs_expand, #rdetail_locs_collapse { + padding-bottom:3px; + margin-top:15px; + margin-left:13px; +} + +#rdetail_anotes_div .biography { + margin:0; +} + +.almost-content-wrapper { + background: [% css_colors.background %]; +} + +#content-wrapper { + background: [% css_colors.background %]; + min-height: 260px; + border-bottom: 1px solid [% css_colors.border_dark %]; +} + +.content-wrapper-record-page { top: -15px; position: relative; } + +#main-content-home { + padding-left: 17px; + margin-left: 1em; +} +#main-content { + padding-left: 0px; + margin: 0 1em; + clear: both; +} + +#main-content-after-bar { + margin-left: 1em; + padding-left: 4px; +} + +#results-side-bar { float: left; width: 174px; margin-right: 5px; background: [% css_colors.background %]; } + +#main-content .login_boxes { + border: 1px solid [% css_colors.accent_lighter %]; + background: linear-gradient(bottom, [% css_colors.accent_ultralight %] 15%, [% css_colors.accent_lightest %] 55%, [% css_colors.accent_ultralight %] 85%); + background: -moz-linear-gradient(bottom, [% css_colors.accent_ultralight %] 15%, [% css_colors.accent_lightest %] 55%, [% css_colors.accent_ultralight %] 85%); + background: -ms-linear-gradient(bottom, [% css_colors.accent_ultralight %] 15%, [% css_colors.accent_lightest %] 55%, [% css_colors.accent_ultralight %] 85%); + background: -o-linear-gradient(bottom, [% css_colors.accent_ultralight %] 15%, [% css_colors.accent_lightest %] 55%, [% css_colors.accent_ultralight %] 85%); + background: -webkit-linear-gradient(bottom, [% css_colors.accent_ultralight %] 15%, [% css_colors.accent_lightest %] 55%, [% css_colors.accent_ultralight %] 85%); + + color: [% css_colors.accent_darker %]; +} + +#main-content .login_boxes h1 { + font-weight: normal; + font-size: [% css_fonts.size_biggest %]; + margin:0; +} + +#main-content .left_brain { + padding-left:28px; + padding-top:25px; +} + +#main-content .left_brain input[type=text], #main-content .left_brain input[type=password] { + width:167px; + margin:0; + padding:0; + background: [% css_colors.background %]; + font-size: [% css_fonts.size_bigger %]; + color: [% css_colors.text %]; +} + +#main-content .left_brain .input_bg { + padding:10px 10px 0px 13px; + width:167px; + height:29px; +} + +.login-help-box { + float: left; + width: 200px; + text-align: center; + margin-left: 2em; +} + +.login-help-button { + font-size: [% css_fonts.size_biggest %]; + padding: 1.5em; +} + +#login-failed-message { + font-size: [% css_fonts.size_bigger %]; + font-weight: bold; + color: [% css_colors.text_alert %]; + padding-top: 1em; +} + +#holds_temp_parent td { + border-bottom:1px solid [% css_colors.border_standard %]; +} + +#holds_temp_parent input, #holds_temp_parent select { + margin:0; +} + +#holds_temp_parent tr td div { + margin-top: 10px; + margin-bottom: 10px; +} + +#holds_temp_parent tr td div.format_icon { + margin-top: 6px; + margin-bottom: 6px; + float: none; +} + +#results_header_bar { + background: [% css_colors.accent_medium %]; + border-top:1px solid [% css_colors.accent_mediumdark %]; + border-bottom:1px solid [% css_colors.accent_mediumdark %]; +} + +.results_header_lbl { + font-weight: bold; + float: left; + color: [% css_colors.text %]; + /* this border is not visible, but it keeps these labels the same size + as the buttons */ + border: 1px solid [% css_colors.accent_medium %]; + background: [% css_colors.accent_medium %]; + margin: 0.5em 0.3em; + padding: 0.3em; +} +/* we need a negative margin on the select to allow the containing