diff --git a/assets/themes/Leagcy/README.md b/assets/themes/Leagcy/README.md new file mode 100644 index 000000000..405556d03 --- /dev/null +++ b/assets/themes/Leagcy/README.md @@ -0,0 +1,10 @@ +## Grunt + +The `stylesheet.css` file is generated using [Grunt](https://gruntjs.com/getting-started) (see `package.json` & `Gruntfile.js` files at the root of this project). + + +## Copyright + +The CSS files and images of the WPadmin theme were copied and adapted from **WordPress** 2.5, a free software released under the terms of the GPL version 2. + +Copyright 2011 by the contributors diff --git a/assets/themes/Leagcy/btn/Onebit Icon Set.txt b/assets/themes/Leagcy/btn/Onebit Icon Set.txt new file mode 100644 index 000000000..2eaa3ab7b --- /dev/null +++ b/assets/themes/Leagcy/btn/Onebit Icon Set.txt @@ -0,0 +1,6 @@ +http://www.hongkiat.com/blog/40-free-and-useful-gui-icon-sets-for-web-designers/ + +Onebit Free Icon Set +Onebit Free Icon Set 2 + +Copyright Icojoy \ No newline at end of file diff --git a/assets/themes/Leagcy/btn/add_button.png b/assets/themes/Leagcy/btn/add_button.png new file mode 100644 index 000000000..bada90d6e Binary files /dev/null and b/assets/themes/Leagcy/btn/add_button.png differ diff --git a/assets/themes/Leagcy/btn/back.png b/assets/themes/Leagcy/btn/back.png new file mode 100644 index 000000000..3d1bcd708 Binary files /dev/null and b/assets/themes/Leagcy/btn/back.png differ diff --git a/assets/themes/Leagcy/btn/basket_button.png b/assets/themes/Leagcy/btn/basket_button.png new file mode 100644 index 000000000..d5e9d0208 Binary files /dev/null and b/assets/themes/Leagcy/btn/basket_button.png differ diff --git a/assets/themes/Leagcy/btn/briefcase_button.png b/assets/themes/Leagcy/btn/briefcase_button.png new file mode 100644 index 000000000..1b41ceb26 Binary files /dev/null and b/assets/themes/Leagcy/btn/briefcase_button.png differ diff --git a/assets/themes/Leagcy/btn/bus_button.png b/assets/themes/Leagcy/btn/bus_button.png new file mode 100644 index 000000000..ccac5564c Binary files /dev/null and b/assets/themes/Leagcy/btn/bus_button.png differ diff --git a/assets/themes/Leagcy/btn/calculator_button.png b/assets/themes/Leagcy/btn/calculator_button.png new file mode 100644 index 000000000..ddf0f8466 Binary files /dev/null and b/assets/themes/Leagcy/btn/calculator_button.png differ diff --git a/assets/themes/Leagcy/btn/calendar.png b/assets/themes/Leagcy/btn/calendar.png new file mode 100644 index 000000000..17641ffaf Binary files /dev/null and b/assets/themes/Leagcy/btn/calendar.png differ diff --git a/assets/themes/Leagcy/btn/chart_icon.png b/assets/themes/Leagcy/btn/chart_icon.png new file mode 100644 index 000000000..4aeb4140a Binary files /dev/null and b/assets/themes/Leagcy/btn/chart_icon.png differ diff --git a/assets/themes/Leagcy/btn/check_button.png b/assets/themes/Leagcy/btn/check_button.png new file mode 100644 index 000000000..e1a9ea558 Binary files /dev/null and b/assets/themes/Leagcy/btn/check_button.png differ diff --git a/assets/themes/Leagcy/btn/clipboard_button.png b/assets/themes/Leagcy/btn/clipboard_button.png new file mode 100644 index 000000000..5ab35e7ff Binary files /dev/null and b/assets/themes/Leagcy/btn/clipboard_button.png differ diff --git a/assets/themes/Leagcy/btn/clock_button.png b/assets/themes/Leagcy/btn/clock_button.png new file mode 100644 index 000000000..7894d5fd1 Binary files /dev/null and b/assets/themes/Leagcy/btn/clock_button.png differ diff --git a/assets/themes/Leagcy/btn/comment_button.png b/assets/themes/Leagcy/btn/comment_button.png new file mode 100644 index 000000000..2de654cad Binary files /dev/null and b/assets/themes/Leagcy/btn/comment_button.png differ diff --git a/assets/themes/Leagcy/btn/compass_rose_button.png b/assets/themes/Leagcy/btn/compass_rose_button.png new file mode 100644 index 000000000..4650fb534 Binary files /dev/null and b/assets/themes/Leagcy/btn/compass_rose_button.png differ diff --git a/assets/themes/Leagcy/btn/down_button.png b/assets/themes/Leagcy/btn/down_button.png new file mode 100644 index 000000000..40563aca4 Binary files /dev/null and b/assets/themes/Leagcy/btn/down_button.png differ diff --git a/assets/themes/Leagcy/btn/down_phone_button.png b/assets/themes/Leagcy/btn/down_phone_button.png new file mode 100644 index 000000000..5db367ce6 Binary files /dev/null and b/assets/themes/Leagcy/btn/down_phone_button.png differ diff --git a/assets/themes/Leagcy/btn/download.png b/assets/themes/Leagcy/btn/download.png new file mode 100644 index 000000000..6bfde081b Binary files /dev/null and b/assets/themes/Leagcy/btn/download.png differ diff --git a/assets/themes/Leagcy/btn/download_button.png b/assets/themes/Leagcy/btn/download_button.png new file mode 100644 index 000000000..6bfde081b Binary files /dev/null and b/assets/themes/Leagcy/btn/download_button.png differ diff --git a/assets/themes/Leagcy/btn/emergency_button.png b/assets/themes/Leagcy/btn/emergency_button.png new file mode 100644 index 000000000..6a735811b Binary files /dev/null and b/assets/themes/Leagcy/btn/emergency_button.png differ diff --git a/assets/themes/Leagcy/btn/folder_button.png b/assets/themes/Leagcy/btn/folder_button.png new file mode 100644 index 000000000..ddced104e Binary files /dev/null and b/assets/themes/Leagcy/btn/folder_button.png differ diff --git a/assets/themes/Leagcy/btn/gavel_button.png b/assets/themes/Leagcy/btn/gavel_button.png new file mode 100644 index 000000000..e04cbeea1 Binary files /dev/null and b/assets/themes/Leagcy/btn/gavel_button.png differ diff --git a/assets/themes/Leagcy/btn/heart_button.png b/assets/themes/Leagcy/btn/heart_button.png new file mode 100644 index 000000000..0ae7f599f Binary files /dev/null and b/assets/themes/Leagcy/btn/heart_button.png differ diff --git a/assets/themes/Leagcy/btn/help.png b/assets/themes/Leagcy/btn/help.png new file mode 100644 index 000000000..93f36cea9 Binary files /dev/null and b/assets/themes/Leagcy/btn/help.png differ diff --git a/assets/themes/Leagcy/btn/house_button.png b/assets/themes/Leagcy/btn/house_button.png new file mode 100644 index 000000000..d658433f9 Binary files /dev/null and b/assets/themes/Leagcy/btn/house_button.png differ diff --git a/assets/themes/Leagcy/btn/info_button.png b/assets/themes/Leagcy/btn/info_button.png new file mode 100644 index 000000000..d4414e687 Binary files /dev/null and b/assets/themes/Leagcy/btn/info_button.png differ diff --git a/assets/themes/Leagcy/btn/key_button.png b/assets/themes/Leagcy/btn/key_button.png new file mode 100644 index 000000000..c87018dd6 Binary files /dev/null and b/assets/themes/Leagcy/btn/key_button.png differ diff --git a/assets/themes/Leagcy/btn/label_button.png b/assets/themes/Leagcy/btn/label_button.png new file mode 100644 index 000000000..3dc6ec831 Binary files /dev/null and b/assets/themes/Leagcy/btn/label_button.png differ diff --git a/assets/themes/Leagcy/btn/locked.png b/assets/themes/Leagcy/btn/locked.png new file mode 100644 index 000000000..8a2ca7362 Binary files /dev/null and b/assets/themes/Leagcy/btn/locked.png differ diff --git a/assets/themes/Leagcy/btn/logout.png b/assets/themes/Leagcy/btn/logout.png new file mode 100644 index 000000000..b890a3e5c Binary files /dev/null and b/assets/themes/Leagcy/btn/logout.png differ diff --git a/assets/themes/Leagcy/btn/mailbox_button.png b/assets/themes/Leagcy/btn/mailbox_button.png new file mode 100644 index 000000000..4fb62eaf3 Binary files /dev/null and b/assets/themes/Leagcy/btn/mailbox_button.png differ diff --git a/assets/themes/Leagcy/btn/md_button.png b/assets/themes/Leagcy/btn/md_button.png new file mode 100644 index 000000000..1ad771b11 Binary files /dev/null and b/assets/themes/Leagcy/btn/md_button.png differ diff --git a/assets/themes/Leagcy/btn/music_button.png b/assets/themes/Leagcy/btn/music_button.png new file mode 100644 index 000000000..cb1bb816c Binary files /dev/null and b/assets/themes/Leagcy/btn/music_button.png differ diff --git a/assets/themes/Leagcy/btn/next.png b/assets/themes/Leagcy/btn/next.png new file mode 100644 index 000000000..443bacfb2 Binary files /dev/null and b/assets/themes/Leagcy/btn/next.png differ diff --git a/assets/themes/Leagcy/btn/pencil_button.png b/assets/themes/Leagcy/btn/pencil_button.png new file mode 100644 index 000000000..9bf7611e1 Binary files /dev/null and b/assets/themes/Leagcy/btn/pencil_button.png differ diff --git a/assets/themes/Leagcy/btn/phone_button.png b/assets/themes/Leagcy/btn/phone_button.png new file mode 100644 index 000000000..5db367ce6 Binary files /dev/null and b/assets/themes/Leagcy/btn/phone_button.png differ diff --git a/assets/themes/Leagcy/btn/picture_button.png b/assets/themes/Leagcy/btn/picture_button.png new file mode 100644 index 000000000..4b3fff955 Binary files /dev/null and b/assets/themes/Leagcy/btn/picture_button.png differ diff --git a/assets/themes/Leagcy/btn/print.png b/assets/themes/Leagcy/btn/print.png new file mode 100644 index 000000000..2f8fe3518 Binary files /dev/null and b/assets/themes/Leagcy/btn/print.png differ diff --git a/assets/themes/Leagcy/btn/remove_button.png b/assets/themes/Leagcy/btn/remove_button.png new file mode 100644 index 000000000..03945d19a Binary files /dev/null and b/assets/themes/Leagcy/btn/remove_button.png differ diff --git a/assets/themes/Leagcy/btn/screen_button.png b/assets/themes/Leagcy/btn/screen_button.png new file mode 100644 index 000000000..17d512bf0 Binary files /dev/null and b/assets/themes/Leagcy/btn/screen_button.png differ diff --git a/assets/themes/Leagcy/btn/settings_button.png b/assets/themes/Leagcy/btn/settings_button.png new file mode 100644 index 000000000..692d183b2 Binary files /dev/null and b/assets/themes/Leagcy/btn/settings_button.png differ diff --git a/assets/themes/Leagcy/btn/star_button.png b/assets/themes/Leagcy/btn/star_button.png new file mode 100644 index 000000000..d92115b09 Binary files /dev/null and b/assets/themes/Leagcy/btn/star_button.png differ diff --git a/assets/themes/Leagcy/btn/unlocked.png b/assets/themes/Leagcy/btn/unlocked.png new file mode 100644 index 000000000..c62928a80 Binary files /dev/null and b/assets/themes/Leagcy/btn/unlocked.png differ diff --git a/assets/themes/Leagcy/btn/up_button.png b/assets/themes/Leagcy/btn/up_button.png new file mode 100644 index 000000000..3772d1de3 Binary files /dev/null and b/assets/themes/Leagcy/btn/up_button.png differ diff --git a/assets/themes/Leagcy/btn/visualize.png b/assets/themes/Leagcy/btn/visualize.png new file mode 100644 index 000000000..048c49f1d Binary files /dev/null and b/assets/themes/Leagcy/btn/visualize.png differ diff --git a/assets/themes/Leagcy/btn/warning_button.png b/assets/themes/Leagcy/btn/warning_button.png new file mode 100644 index 000000000..88e543b40 Binary files /dev/null and b/assets/themes/Leagcy/btn/warning_button.png differ diff --git a/assets/themes/Leagcy/btn/x_button.png b/assets/themes/Leagcy/btn/x_button.png new file mode 100644 index 000000000..be66eef62 Binary files /dev/null and b/assets/themes/Leagcy/btn/x_button.png differ diff --git a/assets/themes/Leagcy/button-grad-active.png b/assets/themes/Leagcy/button-grad-active.png new file mode 100644 index 000000000..0177e5bf9 Binary files /dev/null and b/assets/themes/Leagcy/button-grad-active.png differ diff --git a/assets/themes/Leagcy/button-grad.png b/assets/themes/Leagcy/button-grad.png new file mode 100644 index 000000000..3f96366ca Binary files /dev/null and b/assets/themes/Leagcy/button-grad.png differ diff --git a/assets/themes/Leagcy/css/calendar-blue.css b/assets/themes/Leagcy/css/calendar-blue.css new file mode 100644 index 000000000..737bb9ffc --- /dev/null +++ b/assets/themes/Leagcy/css/calendar-blue.css @@ -0,0 +1,235 @@ +/* The main calendar widget. DIV containing a table. */ + +div.calendar { + position: relative; + z-index: 100; +} + +.calendar, .calendar table { + border: 1px solid #556; + font-size: 11px; + color: #000; + cursor: default; + background: #eef; + font-family: 'Open Sans',tahoma,verdana,sans-serif; +} + +/* Header part -- contains navigation buttons and day names. */ + +.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ + text-align: center; /* They are the navigation buttons */ + padding: 2px; /* Make the buttons seem like they're pressing */ +} + +.calendar .nav { + background: #778 url(menuarrow.gif) no-repeat 100% 100%; +} + +.calendar thead .title { /* This holds the current "month, year" */ + font-weight: bold; /* Pressing it will take you to the current date */ + text-align: center; + background: #fff; + color: #000; + padding: 2px; +} + +.calendar thead .headrow { /* Row containing navigation buttons */ + background: #778; + color: #fff; +} + +.calendar thead .daynames { /* Row containing the day names */ + background: #bdf; +} + +.calendar thead .name { /* Cells containing the day names */ + border-bottom: 1px solid #556; + padding: 2px; + text-align: center; + color: #000; +} + +.calendar thead .weekend { /* How a weekend day name shows in header */ + color: #a66; +} + +.calendar thead .hilite { /* How do the buttons in header appear when hover */ + background-color: #aaf; + color: #000; + border: 1px solid #04f; + padding: 1px; +} + +.calendar thead .active { /* Active (pressed) buttons in header */ + background-color: #77c; + padding: 2px 0 0 2px; +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells containing month days dates */ + width: 2em; + color: #456; + text-align: right; + padding: 2px 4px 2px 2px; +} +.calendar tbody .day.othermonth { + font-size: 80%; + color: #bbb; +} +.calendar tbody .day.othermonth.oweekend { + color: #fbb; +} + +.calendar table .wn { + padding: 2px 3px 2px 2px; + border-right: 1px solid #000; + background: #bdf; +} + +.calendar tbody .rowhilite td { + background: #def; +} + +.calendar tbody .rowhilite td.wn { + background: #eef; +} + +.calendar tbody td.hilite { /* Hovered cells */ + background: #def; + padding: 1px 3px 1px 1px; + border: 1px solid #bbb; +} + +.calendar tbody td.active { /* Active (pressed) cells */ + background: #cde; + padding: 2px 2px 0 2px; +} + +.calendar tbody td.selected { /* Cell showing today date */ + font-weight: bold; + border: 1px solid #000; + padding: 1px 3px 1px 1px; + background: #fff; + color: #000; +} + +.calendar tbody td.weekend { /* Cells showing weekend days */ + color: #a66; +} + +.calendar tbody td.today { /* Cell showing selected date */ + font-weight: bold; + color: #00f; +} + +.calendar tbody .disabled { color: #999; } + +.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ + visibility: hidden; +} + +.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ + display: none; +} + +/* The footer part -- status bar and "Close" button */ + +.calendar tfoot .footrow { /* The in footer (only one right now) */ + text-align: center; + background: #556; + color: #fff; +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell */ + background: #fff; + color: #445; + border-top: 1px solid #556; + padding: 1px; +} + +.calendar tfoot .hilite { /* Hover style for buttons in footer */ + background: #aaf; + border: 1px solid #04f; + color: #000; + padding: 1px; +} + +.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ + background: #77c; + padding: 2px 0 0 2px; +} + +/* Combo boxes (menus that display months/years for direct selection) */ + +.calendar .combo { + position: absolute; + display: none; + top: 0; + left: 0; + width: 4em; + cursor: default; + border: 1px solid #655; + background: #def; + color: #000; + font-size: 90%; + z-index: 100; +} + +.calendar .combo .label, +.calendar .combo .label-IEfix { + text-align: center; + padding: 1px; +} + +.calendar .combo .label-IEfix { + width: 4em; +} + +.calendar .combo .hilite { + background: #acf; +} + +.calendar .combo .active { + border-top: 1px solid #46a; + border-bottom: 1px solid #46a; + background: #eef; + font-weight: bold; +} + +.calendar td.time { + border-top: 1px solid #000; + padding: 1px 0; + text-align: center; + background-color: #f4f0e8; +} + +.calendar td.time .hour, +.calendar td.time .minute, +.calendar td.time .ampm { + padding: 0 3px 0 4px; + border: 1px solid #889; + font-weight: bold; + background-color: #fff; +} + +.calendar td.time .ampm { + text-align: center; +} + +.calendar td.time .colon { + padding: 0 2px 0 3px; + font-weight: bold; +} + +.calendar td.time span.hilite { + border-color: #000; + background-color: #667; + color: #fff; +} + +.calendar td.time span.active { + border-color: #f00; + background-color: #000; + color: #0f0; +} diff --git a/assets/themes/Leagcy/css/colorbox.css b/assets/themes/Leagcy/css/colorbox.css new file mode 100644 index 000000000..0a6710404 --- /dev/null +++ b/assets/themes/Leagcy/css/colorbox.css @@ -0,0 +1,50 @@ +/* + Colorbox Core Style: + The following CSS is consistent between example themes and should not be altered. +*/ +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} +#cboxWrapper {max-width:none;} +#cboxOverlay{position:fixed; width:100%; height:100%;} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative;} +#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;} +#cboxTitle{margin:0;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} +.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;} +.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;} +#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;} + +/* + User Style: + Change the following styles to modify the appearance of Colorbox. They are + ordered & tabbed in a way that represents the nesting of the generated HTML. +*/ +#cboxOverlay{background:#fff; opacity: 0.9; filter: alpha(opacity = 90);} +#colorbox{outline:0;} + #cboxContent{margin-top:32px; overflow:visible; background:#000;} + .cboxIframe{background:#fff;} + #cboxError{padding:50px; border:1px solid #ccc;} + #cboxLoadedContent{background:#000; padding:1px;} + #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;} + #cboxLoadingOverlay{background:#000;} + #cboxTitle{position:absolute; top:-22px; left:0; color:#000;} + #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;} + + /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */ + #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/controls.png) no-repeat 0 0;} + + /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */ + #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;} + + #cboxPrevious{background-position:0px 0px; right:44px;} + #cboxPrevious:hover{background-position:0px -25px;} + #cboxNext{background-position:-25px 0px; right:22px;} + #cboxNext:hover{background-position:-25px -25px;} + #cboxClose{background-position:-50px 0px; right:0;} + #cboxClose:hover{background-position:-50px -25px;} + .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;} + .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;} + .cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;} + .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;} + .cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;} diff --git a/assets/themes/Leagcy/css/colors.css b/assets/themes/Leagcy/css/colors.css new file mode 100644 index 000000000..dfa9a1c7d --- /dev/null +++ b/assets/themes/Leagcy/css/colors.css @@ -0,0 +1,546 @@ +html { + background: #fff; +} + +textarea, +input[type="text"], +input[type="password"], +input[type="file"], +input[type="button"], +input[type="submit"], +input[type="reset"], +input[type="email"], +input[type="number"], +input[type="search"], +input[type="tel"], +input[type="url"], +select { + border-color: #dfdfdf; + background: #fff; +} + +textarea:focus, +input[type="text"]:focus, +input[type="password"]:focus, +input[type="file"]:focus, +input[type="button"]:focus, +input[type="submit"]:focus, +input[type="reset"]:focus, +input[type="email"]:focus, +input[type="number"]:focus, +input[type="search"]:focus, +input[type="tel"]:focus, +input[type="url"]:focus, +select:focus { + border-color: #aaa; + outline: none; +} + +code { + background: #eaeaea; +} + +hr { + background: #dfdfdf +} + +input[readonly] { + background: #eee; +} + +body { + color: #111; +} + +#menu { + background: #ececec; + border-color: #ccc; +} + +#menu, +.menu-top, +.menu-top:hover, +.menu-top:focus, +#selectedModuleLink + .wp-submenu { + background-image: url(menu-shadow.png); + background-position: top right; + background-repeat: repeat-y; +} + +.menu-inter { + border-color: #dfdfdf; +} + +#footer { + background: #ececec; +} + +#footerwrap, +#footerhelp { + border-color: #dfdfdf; +} + +#footerhelp { + background: #fff; +} + +.widefat { + border-color: #dfdfdf; + background: #f9f9f9; +} + +.postbox > thead th, +.widefat th, +.widefat tfoot tr th { + background: #f1f1f1; + background: -ms-linear-gradient(top, #f9f9f9, #ececec); + background: -webkit-linear-gradient(top, #f9f9f9, #ececec); + background: -moz-linear-gradient(top, #f9f9f9, #ececec); + background: linear-gradient(top, #f9f9f9, #ececec); +} + +.postbox .h3selected { + background: #f9f9f9; + background: -ms-linear-gradient(top, #ececec, #f9f9f9); + background: -webkit-linear-gradient(top, #ececec, #f9f9f9); + background: -moz-linear-gradient(top, #ececec, #f9f9f9); + background: linear-gradient(top, #ececec, #f9f9f9); +} + +.postbox > thead th { + border-bottom-color: #dfdfdf; + text-shadow: #fff 0 1px 0; +} + +.widefat tr:nth-child(odd), +.alternate, +.alt { + background: #fcfcfc +} + +.widefat tr:nth-child(even) { + background: #f9f9f9 +} + +.wp-submenu, +.highlight, +.widefat tr.highlight { + background: #fff +} + +input[type=button], +input[type=submit] { + border-color: #bbb; + color: #464646 +} + +input[type=button]:hover, +input[type=submit]:hover, +input[type=button]:focus, +input[type=submit]:focus { + color: #000; + border-color: #666 +} + +input[type="submit"], +input[type="reset"], +input[type="button"] { + background: #f2f2f2 url(white-grad.png) repeat-x scroll left top; + background: -ms-linear-gradient(top, #fff, #ededed); + background: -webkit-linear-gradient(top, #fff, #ededed); + background: -moz-linear-gradient(top, #fff, #ededed); + background: linear-gradient(top, #fff, #ededed); + text-shadow: #fff 0 1px 0 +} + +input[type="submit"]:active, +input[type="reset"]:active, +input[type="button"]:active { + background: #eee url(white-grad-active.png) repeat-x scroll left top background:-ms-linear-gradient(top, #ededed, #fff); + background: -webkit-linear-gradient(top, #ededed, #fff); + background: -moz-linear-gradient(top, #ededed, #fff); + background: linear-gradient(top, #ededed, #fff); +} + +/* Primary button */ + +input.button-primary, +button.button-primary, +a.button-primary { + border-color: #15556b; + font-weight: bold; + color: #fff; + background-image: url(button-grad.png); + /* Opera */ + background: -ms-linear-gradient(top, #298cba, #1d6385); + background: -webkit-linear-gradient(top, #298cba, #1d6385); + background: -moz-linear-gradient(top, #298cba, #1d6385); + background: linear-gradient(top, #298cba, #1d6385); + text-shadow: rgba(0, 0, 0, .3) 0 -1px 0; +} + +input.button-primary:active, +button.button-primary:active, +a.button-primary:active { + background-image: url(button-grad-active.png); + /* Opera */ + background: -ms-linear-gradient(top, #1d6385, #298cba); + background: -webkit-linear-gradient(top, #1d6385, #298cba); + background: -moz-linear-gradient(top, #1d6385, #298cba); + background: linear-gradient(top, #1d6385, #298cba); +} + +input.button-primary:hover, +button.button-primary:hover, +a.button-primary:hover, +input.button-primary:focus, +button.button-primary:focus, +a.button-primary:focus { + border-color: #10354b; + color: #fff; + outline: none; +} + +a:hover, +a:active, +a:focus, +.adminmenu a:hover, +.adminmenu a:focus { + color: #d54e21; +} + +a:active, +a:focus { + outline: 1px dotted #d54e21; +} + +input[type="checkbox"]:focus, +input[type="radio"]:focus { + outline: 1px dotted #000; +} + +div.error { + background: #ffebe8; + border-color: #c00 +} + +div.error a { + color: #c00 +} + +div.updated { + background: #ffffe0; + border-color: #e6db55 +} + +.widefat td, +.widefat th { + border-color: #fff; + border-bottom-color: #dfdfdf +} + +.widefat th { + text-shadow: rgba(255, 255, 255, .8) 0 1px 0 +} + +a, +.adminmenu a { + color: #21759b +} + +.postbox { + border-color: #dfdfdf; + box-shadow: inset 0 1px 0 #fff +} + +.postbox { + background: #f9f9f9; +} + +.postbox th { + color: #464646 +} + +.postbox th:hover { + color: #000 +} + +.adminmenu { + background: #ececec; + border-color: #ccc +} + +.menu-top { + border-top-color: #f9f9f9; + border-bottom-color: #dfdfdf +} + +.menu-top:hover, +.menu-top:focus { + background-color: #e4e4e4; + text-shadow: 0 1px 0 rgba(255, 255, 255, .4) +} + +.wp-submenu { + border-color: #dfdfdf #ccc; +} + +.no-touch .menu-module:hover .wp-submenu { + box-shadow: 2px 2px 4px #ccc; +} + +.wp-submenu a:hover, +.wp-submenu a:focus, +#selectedMenuLink { + background-color: #EAF2FA; + color: #111 +} + +.wp-submenu a:focus { + outline: 1px dotted #111; +} + +/*added*/ + +.header2 { + background: #f9f9f9; + border-bottom: 1px solid #dfdfdf; + border-top: 1px solid #fff +} + +#courses_div { + background: #fff +} + +fieldset { + border-color: #dfdfdf +} + +.bgcolor { + background: #ececec +} + +.legend-gray { + color: #535353; +} + +.legend-red { + color: red +} + +.underline-dots { + border-bottom-color: gray +} + +/* MarkDown */ + +.md-preview .tab, +.md-preview > div { + border-color: #dfdfdf +} + +.md-preview .tab:hover, +.md-preview .tab.disabled { + background: #fff; + border-color: #bbb +} + +hr { + color: #fff +} + +/*Side current person*/ + +.current-person, +.current-person a { + color: #fff +} + +.current-person.student { + background: #333366 +} + +.current-person.staff { + background: #336633 +} + +.current-person.self { + background: #663333 +} + +/*student comments*/ + +#student-comments div { + background: #fff +} + +/*calendar*/ + +#calendar { + background: #DFDFDF +} + +#calendar th { + background: #333; + color: #fff +} + +.calendar-day.full { + background: #EEFFEE +} + +.calendar-day.minutes { + background: #EEEEFF +} + +.calendar-day.no-school { + background: #FFEEEE +} + +.calendar-event { + border-color: #000 +} + +.calendar-event.assignment { + border-color: #FF0000 +} + +.calendar-event.assigned { + border-color: #00FF00 +} + +/* Legend */ + +.legend-square.full { + background-color: #afa; +} + +.legend-square.minutes { + background-color: #aaf; +} + +.legend-square.no-school { + background-color: #faa; +} + +/* Attendance Codes */ + +.attendance-code.present { + color: #fff; + background-color: #20DD30; + /* Green */ +} + +.attendance-code.absent { + color: #fff; + background-color: #FF0000; + /* Red */ +} + +.attendance-code.half-day { + color: #fff; + background-color: #FFCC00; + /* Yellow */ +} + +.attendance-code.present-alt { + color: #fff; + background-color: #DDFFDD; + /* Green */ +} + +.attendance-code.absent-alt { + color: #fff; + background-color: #FFDDDD; + /* Red */ +} + +.attendance-code.half-day-alt { + color: #fff; + background-color: #FFEEDD; + /* Yellow */ +} + +/*arrows*/ + +.switchMenu:before { + color: gray +} + +/*bottom*/ + +#BottomButtonMenu:before { + color: #000 +} + +/*bars*/ + +.bar { + color: transparent; +} + +.bar.relevance { + background: gray; +} + +.divPortalPoll .bar { + background: #cc4400; +} + +/* colorBox */ + +#cboxLoadedContent { + background: #fff !important +} + +/* Tooltip */ + +.tooltip { + color: #fff +} + +.tooltip:before { + background: #27b4b4 +} + +.tooltip > i { + background: #444 +} + +/* Teacher Programs */ + +.teacher-programs-wrapper { + border-color: #dfdfdf; +} + +/* Password Input */ + +/* @link http://clrs.cc/ */ + +.password-strength-bars span { + background-color: #FF4136; +} + +.password-strength-bars .score2 { + background-color: #FF851B; +} + +.password-strength-bars .score3, +.password-strength-bars .score4 { + background-color: #2ECC40; +} + +/*responsive tables*/ + +@media only screen and (max-width: 1023px) { + .rt tr { + border-right-color: #dfdfdf + } +} + +@media only screen and (max-width:736px) { + .wp-submenu a:hover { + background: transparent; + color: #21759b + } +} diff --git a/assets/themes/Leagcy/css/font.css b/assets/themes/Leagcy/css/font.css new file mode 100644 index 000000000..3d058e93b --- /dev/null +++ b/assets/themes/Leagcy/css/font.css @@ -0,0 +1,93 @@ +/* Open Sans */ + +@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/Regular.eot'); + src: url('fonts/opensans/Regular.eot?#iefix') format('embedded-opentype'), url('fonts/opensans/Regular.woff') format('woff'), url('fonts/opensans/Regular.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/Italic.eot'); + src: url('fonts/opensans/Italic.eot?#iefix') format('embedded-opentype'), url('fonts/opensans/Italic.woff') format('woff'), url('fonts/opensans/Italic.ttf') format('truetype'); + font-weight: normal; + font-style: italic; +} + +@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/BoldItalic.eot'); + src: url('fonts/opensans/BoldItalic.eot?#iefix') format('embedded-opentype'), url('fonts/opensans/BoldItalic.woff') format('woff'), url('fonts/opensans/BoldItalic.ttf') format('truetype'); + font-weight: 700; + font-style: italic; +} + +@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/Bold.eot'); + src: url('fonts/opensans/Bold.eot?#iefix') format('embedded-opentype'), url('fonts/opensans/Bold.woff') format('woff'), url('fonts/opensans/Bold.ttf') format('truetype'); + font-weight: 700; + font-style: normal; +} + +/*@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/ExtraBoldItalic.eot'); + src: url('fonts/opensans/ExtraBoldItalic.eot?#iefix') format('embedded-opentype'), + url('fonts/opensans/ExtraBoldItalic.woff') format('woff'), + url('fonts/opensans/ExtraBoldItalic.ttf') format('truetype'); + font-weight: 800; + font-style: italic; +} + +@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/ExtraBold.eot'); + src: url('fonts/opensans/ExtraBold.eot?#iefix') format('embedded-opentype'), + url('fonts/opensans/ExtraBold.woff') format('woff'), + url('fonts/opensans/ExtraBold.ttf') format('truetype'); + font-weight: 800; + font-style: normal; +} + +@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/LightItalic.eot'); + src: url('fonts/opensans/LightItalic.eot?#iefix') format('embedded-opentype'), + url('fonts/opensans/LightItalic.woff') format('woff'), + url('fonts/opensans/LightItalic.ttf') format('truetype'); + font-weight: 300; + font-style: italic; +} + +@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/Light.eot'); + src: url('fonts/opensans/Light.eot?#iefix') format('embedded-opentype'), + url('fonts/opensans/Light.woff') format('woff'), + url('fonts/opensans/Light.ttf') format('truetype'); + font-weight: 300; + font-style: normal; +} + +@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/SemiboldItalic.eot'); + src: url('fonts/opensans/SemiboldItalic.eot?#iefix') format('embedded-opentype'), + url('fonts/opensans/SemiboldItalic.woff') format('woff'), + url('fonts/opensans/SemiboldItalic.ttf') format('truetype'); + font-weight: 600; + font-style: italic; +} + +@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/Semibold.eot'); + src: url('fonts/opensans/Semibold.eot?#iefix') format('embedded-opentype'), + url('fonts/opensans/Semibold.woff') format('woff'), + url('fonts/opensans/Semibold.ttf') format('truetype'); + font-weight: 600; + font-style: normal; +}*/ diff --git a/assets/themes/Leagcy/css/icons.css b/assets/themes/Leagcy/css/icons.css new file mode 100644 index 000000000..0657c116a --- /dev/null +++ b/assets/themes/Leagcy/css/icons.css @@ -0,0 +1,94 @@ +/** + * CSS rules for icons (modules) + * + * @since 4.0 + */ + +.module-icon { + width: 36px; + height: 36px; + background-size: contain; + background-repeat: no-repeat; + display: inline-block; + vertical-align: middle; +} + +.header1 .module-icon { + vertical-align: -25%; +} + +.module-icon.Accounting { + background-image: url("modules/Accounting.png"); +} + +.module-icon.Attendance { + background-image: url("modules/Attendance.png"); +} + +.module-icon.Discipline { + background-image: url("modules/Discipline.png"); +} + +.module-icon.Grades { + background-image: url("modules/Grades.png"); +} + +.module-icon.Eligibility { + background-image: url("modules/Eligibility.png"); +} + +.module-icon.Example { + background-image: url("modules/Example.png") !important; +} + +.module-icon.Food_Service { + background-image: url("modules/Food_Service.png"); +} + +.module-icon.Library { + background-image: url("modules/Library.png"); +} + +.Messaging { + background-image: url("modules/Messaging.png") !important; +} + +.module-icon.misc { + background-image: url("modules/misc.png"); +} + +.module-icon.Resources { + background-image: url("modules/Resources.png"); +} + +.module-icon.Reports { + background-image: url("modules/Reports.png") !important; +} + +.module-icon.Scheduling { + background-image: url("modules/Scheduling.png"); +} + +.module-icon.School_Setup { + background-image: url("modules/School_Setup.png"); +} + +.module-icon.SMS { + background-image: url("modules/SMS.png"); +} + +.module-icon.Staff_Absences { + background-image: url("modules/Staff_Absences.png") !important; +} + +.module-icon.Student_Billing { + background-image: url("modules/Student_Billing.png"); +} + +.module-icon.Students { + background-image: url("modules/Students.png"); +} + +.module-icon.Users { + background-image: url("modules/Users.png"); +} diff --git a/assets/themes/Leagcy/css/rtl.css b/assets/themes/Leagcy/css/rtl.css new file mode 100644 index 000000000..c3e3ba595 --- /dev/null +++ b/assets/themes/Leagcy/css/rtl.css @@ -0,0 +1,159 @@ +/** + * CSS rules for Right To Left languages (Arabic...) + * + * @since 3.4.2 + */ + +/* Place side menu on the right */ + +html[dir="RTL"] #menu { + float: right; + border-width: 0 0 0 1px; +} + +html[dir="RTL"] #BottomButtonMenu { + float: right; +} + +/* Submenu on module hover */ + +html[dir="RTL"] .wp-submenu { + right: 0; + left: auto; + -webkit-transition: 0s top, 0s right; + transition: 0s top, 0s right; +} + +/* Edge browser fix: Do not merge focus-within styles with hover styles */ + +html.no-touch[dir="RTL"] .menu-module:focus-within .menu-top:after { + left: 5px; + right: auto; +} + +html.no-touch[dir="RTL"] .menu-module:hover .menu-top:after { + left: 5px; + right: auto; +} + +/* Edge browser fix: Do not merge focus-within styles with hover styles */ + +html.no-touch[dir="RTL"] .menu-module:focus-within .wp-submenu { + right: 205px; + left: auto; +} + +html.no-touch[dir="RTL"] .menu-module:hover .wp-submenu { + right: 205px; + left: auto; +} + +html[dir="RTL"] #selectedModuleLink:after, +html[dir="RTL"] #selectedModuleLink + .wp-submenu { + right: 0; + left: auto; +} + +/* ListOutput */ + +html[dir="RTL"] .widefat td, +html[dir="RTL"] .widefat th { + text-align: right; +} + +/* stackable tables */ + +html[dir="RTL"] div.st { + float: right; +} + +/* Tooltip */ + +html[dir="RTL"] .tooltip > i { + text-align: right; +} + +/*arrows*/ + +html[dir="RTL"] .arrow.right:before, +html[dir="RTL"] .switchMenu:before, +html[dir="RTL"] .switchMenu.switched:before, +html[dir="RTL"] .toggle:before { + content: "\25c0\0000a0"; +} + +/* Fix for RTL languages */ + +html[dir=RTL] input[type=checkbox].toggle { + right: -9999px; +} + +/* colors.css */ + +html[dir="RTL"] #menu, +html[dir="RTL"] .menu-top, +html[dir="RTL"] .menu-top:hover, +html[dir="RTL"] .menu-top:focus, +html[dir="RTL"] #selectedModuleLink + .wp-submenu { + background-image: url(menu-shadow-rtl.png); + background-position: top left; +} + +/* Grades */ + +html[dir="RTL"] .span-grade-points { + float: right; +} + +/* Login inputs */ + +html[dir="RTL"] .login form input[type="password"], +html[dir="RTL"] .login form input[type="text"] { + margin-left: 6px; + margin-right: 0; +} + +/* Align right: left */ + +html[dir="RTL"] .align-right, +html[dir="RTL"] .align-right td, +html[dir="RTL"] td.align-right, +html[dir="RTL"] th.align-right { + text-align: left +} + +html[dir="RTL"] table.col1-align-right > tbody > tr > td:first-child { + text-align: left; +} + +/* List */ + +html[dir="RTL"] #LO_search + .button { + left: 24px; +} + +html[dir="RTL"] #LO_search { + padding-right: 2px; + padding-left: 28px; +} + +@media only screen and (max-width:1023px) { + /* Calendar responsive */ + html[dir="RTL"] .calendar-day .hover:hover { + right: 0; + } + /*fridays, saturdays*/ + html[dir="RTL"] .calendar-day.thu-fri-sat .hover:hover { + left: 0; + right: auto; + } +} + +/*mobile*/ + +@media only screen and (max-width:736px) { + html[dir="RTL"] .header1 h2 { + padding-left: 0; + padding-right: 42px; + } +} diff --git a/assets/themes/Leagcy/css/stylesheet.css b/assets/themes/Leagcy/css/stylesheet.css new file mode 100644 index 000000000..4f79a4bb4 --- /dev/null +++ b/assets/themes/Leagcy/css/stylesheet.css @@ -0,0 +1,1684 @@ +#wrap { + height: auto; + min-height: 100%; + width: 100%; + box-sizing: border-box; +} + +/*ScrollToFixed bug when menu hidden*/ + +#menu.scroll-to-fixed-fixed.hide + div { + width: 0!important +} + +#menu { + width: 205px; + border-width: 0 1px 0 0; + border-style: solid +} + +#menu { + position: relative; + float: left; + overflow: visible; + z-index: 1 !important; + min-height: 100vh; + /* 100% of browser screen height */ +} + +#body { + margin-bottom: 38px; +} + +#footer { + clear: both; + position: fixed; + z-index: 99; + bottom: 0; + left: 0; + /*height: 40px;*/ + width: 100% +} + +#footerwrap { + height: 32px; + padding: 3px; + text-align: center; + border-width: 1px 0; + border-style: solid; +} + +#footerhelp { + display: none; + max-height: 210px; + max-height: 33vh; + overflow-y: scroll; + height: auto; +} + +/* Better readability: format Help text in 3 columns max., 480px width min. (70 to 100 characters). */ + +#footerhelp .footerhelp-content { + padding: 6px 8px; + columns: 3 480px; + widows: 6; +} + +.footerhelp-content p:first-child { + margin-top: 0; +} + +.mod { + overflow: hidden +} + +.mod:after { + content: ""; + display: table; + clear: both +} + +input, +.fixed-col select { + max-width: 100% +} + +/* @link https://stackoverflow.com/questions/10672586/how-to-make-select-elements-shrink-to-max-width-percent-style-within-fieldset */ + +select { + max-width: 440px; +} + +#search input, +#search select { + max-width: 217px; +} + +#search label { + max-width: 217px; + display: inline-block; +} + +input[type=text], +input[type=password], +textarea { + -ms-box-sizing: border-box; + box-sizing: border-box; +} + +input[type=checkbox], +input[type=radio] { + margin-bottom: 2px; + margin-right: 0; + vertical-align: middle; + height: 16px; + width: 16px; + cursor: pointer; +} + +input[type=number] { + width: 50px +} + +input[type=number][name*=AMOUNT], +input[type=number][name*=amount], +input[type=number][name*=balance], +input[type=number][name*=PRICE] { + width: 80px +} + +input[type=color] { + border-width: 0px; + border-style: solid; + width: 30px; + height: 20px; + padding: 0; + cursor: pointer; +} + +fieldset[disabled] button, +button[disabled], +fieldset[disabled] input, +input[disabled], +fieldset[disabled] select, +select[disabled], +fieldset[disabled] textarea, +textarea[disabled] { + cursor: not-allowed; +} + +.color-input-value { + width: 30px; + height: 20px; +} + +html, +body { + height: 100%; + margin: 0; + padding: 0; + word-wrap: break-word; + word-break: break-word; +} + +html, +body, +input, +select, +textarea, +/* Chosen JS select */ + +div.chosen-container, +/* JS calendar */ + +.calendar, +.calendar table { + font-size: 14px; + /* Fix font size auto-adjust on iPhone. */ + -webkit-text-size-adjust: none; +} + +body, +textarea, +input, +select { + font-family: 'Open Sans', sans-serif; + line-height: 1.4em +} + +/* https://stackoverflow.com/questions/61992025/google-chrome-showing-black-border-on-focus-state-for-button-user-agent-styles */ + +a { + -webkit-transition: color 0.2s ease-out 0s; + transition: color 0.2s ease-out 0s +} + +iframe, +img { + border: 0 +} + +/* Responsive image */ + +img { + max-width: 100%; + height: auto; +} + +td { + line-height: inherit +} + +input, +select, +textarea { + line-height: 1.3; + margin: 1px 1px 1px 0; + padding: 3px; +} + +select { + padding: 0 3px; + height: 26px +} + +a, +input, +select:focus { + text-decoration: none +} + +blockquote, +q { + quotes: none +} + +p { + margin: 1em 0 +} + +blockquote { + margin: 1em +} + +label { + cursor: pointer +} + +legend { + font-weight: bold +} + +li, +dd { + margin-bottom: 6px +} + +small, +small * { + font-size: 70%; +} + +h1, +h2, +h3, +h4 { + display: block; + font-weight: bold; + line-height: 1em +} + +h1 { + font-size: 2em; + margin: .67em 0 +} + +h2 { + font-size: 1.58em; + margin: .83em 0 +} + +h3 { + font-size: 1.17em; + margin: 1em 0 +} + +h4 { + font-size: 1.05em; + margin: 1.33em 0 +} + +/*ul,ol{ + padding:0 +} +*/ + +code { + font-family: Consolas, Monaco, monospace; + padding: 1px 3px; + margin: 0 1px; + font-size: 13px +} + +hr { + height: 2px; + border: 0 none; + margin: 14px 0 +} + +sub, +sup { + font-size: smaller; +} + +/* Fix place cellpadding-5 before widefat */ + +.cellpadding-5 td { + padding-right: 5px; + padding-bottom: 5px +} + +.widefat, +div.updated, +div.error, +textarea, +input[type=text], +input[type=password], +input[type=file], +input[type=button], +input[type=submit], +input[type=reset], +input[type=email], +input[type=number], +input[type=search], +input[type=tel], +input[type=url], +select, +.postbox { + border-radius: 3px; + border-width: 1px; + border-style: solid +} + +.postbox { + border-bottom-width: 2px +} + +.widefat { + clear: both; + margin: 0; + /* Move .cellspacing-0 directly here */ + border-spacing: 0; +} + +.widefat * { + word-wrap: break-word +} + +.widefat a { + text-decoration: none +} + +.widefat thead th:first-of-type { + border-top-left-radius: 3px +} + +.widefat thead th:last-of-type { + border-top-right-radius: 3px +} + +.widefat tfoot th:first-of-type { + border-bottom-left-radius: 3px +} + +.widefat tfoot th:last-of-type { + border-bottom-right-radius: 3px +} + +/* listOutput sorting icon */ + +.widefat th a[href*="LO_dir"]:after { + font-family: monospace; + font-size: larger; + line-height: 0.5em; + content: "\0000a0"; + padding-left: 3px; +} + +.widefat th a[href*="LO_dir=1"]:hover:after { + content: "\25b4"; +} + +.widefat th a[href*="LO_dir=-1"]:hover:after { + content: "\25be"; +} + +/*empty header link (checkbox / checkAll)*/ + +.widefat th a:empty:after { + content: ""; + padding-left: 0; +} + +.widefat td, +.widefat th { + text-align: left; + border-width: 1px 0; + border-style: solid; + padding: 4px 7px; + vertical-align: top +} + +/* @since 7.0 CSS Add .widefat.files class */ + +.widefat.files td { + padding: 1px 7px; + font-weight: normal; +} + +.widefat.files td .button + b { + font-weight: normal; +} + +.widefat tfoot th { + border-bottom: none +} + +.widefat th { + overflow: hidden; + font-weight: normal; + line-height: 1.4em +} + +.widefat th, +.widefat th a { + font-size: 16px; +} + +.widefat td p { + margin: 2px 0 .8em +} + +/* Lists */ + +.list-wrapper { + overflow-x: auto; +} + +.list-nav, +.list { + /* Move .width-100p here */ + width: 100%; + border-spacing: 0; +} + +.list-nav { + margin-top: 16px; +} + +.list-nav td { + padding: 4px 8px; +} + +.list { + margin-bottom: 16px; +} + +.list-no-nav { + margin-top: 24px; +} + +.list-header { + margin-bottom: 0; + border-bottom: solid 1px #f1f1f1; +} + +.list-header + .postbox { + padding: 5px; + border-top: none; + border-top-left-radius: 0; + border-top-right-radius: 0; + box-shadow: none; +} + +#LO_search { + padding-right: 28px; + height: 24px; + width: 160px; + float: right; +} + +#LO_search + .button { + position: relative; + left: 157px; + top: 3px; + cursor: pointer; + height: 22px; + float: right; +} + +div.error { + padding: 0 .6em; + margin: 16px 0 +} + +div.updated { + padding: 2px 9px; + margin: 16px 0 +} + +.postbox > thead th, +.widefat th { + font-family: Georgia, "Times New Roman", Times, serif +} + +select option { + padding: 2px +} + +input[type=submit], +input[type=reset], +input[type=button] { + text-decoration: none; + line-height: 14px; + padding: 6px 10px; + margin: 0 8px; + cursor: pointer; + border-width: 1px; + border-style: solid; + border-radius: 3px; + -ms-box-sizing: content-box; + box-sizing: content-box; + /* Display button text on multiple lines if too long */ + white-space: normal; +} + +.header2.align-right input[type="button"], +.header2.align-right input[type="reset"], +.header2.align-right input[type="submit"] { + margin: 0 0 0 16px; +} + +.button-primary { + line-height: 16px; + white-space: nowrap; + border-radius: 3px +} + +label { + vertical-align: middle +} + +/* Proper Date, see ProperDate() */ + +.proper-date { + white-space: nowrap; +} + +/** + * Side Menu form: add CSS classes. + * + * @since 3.8 + */ + +#menu form { + padding: 0 5px; +} + +#menu .username { + font-weight: bold; +} + +#menu .today-date { + text-transform: capitalize; +} + +.adminmenu, +.wp-submenu { + width: 100%; + list-style: outside none none; +} + +.adminmenu { + clear: left; + margin: 0; + padding: 0; + margin-top: 5px; + margin-bottom: 38px; +} + +.adminmenu *, +.widefat th { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none +} + +.wp-submenu { + top: -1000em; + left: 0; + position: absolute; + min-width: 215px; + padding: 0; + margin: 0; + overflow: hidden; + -webkit-transition: top 0s, left 0s, box-shadow 0s; + transition: top 0s, left 0s, box-shadow 0s; + -webkit-transition-delay: .15s; + transition-delay: .15s; + box-shadow: none; + border-width: 1px; + border-style: solid; + box-sizing: border-box; +} + +.adminmenu li { + margin-bottom: 0; +} + +.menu-module { + position: relative; +} + +/* Edge browser fix: Do not merge focus-within styles with hover styles */ + +.no-touch .menu-module:focus-within .menu-top:after { + content: "\276F"; + padding-top: 6px; + position: absolute; + right: 5px; +} + +.no-touch .menu-module:hover .menu-top:after { + content: "\276F"; + position: absolute; + right: 5px; + bottom: 15px; +} + +#selectedModuleLink:after { + content: ""; +} + +/* Edge browser fix: Do not merge focus-within styles with hover styles */ + +.no-touch .menu-module:focus-within .wp-submenu { + -webkit-transition-delay: .15s; + transition-delay: .15s; + z-index: 20; + top: 0; + left: 205px; + overflow: visible; + word-wrap: break-word; + min-height: 36px; + width: auto; +} + +.no-touch .menu-module:hover .wp-submenu { + -webkit-transition-delay: .15s; + transition-delay: .15s; + z-index: 20; + top: 0; + left: 205px; + overflow: visible; + word-wrap: break-word; + min-height: 36px; + width: auto; +} + +/* @since 4.4 Open submenu on touch (mobile & tablet), see warehouse.js */ + +#selectedModuleLink + .wp-submenu { + transition-delay: 0s; + z-index: 1; + top: 0; + left: 0; + position: relative; + margin-top: 0 !important; + border: 0; + min-height: 0; + min-width: 205px; + box-shadow: none; +} + +.menu-inter { + border-width: 1px 0 0; + border-style: solid; + padding: 0 5px 2.5px; + margin-top: 2.5px; +} + +.adminmenu a { + display: block; + line-height: 18px; + padding: 2.5px 5px +} + +.menu-top { + font-size: 15px; + min-width: 10em; + border-width: 1px 0 1px; + border-style: solid +} + +.menu-top img { + height: 32px; + vertical-align: middle +} + +.wp-submenu a { + margin: 0 +} + +.current-person { + padding: 1px 5px; + margin-top: 5px; + font-weight: bold; +} + +.postbox { + margin-bottom: 20px; + padding: 0; + line-height: 1.1 +} + +.postbox > thead th { + border-bottom-width: 1px; + border-bottom-style: solid; + padding: 0 5px; +} + +.postbox th h3, +.postbox .h3multi { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none +} + +.postbox th h3 { + line-height: 31px; + height: 34px; + margin: 0; + border: 0 +} + +.postbox th h3, +.postbox th h3 a { + display: inline-block; + font-size: 16px; + font-weight: normal +} + +.postbox th h3 a { + padding: 0 10px +} + +.postbox .h3multi { + overflow-y: hidden +} + +th a { + display: block; + overflow: hidden; +} + +.postbox { + margin: 0 auto; + position: relative; + min-width: 255px +} + +fieldset { + border-width: 1px; + border-style: solid; + margin: 0 +} + +.error a { + text-decoration: underline +} + +.updated a { + text-decoration: none; + padding-bottom: 2px +} + +div.error p, +div.updated p { + margin: .2em 0; + padding: 2px +} + +h3 span { + font-weight: normal +} + +.highlight { + padding: 3px 3px 3px 12px; + margin-left: -12px; + font-weight: bold; + border: 0 none +} + +/*added*/ + +.hide { + display: none +} + +.user-photo { + max-width: 150px; + max-height: 150px +} + +.alignImg { + vertical-align: middle; + height: 32px +} + +.underline-dots .button { + vertical-align: baseline; + height: 16px; +} + +#body { + padding: 0 15px 38px; +} + +.header { + /* Move .cellspacing-0 & width-100p directly here */ + border-spacing: 0; + width: 100%; +} + +.header1 h2 { + font-family: 'Open Sans', sans-serif; + font-size: 30px; + font-weight: normal; + margin: 0; + padding: 14px 15px 14px 0; + text-shadow: #aaa 0 1px 1px +} + +.header2 { + padding: 4px 8px +} + +.header2 table { + line-height: 1; + margin-left: -3px +} + +.header2 .widefat { + margin-left: 0; +} + +/* Scheduling Requests Courses div */ + +#courses_div { + position: absolute; + border-style: solid; + border-width: 1px; + padding: 4px; + right: 0; + left: 0; + display: none; + max-height: 80px; + overflow: auto; + width: auto +} + +.size-3 { + font-size: 11px +} + +.size-1, +.size-1 * { + font-size: 13px +} + +.sizep1 { + font-size: 15px +} + +.sizep2 { + font-size: 16px +} + +.underline-dots { + border-bottom-style: dotted; + border-bottom-width: 1px +} + +/* Textarea MarkDown */ + +div.underline-dots { + display: inline-block; + max-height: 240px; + max-width: 100%; + overflow: auto; + line-height: inherit; +} + +.underline-dots, +.checkbox-label, +.no-input-value { + line-height: 28px; + padding-bottom: 1px; +} + +.span-grade-points + label { + line-height: 28px; +} + +textarea { + width: 100%; + min-width: 280px; + /* Max width: 1024px for PDF */ + max-width: 1024px; +} + +/* MarkDown */ + +.md-preview { + min-width: 280px; + /* Max width: 1024px for PDF */ + max-width: 1024px; +} + +.md-preview > .tab { + border-width: 1px; + border-bottom: 0; + border-style: solid; + border-top-left-radius: 3px; + border-top-right-radius: 3px; + font-weight: bold; + padding: 5px 7px; + margin: 0 2px 0 0; + line-height: 27px +} + +.md-preview > .tab.disabled { + pointer-events: none; + cursor: default +} + +.md-preview .md-link { + line-height: 27px; + float: right +} + +.md-preview > div { + display: none; + border-width: 1px; + border-style: solid; + padding: 2px 7px; + margin-bottom: 2px; + box-sizing: border-box; + overflow-y: auto; +} + +.md-preview + textarea { + border-top-left-radius: 0; + border-top-right-radius: 0; + margin-top: 0; + resize: vertical; +} + +/*MarkDown to HTML table styling*/ + +.markdown-to-html table { + border-collapse: collapse; + border-spacing: 0; +} + +.markdown-to-html th, +.markdown-to-html td { + border: 1px solid #bbb; + padding: 5px; +} + +.legend-gray, +.legend-red { + margin-bottom: 7px; + display: inline-block +} + +.logo { + max-width: 150px; + max-height: 150px +} + +#menu .logo { + margin-top: 4px +} + +.onclick { + cursor: pointer +} + +div.onclick { + display: inline-block; + max-width: 100%; +} + +.cellspacing-0 { + /*cellspacing="0"*/ + border-spacing: 0 +} + +.width-100p { + /*width="100%"*/ + width: 100% +} + +.fixed-col { + table-layout: fixed; + word-wrap: break-word; + /* Fix cell content overflow */ +} + +.popTable { + padding: 7px +} + +td.valign-top, +tr.valign-top, +table.valign-top td { + vertical-align: top +} + +td.valign-bottom, +tr.valign-bottom td, +table.valign-bottom td { + vertical-align: bottom +} + +.align-right, +.align-right td, +td.align-right, +th.align-right { + text-align: right +} + +table.col1-align-right > tbody > tr > td:first-child { + text-align: right; + vertical-align: middle +} + +.center { + /*
&& */ + text-align: center +} + +span.center, +a.center { + display: block +} + +img.center { + display: block; + margin: 0 auto; +} + +table.center { + text-align: inherit; + margin-left: auto; + margin-right: auto; +} + +span.nobr { + white-space: nowrap +} + +div.nobr div { + display: inline +} + +tr.address > td { + border-style: none dotted none none; + border: 1; + padding: 0 12px 0 12px +} + +.br-after { + display: block +} + +/*Honor Roll cliparts + frames*/ + +td.image-radio-list { + height: 160px; + padding: 0; + margin: 0; + float: left; + position: relative +} + +label.image-radio-list { + padding: 0 20px +} + +img.image-radio-list { + vertical-align: top; + max-width: 150px; + max-height: 150px +} + +/*buttons*/ + +.button { + vertical-align: middle; + height: 16px; + max-width: none; +} + +a > .button { + padding: 1px; +} + +.button.bigger { + height: 24px +} + +.button.smaller { + height: 14px +} + +.button.cal { + cursor: pointer; + height: 32px; + margin-top: -9px +} + +.login .popTable { + padding: 8px; +} + +.login .popTable td { + padding-bottom: 16px; +} + +.login .popTable tr:last-of-type td { + padding-bottom: 0; +} + +/* Login form */ + +.login #loginform input[type=text], +.login #loginform input[type=password] { + font-weight: 200; + font-size: 20px; + width: 100%; + max-width: 100%; + padding: 3px; + margin-top: 2px; + margin-right: 6px; + box-shadow: inset 1px 1px 2px rgba(200, 200, 200, .2) +} + +/*bottom*/ + +.BottomButton { + line-height: 32px; + margin-right: 8px; + display: inline-block; +} + +.BottomButton span { + vertical-align: top +} + +.BottomButton img { + height: 32px +} + +#BottomButtonMenu { + height: 32px; + line-height: 28px; + float: left; +} + +#BottomButtonMenu:before { + content: "\2261"; + font-size: 3rem; + font-weight: bold; +} + +.BottomButton.loading { + float: right; + padding-bottom: 13px; +} + +/* Loading spinner */ + +.loading { + display: inline-block; + width: 12px; + height: 12px; + background: url('spinning.gif') no-repeat center; + visibility: hidden +} + +/* Adjust File input size with spinner on its right */ + +input[type=file] { + padding: 0; + max-width: calc( 100% - 18px); + height: 25px; +} + +/*bars*/ + +.bar { + word-wrap: normal; +} + +/*stackable tables*/ + +div.st { + float: left; + padding: 4px +} + +/*student comments*/ + +#student-comments { + max-width: 100%; + width: 500px; +} + +#student-comments span { + font-style: italic +} + +#student-comments div { + padding: 10px; + margin-bottom: 15px; + border-bottom: 1px solid +} + +/*calendar*/ + +#calendar { + table-layout: fixed; + height: 80%; +} + +#calendar > thead > tr > th { + font-size: 1.2em; + font-weight: 400; + line-height: 1.6; +} + +.calendar-day { + min-width: 109px; +} + +.calendar-day > table { + height: 100%; +} + +.calendar-event { + height: 32px; +} + +/*http://stackoverflow.com/questions/9789723/css-text-overflow-in-a-table-cell*/ + +.calendar-day td { + max-width: 103px; + overflow: hidden; + white-space: nowrap; + line-height: 1.231 +} + +.calendar-day .bold { + font-weight: bold +} + +.calendar-day .number { + font-size: 1.2em; +} + +.calendar-event div { + border-left-width: 4px; + border-left-style: solid; + margin: 1px 0 +} + +.calendar-event a, +.calendar-event span { + padding: 4px 2px; + display: inline-block +} + +td.calendar-menu { + white-space: normal; + max-width: none +} + +/* Legend */ + +.legend-square { + width: 32px; + height: 32px; + border-radius: 3px; +} + +/* colorBox */ + +#cboxLoadedContent { + margin: 1px; + padding: 5px !important +} + +/*responsive tables*/ + +.rt .link2colorBox { + display: none +} + +/*portal polls*/ + +.divPortalPoll { + max-height: 350px; + overflow-y: auto; + min-width: 300px +} + +.divPortalPoll .widefat { + margin-bottom: 0.8em; +} + +.widefat .divPortalPoll > p { + margin-bottom: 2px; +} + +/* Grades */ + +.span-grade-points { + float: left; +} + +/* Take Attendance */ + +/* Attendance Codes */ + +.attendance-code { + display: inline-block; + padding: 2px 8px; + /* One letter codes: same width */ + min-width: 10px; + text-align: center; +} + +/*arrows*/ + +.arrow.right:before, +.switchMenu:before { + content: "\25b6\0000a0"; + vertical-align: 10%; +} + +.switchMenu.switched:before { + content: "\25bc\0000a0"; +} + +.arrow, +.switchMenu { + display: inline-block; +} + +.switchMenu { + padding: 5px +} + +/* Chart.js */ + +.chart { + position: relative; + /* 90% viewport width - menu width. */ + width: calc( 90vw - 205px); + max-width: 1024px; +} + +/*tipmessage (DO NOT EDIT)*/ + +#tipMsg { + visibility: hidden; + position: absolute; + z-index: 1000; + top: -100px; + max-width: 300px +} + +.tipmsg-label { + display: inline-block; + border-bottom: 1px dashed #bbb; + cursor: default; +} + +a > .tipmsg-label { + cursor: pointer; +} + +/* Tooltip */ + +.tooltip { + position: absolute; + display: inline-block; + margin-left: 5px; + cursor: help +} + +.tooltip:before { + content: "i"; + font-family: monospace; + font-size: 0.85em; + font-weight: bold; + width: 16px; + height: 16px; + line-height: 16px; + display: inline-block; + text-align: center; + border-radius: 50%; +} + +.tooltip > i { + visibility: hidden; + opacity: 0; + position: absolute; + bottom: 110%; + left: -90px; + width: 180px; + z-index: 999; + display: inline-block; + padding: 7px; + border-radius: 3px; + transition: opacity .3s; + text-align: left; + font-size: 1em; + line-height: 1.5 +} + +.tooltip:hover > i { + visibility: visible; + opacity: 1 +} + +/* Toggle, CSS checkbox hack */ + +.toggle { + cursor: pointer; +} + +input[type=checkbox].toggle { + position: absolute; + left: -9999px; +} + +.toggle ~ .toggle-me { + /* Hidden State */ + display: none; +} + +.toggle:checked ~ .toggle-me { + /* Toggled State */ + display: block; +} + +.toggle:before { + content: "\25b6\0000a0"; + vertical-align: 10% +} + +.toggle:checked + .toggle:before { + content: "\25bc\0000a0" +} + +/* MiniColors */ + +.minicolors { + margin: 2px 2px 2px 0; +} + +/* Accessibility (a11y) */ + +.a11y-hidden { + position: absolute !important; + clip: rect(1px 1px 1px 1px); + /* IE6, IE7 */ + clip: rect(1px, 1px, 1px, 1px); +} + +#footerwrap a.a11y-hidden:active, +#footerwrap a.a11y-hidden:focus { + clip: auto !important; + position: absolute; + text-decoration: underline; + left: 9%; +} + +/* Login, First login & Password Reset pages */ + +.login, +.first-login, +.password-reset { + height: auto; +} + +.login #body, +.first-login #body, +.password-reset #body { + padding: 64px 2px; + margin-bottom: 0; +} + +.password-reset #body { + padding-top: 0; +} + +.login .postbox, +.password-reset .postbox { + max-width: 320px; +} + +/* Create account page */ + +.create-account { + padding: 0 2px; +} + +/* AJAX error message */ + +.ajax-error { + position: fixed; + top: 0; + right: 0; + padding: 11px; + background-color: red; + font-weight: bold; + color: #fff; + z-index: 100000; + display: none; +} + +/** + * TinyMCE + */ + +.tinymce { + min-height: 200px; +} + +.mce-tinymce.mce-container { + /* Max width: 1024px for PDF */ + max-width: 1024px; +} + +.tinymce-horizontal .mce-tinymce.mce-container { + /* Max width: 1448px for Horizontal PDF */ + max-width: 1448px; +} + +/* Hide "Powered by TinyMCE" */ + +.mce-branding { + display: none !important; +} + +.mce-tinymce.mce-fullscreen, +.tinymce-horizontal .mce-tinymce.mce-fullscreen { + max-width: none; +} + +/* TinyMCE responsive toolbar buttons */ + +.mce-btn-group .mce-btn { + float: left; +} + +.tinymce-html img, +.markdown-to-html img { + /* Responsive image for TinyMCE & Markdown HTML. */ + height: auto; +} + +/* Chosen select: add 15px to original width so Chosen options ALL fit */ + +.chosen-select { + min-width: 55px; + padding-right: 15px; +} + +/* Add 23px to multiple Chosen select */ + +.chosen-select[multiple] { + padding-right: 23px; +} + +/** + * Disguise phone number "tel" links on desktop + * http://stackoverflow.com/questions/15425356/how-to-disable-link-to-phone-number-when-on-desktop + */ + +.no-touch .phone-link { + color: #333; + /*pointer-events: none;*/ + cursor: default; +} + +/* Dashboard */ + +.dashboard-module-title { + font-weight: 400; + margin: 0.85em 0; +} + +.dashboard-module-data { + padding-left: 8px; +} + +.dashboard-module-data-tipmsg .legend-gray { + margin-bottom: 5px; +} + +.dashboard-module-title img { + vertical-align: middle; +} + +/* Teacher Programs */ + +.teacher-programs-wrapper { + /*border-width: 3px;*/ + border-style: dashed; + padding: 7px; + width: 100%; + margin-left: -9px; +} + +/* Password Input */ + +.password-input-wrapper { + display: inline-block; +} + +.password-strength-bars { + /*height: 6px;*/ + line-height: 5px; + font-size: 5px; +} + +.password-strength-bars + br { + display: none; +} + +.password-toggle { + float: right; + margin-left: -22px; + margin-top: 5px; + cursor: pointer; + position: relative; + margin-right: 3px; + background: #fff; +} + +.password-hide { + display: none; +} + +.password-strength-bars span { + display: inline-block; + width: 18.5%; + line-height: 5px; + height: 5px; + padding: 0 1px 0 0; + visibility: hidden; +} + +.password-strength-bars ~ label { + display: inline-block; + margin-top: -2px; +} diff --git a/assets/themes/Leagcy/css/wkhtmltopdf.css b/assets/themes/Leagcy/css/wkhtmltopdf.css new file mode 100644 index 000000000..95e1e5b69 --- /dev/null +++ b/assets/themes/Leagcy/css/wkhtmltopdf.css @@ -0,0 +1,46 @@ +/* wkhtmltopdf specific */ + +html, +body, +input, +select, +textarea { + font-size: inherit; +} + +small, +small * { + font-size: 14px; +} + +body { + color: #000; +} + +/* Lists */ + +.list-wrapper { + /* Fix wkhtmltopdf issue where table header overlaps first row */ + /* @link https://www.rosariosis.org/forum/d/91-print-row-in-table-header-overflow-wkhtmltopdf */ + overflow-x: visible; + /* Revert fix for ChosenSelect overflow + @link https://github.com/harvesthq/chosen/issues/86#issuecomment-410044171 */ + padding-bottom: 0; + margin-bottom: 0; +} + +/* @since 4.3 */ + +.wkhtmltopdf-header, +.wkhtmltopdf-footer { + width: auto; + height: auto; +} + +.wkhtmltopdf-portrait { + width: 994px; +} + +.wkhtmltopdf-landscape { + width: 1405px; +} diff --git a/assets/themes/Leagcy/css/zresponsive.css b/assets/themes/Leagcy/css/zresponsive.css new file mode 100644 index 000000000..305839ac9 --- /dev/null +++ b/assets/themes/Leagcy/css/zresponsive.css @@ -0,0 +1,371 @@ +/*tablet vertical*/ + +@media only screen and (max-width:800px) { + .BottomButton span { + display: none + } +} + +/*mobile*/ + +@media only screen and (max-width:736px) { + /*quick smartphone reset*/ + .mod { + position: relative !important; + float: none !important; + clear: none !important; + margin-left: 0 !important; + margin-right: 0 !important; + border: 0 + } + #wrap { + padding-top: 39px; + height: 100%; + } + #footer { + position: fixed !important; + top: 0; + bottom: auto; + } + #footerhelp { + border-width: 1px 0; + border-style: solid; + } + #menu .logo { + max-width: 130px; + margin: 2px; + max-height: 130px; + float: right + } + #menu { + position: fixed !important; + top: 39px; + left: 0; + right: 0; + bottom: 0; + width: 100%; + overflow-y: scroll; + padding-bottom: 0; + min-height: auto; + } + .adminmenu { + margin-bottom: 5px; + } + .adminmenu a { + padding: 2px 5px + } + .wp-submenu a { + padding: 5px + } + #menu form { + padding: 5px; + } + .menu-top img { + height: 30px + } + .no-touch .menu-module:hover .menu-top:after { + content: ""; + } + .no-touch .menu-module:hover .wp-submenu { + top: -1000em; + } + #body { + width: auto !important; + padding: 0 5px; + box-sizing: border-box; + } + .header1 h2 { + font-size: 22px; + line-height: 24px; + padding-left: 42px; + text-indent: -42px; + } + #search input, + #search select, + #LO_search { + max-width: 150px + } + #LO_search { + float: left; + } + #LO_search + .button { + left: -28px; + float: left; + } + #modulesBody textarea { + width: 100% !important + } + tr.address > td { + border-style: none none dotted none; + padding: 12px 0 12px 0 + } + /* Chart.js */ + .chart { + width: 90vw; + min-width: 450px; + } + input[type=submit], + input[type=reset], + input[type=button] { + margin: 0 4px; + } + /*stackable tables*/ + tr.st > td { + float: left; + width: 100%; + box-sizing: border-box + } + table.col1-align-right > tbody > tr.st > td:first-child { + text-align: left; + border-bottom: none; + } + table.col1-align-right > tbody > tr.st > td:nth-child(2) { + border-top: none; + } + .fixed-col { + table-layout: auto; + /*no fixed layout for stackable tables*/ + } + .fixed-col select { + max-width: 440px; + } + .divPortalPoll { + min-width: 0 + } + /*bigger tooltip i*/ + .tooltip::before { + font-size: 0.9em; + width: 20px; + height: 20px; + line-height: 20px; + } + /* Smaller tooltip size */ + .tooltip > i { + bottom: 150%; + left: -55px; + width: 120px; + padding: 5px; + border-radius: 3px; + font-size: 0.9em; + line-height: 1.5 + } + /* Login, First login & Password Reset pages */ + .login, + .first-login, + .password-reset { + padding: 32px 2px; + } + .password-reset { + padding-top: 0; + } + /* TinyMCE "Insert/Edit image" popup too large on mobile devices */ + .mce-container .mce-dropzone { + height: 60px !important; + } + /*.mce-container.mce-floatpanel .mce-textbox { + /* Max width: 1024px for PDF */ + /* max-width: 100% !important; + }*/ + /* Teacher Programs */ + .teacher-programs-wrapper { + padding: 0.5%; + width: 99%; + margin-left: -0.5%; + } +} + +@media only screen and (max-width:1023px) { + /*responsive tables*/ + .rt { + display: block; + position: relative; + width: 100% + } + .rt thead { + display: block; + float: left; + max-width: 160px; + } + .rt tbody { + display: block; + width: auto; + position: relative; + overflow-x: auto; + white-space: nowrap + } + .rt thead tr { + display: block + } + .rt th { + display: block; + line-height: 2em; + height: 2em + } + .rt th, + .rt th a { + font-size: 14px; + white-space: nowrap; + text-overflow: ellipsis; + } + .rt tbody tr { + display: inline-block; + vertical-align: top + } + .rt td { + display: block; + line-height: 2em; + height: 2em + } + .rt img { + max-height: 2em + } + .rt input, + .rt select { + margin: 0 + } + .rt tr { + border-right-width: 1px; + border-right-style: solid + } + /*rt td too large*/ + .rt input, + .rt select, + .rt textarea { + max-width: 150px + } + .rt .link2colorBox { + display: block + } + .rt .link2colorBox .colorboxinline { + background: url('btn/visualize.png') no-repeat; + background-size: contain; + width: 24px; + height: 24px; + display: block + } + .rt2colorBox { + overflow: auto + } + /*if content on 1 line & text <= 36 chars*/ + .widefat td .rt2colorBox p { + margin-top: 0 + } + .rt .link2colorBox + .rt2colorBox { + display: none + } + .rt div.error, + .rt div.updated { + padding: 0; + margin: 0 + } + /*no THEAD repeat*/ + .rt .thead-repeat { + display: none; + } + .divPortalPoll { + max-height: none; + overflow-y: visible + } + /*calendar*/ + #calendar > thead > tr > th { + font-size: 1em; + line-height: 1.3; + overflow: hidden; + word-wrap: normal; + padding: 4px; + } + .calendar-day { + position: relative; + min-height: 48px + } + .calendar-day > table { + display: block; + width: inherit; + z-index: 1 + } + .calendar-day td { + display: none; + } + .calendar-day .hover:hover td, + .calendar-day .number { + display: table-cell; + } + .calendar-day .number { + font-size: 1em; + } + /*.calendar-day .hover:hover .calendar-event{ + display:inherit; + }*/ + .calendar-day .hover:hover { + height: auto; + min-width: 202px; + min-height: 102px; + z-index: 2; + position: absolute; + top: 0; + left: 0; + background-color: inherit; + box-shadow: 2px 2px 2px 1px #9f9f9f + } + /*fridays, saturdays*/ + .calendar-day.thu-fri-sat .hover:hover { + right: 0; + left: auto; + box-shadow: -2px 2px 2px 1px #9f9f9f + } + /*jscalendar+colorbox*/ + .calendar { + z-index: 10000 + } + /* Scheduling Requests Courses div */ + #courses_div { + position: relative; + width: 210px; + float: right; + } + /* Hide List sorting icons */ + .widefat th a[href*="LO_dir"]:after { + content: ""; + padding-left: 0; + } + .widefat th a[href*="LO_dir"]:hover:after { + content: ""; + } +} + +/*320 & 360px mobile*/ + +@media only screen and (max-width:479px) { + /*Stackable tables: columns always align left*/ + .st > .align-right { + text-align: left; + } + .header2.align-right input[type="button"], + .header2.align-right input[type="reset"], + .header2.align-right input[type="submit"] { + margin: 0 16px 0 0; + } + /*calendar*/ + .calendar-day { + height: 36px + } + .calendar-day .hover:hover { + min-width: 177px; + min-height: 78px + } + input, + select, + .fixed-col select { + max-width: 260px + } + /* Teacher Programs */ + .teacher-programs-wrapper { + padding: 1%; + width: 98%; + margin-left: -1%; + } + /*responsive tables*/ + .rt thead { + max-width: 130px; + } +} diff --git a/assets/themes/Leagcy/fonts/opensans/Bold.eot b/assets/themes/Leagcy/fonts/opensans/Bold.eot new file mode 100644 index 000000000..5d20d9163 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/Bold.eot differ diff --git a/assets/themes/Leagcy/fonts/opensans/Bold.ttf b/assets/themes/Leagcy/fonts/opensans/Bold.ttf new file mode 100644 index 000000000..2109c958e Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/Bold.ttf differ diff --git a/assets/themes/Leagcy/fonts/opensans/Bold.woff b/assets/themes/Leagcy/fonts/opensans/Bold.woff new file mode 100644 index 000000000..1205787b0 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/Bold.woff differ diff --git a/assets/themes/Leagcy/fonts/opensans/BoldItalic.eot b/assets/themes/Leagcy/fonts/opensans/BoldItalic.eot new file mode 100644 index 000000000..1f639a15f Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/BoldItalic.eot differ diff --git a/assets/themes/Leagcy/fonts/opensans/BoldItalic.ttf b/assets/themes/Leagcy/fonts/opensans/BoldItalic.ttf new file mode 100644 index 000000000..242d6b25c Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/BoldItalic.ttf differ diff --git a/assets/themes/Leagcy/fonts/opensans/BoldItalic.woff b/assets/themes/Leagcy/fonts/opensans/BoldItalic.woff new file mode 100644 index 000000000..ed760c062 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/BoldItalic.woff differ diff --git a/assets/themes/Leagcy/fonts/opensans/ExtraBold.eot b/assets/themes/Leagcy/fonts/opensans/ExtraBold.eot new file mode 100644 index 000000000..1e29ad595 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/ExtraBold.eot differ diff --git a/assets/themes/Leagcy/fonts/opensans/ExtraBold.ttf b/assets/themes/Leagcy/fonts/opensans/ExtraBold.ttf new file mode 100644 index 000000000..6b9118ee3 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/ExtraBold.ttf differ diff --git a/assets/themes/Leagcy/fonts/opensans/ExtraBold.woff b/assets/themes/Leagcy/fonts/opensans/ExtraBold.woff new file mode 100644 index 000000000..a7b99d255 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/ExtraBold.woff differ diff --git a/assets/themes/Leagcy/fonts/opensans/ExtraBoldItalic.eot b/assets/themes/Leagcy/fonts/opensans/ExtraBoldItalic.eot new file mode 100644 index 000000000..77184af42 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/ExtraBoldItalic.eot differ diff --git a/assets/themes/Leagcy/fonts/opensans/ExtraBoldItalic.ttf b/assets/themes/Leagcy/fonts/opensans/ExtraBoldItalic.ttf new file mode 100644 index 000000000..26a07e939 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/ExtraBoldItalic.ttf differ diff --git a/assets/themes/Leagcy/fonts/opensans/ExtraBoldItalic.woff b/assets/themes/Leagcy/fonts/opensans/ExtraBoldItalic.woff new file mode 100644 index 000000000..45395d1bb Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/ExtraBoldItalic.woff differ diff --git a/assets/themes/Leagcy/fonts/opensans/Italic.eot b/assets/themes/Leagcy/fonts/opensans/Italic.eot new file mode 100644 index 000000000..0c8a0ae06 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/Italic.eot differ diff --git a/assets/themes/Leagcy/fonts/opensans/Italic.ttf b/assets/themes/Leagcy/fonts/opensans/Italic.ttf new file mode 100644 index 000000000..12d25d9a7 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/Italic.ttf differ diff --git a/assets/themes/Leagcy/fonts/opensans/Italic.woff b/assets/themes/Leagcy/fonts/opensans/Italic.woff new file mode 100644 index 000000000..ff652e643 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/Italic.woff differ diff --git a/assets/themes/Leagcy/fonts/opensans/Light.eot b/assets/themes/Leagcy/fonts/opensans/Light.eot new file mode 100644 index 000000000..14868406a Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/Light.eot differ diff --git a/assets/themes/Leagcy/fonts/opensans/Light.ttf b/assets/themes/Leagcy/fonts/opensans/Light.ttf new file mode 100644 index 000000000..63af664cd Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/Light.ttf differ diff --git a/assets/themes/Leagcy/fonts/opensans/Light.woff b/assets/themes/Leagcy/fonts/opensans/Light.woff new file mode 100644 index 000000000..e78607481 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/Light.woff differ diff --git a/assets/themes/Leagcy/fonts/opensans/LightItalic.eot b/assets/themes/Leagcy/fonts/opensans/LightItalic.eot new file mode 100644 index 000000000..8f445929f Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/LightItalic.eot differ diff --git a/assets/themes/Leagcy/fonts/opensans/LightItalic.ttf b/assets/themes/Leagcy/fonts/opensans/LightItalic.ttf new file mode 100644 index 000000000..01dda2858 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/LightItalic.ttf differ diff --git a/assets/themes/Leagcy/fonts/opensans/LightItalic.woff b/assets/themes/Leagcy/fonts/opensans/LightItalic.woff new file mode 100644 index 000000000..43e8b9e6c Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/LightItalic.woff differ diff --git a/assets/themes/Leagcy/fonts/opensans/Regular.eot b/assets/themes/Leagcy/fonts/opensans/Regular.eot new file mode 100644 index 000000000..6bbc3cf58 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/Regular.eot differ diff --git a/assets/themes/Leagcy/fonts/opensans/Regular.ttf b/assets/themes/Leagcy/fonts/opensans/Regular.ttf new file mode 100644 index 000000000..c537f8382 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/Regular.ttf differ diff --git a/assets/themes/Leagcy/fonts/opensans/Regular.woff b/assets/themes/Leagcy/fonts/opensans/Regular.woff new file mode 100644 index 000000000..e231183dc Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/Regular.woff differ diff --git a/assets/themes/Leagcy/fonts/opensans/Semibold.eot b/assets/themes/Leagcy/fonts/opensans/Semibold.eot new file mode 100644 index 000000000..d8375dd0a Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/Semibold.eot differ diff --git a/assets/themes/Leagcy/fonts/opensans/Semibold.ttf b/assets/themes/Leagcy/fonts/opensans/Semibold.ttf new file mode 100644 index 000000000..b3290843a Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/Semibold.ttf differ diff --git a/assets/themes/Leagcy/fonts/opensans/Semibold.woff b/assets/themes/Leagcy/fonts/opensans/Semibold.woff new file mode 100644 index 000000000..28d6adee0 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/Semibold.woff differ diff --git a/assets/themes/Leagcy/fonts/opensans/SemiboldItalic.eot b/assets/themes/Leagcy/fonts/opensans/SemiboldItalic.eot new file mode 100644 index 000000000..0ab1db22e Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/SemiboldItalic.eot differ diff --git a/assets/themes/Leagcy/fonts/opensans/SemiboldItalic.ttf b/assets/themes/Leagcy/fonts/opensans/SemiboldItalic.ttf new file mode 100644 index 000000000..d2d6318f6 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/SemiboldItalic.ttf differ diff --git a/assets/themes/Leagcy/fonts/opensans/SemiboldItalic.woff b/assets/themes/Leagcy/fonts/opensans/SemiboldItalic.woff new file mode 100644 index 000000000..d4dfca402 Binary files /dev/null and b/assets/themes/Leagcy/fonts/opensans/SemiboldItalic.woff differ diff --git a/assets/themes/Leagcy/fonts/roboto-condensed/Apache License.txt b/assets/themes/Leagcy/fonts/roboto-condensed/Apache License.txt new file mode 100644 index 000000000..989e2c59e --- /dev/null +++ b/assets/themes/Leagcy/fonts/roboto-condensed/Apache License.txt @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-Bold.ttf b/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-Bold.ttf new file mode 100644 index 000000000..3e06c7cdc Binary files /dev/null and b/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-Bold.ttf differ diff --git a/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-BoldItalic.ttf b/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-BoldItalic.ttf new file mode 100644 index 000000000..aaf9fe03b Binary files /dev/null and b/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-BoldItalic.ttf differ diff --git a/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-Italic.ttf b/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-Italic.ttf new file mode 100644 index 000000000..d2b611fea Binary files /dev/null and b/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-Italic.ttf differ diff --git a/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-Light.ttf b/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-Light.ttf new file mode 100644 index 000000000..d4eb19806 Binary files /dev/null and b/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-Light.ttf differ diff --git a/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-LightItalic.ttf b/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-LightItalic.ttf new file mode 100644 index 000000000..a08f3f470 Binary files /dev/null and b/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-LightItalic.ttf differ diff --git a/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-Regular.ttf b/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-Regular.ttf new file mode 100644 index 000000000..b9fc49c95 Binary files /dev/null and b/assets/themes/Leagcy/fonts/roboto-condensed/RobotoCondensed-Regular.ttf differ diff --git a/assets/themes/Leagcy/images/controls.png b/assets/themes/Leagcy/images/controls.png new file mode 100644 index 000000000..36f526992 Binary files /dev/null and b/assets/themes/Leagcy/images/controls.png differ diff --git a/assets/themes/Leagcy/images/loading.gif b/assets/themes/Leagcy/images/loading.gif new file mode 100644 index 000000000..a32df5c08 Binary files /dev/null and b/assets/themes/Leagcy/images/loading.gif differ diff --git a/assets/themes/Leagcy/logo.png b/assets/themes/Leagcy/logo.png new file mode 100644 index 000000000..4178525e6 Binary files /dev/null and b/assets/themes/Leagcy/logo.png differ diff --git a/assets/themes/Leagcy/menu-shadow-rtl.png b/assets/themes/Leagcy/menu-shadow-rtl.png new file mode 100644 index 000000000..6a1bc2ea6 Binary files /dev/null and b/assets/themes/Leagcy/menu-shadow-rtl.png differ diff --git a/assets/themes/Leagcy/menu-shadow.png b/assets/themes/Leagcy/menu-shadow.png new file mode 100644 index 000000000..b0883a8cb Binary files /dev/null and b/assets/themes/Leagcy/menu-shadow.png differ diff --git a/assets/themes/Leagcy/menuarrow.gif b/assets/themes/Leagcy/menuarrow.gif new file mode 100644 index 000000000..40c0aadfc Binary files /dev/null and b/assets/themes/Leagcy/menuarrow.gif differ diff --git a/assets/themes/Leagcy/modules/Accounting.png b/assets/themes/Leagcy/modules/Accounting.png new file mode 100644 index 000000000..f1dcc0bd0 Binary files /dev/null and b/assets/themes/Leagcy/modules/Accounting.png differ diff --git a/assets/themes/Leagcy/modules/Attendance.png b/assets/themes/Leagcy/modules/Attendance.png new file mode 100644 index 000000000..d34159e62 Binary files /dev/null and b/assets/themes/Leagcy/modules/Attendance.png differ diff --git a/assets/themes/Leagcy/modules/Discipline.png b/assets/themes/Leagcy/modules/Discipline.png new file mode 100644 index 000000000..8cf7c79d7 Binary files /dev/null and b/assets/themes/Leagcy/modules/Discipline.png differ diff --git a/assets/themes/Leagcy/modules/Eligibility.png b/assets/themes/Leagcy/modules/Eligibility.png new file mode 100644 index 000000000..27a6a42b3 Binary files /dev/null and b/assets/themes/Leagcy/modules/Eligibility.png differ diff --git a/assets/themes/Leagcy/modules/Example.png b/assets/themes/Leagcy/modules/Example.png new file mode 100644 index 000000000..f4d42da81 Binary files /dev/null and b/assets/themes/Leagcy/modules/Example.png differ diff --git a/assets/themes/Leagcy/modules/Food_Service.png b/assets/themes/Leagcy/modules/Food_Service.png new file mode 100644 index 000000000..1f1068915 Binary files /dev/null and b/assets/themes/Leagcy/modules/Food_Service.png differ diff --git a/assets/themes/Leagcy/modules/Grades.png b/assets/themes/Leagcy/modules/Grades.png new file mode 100644 index 000000000..f16cf0589 Binary files /dev/null and b/assets/themes/Leagcy/modules/Grades.png differ diff --git a/assets/themes/Leagcy/modules/Library.png b/assets/themes/Leagcy/modules/Library.png new file mode 100644 index 000000000..11709989b Binary files /dev/null and b/assets/themes/Leagcy/modules/Library.png differ diff --git a/assets/themes/Leagcy/modules/Messaging.png b/assets/themes/Leagcy/modules/Messaging.png new file mode 100644 index 000000000..28dc19549 Binary files /dev/null and b/assets/themes/Leagcy/modules/Messaging.png differ diff --git a/assets/themes/Leagcy/modules/Quiz.png b/assets/themes/Leagcy/modules/Quiz.png new file mode 100644 index 000000000..372c02d54 Binary files /dev/null and b/assets/themes/Leagcy/modules/Quiz.png differ diff --git a/assets/themes/Leagcy/modules/README b/assets/themes/Leagcy/modules/README new file mode 100644 index 000000000..81f9ca1d2 --- /dev/null +++ b/assets/themes/Leagcy/modules/README @@ -0,0 +1,29 @@ +You must attribute the image to its author: + +In order to use a vector or a part of it, you must attribute it to its author, +so we will be able to continue creating new graphic resources every day. + + +How to attribute it? + +For websites: + +Please, copy this code on your website to accredit the author: +Designed by Freepik + +For printing: + +Paste this text on the final work so the authorship is known. +- For example, in the acknowledgements chapter of a book: +"Designed by Freepik.com" + + +You are free to use this image: + +- For both personal and commercial projects and to modify it. +- In a website or presentation template or application or as part of your design. + +You are not allowed to: + +- Sub-license, resell or rent it. +- Include it in any online or offline archive or database. \ No newline at end of file diff --git a/assets/themes/Leagcy/modules/Reports.png b/assets/themes/Leagcy/modules/Reports.png new file mode 100644 index 000000000..d130bd214 Binary files /dev/null and b/assets/themes/Leagcy/modules/Reports.png differ diff --git a/assets/themes/Leagcy/modules/Resources.png b/assets/themes/Leagcy/modules/Resources.png new file mode 100644 index 000000000..994049a37 Binary files /dev/null and b/assets/themes/Leagcy/modules/Resources.png differ diff --git a/assets/themes/Leagcy/modules/SMS.png b/assets/themes/Leagcy/modules/SMS.png new file mode 100644 index 000000000..cb8539882 Binary files /dev/null and b/assets/themes/Leagcy/modules/SMS.png differ diff --git a/assets/themes/Leagcy/modules/Scheduling.png b/assets/themes/Leagcy/modules/Scheduling.png new file mode 100644 index 000000000..6253735d3 Binary files /dev/null and b/assets/themes/Leagcy/modules/Scheduling.png differ diff --git a/assets/themes/Leagcy/modules/School_Setup.png b/assets/themes/Leagcy/modules/School_Setup.png new file mode 100644 index 000000000..60a7f56a9 Binary files /dev/null and b/assets/themes/Leagcy/modules/School_Setup.png differ diff --git a/assets/themes/Leagcy/modules/Staff_Absences.png b/assets/themes/Leagcy/modules/Staff_Absences.png new file mode 100644 index 000000000..ff6f2ab0c Binary files /dev/null and b/assets/themes/Leagcy/modules/Staff_Absences.png differ diff --git a/assets/themes/Leagcy/modules/Student_Billing.png b/assets/themes/Leagcy/modules/Student_Billing.png new file mode 100644 index 000000000..f1dcc0bd0 Binary files /dev/null and b/assets/themes/Leagcy/modules/Student_Billing.png differ diff --git a/assets/themes/Leagcy/modules/Students.png b/assets/themes/Leagcy/modules/Students.png new file mode 100644 index 000000000..1b7358d4b Binary files /dev/null and b/assets/themes/Leagcy/modules/Students.png differ diff --git a/assets/themes/Leagcy/modules/Users.png b/assets/themes/Leagcy/modules/Users.png new file mode 100644 index 000000000..ff6f2ab0c Binary files /dev/null and b/assets/themes/Leagcy/modules/Users.png differ diff --git a/assets/themes/Leagcy/modules/misc.png b/assets/themes/Leagcy/modules/misc.png new file mode 100644 index 000000000..2a2185654 Binary files /dev/null and b/assets/themes/Leagcy/modules/misc.png differ diff --git a/assets/themes/Leagcy/spinning.gif b/assets/themes/Leagcy/spinning.gif new file mode 100644 index 000000000..88fac73dc Binary files /dev/null and b/assets/themes/Leagcy/spinning.gif differ diff --git a/assets/themes/Leagcy/stylesheet.css b/assets/themes/Leagcy/stylesheet.css new file mode 100644 index 000000000..59410eff1 --- /dev/null +++ b/assets/themes/Leagcy/stylesheet.css @@ -0,0 +1,2414 @@ +div.calendar { + position: relative; + z-index: 100; +} +.calendar, .calendar table { + border: 1px solid #556; + color: #000; + cursor: default; + background: #eef; + font-family: 'Open Sans', tahoma, verdana, sans-serif; +} +.calendar .button { + text-align: center; + padding: 2px; +} +.calendar .nav { + background: url(menuarrow.gif) 100% 100% no-repeat #778; +} +.calendar thead .title { + font-weight: 700; + text-align: center; + background: #fff; + color: #000; + padding: 2px; +} +.calendar thead .headrow { + background: #778; + color: #fff; +} +.calendar thead .daynames { + background: #bdf; +} +.calendar thead .name { + border-bottom: 1px solid #556; + padding: 2px; + text-align: center; + color: #000; +} +.calendar thead .weekend { + color: #a66; +} +.calendar thead .hilite { + background-color: #aaf; + color: #000; + border: 1px solid #04f; + padding: 1px; +} +.calendar thead .active { + background-color: #77c; + padding: 2px 0 0 2px; +} +.calendar tbody .day { + width: 2em; + color: #456; + text-align: right; + padding: 2px 4px 2px 2px; +} +.calendar tbody .day.othermonth { + font-size: 80%; + color: #bbb; +} +.calendar tbody .day.othermonth.oweekend { + color: #fbb; +} +.calendar table .wn { + padding: 2px 3px 2px 2px; + border-right: 1px solid #000; + background: #bdf; +} +.calendar tbody .rowhilite td { + background: #def; +} +.calendar tbody .rowhilite td.wn { + background: #eef; +} +.calendar tbody td.hilite { + background: #def; + padding: 1px 3px 1px 1px; + border: 1px solid #bbb; +} +.calendar tbody td.active { + background: #cde; + padding: 2px 2px 0; +} +.calendar tbody td.selected { + font-weight: 700; + border: 1px solid #000; + padding: 1px 3px 1px 1px; + background: #fff; + color: #000; +} +.calendar tbody td.weekend { + color: #a66; +} +.calendar tbody td.today { + font-weight: 700; + color: #00f; +} +.calendar tbody .disabled { + color: #999; +} +.calendar tbody .emptycell { + visibility: hidden; +} +.calendar tbody .emptyrow { + display: none; +} +.calendar tfoot .footrow { + text-align: center; + background: #556; + color: #fff; +} +.calendar tfoot .ttip { + background: #fff; + color: #445; + border-top: 1px solid #556; + padding: 1px; +} +.calendar tfoot .hilite { + background: #aaf; + border: 1px solid #04f; + color: #000; + padding: 1px; +} +.calendar tfoot .active { + background: #77c; + padding: 2px 0 0 2px; +} +.calendar .combo { + position: absolute; + display: none; + top: 0; + left: 0; + width: 4em; + cursor: default; + border: 1px solid #655; + background: #def; + color: #000; + font-size: 90%; + z-index: 100; +} +.calendar .combo .label, .calendar .combo .label-IEfix { + text-align: center; + padding: 1px; +} +.calendar .combo .label-IEfix { + width: 4em; +} +.calendar .combo .hilite { + background: #acf; +} +.calendar .combo .active { + border-top: 1px solid #46a; + border-bottom: 1px solid #46a; + background: #eef; + font-weight: 700; +} +.calendar td.time { + border-top: 1px solid #000; + padding: 1px 0; + text-align: center; + background-color: #f4f0e8; +} +.calendar td.time .ampm, .calendar td.time .hour, .calendar td.time .minute { + padding: 0 3px 0 4px; + border: 1px solid #889; + font-weight: 700; + background-color: #fff; +} +.calendar td.time .ampm { + text-align: center; +} +.calendar td.time .colon { + padding: 0 2px 0 3px; + font-weight: 700; +} +.calendar td.time span.hilite { + border-color: #000; + background-color: #667; + color: #fff; +} +.calendar td.time span.active { + border-color: red; + background-color: #000; + color: #0f0; +} +#cboxOverlay, #cboxWrapper, #colorbox { + position: absolute; + top: 0; + left: 0; + z-index: 9999; + overflow: hidden; +} +#cboxWrapper { + max-width: none; +} +#cboxOverlay { + position: fixed; + width: 100%; + height: 100%; + background: #fff; + opacity: .9; +} +#cboxBottomLeft, #cboxMiddleLeft { + clear: left; +} +#cboxContent { + position: relative; + margin-top: 32px; + overflow: visible; + background: #000; +} +#cboxTitle { + margin: 0; + position: absolute; + top: -22px; + left: 0; + color: #000; +} +#cboxLoadingGraphic, #cboxLoadingOverlay { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%} +#cboxClose, #cboxNext, #cboxPrevious, #cboxSlideshow { + cursor: pointer; + border: 0; + padding: 0; + margin: 0; + overflow: visible; + text-indent: -9999px; + width: 20px; + height: 20px; + position: absolute; + top: -20px; + background: url(images/controls.png) no-repeat; +} +.cboxPhoto { + float: left; + margin: auto; + border: 0; + display: block; + max-width: none; + -ms-interpolation-mode: bicubic; +} +.cboxIframe { + width: 100%; + height: 100%; + display: block; + border: 0; + padding: 0; + margin: 0; + background: #fff; +} +#cboxContent, #cboxLoadedContent, #colorbox { + box-sizing: content-box; + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; +} +#cboxClose:active, #cboxNext:active, #cboxPrevious:active, #cboxSlideshow:active, #colorbox { + outline: 0; +} +#cboxError { + padding: 50px; + border: 1px solid #ccc; +} +#cboxLoadingGraphic { + background: url(images/loading.gif) center center no-repeat; +} +#cboxLoadingOverlay { + background: #000; +} +#cboxCurrent { + position: absolute; + top: -22px; + right: 205px; + text-indent: -9999px; +} +#cboxPrevious { + background-position: 0 0; + right: 44px; +} +#cboxPrevious:hover { + background-position: 0 -25px; +} +#cboxNext { + background-position: -25px 0; + right: 22px; +} +#cboxNext:hover { + background-position: -25px -25px; +} +#cboxClose { + background-position: -50px 0; + right: 0; +} +#cboxClose:hover { + background-position: -50px -25px; +} +.cboxSlideshow_off #cboxPrevious, .cboxSlideshow_on #cboxPrevious { + right: 66px; +} +.cboxSlideshow_on #cboxSlideshow { + background-position: -75px -25px; + right: 44px; +} +.cboxSlideshow_on #cboxSlideshow:hover { + background-position: -100px -25px; +} +.cboxSlideshow_off #cboxSlideshow { + background-position: -100px 0; + right: 44px; +} +.cboxSlideshow_off #cboxSlideshow:hover { + background-position: -75px -25px; +} +html { + background: #fff; +} +input[type=button], input[type=email], input[type=file], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=submit], input[type=tel], input[type=text], input[type=url], select, textarea { + border-color: #dfdfdf; + background: #fff; +} +input[type=button]:focus, input[type=email]:focus, input[type=file]:focus, input[type=number]:focus, input[type=password]:focus, input[type=reset]:focus, input[type=search]:focus, input[type=submit]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=url]:focus, select:focus, textarea:focus { + border-color: #aaa; + outline: 0; +} +input[readonly] { + background: #eee; +} +body { + color: #111; +} +#menu { + background-color: rgba(255,255,255,1.0); + border-color: #ccc; + color: rgba(255,255,255,1.0); +} +.menu-inter { + border-color: #dfdfdf; +} +#footer { + background-color: rgba(24,179,220,1.0); + clear: both; + position: fixed; + z-index: 99; + bottom: 0; + left: 0; + width: 100% +} +#footer a { + color: #fff; +} +#footerhelp { + background: #fff; + display: none; + max-height: 33vh; + overflow-y: scroll; + height: auto; +} +.widefat { + border-color: #dfdfdf; + background: #f9f9f9; + clear: both; + margin: 0; + border-spacing: 0; +} +.postbox>thead th, .widefat tfoot tr th, .widefat th { + background: rgba(100,202,146,1.0); +} +.postbox .h3selected { + background: #f9f9f9; + background: -ms-linear-gradient(top, #ececec, #f9f9f9); + background: -webkit-linear-gradient(top, #ececec, #f9f9f9); + background: -moz-linear-gradient(top, #ececec, #f9f9f9); + background: linear-gradient(top, #ececec, #f9f9f9); +} +.postbox>thead th { + border-bottom-color: #dfdfdf; + text-shadow: #fff 0 1px 0; +} +.alt, .alternate, .widefat tr:nth-child(odd) { + background: #fcfcfc; +} +.widefat tr:nth-child(even) { + background: #f9f9f9; +} +input[type=button], input[type=submit] { + color: #464646; +} +input[type=button]:focus, input[type=button]:hover, input[type=submit]:focus, input[type=submit]:hover { + color: #000; + border-color: #666; +} +/*input[type=button], input[type=reset], input[type=submit] { + background: url(white-grad.png) left top repeat-x #f2f2f2; + background: -ms-linear-gradient(top, #fff, #ededed); + background: -webkit-linear-gradient(top, #fff, #ededed); + background: -moz-linear-gradient(top, #fff, #ededed); + background: linear-gradient(top, #fff, #ededed); + text-shadow: #fff 0 1px 0; +}*/ +input[type=button]:active, input[type=reset]:active { + background: url(white-grad-active.png) left top repeat-x #eee; + background: -webkit-linear-gradient(top, #ededed, #fff); + background: -moz-linear-gradient(top, #ededed, #fff); + background: linear-gradient(top, #ededed, #fff); +} +a.button-primary, button.button-primary, input.button-primary { + font-weight: 700; + color: #fff; + background-color: rgba(244,82,70,1.0); +} +a.button-primary:active, button.button-primary:active, input.button-primary:hover { + background-color: rgba(24,179,220,1.0); + border: none; +} +a.button-primary:focus, a.button-primary:hover, button.button-primary:focus, button.button-primary:hover, input.button-primary:focus, input.button-primary:hover { + border-color: #10354b; + color: #fff; + outline: 0; +} +.adminmenu a:focus, .adminmenu a:hover, a:active, a:focus, a:hover { + /*color: #d54e21;*/ +} +/*a:active, a:focus { + outline: #d54e21 dotted 1px; +}*/ +input[type=checkbox]:focus, input[type=radio]:focus { + outline: #000 dotted 1px; +} +div.error { + background: #ffebe8; + border-color: #c00; +} +div.error a { + color: #c00; +} +div.updated { + background: #ffffe0; + border-color: #e6db55; +} +.widefat td, .widefat th { + border-color: #fff #fff #dfdfdf; +} +.widefat th { + text-shadow: rgba(255, 255, 255, .8) 0 1px 0; + overflow: hidden; + font-weight: 400; +} +.adminmenu a { + color: rgba(255,255,255,1.0); +} +.postbox { + border-color: #dfdfdf; + box-shadow: inset 0 1px 0 #fff; +} +/*.postbox th { + color: #464646; +}*/ +.postbox th:hover { + color: #000; +} +.adminmenu { + border-color: #ccc; +} +.menu-top { + border-top-color: #f9f9f9; + border-bottom-color: #dfdfdf; + position: relative; +} +.menu-top:focus, .menu-top:hover, #selectedModuleLink { + background-color: rgba(244,82,70,1.0); + /*border-end-start-radius: 15px; + border-start-start-radius: 15px;*/ +} +.wp-submenu { + border-color: #dfdfdf #ccc; +} +#selectedMenuLink, .wp-submenu a:focus, .wp-submenu a:hover { + background-color: rgba(20,28,34,1.0); + border-left: solid 3px; + padding-left: 22px; +} +.wp-submenu a:hover::before { + background-color: rgba(244,82,70,1.0); + left: -11px; +} +#selectedMenuLink::before { + background-color: rgba(244,82,70,1.0); +} +.wp-submenu a:focus { + outline: #111 dotted 1px; +} +.header2 { + background: #f9f9f9; + border-bottom: 1px solid #dfdfdf; + border-top: 1px solid #fff; +} +fieldset { + border-color: #dfdfdf; +} +.bgcolor { + background: #ececec; +} +.legend-gray { + color: #535353; +} +.legend-red { + color: red; +} +.underline-dots { + border-bottom-color: gray; +} +.md-preview .tab, .md-preview>div { + border-color: #dfdfdf; +} +.md-preview .tab.disabled, .md-preview .tab:hover { + background: #fff; + border-color: #bbb; +} +.current-person, .current-person a, hr { + color: #fff; +} +.current-person.student { + background: #336; +} +.current-person.staff { + background: #363; +} +.current-person.self { + background: #633; +} +#calendar { + background: #dfdfdf; + table-layout: fixed; + height: 80%} +#calendar th { + background: #333; + color: #fff; +} +.calendar-day.full { + background: #efe; +} +.calendar-day.minutes { + background: #eef; +} +.calendar-day.no-school { + background: #fee; +} +.calendar-event { + border-color: #000; +} +.calendar-event.assignment { + border-color: red; +} +.calendar-event.assigned { + border-color: #0f0; +} +.legend-square.full { + background-color: #afa; +} +.legend-square.minutes { + background-color: #aaf; +} +.legend-square.no-school { + background-color: #faa; +} +.attendance-code.present { + color: #fff; + background-color: #20dd30; +} +.attendance-code.absent { + color: #fff; + background-color: red; +} +.attendance-code.half-day { + color: #fff; + background-color: #fc0; +} +.attendance-code.present-alt { + color: #fff; + background-color: #dfd; +} +.attendance-code.absent-alt { + color: #fff; + background-color: #fdd; +} +.attendance-code.half-day-alt { + color: #fff; + background-color: #fed; +} +.switchMenu:before { + color: gray; +} +#BottomButtonMenu:before { + color: #fff; + content: "\2261"; + font-size: 2.5rem; + font-weight: 700; +} +.bar { + color: transparent; +} +.bar.relevance { + background: gray; +} +.divPortalPoll .bar { + background: #c40; +} +#cboxLoadedContent { + overflow: auto; + -webkit-overflow-scrolling: touch; + background: #fff!important; + margin: 1px; + padding: 5px!important; +} +.tooltip:before { + background: #27b4b4; +} +.tooltip>i { + background: #444; +} +.teacher-programs-wrapper { + border-color: #dfdfdf; +} +.password-strength-bars .score2 { + background-color: #ff851b; +} +.password-strength-bars .score3, .password-strength-bars .score4 { + background-color: #2ecc40; +} +@media only screen and (max-width:1023px) { + .rt tr { + border-right-color: #dfdfdf; + } +}@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/Regular.eot'); + src: url('fonts/opensans/Regular.eot?#iefix') format('embedded-opentype'), url('fonts/opensans/Regular.woff') format('woff'), url('fonts/opensans/Regular.ttf') format('truetype'); + font-weight: 400; + font-style: normal; +} +@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/Italic.eot'); + src: url('fonts/opensans/Italic.eot?#iefix') format('embedded-opentype'), url('fonts/opensans/Italic.woff') format('woff'), url('fonts/opensans/Italic.ttf') format('truetype'); + font-weight: 400; + font-style: italic; +} +@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/BoldItalic.eot'); + src: url('fonts/opensans/BoldItalic.eot?#iefix') format('embedded-opentype'), url('fonts/opensans/BoldItalic.woff') format('woff'), url('fonts/opensans/BoldItalic.ttf') format('truetype'); + font-weight: 700; + font-style: italic; +} +@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/Bold.eot'); + src: url('fonts/opensans/Bold.eot?#iefix') format('embedded-opentype'), url('fonts/opensans/Bold.woff') format('woff'), url('fonts/opensans/Bold.ttf') format('truetype'); + font-weight: 700; + font-style: normal; +} +.module-icon { + background-size: contain; + background-repeat: no-repeat; + display: inline-block; border: 1px solid; + border-radius: 50%; + height: 27px; + vertical-align: middle; + width: 27px; +} +.header1 .module-icon { + vertical-align: -25%} +.module-icon.Accounting { + background-image: url("modules/Accounting.png"); +} +.module-icon.Attendance { + background-image: url("modules/Attendance.png"); +} +.module-icon.Discipline { + background-image: url("modules/Discipline.png"); +} +.module-icon.Grades { + background-image: url("modules/Grades.png"); +} +.module-icon.Eligibility { + background-image: url("modules/Eligibility.png"); +} +.module-icon.Example { + background-image: url("modules/Example.png")!important; +} +.module-icon.Food_Service { + background-image: url("modules/Food_Service.png"); +} +.module-icon.Library { + background-image: url("modules/Library.png"); +} +.Messaging { + background-image: url("modules/Messaging.png")!important; +} +.module-icon.misc { + background-image: url("modules/misc.png"); +} +.module-icon.Resources { + background-image: url("modules/Resources.png"); +} +.module-icon.Reports { + background-image: url("modules/Reports.png")!important; +} +.module-icon.Scheduling { + background-image: url("modules/Scheduling.png"); +} +.module-icon.School_Setup { + background-image: url("modules/School_Setup.png"); + margin-right: 5px; +} +.module-icon.SMS { + background-image: url("modules/SMS.png"); +} +.module-icon.Staff_Absences { + background-image: url("modules/Staff_Absences.png")!important; +} +.module-icon.Student_Billing { + background-image: url("modules/Student_Billing.png"); +} +.module-icon.Students { + background-image: url("modules/Students.png"); +} +.module-icon.Users { + background-image: url("modules/Users.png"); +} +#wrap { + height: auto; + min-height: 100%; + width: 100%; + box-sizing: border-box; +} +#menu.scroll-to-fixed-fixed.hide+div { + width: 0!important; +} +#menu { + /*width: 205px;*/ + width: 260px; + border-width: 0 1px 0 0; + border-style: solid; + position: relative; + float: left; + overflow: visible; + z-index: 1!important; + min-height: 100vh; +} +#body { + margin-bottom: 38px; + padding: 0 15px 38px; +} +#footerwrap { + height: 32px; + padding: 3px; + text-align: center; +} +#footerhelp .footerhelp-content { + padding: 6px 8px; + columns: 3 480px; + widows: 6; +} +.footerhelp-content p:first-child { + margin-top: 0; +} +.mod { + overflow: hidden; +} +.mod:after { + content: ""; + display: table; + clear: both; +} +.fixed-col select, input { + max-width: 100% +} +#search input, #search select { + max-width: 217px; +} +#search label { + max-width: 217px; + display: inline-block; +} +input[type=password], input[type=text], textarea { + -ms-box-sizing: border-box; + box-sizing: border-box; +} +input[type=checkbox], input[type=radio] { + margin-bottom: 2px; + margin-right: 0; + vertical-align: middle; + height: 16px; + width: 16px; + cursor: pointer; +} +input[type=number] { + width: 50px; +} +input[type=number][name*=AMOUNT], input[type=number][name*=PRICE], input[type=number][name*=amount], input[type=number][name*=balance] { + width: 80px; +} +input[type=color] { + border-width: 0; + border-style: solid; + width: 30px; + height: 20px; + padding: 0; + cursor: pointer; +} +button[disabled], fieldset[disabled] button, fieldset[disabled] input, fieldset[disabled] select, fieldset[disabled] textarea, input[disabled], select[disabled], textarea[disabled] { + cursor: not-allowed; +} +.color-input-value { + width: 30px; + height: 20px; +} +body, html { + height: 100%; + margin: 0; + padding: 0; + word-wrap: break-word; + word-break: break-word; +} +.calendar, .calendar table, body, div.chosen-container, html, input, select, textarea { + font-size: 16px; + -webkit-text-size-adjust: none; +} +body, input, select, textarea { + font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif; + line-height: 1.4em; +} +a { + -webkit-transition: color .2s ease-out; + transition: color .2s ease-out; +} +iframe, img { + border: 0; +} +img { + max-width: 100%; + height: auto; +} +td { + line-height: inherit; + position: relative; +} +input, select, textarea { + background: transparent; + line-height: 1.3; + margin: 2px 1px; + padding: 15px 8px 5px; +} +select { + width: 100%; +} +a, input, select:focus { + text-decoration: none; +} +.input ~ label { + font-size: 16px; + left: 10px; + position: absolute; + transform-origin: top left; + transform: translate(0, 16px) scale(1); + transition: all .1s ease-in-out; +} +.input::-webkit-input-placeholder { + color:transparent; +} +.input:-moz-placeholder { + color:transparent; +} +.input::-moz-placeholder { + color:transparent; +} +.input:-ms-input-placeholder { + color:transparent; +} +.input:not(:placeholder-shown) ~ label, +.input:focus ~ label { + transform: translate(0, 4px) scale(.75); +} +.select ~ label { + font-size: 16px; + left: 10px; + position: absolute; + transform-origin: top left; + transform: translate(0, 16px) scale(1); + transition: all .1s ease-in-out; + top: 0; + z-index: -10; +} +.select::-webkit-input-placeholder { + color:transparent; +} +.select:-moz-placeholder { + color:transparent; +} +.select::-moz-placeholder { + color:transparent; +} +.select:-ms-input-placeholder { + color:transparent; +} +.select:focus ~ label { + transform: translate(0, 4px) scale(.75); +} +.select[data-chosen]:not([data-chosen='']) ~ label { + transform: translate(0, 4px) scale(.75); +} +blockquote, q { + quotes: none; +} +p { + margin: 1em 0; +} +blockquote { + margin: 1em; +} +label { + vertical-align: middle; +} +legend { + font-weight: 700; +} +dd, li { + margin-bottom: 6px; +} +small, small * { + font-size: 70%} +h1, h2, h3, h4 { + display: block; + font-weight: 700; + line-height: 1em; +} +h1 { + font-size: 2em; + margin: .67em 0; +} +h2 { + font-size: 1.58em; + margin: .83em 0; +} +h3 { + font-size: 1.17em; + margin: 1em 0; +} +h4 { + font-size: 1.05em; + margin: 1.33em 0; +} +code { + background: #eaeaea; + font-family: Consolas, Monaco, monospace; + padding: 1px 3px; + margin: 0 1px; + font-size: 13px; +} +hr { + background: #dfdfdf; + height: 2px; + border: 0; + margin: 14px 0; +} +sub, sup { + font-size: smaller; +} +.cellpadding-5 td { + padding-right: 5px; + padding-bottom: 5px; +} +.postbox, .widefat, div.error, div.updated, input[type=email], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea { + border-width: 1px; + border-style: solid; +} +input[type=button], input[type=submit] { + border: none; +} +.file { + position: relative; + display: inline-block; + cursor: pointer; + height: 2.5rem; +} +.postbox { + border-bottom-width: 2px; +} +.widefat * { + word-wrap: break-word; +} +.widefat a { + text-decoration: none; +} +.widefat thead th:first-of-type { + border-top-left-radius: 3px; +} +.widefat thead th:last-of-type { + border-top-right-radius: 3px; +} +.widefat tfoot th:first-of-type { + border-bottom-left-radius: 3px; +} +.widefat tfoot th:last-of-type { + border-bottom-right-radius: 3px; +} +.widefat th a[href*=LO_dir]:after { + font-family: monospace; + font-size: larger; + line-height: .5em; + content: "\0000a0"; + padding-left: 3px; +} +.widefat th a[href*="LO_dir=1"]:hover:after { + content: "\25b4"} +.widefat th a[href*="LO_dir=-1"]:hover:after { + content: "\25be"} +.widefat th a:empty:after { + content: ""; + padding-left: 0; +} +.widefat td, .widefat th { + text-align: left; + border-width: 1px 0; + border-style: solid; + padding: 4px 15px; + vertical-align: top; +} +.widefat.files td { + padding: 1px 7px; + font-weight: 400; +} +.widefat.files td .button+b { + font-weight: 400; +} +.widefat tfoot th { + border-bottom: none; +} +.widefat th, .widefat th a { + font-size: 16px; +} +.widefat td p { + margin: 2px 0 .8em; +} +.list-wrapper { + overflow-x: auto; +} +.list, .list-nav { + width: 100%; + border-spacing: 0; +} +.list-nav { + margin-top: 16px; +} +.list-nav td { + padding: 4px 8px; +} +.list { + margin-bottom: 16px; +} +.list-no-nav { + margin-top: 24px; +} +.list-header { + margin-bottom: 0; + border-bottom: 1px solid #f1f1f1; +} +.list-header+.postbox { + padding: 5px; + border-top: none; + border-top-left-radius: 0; + border-top-right-radius: 0; + box-shadow: none; +} +#LO_search { + padding-right: 28px; + float: right; +} +#LO_search+.button { + position: absolute; + right: 15px; + top: 14px; + cursor: pointer; + height: 23px; + float: right; +} +div.error { + padding: 0 .6em; + margin: 16px 0; +} +div.updated { + padding: 2px 9px; + margin: 16px 0; +} +select option { + padding: 2px; +} +input[type=button], input[type=reset], input[type=submit] { + text-decoration: none; + padding: 6px 18px; + margin: 0 8px; + cursor: pointer; + border-radius: inherit; + line-height: 23px; +} +.header2.align-right input[type=button], .header2.align-right input[type=reset], .header2.align-right input[type=submit] { + margin: 0 0 0 16px; +} +.button-primary { + line-height: 16px; + white-space: nowrap; + border-radius: 3px; +} +.proper-date { + white-space: nowrap; +} +#menu form { + padding: 0 5px; +} +#menu form span { + text-align: right; +} +#menu .username { + font-weight: 700; +} +#menu .today-date { + text-transform: capitalize; + float: right; + margin-bottom: 25px; + margin-top: -5px; +} +.adminmenu, .wp-submenu { + width: 100%; + list-style: none; +} +.adminmenu { + background-color: rgba(42,62,76,1.0); + clear: left; + margin: 5px 0 38px; + padding: 0; + position: relative; +} +.adminmenu::before, +.adminmenu::after { + background: -moz-linear-gradient(bottom, rgba(174,178,183,0.9) 50%, rgba(42,62,76,0.9) 100%); + background: -webkit-linear-gradient(bottom, rgba(174,178,183,0.9) 50%, rgb(124 144 159 / 90%) 100%); + background: -o-linear-gradient(bottom, rgba(174,178,183,0.9) 50%, rgba(42,62,76,0.9) 100%); + background: -ms-linear-gradient(bottom, rgba(174,178,183,0.9) 50%, rgba(42,62,76,0.9) 100%); + background: linear-gradient(bottom, rgba(174,178,183,0.9) 50%, rgba(42,62,76,0.9) 100%); + content: " "; + display: block; + height: 100%; + left: 19px; + position: absolute; + top: 0; + width: 1px; + z-index: 1; +} +.adminmenu *, .widefat th { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.wp-submenu { + background-color: rgba(42,62,76,1.0); + top: -1000em; + left: 0; + position: absolute; + min-width: 260px; + padding-left: 20px; + margin: 0; + overflow: hidden; + -webkit-transition: top 0s .15s, left 0s .15s, box-shadow 0s .15s; + transition: top 0s .15s, left 0s .15s, box-shadow 0s .15s; + box-shadow: none; + border-width: 1px; + border-style: solid; + box-sizing: border-box; +} +.adminmenu li { + margin-bottom: 0; + line-height: 40px; +} +.menu-module { + position: relative; +} +.no-touch .menu-module:focus-within .menu-top:after { + content: "\276F"; + padding-top: 6px; + position: absolute; + right: 5px; +} +.no-touch .menu-module:hover .menu-top:after { + content: "\276F"; + position: absolute; + right: 5px; + /*bottom: 15px;*/ +} +#selectedModuleLink:after { + border: solid 8px transparent; + border-right-color: #f0f0f1; + content: " "; + height: 0; + margin-top: -8px; + position: absolute; + pointer-events: none; + right: 0; + top: 50%; + width: 0; +} +.no-touch .menu-module:focus-within .wp-submenu { + -webkit-transition-delay: .15s; + transition-delay: .15s; + z-index: 20; + top: 0; + left: 205px; + overflow: visible; + word-wrap: break-word; + min-height: 36px; + width: auto; +} +.no-touch .menu-module:hover .wp-submenu { + box-shadow: 2px 2px 4px #ccc; + -webkit-transition-delay: .15s; + /*z-index: 20;*/ + top: 0; + left: 260px; + overflow: visible; + transition-delay: .15s; + word-wrap: break-word; + min-height: 36px; +} +#selectedModuleLink+.wp-submenu { + background-color: rgb(52 96 126); + border: 0; + box-shadow: none; + left: 0; + margin-top: 0!important; + min-height: 0; + min-width: 205px; + padding-left: 10px; + position: relative; + transition-delay: 0s; + top: 0; +} +#selectedModuleLink+.wp-submenu a { + margin: 0 0 0 10px; +} +.menu-inter { + border-width: 1px 0 0; + border-style: dashed; + padding: 15px 5px 2.5px; + margin-left: 20px; + width: 84%; +} +.adminmenu a { + display: block; + padding: 2.5px 5px 5px; +} +#menu-top { + margin: 10px 3px 15px; +} +.menu-top { + font-size: 15px; + min-width: 10em; + border-width: 1px 0; + /*border-style: solid;*/ + z-index: 2; +} +.menu-top a { + +} +.menu-top, .menu-inter { + font-weight: 600; + text-transform: uppercase; +} +.menu-top img { + height: 32px; + vertical-align: middle; +} +.wp-submenu a { + color: rgba(174,178,183,1.0); + padding-left: 25px; + position: relative; +} +.wp-submenu a::before { + background-color: rgb(52 96 126); + border: 1px solid rgba(255,255,255,.5); + border-radius: 50%; + content: " "; + height: 12px; + left: -8px; + position: absolute; + top: 15px; + width: 12px; + z-index: 1011; +} +.current-person { + padding: 1px 5px; + margin-top: 5px; + font-weight: 700; +} +.postbox { + padding: 0; + line-height: 1.1; + margin: 0 auto; + position: relative; + min-width: 255px; +} +table>thead th { + border-bottom-width: 1px; + border-bottom-style: solid; + color: #fff; +} +.postbox .h3multi, .postbox th h3 { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.postbox th h3 { + line-height: 31px; + height: 34px; + margin: 0; + border: 0; +} +.postbox th h3, .postbox th h3 a { + display: inline-block; + font-size: 16px; + font-weight: 400; +} +.postbox th h3 a { + padding: 0 10px; +} +.postbox .h3multi { + overflow-y: hidden; +} +th a { + display: block; + overflow: hidden; +} +fieldset { + border-width: 1px; + border-style: solid; + margin: 0; +} +.error a { + text-decoration: underline; +} +.updated a { + text-decoration: none; + padding-bottom: 2px; +} +div.error p, div.updated p { + margin: .2em 0; + padding: 2px; +} +h3 span { + font-weight: 400; +} +.highlight { + padding: 3px 3px 3px 12px; + margin-left: -12px; + font-weight: 700; + border: 0; +} +.hide { + display: none; +} +.user-photo { + max-width: 150px; + max-height: 150px; +} +.alignImg { + vertical-align: middle; + height: 32px; +} +.underline-dots .button { + vertical-align: baseline; + height: 16px; +} +.header { + border-spacing: 0; + width: 100%} +.header1 h2 { + font-family: 'Open Sans', sans-serif; + font-size: 30px; + font-weight: 400; + margin: 0; + padding: 14px 15px 14px 0; + text-shadow: #aaa 0 1px 1px; +} +.header2 { + padding: 4px 8px; +} +.header2 table { + line-height: 1; + margin-left: -3px; +} +.header2 .widefat { + margin-left: 0; +} +#courses_div { + background: #fff; + position: absolute; + border-style: solid; + border-width: 1px; + padding: 4px; + right: 0; + left: 0; + display: none; + max-height: 80px; + overflow: auto; + width: auto; +} +.size-3 { + font-size: 11px; +} +.size-1, .size-1 * { + font-size: 13px; +} +.sizep1 { + font-size: 15px; +} +.sizep2 { + font-size: 16px; +} +.underline-dots { + border-bottom-style: dotted; + border-bottom-width: 1px; +} +div.underline-dots { + display: inline-block; + max-height: 240px; + max-width: 100%; + overflow: auto; + line-height: inherit; +} +.checkbox-label, .no-input-value, .underline-dots { + padding-bottom: 1px; + float: right; +} +.span-grade-points+label { + line-height: 28px; +} +textarea { + width: 100%; + min-width: 280px; + max-width: 1024px; +} +.md-preview { + min-width: 280px; + max-width: 1024px; +} +.md-preview>.tab { + border-width: 1px; + border-bottom: 0; + border-style: solid; + border-top-left-radius: 3px; + border-top-right-radius: 3px; + font-weight: 700; + padding: 5px 7px; + margin: 0 2px 0 0; + line-height: 27px; +} +.md-preview>.tab.disabled { + pointer-events: none; + cursor: default; +} +.md-preview .md-link { + line-height: 27px; + float: right; +} +.md-preview>div { + display: none; + border-width: 1px; + border-style: solid; + padding: 2px 7px; + margin-bottom: 2px; + box-sizing: border-box; + overflow-y: auto; +} +.md-preview+textarea { + border-top-left-radius: 0; + border-top-right-radius: 0; + margin-top: 0; + resize: vertical; +} +.markdown-to-html table { + border-collapse: collapse; + border-spacing: 0; +} +.markdown-to-html td, .markdown-to-html th { + border: 1px solid #bbb; + padding: 5px; +} +.legend-gray, .legend-red { + display: inline-block; + float: left; + margin-bottom: 7px; + margin-right: 15px; +} +.logo { + max-width: 150px; + max-height: 150px; +} +#menu .logo { + margin-top: 4px; +} +.onclick { + cursor: pointer; +} +div.onclick { + display: inline-block; + line-height: 28px; + max-width: 100%} +.cellspacing-0 { + border-spacing: 0; +} +.width-100p { + width: 100%} +.fixed-col { + table-layout: fixed; + word-wrap: break-word; +} +.popTable { + padding: 10px 15px; +} +.popTable .footer-form { + padding-left: 3px; + margin: 15px 0; +} +.popTable .footer-form label { + line-height: 30px; +} +.btn_action { + text-align: right; +} +table thead tr th { + line-height: 50px; +} +table thead a { + color: #fff; +} +table tbody a { + color: #1a1a1a; +} +table.valign-top td, td.valign-top, tr.valign-top { + vertical-align: top; +} +table.valign-bottom td, td.valign-bottom, tr.valign-bottom td { + vertical-align: bottom; +} +.align-right, .align-right td, td.align-right, th.align-right { + position: relative; + text-align: right; +} +table.col1-align-right>tbody>tr>td:first-child { + vertical-align: middle; +} +.center { + text-align: center; +} +a.center, span.center { + display: block; +} +img.center { + display: block; + margin: 0 auto; +} +table.center { + text-align: inherit; + margin-left: auto; + margin-right: auto; +} +span.nobr { + display: flex; + white-space: nowrap; +} +div.nobr div { + display: inline; +} +tr.address>td { + border: none; + padding: 0 12px; +} +.br-after { + display: block; + margin: 2px 0; +} +td.image-radio-list { + height: 160px; + padding: 0; + margin: 0; + float: left; + position: relative; +} +label.image-radio-list { + padding: 0 20px; +} +img.image-radio-list { + vertical-align: top; + max-width: 150px; + max-height: 150px; +} +.button { + vertical-align: middle; + height: 16px; + max-width: none; +} +a>.button { + padding: 1px; +} +.button.bigger { + height: 24px; +} +.button.smaller { + height: 14px; +} +.button.cal { + cursor: pointer; + height: 32px; + margin-top: -9px; +} +.login .popTable { + padding: 8px; +} +.login .popTable td { + padding-bottom: 16px; +} +.login .popTable tr:last-of-type td { + padding-bottom: 0; +} +.login #loginform input[type=password], .login #loginform input[type=text] { + font-weight: 200; + font-size: 20px; + width: 100%; + max-width: 100%; + padding: 3px; + margin-top: 2px; + margin-right: 6px; + box-shadow: inset 1px 1px 2px rgba(200, 200, 200, .2); +} +.BottomButton { + line-height: 32px; + margin-right: 8px; + display: inline-block; +} +.BottomButton span { + vertical-align: top; +} +.BottomButton img { + height: 32px; +} +#BottomButtonMenu { + height: 32px; + line-height: 28px; + float: left; +} +.BottomButton.loading { + float: right; + padding-bottom: 13px; +} +.loading { + display: inline-block; + width: 12px; + height: 12px; + background: url('spinning.gif') center no-repeat; + visibility: hidden; +} +input[type=file] { + padding: 0; + max-width: calc(100% - 18px); + height: 25px; + min-width: 14rem; + margin: 0; + filter: alpha(opacity=0); + opacity: 0; +} +.file-custom { + position: absolute; + top: 0; + right: 0; + left: 0; + z-index: 5; + height: 1rem; + padding: .5rem 1rem .8rem; + line-height: 1.5; + color: #555; + background-color: #fff; + border: .075rem solid #ddd; + border-radius: .25rem; + box-shadow: inset 0 0.2rem 0.4rem rgb(0 0 0 / 5%); + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.file-custom:before { + position: absolute; + top: -.075rem; + right: -.075rem; + bottom: -.075rem; + z-index: 6; + display: block; + content: "Browse"; + height: 1.3rem; + padding: .5rem 1rem; + line-height: 1.5; + color: #555; + background-color: #eee; + border: .075rem solid #ddd; + border-radius: 0 .25rem .25rem 0; +} +.file-custom:after { + content: "Choose file..."; +} +.bar { + word-wrap: normal; +} +div.st { + float: left; + padding: 4px; +} +#student-comments { + max-width: 100%; + width: 500px; +} +#student-comments span { + font-style: italic; +} +#student-comments div { + background: #fff; + padding: 10px; + margin-bottom: 15px; + border-bottom: 1px solid; +} +#calendar>thead>tr>th { + font-size: 1.2em; + font-weight: 400; + line-height: 1.6; +} +.calendar-day { + min-width: 109px; +} +.calendar-day>table { + height: 100%} +.calendar-event { + height: 32px; +} +.calendar-day td { + max-width: 103px; + overflow: hidden; + white-space: nowrap; + line-height: 1.231; +} +.calendar-day .bold { + font-weight: 700; +} +.calendar-day .number { + font-size: 1.2em; +} +.calendar-event div { + border-left-width: 4px; + border-left-style: solid; + margin: 1px 0; +} +.calendar-event a, .calendar-event span { + padding: 4px 2px; + display: inline-block; +} +td.calendar-menu { + white-space: normal; + max-width: none; +} +.legend-square { + width: 32px; + height: 32px; + border-radius: 3px; +} +.rt .link2colorBox { + display: none; +} +.divPortalPoll { + max-height: 350px; + overflow-y: auto; + min-width: 300px; +} +.divPortalPoll .widefat { + margin-bottom: .8em; +} +.widefat .divPortalPoll>p { + margin-bottom: 2px; +} +.span-grade-points { + float: left; +} +.attendance-code { + display: inline-block; + padding: 2px 8px; + min-width: 10px; + text-align: center; +} +.arrow.right:before, .switchMenu:before { + content: "\25b6\0000a0"; + vertical-align: 10%} +.switchMenu.switched:before { + content: "\25bc\0000a0"} +.arrow, .switchMenu { + display: inline-block; +} +.switchMenu { + padding: 5px; +} +.chart { + position: relative; + width: calc(90vw - 205px); + max-width: 1024px; +} +#tipMsg { + visibility: hidden; + position: absolute; + z-index: 1000; + top: -100px; + max-width: 300px; +} +.tipmsg-label { + display: inline-block; + border-bottom: 1px dashed #bbb; + cursor: default; +} +a>.tipmsg-label { + cursor: pointer; +} +.tooltip { + color: #fff; + position: absolute; + display: inline-block; + margin-left: 5px; + cursor: help; +} +.tooltip:before { + content: "i"; + font-family: monospace; + font-size: .85em; + font-weight: 700; + width: 16px; + height: 16px; + line-height: 16px; + display: inline-block; + text-align: center; + border-radius: 50%} +.tooltip>i { + visibility: hidden; + opacity: 0; + position: absolute; + bottom: 110%; + left: -90px; + width: 180px; + z-index: 999; + display: inline-block; + padding: 7px; + border-radius: 3px; + transition: opacity .3s; + text-align: left; + font-size: 1em; + line-height: 1.5; +} +.tooltip:hover>i { + visibility: visible; + opacity: 1; +} +.toggle { + cursor: pointer; +} +input[type=checkbox].toggle { + position: absolute; + left: -9999px; +} +.toggle~.toggle-me { + display: none; +} +.toggle:checked~.toggle-me { + display: block; +} +.toggle:before { + content: "\25b6\0000a0"; + vertical-align: 10%} +.toggle:checked+.toggle:before { + content: "\25bc\0000a0"} +.minicolors { + margin: 2px 2px 2px 0; +} +.a11y-hidden { + position: absolute!important; + clip: rect(1px 1px 1px 1px); + clip: rect(1px, 1px, 1px, 1px); +} +#footerwrap a.a11y-hidden:active, #footerwrap a.a11y-hidden:focus { + clip: auto!important; + position: absolute; + text-decoration: underline; + left: 9%} +.first-login, .login, .password-reset { + height: auto; +} +.first-login #body, .login #body, .password-reset #body { + padding: 64px 2px; + margin-bottom: 0; +} +.password-reset #body { + padding-top: 0; +} +.login .postbox, .password-reset .postbox { + max-width: 320px; +} +.create-account { + padding: 0 2px; +} +.ajax-error { + position: fixed; + top: 0; + right: 0; + padding: 11px; + background-color: red; + font-weight: 700; + color: #fff; + z-index: 100000; + display: none; +} +.tinymce { + min-height: 200px; +} +.mce-tinymce.mce-container { + max-width: 1024px; +} +.tinymce-horizontal .mce-tinymce.mce-container { + max-width: 1448px; +} +.mce-branding { + display: none!important; +} +.mce-tinymce.mce-fullscreen, .tinymce-horizontal .mce-tinymce.mce-fullscreen { + max-width: none; +} +.mce-btn-group .mce-btn { + float: left; +} +.markdown-to-html img, .tinymce-html img { + height: auto; +} +.chosen-select { + min-width: 55px; + padding-right: 15px; +} +.chosen-select[multiple] { + padding-right: 23px; +} +.no-touch .phone-link { + color: #333; + cursor: default; +} +.dashboard-module-title { + font-weight: 400; + margin: .85em 0; +} +.dashboard-module-data { + padding-left: 8px; +} +.dashboard-module-data-tipmsg .legend-gray { + margin-bottom: 5px; +} +.dashboard-module-title img { + vertical-align: middle; +} +.teacher-programs-wrapper { + border-style: dashed; + padding: 7px; + width: 100%; + margin-left: -9px; +} +.password-input-wrapper { + display: inline-block; +} +.password-strength-bars { + line-height: 5px; + font-size: 5px; +} +.password-strength-bars+br { + display: none; +} +.password-toggle { + float: right; + margin-left: -22px; + margin-top: 5px; + cursor: pointer; + position: relative; + margin-right: 3px; + background: #fff; +} +.password-hide { + display: none; +} +.password-strength-bars span { + background-color: #ff4136; + display: inline-block; + width: 18.5%; + line-height: 5px; + height: 5px; + padding: 0 1px 0 0; + visibility: hidden; +} +.password-strength-bars~label { + display: inline-block; + margin-top: -2px; +} +@media only screen and (max-width:800px) { + .BottomButton span { + display: none; + } +} +@media only screen and (max-width:736px) { + .wp-submenu a:hover { + background: 0 0; + color: #21759b; + } + .mod { + position: relative!important; + float: none!important; + clear: none!important; + margin-left: 0!important; + margin-right: 0!important; + border: 0; + } + #wrap { + padding-top: 39px; + height: 100%} + #footer { + position: fixed!important; + top: 0; + bottom: auto; + } + #footerhelp { + border-width: 1px 0; + border-style: solid; + } + #menu .logo { + max-width: 130px; + margin: 2px; + max-height: 130px; + float: right; + } + #menu { + position: fixed!important; + top: 39px; + left: 0; + right: 0; + bottom: 0; + width: 100%; + overflow-y: scroll; + padding-bottom: 0; + min-height: auto; + } + .adminmenu { + margin-bottom: 5px; + } + .adminmenu a { + padding: 2px 5px; + } + #menu form, .wp-submenu a { + padding: 5px; + } + .menu-top img { + height: 30px; + } + .no-touch .menu-module:hover .menu-top:after { + content: ""} + .no-touch .menu-module:hover .wp-submenu { + top: -1000em; + } + #body { + width: auto!important; + padding: 0 5px; + box-sizing: border-box; + } + .header1 h2 { + font-size: 22px; + line-height: 24px; + padding-left: 42px; + text-indent: -42px; + } + #LO_search, #search input, #search select { + max-width: 150px; + } + #LO_search { + float: left; + } + #LO_search+.button { + left: -28px; + float: left; + } + #modulesBody textarea { + width: 100%!important; + } + tr.address>td { + border-style: none none dotted; + padding: 12px 0; + } + .chart { + width: 90vw; + min-width: 450px; + } + input[type=button], input[type=reset], input[type=submit] { + margin: 0 4px; + } + tr.st>td { + float: left; + width: 100%; + box-sizing: border-box; + } + table.col1-align-right>tbody>tr.st>td:first-child { + text-align: left; + border-bottom: none; + } + table.col1-align-right>tbody>tr.st>td:nth-child(2) { + border-top: none; + } + .fixed-col { + table-layout: auto; + } + .fixed-col select { + max-width: 440px; + } + .divPortalPoll { + min-width: 0; + } + .tooltip::before { + font-size: .9em; + width: 20px; + height: 20px; + line-height: 20px; + } + .tooltip>i { + bottom: 150%; + left: -55px; + width: 120px; + padding: 5px; + border-radius: 3px; + font-size: .9em; + line-height: 1.5; + } + .first-login, .login, .password-reset { + padding: 32px 2px; + } + .password-reset { + padding-top: 0; + } + .mce-container .mce-dropzone { + height: 60px!important; + } + .teacher-programs-wrapper { + padding: .5%; + width: 99%; + margin-left: -.5%} + html[dir=RTL] .header1 h2 { + padding-left: 0; + padding-right: 42px; + } +} +@media only screen and (max-width:1023px) { + .rt { + display: block; + position: relative; + width: 100%} + .rt thead { + display: block; + float: left; + max-width: 160px; + } + .rt tbody { + display: block; + width: auto; + position: relative; + overflow-x: auto; + white-space: nowrap; + } + .rt thead tr { + display: block; + } + .rt th { + display: block; + line-height: 2em; + height: 2em; + } + .rt th, .rt th a { + font-size: 14px; + white-space: nowrap; + text-overflow: ellipsis; + } + .rt tbody tr { + display: inline-block; + vertical-align: top; + } + .rt td { + display: block; + line-height: 2em; + height: 2em; + } + .rt img { + max-height: 2em; + } + .rt input, .rt select { + margin: 0; + } + .rt tr { + border-right-width: 1px; + border-right-style: solid; + } + .rt input, .rt select, .rt textarea { + max-width: 150px; + } + .rt .link2colorBox { + display: block; + } + .rt .link2colorBox .colorboxinline { + background: url('btn/visualize.png') 0 0/contain no-repeat; + width: 24px; + height: 24px; + display: block; + } + .rt2colorBox { + overflow: auto; + } + .widefat td .rt2colorBox p { + margin-top: 0; + } + .rt .link2colorBox+.rt2colorBox { + display: none; + } + .rt div.error, .rt div.updated { + padding: 0; + margin: 0; + } + .rt .thead-repeat { + display: none; + } + .divPortalPoll { + max-height: none; + overflow-y: visible; + } + #calendar>thead>tr>th { + font-size: 1em; + line-height: 1.3; + overflow: hidden; + word-wrap: normal; + padding: 4px; + } + .calendar-day { + position: relative; + min-height: 48px; + } + .calendar-day>table { + display: block; + width: inherit; + z-index: 1; + } + .calendar-day td { + display: none; + } + .calendar-day .hover:hover td, .calendar-day .number { + display: table-cell; + } + .calendar-day .number { + font-size: 1em; + } + .calendar-day .hover:hover { + height: auto; + min-width: 202px; + min-height: 102px; + z-index: 2; + position: absolute; + top: 0; + left: 0; + background-color: inherit; + box-shadow: 2px 2px 2px 1px #9f9f9f; + } + .calendar-day.thu-fri-sat .hover:hover { + right: 0; + left: auto; + box-shadow: -2px 2px 2px 1px #9f9f9f; + } + .calendar { + z-index: 10000; + } + #courses_div { + position: relative; + width: 210px; + float: right; + } + .widefat th a[href*=LO_dir]:after { + content: ""; + padding-left: 0; + } + .widefat th a[href*=LO_dir]:hover:after { + content: ""} +} +@media only screen and (max-width:479px) { + .st>.align-right { + text-align: left; + } + .header2.align-right input[type=button], .header2.align-right input[type=reset], .header2.align-right input[type=submit] { + margin: 0 16px 0 0; + } + .calendar-day { + height: 36px; + } + .calendar-day .hover:hover { + min-width: 177px; + min-height: 78px; + } + .fixed-col select, input, select { + max-width: 260px; + } + .teacher-programs-wrapper { + padding: 1%; + width: 98%; + margin-left: -1%} + .rt thead { + max-width: 130px; + } +} +html[dir=RTL] #menu { + float: right; + border-width: 0 0 0 1px; +} +html[dir=RTL] #BottomButtonMenu { + float: right; +} +html[dir=RTL] .wp-submenu { + right: 0; + left: auto; + -webkit-transition: top, right; + transition: top, right; +} +html.no-touch[dir=RTL] .menu-module:focus-within .menu-top:after { + left: 5px; + right: auto; +} +html.no-touch[dir=RTL] .menu-module:hover .menu-top:after { + left: 5px; + right: auto; +} +html.no-touch[dir=RTL] .menu-module:focus-within .wp-submenu { + right: 205px; + left: auto; +} +html.no-touch[dir=RTL] .menu-module:hover .wp-submenu { + right: 205px; + left: auto; +} +html[dir=RTL] #selectedModuleLink+.wp-submenu, html[dir=RTL] #selectedModuleLink:after { + right: 0; + left: auto; +} +html[dir=RTL] .widefat td, html[dir=RTL] .widefat th { + text-align: right; +} +html[dir=RTL] div.st { + float: right; +} +html[dir=RTL] .tooltip>i { + text-align: right; +} +html[dir=RTL] .arrow.right:before, html[dir=RTL] .switchMenu.switched:before, html[dir=RTL] .switchMenu:before, html[dir=RTL] .toggle:before { + content: "\25c0\0000a0"} +html[dir=RTL] input[type=checkbox].toggle { + right: -9999px; +} +html[dir=RTL] #menu, html[dir=RTL] #selectedModuleLink+.wp-submenu, html[dir=RTL] .menu-top, html[dir=RTL] .menu-top:focus, html[dir=RTL] .menu-top:hover { + background-image: url(menu-shadow-rtl.png); + background-position: top left; +} +html[dir=RTL] .span-grade-points { + float: right; +} +html[dir=RTL] .login form input[type=password], html[dir=RTL] .login form input[type=text] { + margin-left: 6px; + margin-right: 0; +} +html[dir=RTL] .align-right, html[dir=RTL] .align-right td, html[dir=RTL] table.col1-align-right>tbody>tr>td:first-child, html[dir=RTL] td.align-right, html[dir=RTL] th.align-right { + text-align: left; +} +html[dir=RTL] #LO_search+.button { + left: 24px; +} +html[dir=RTL] #LO_search { + padding-right: 2px; + padding-left: 28px; +} +@media only screen and (max-width:1023px) { + html[dir=RTL] .calendar-day .hover:hover { + right: 0; + } + html[dir=RTL] .calendar-day.thu-fri-sat .hover:hover { + left: 0; + right: auto; + } +} \ No newline at end of file diff --git a/assets/themes/Leagcy/stylesheet.min.css b/assets/themes/Leagcy/stylesheet.min.css new file mode 100644 index 000000000..ed5d6e74f --- /dev/null +++ b/assets/themes/Leagcy/stylesheet.min.css @@ -0,0 +1 @@ +div.calendar{position:relative;z-index:100}.calendar,.calendar table{border:1px solid #556;color:#000;cursor:default;background:#eef;font-family:'Open Sans',tahoma,verdana,sans-serif}.calendar .button{text-align:center;padding:2px}.calendar .nav{background:url(menuarrow.gif) 100% 100% no-repeat #778}.calendar thead .title{font-weight:700;text-align:center;background:#fff;color:#000;padding:2px}.calendar thead .headrow{background:#778;color:#fff}.calendar thead .daynames{background:#bdf}.calendar thead .name{border-bottom:1px solid #556;padding:2px;text-align:center;color:#000}.calendar thead .weekend{color:#a66}.calendar thead .hilite{background-color:#aaf;color:#000;border:1px solid #04f;padding:1px}.calendar thead .active{background-color:#77c;padding:2px 0 0 2px}.calendar tbody .day{width:2em;color:#456;text-align:right;padding:2px 4px 2px 2px}.calendar tbody .day.othermonth{font-size:80%;color:#bbb}.calendar tbody .day.othermonth.oweekend{color:#fbb}.calendar table .wn{padding:2px 3px 2px 2px;border-right:1px solid #000;background:#bdf}.calendar tbody .rowhilite td{background:#def}.calendar tbody .rowhilite td.wn{background:#eef}.calendar tbody td.hilite{background:#def;padding:1px 3px 1px 1px;border:1px solid #bbb}.calendar tbody td.active{background:#cde;padding:2px 2px 0}.calendar tbody td.selected{font-weight:700;border:1px solid #000;padding:1px 3px 1px 1px;background:#fff;color:#000}.calendar tbody td.weekend{color:#a66}.calendar tbody td.today{font-weight:700;color:#00f}.calendar tbody .disabled{color:#999}.calendar tbody .emptycell{visibility:hidden}.calendar tbody .emptyrow{display:none}.calendar tfoot .footrow{text-align:center;background:#556;color:#fff}.calendar tfoot .ttip{background:#fff;color:#445;border-top:1px solid #556;padding:1px}.calendar tfoot .hilite{background:#aaf;border:1px solid #04f;color:#000;padding:1px}.calendar tfoot .active{background:#77c;padding:2px 0 0 2px}.calendar .combo{position:absolute;display:none;top:0;left:0;width:4em;cursor:default;border:1px solid #655;background:#def;color:#000;font-size:90%;z-index:100}.calendar .combo .label,.calendar .combo .label-IEfix{text-align:center;padding:1px}.calendar .combo .label-IEfix{width:4em}.calendar .combo .hilite{background:#acf}.calendar .combo .active{border-top:1px solid #46a;border-bottom:1px solid #46a;background:#eef;font-weight:700}.calendar td.time{border-top:1px solid #000;padding:1px 0;text-align:center;background-color:#f4f0e8}.calendar td.time .ampm,.calendar td.time .hour,.calendar td.time .minute{padding:0 3px 0 4px;border:1px solid #889;font-weight:700;background-color:#fff}.calendar td.time .ampm{text-align:center}.calendar td.time .colon{padding:0 2px 0 3px;font-weight:700}.calendar td.time span.hilite{border-color:#000;background-color:#667;color:#fff}.calendar td.time span.active{border-color:red;background-color:#000;color:#0f0}#cboxOverlay,#cboxWrapper,#colorbox{position:absolute;top:0;left:0;z-index:9999;overflow:hidden}#cboxWrapper{max-width:none}#cboxOverlay{position:fixed;width:100%;height:100%;background:#fff;opacity:.9}#cboxBottomLeft,#cboxMiddleLeft{clear:left}#cboxContent{position:relative;margin-top:32px;overflow:visible;background:#000}#cboxTitle{margin:0;position:absolute;top:-22px;left:0;color:#000}#cboxLoadingGraphic,#cboxLoadingOverlay{position:absolute;top:0;left:0;width:100%;height:100%}#cboxClose,#cboxNext,#cboxPrevious,#cboxSlideshow{cursor:pointer;border:0;padding:0;margin:0;overflow:visible;text-indent:-9999px;width:20px;height:20px;position:absolute;top:-20px;background:url(images/controls.png) no-repeat}.cboxPhoto{float:left;margin:auto;border:0;display:block;max-width:none;-ms-interpolation-mode:bicubic}.cboxIframe{width:100%;height:100%;display:block;border:0;padding:0;margin:0;background:#fff}#cboxContent,#cboxLoadedContent,#colorbox{box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box}#cboxClose:active,#cboxNext:active,#cboxPrevious:active,#cboxSlideshow:active,#colorbox{outline:0}#cboxError{padding:50px;border:1px solid #ccc}#cboxLoadingGraphic{background:url(images/loading.gif) center center no-repeat}#cboxLoadingOverlay{background:#000}#cboxCurrent{position:absolute;top:-22px;right:205px;text-indent:-9999px}#cboxPrevious{background-position:0 0;right:44px}#cboxPrevious:hover{background-position:0 -25px}#cboxNext{background-position:-25px 0;right:22px}#cboxNext:hover{background-position:-25px -25px}#cboxClose{background-position:-50px 0;right:0}#cboxClose:hover{background-position:-50px -25px}.cboxSlideshow_off #cboxPrevious,.cboxSlideshow_on #cboxPrevious{right:66px}.cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px;right:44px}.cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px}.cboxSlideshow_off #cboxSlideshow{background-position:-100px 0;right:44px}.cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px}html{background:#fff}input[type=button],input[type=email],input[type=file],input[type=number],input[type=password],input[type=reset],input[type=search],input[type=submit],input[type=tel],input[type=text],input[type=url],select,textarea{border-color:#dfdfdf;background:#fff}input[type=button]:focus,input[type=email]:focus,input[type=file]:focus,input[type=number]:focus,input[type=password]:focus,input[type=reset]:focus,input[type=search]:focus,input[type=submit]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{border-color:#aaa;outline:0}input[readonly]{background:#eee}body{color:#111}#menu{background:#ececec;border-color:#ccc}#menu,#selectedModuleLink+.wp-submenu,.menu-top,.menu-top:focus,.menu-top:hover{background-image:url(menu-shadow.png);background-position:top right;background-repeat:repeat-y}.menu-inter{border-color:#dfdfdf}#footer{background:#ececec;clear:both;position:fixed;z-index:99;bottom:0;left:0;width:100%}#footerhelp,#footerwrap{border-color:#dfdfdf}#footerhelp{background:#fff;display:none;max-height:33vh;overflow-y:scroll;height:auto}.widefat{border-color:#dfdfdf;background:#f9f9f9;clear:both;margin:0;border-spacing:0}.postbox>thead th,.widefat tfoot tr th,.widefat th{background:#f1f1f1;background:-ms-linear-gradient(top,#f9f9f9,#ececec);background:-webkit-linear-gradient(top,#f9f9f9,#ececec);background:-moz-linear-gradient(top,#f9f9f9,#ececec);background:linear-gradient(top,#f9f9f9,#ececec)}.postbox .h3selected{background:#f9f9f9;background:-ms-linear-gradient(top,#ececec,#f9f9f9);background:-webkit-linear-gradient(top,#ececec,#f9f9f9);background:-moz-linear-gradient(top,#ececec,#f9f9f9);background:linear-gradient(top,#ececec,#f9f9f9)}.postbox>thead th{border-bottom-color:#dfdfdf;text-shadow:#fff 0 1px 0}.alt,.alternate,.widefat tr:nth-child(odd){background:#fcfcfc}.widefat tr:nth-child(even){background:#f9f9f9}.highlight,.widefat tr.highlight,.wp-submenu{background:#fff}input[type=button],input[type=submit]{border-color:#bbb;color:#464646}input[type=button]:focus,input[type=button]:hover,input[type=submit]:focus,input[type=submit]:hover{color:#000;border-color:#666}input[type=button],input[type=reset],input[type=submit]{background:url(white-grad.png) left top repeat-x #f2f2f2;background:-ms-linear-gradient(top,#fff,#ededed);background:-webkit-linear-gradient(top,#fff,#ededed);background:-moz-linear-gradient(top,#fff,#ededed);background:linear-gradient(top,#fff,#ededed);text-shadow:#fff 0 1px 0}input[type=button]:active,input[type=reset]:active,input[type=submit]:active{background:url(white-grad-active.png) left top repeat-x #eee;background:-webkit-linear-gradient(top,#ededed,#fff);background:-moz-linear-gradient(top,#ededed,#fff);background:linear-gradient(top,#ededed,#fff)}a.button-primary,button.button-primary,input.button-primary{border-color:#15556b;font-weight:700;color:#fff;background-image:url(button-grad.png);background:-ms-linear-gradient(top,#298cba,#1d6385);background:-webkit-linear-gradient(top,#298cba,#1d6385);background:-moz-linear-gradient(top,#298cba,#1d6385);background:linear-gradient(top,#298cba,#1d6385);text-shadow:rgba(0,0,0,.3) 0 -1px 0}a.button-primary:active,button.button-primary:active,input.button-primary:active{background-image:url(button-grad-active.png);background:-ms-linear-gradient(top,#1d6385,#298cba);background:-webkit-linear-gradient(top,#1d6385,#298cba);background:-moz-linear-gradient(top,#1d6385,#298cba);background:linear-gradient(top,#1d6385,#298cba)}a.button-primary:focus,a.button-primary:hover,button.button-primary:focus,button.button-primary:hover,input.button-primary:focus,input.button-primary:hover{border-color:#10354b;color:#fff;outline:0}.adminmenu a:focus,.adminmenu a:hover,a:active,a:focus,a:hover{color:#d54e21}a:active,a:focus{outline:#d54e21 dotted 1px}input[type=checkbox]:focus,input[type=radio]:focus{outline:#000 dotted 1px}div.error{background:#ffebe8;border-color:#c00}div.error a{color:#c00}div.updated{background:#ffffe0;border-color:#e6db55}.widefat td,.widefat th{border-color:#fff #fff #dfdfdf}.widefat th{text-shadow:rgba(255,255,255,.8) 0 1px 0;overflow:hidden;font-weight:400;line-height:1.4em}.adminmenu a,a{color:#21759b}.postbox{border-color:#dfdfdf;box-shadow:inset 0 1px 0 #fff;background:#f9f9f9}.postbox th{color:#464646}.postbox th:hover{color:#000}.adminmenu{background:#ececec;border-color:#ccc}.menu-top{border-top-color:#f9f9f9;border-bottom-color:#dfdfdf}.menu-top:focus,.menu-top:hover{background-color:#e4e4e4;text-shadow:0 1px 0 rgba(255,255,255,.4)}.wp-submenu{border-color:#dfdfdf #ccc}#selectedMenuLink,.wp-submenu a:focus,.wp-submenu a:hover{background-color:#eaf2fa;color:#111}.wp-submenu a:focus{outline:#111 dotted 1px}.header2{background:#f9f9f9;border-bottom:1px solid #dfdfdf;border-top:1px solid #fff}fieldset{border-color:#dfdfdf}.bgcolor{background:#ececec}.legend-gray{color:#535353}.legend-red{color:red}.underline-dots{border-bottom-color:gray}.md-preview .tab,.md-preview>div{border-color:#dfdfdf}.md-preview .tab.disabled,.md-preview .tab:hover{background:#fff;border-color:#bbb}.current-person,.current-person a,hr{color:#fff}.current-person.student{background:#336}.current-person.staff{background:#363}.current-person.self{background:#633}#calendar{background:#dfdfdf;table-layout:fixed;height:80%}#calendar th{background:#333;color:#fff}.calendar-day.full{background:#efe}.calendar-day.minutes{background:#eef}.calendar-day.no-school{background:#fee}.calendar-event{border-color:#000}.calendar-event.assignment{border-color:red}.calendar-event.assigned{border-color:#0f0}.legend-square.full{background-color:#afa}.legend-square.minutes{background-color:#aaf}.legend-square.no-school{background-color:#faa}.attendance-code.present{color:#fff;background-color:#20dd30}.attendance-code.absent{color:#fff;background-color:red}.attendance-code.half-day{color:#fff;background-color:#fc0}.attendance-code.present-alt{color:#fff;background-color:#dfd}.attendance-code.absent-alt{color:#fff;background-color:#fdd}.attendance-code.half-day-alt{color:#fff;background-color:#fed}.switchMenu:before{color:gray}#BottomButtonMenu:before{color:#000;content:"\2261";font-size:3rem;font-weight:700}.bar{color:transparent}.bar.relevance{background:gray}.divPortalPoll .bar{background:#c40}#cboxLoadedContent{overflow:auto;-webkit-overflow-scrolling:touch;background:#fff!important;margin:1px;padding:5px!important}.tooltip:before{background:#27b4b4}.tooltip>i{background:#444}.teacher-programs-wrapper{border-color:#dfdfdf}.password-strength-bars .score2{background-color:#ff851b}.password-strength-bars .score3,.password-strength-bars .score4{background-color:#2ecc40}@media only screen and (max-width:1023px){.rt tr{border-right-color:#dfdfdf}}@font-face{font-family:'Open Sans';src:url('fonts/opensans/Regular.eot');src:url('fonts/opensans/Regular.eot?#iefix') format('embedded-opentype'),url('fonts/opensans/Regular.woff') format('woff'),url('fonts/opensans/Regular.ttf') format('truetype');font-weight:400;font-style:normal}@font-face{font-family:'Open Sans';src:url('fonts/opensans/Italic.eot');src:url('fonts/opensans/Italic.eot?#iefix') format('embedded-opentype'),url('fonts/opensans/Italic.woff') format('woff'),url('fonts/opensans/Italic.ttf') format('truetype');font-weight:400;font-style:italic}@font-face{font-family:'Open Sans';src:url('fonts/opensans/BoldItalic.eot');src:url('fonts/opensans/BoldItalic.eot?#iefix') format('embedded-opentype'),url('fonts/opensans/BoldItalic.woff') format('woff'),url('fonts/opensans/BoldItalic.ttf') format('truetype');font-weight:700;font-style:italic}@font-face{font-family:'Open Sans';src:url('fonts/opensans/Bold.eot');src:url('fonts/opensans/Bold.eot?#iefix') format('embedded-opentype'),url('fonts/opensans/Bold.woff') format('woff'),url('fonts/opensans/Bold.ttf') format('truetype');font-weight:700;font-style:normal}.module-icon{width:36px;height:36px;background-size:contain;background-repeat:no-repeat;display:inline-block;vertical-align:middle}.header1 .module-icon{vertical-align:-25%}.module-icon.Accounting{background-image:url("modules/Accounting.png")}.module-icon.Attendance{background-image:url("modules/Attendance.png")}.module-icon.Discipline{background-image:url("modules/Discipline.png")}.module-icon.Grades{background-image:url("modules/Grades.png")}.module-icon.Eligibility{background-image:url("modules/Eligibility.png")}.module-icon.Example{background-image:url("modules/Example.png")!important}.module-icon.Food_Service{background-image:url("modules/Food_Service.png")}.module-icon.Library{background-image:url("modules/Library.png")}.Messaging{background-image:url("modules/Messaging.png")!important}.module-icon.misc{background-image:url("modules/misc.png")}.module-icon.Resources{background-image:url("modules/Resources.png")}.module-icon.Reports{background-image:url("modules/Reports.png")!important}.module-icon.Scheduling{background-image:url("modules/Scheduling.png")}.module-icon.School_Setup{background-image:url("modules/School_Setup.png")}.module-icon.SMS{background-image:url("modules/SMS.png")}.module-icon.Staff_Absences{background-image:url("modules/Staff_Absences.png")!important}.module-icon.Student_Billing{background-image:url("modules/Student_Billing.png")}.module-icon.Students{background-image:url("modules/Students.png")}.module-icon.Users{background-image:url("modules/Users.png")}#wrap{height:auto;min-height:100%;width:100%;box-sizing:border-box}#menu.scroll-to-fixed-fixed.hide+div{width:0!important}#menu{width:205px;border-width:0 1px 0 0;border-style:solid;position:relative;float:left;overflow:visible;z-index:1!important;min-height:100vh}#body{margin-bottom:38px;padding:0 15px 38px}#footerwrap{height:32px;padding:3px;text-align:center;border-width:1px 0;border-style:solid}#footerhelp .footerhelp-content{padding:6px 8px;columns:3 480px;widows:6}.footerhelp-content p:first-child{margin-top:0}.mod{overflow:hidden}.mod:after{content:"";display:table;clear:both}.fixed-col select,input{max-width:100%}#search input,#search select{max-width:217px}#search label{max-width:217px;display:inline-block}input[type=password],input[type=text],textarea{-ms-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin-bottom:2px;margin-right:0;vertical-align:middle;height:16px;width:16px;cursor:pointer}input[type=number]{width:50px}input[type=number][name*=AMOUNT],input[type=number][name*=PRICE],input[type=number][name*=amount],input[type=number][name*=balance]{width:80px}input[type=color]{border-width:0;border-style:solid;width:30px;height:20px;padding:0;cursor:pointer}button[disabled],fieldset[disabled] button,fieldset[disabled] input,fieldset[disabled] select,fieldset[disabled] textarea,input[disabled],select[disabled],textarea[disabled]{cursor:not-allowed}.color-input-value{width:30px;height:20px}body,html{height:100%;margin:0;padding:0;word-wrap:break-word;word-break:break-word}.calendar,.calendar table,body,div.chosen-container,html,input,select,textarea{font-size:14px;-webkit-text-size-adjust:none}body,input,select,textarea{font-family:'Open Sans',sans-serif;line-height:1.4em}a{-webkit-transition:color .2s ease-out;transition:color .2s ease-out}iframe,img{border:0}img{max-width:100%;height:auto}td{line-height:inherit}input,select,textarea{line-height:1.3;margin:1px 1px 1px 0;padding:3px}select{max-width:440px;padding:0 3px;height:26px}a,input,select:focus{text-decoration:none}blockquote,q{quotes:none}p{margin:1em 0}blockquote{margin:1em}label{cursor:pointer;vertical-align:middle}legend{font-weight:700}dd,li{margin-bottom:6px}small,small *{font-size:70%}h1,h2,h3,h4{display:block;font-weight:700;line-height:1em}h1{font-size:2em;margin:.67em 0}h2{font-size:1.58em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1.05em;margin:1.33em 0}code{background:#eaeaea;font-family:Consolas,Monaco,monospace;padding:1px 3px;margin:0 1px;font-size:13px}hr{background:#dfdfdf;height:2px;border:0;margin:14px 0}sub,sup{font-size:smaller}.cellpadding-5 td{padding-right:5px;padding-bottom:5px}.postbox,.widefat,div.error,div.updated,input[type=button],input[type=email],input[type=file],input[type=number],input[type=password],input[type=reset],input[type=search],input[type=submit],input[type=tel],input[type=text],input[type=url],select,textarea{border-radius:3px;border-width:1px;border-style:solid}.postbox{border-bottom-width:2px}.widefat *{word-wrap:break-word}.widefat a{text-decoration:none}.widefat thead th:first-of-type{border-top-left-radius:3px}.widefat thead th:last-of-type{border-top-right-radius:3px}.widefat tfoot th:first-of-type{border-bottom-left-radius:3px}.widefat tfoot th:last-of-type{border-bottom-right-radius:3px}.widefat th a[href*=LO_dir]:after{font-family:monospace;font-size:larger;line-height:.5em;content:"\0000a0";padding-left:3px}.widefat th a[href*="LO_dir=1"]:hover:after{content:"\25b4"}.widefat th a[href*="LO_dir=-1"]:hover:after{content:"\25be"}.widefat th a:empty:after{content:"";padding-left:0}.widefat td,.widefat th{text-align:left;border-width:1px 0;border-style:solid;padding:4px 7px;vertical-align:top}.widefat.files td{padding:1px 7px;font-weight:400}.widefat.files td .button+b{font-weight:400}.widefat tfoot th{border-bottom:none}.widefat th,.widefat th a{font-size:16px}.widefat td p{margin:2px 0 .8em}.list-wrapper{overflow-x:auto}.list,.list-nav{width:100%;border-spacing:0}.list-nav{margin-top:16px}.list-nav td{padding:4px 8px}.list{margin-bottom:16px}.list-no-nav{margin-top:24px}.list-header{margin-bottom:0;border-bottom:1px solid #f1f1f1}.list-header+.postbox{padding:5px;border-top:none;border-top-left-radius:0;border-top-right-radius:0;box-shadow:none}#LO_search{padding-right:28px;height:24px;width:160px;float:right}#LO_search+.button{position:relative;left:157px;top:3px;cursor:pointer;height:22px;float:right}div.error{padding:0 .6em;margin:16px 0}div.updated{padding:2px 9px;margin:16px 0}.postbox>thead th,.widefat th{font-family:Georgia,"Times New Roman",Times,serif}select option{padding:2px}input[type=button],input[type=reset],input[type=submit]{text-decoration:none;line-height:14px;padding:6px 10px;margin:0 8px;cursor:pointer;border-width:1px;border-style:solid;border-radius:3px;-ms-box-sizing:content-box;box-sizing:content-box;white-space:normal}.header2.align-right input[type=button],.header2.align-right input[type=reset],.header2.align-right input[type=submit]{margin:0 0 0 16px}.button-primary{line-height:16px;white-space:nowrap;border-radius:3px}.proper-date{white-space:nowrap}#menu form{padding:0 5px}#menu .username{font-weight:700}#menu .today-date{text-transform:capitalize}.adminmenu,.wp-submenu{width:100%;list-style:none}.adminmenu{clear:left;margin:5px 0 38px;padding:0}.adminmenu *,.widefat th{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.wp-submenu{top:-1000em;left:0;position:absolute;min-width:215px;padding:0;margin:0;overflow:hidden;-webkit-transition:top 0s .15s,left 0s .15s,box-shadow 0s .15s;transition:top 0s .15s,left 0s .15s,box-shadow 0s .15s;box-shadow:none;border-width:1px;border-style:solid;box-sizing:border-box}.adminmenu li{margin-bottom:0}.menu-module{position:relative}.no-touch .menu-module:focus-within .menu-top:after{content:"\276F";padding-top:6px;position:absolute;right:5px}.no-touch .menu-module:hover .menu-top:after{content:"\276F";position:absolute;right:5px;bottom:15px}#selectedModuleLink:after{content:""}.no-touch .menu-module:focus-within .wp-submenu{-webkit-transition-delay:.15s;transition-delay:.15s;z-index:20;top:0;left:205px;overflow:visible;word-wrap:break-word;min-height:36px;width:auto}.no-touch .menu-module:hover .wp-submenu{box-shadow:2px 2px 4px #ccc;-webkit-transition-delay:.15s;transition-delay:.15s;z-index:20;top:0;left:205px;overflow:visible;word-wrap:break-word;min-height:36px;width:auto}#selectedModuleLink+.wp-submenu{transition-delay:0s;z-index:1;top:0;left:0;position:relative;margin-top:0!important;border:0;min-height:0;min-width:205px;box-shadow:none}.menu-inter{border-width:1px 0 0;border-style:solid;padding:0 5px 2.5px;margin-top:2.5px}.adminmenu a{display:block;line-height:18px;padding:2.5px 5px}.menu-top{font-size:15px;min-width:10em;border-width:1px 0;border-style:solid}.menu-top img{height:32px;vertical-align:middle}.wp-submenu a{margin:0}.current-person{padding:1px 5px;margin-top:5px;font-weight:700}.postbox{padding:0;line-height:1.1;margin:0 auto;position:relative;min-width:255px}.postbox>thead th{border-bottom-width:1px;border-bottom-style:solid;padding:0 5px}.postbox .h3multi,.postbox th h3{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.postbox th h3{line-height:31px;height:34px;margin:0;border:0}.postbox th h3,.postbox th h3 a{display:inline-block;font-size:16px;font-weight:400}.postbox th h3 a{padding:0 10px}.postbox .h3multi{overflow-y:hidden}th a{display:block;overflow:hidden}fieldset{border-width:1px;border-style:solid;margin:0}.error a{text-decoration:underline}.updated a{text-decoration:none;padding-bottom:2px}div.error p,div.updated p{margin:.2em 0;padding:2px}h3 span{font-weight:400}.highlight{padding:3px 3px 3px 12px;margin-left:-12px;font-weight:700;border:0}.hide{display:none}.user-photo{max-width:150px;max-height:150px}.alignImg{vertical-align:middle;height:32px}.underline-dots .button{vertical-align:baseline;height:16px}.header{border-spacing:0;width:100%}.header1 h2{font-family:'Open Sans',sans-serif;font-size:30px;font-weight:400;margin:0;padding:14px 15px 14px 0;text-shadow:#aaa 0 1px 1px}.header2{padding:4px 8px}.header2 table{line-height:1;margin-left:-3px}.header2 .widefat{margin-left:0}#courses_div{background:#fff;position:absolute;border-style:solid;border-width:1px;padding:4px;right:0;left:0;display:none;max-height:80px;overflow:auto;width:auto}.size-3{font-size:11px}.size-1,.size-1 *{font-size:13px}.sizep1{font-size:15px}.sizep2{font-size:16px}.underline-dots{border-bottom-style:dotted;border-bottom-width:1px}div.underline-dots{display:inline-block;max-height:240px;max-width:100%;overflow:auto;line-height:inherit}.checkbox-label,.no-input-value,.underline-dots{line-height:28px;padding-bottom:1px}.span-grade-points+label{line-height:28px}textarea{width:100%;min-width:280px;max-width:1024px}.md-preview{min-width:280px;max-width:1024px}.md-preview>.tab{border-width:1px;border-bottom:0;border-style:solid;border-top-left-radius:3px;border-top-right-radius:3px;font-weight:700;padding:5px 7px;margin:0 2px 0 0;line-height:27px}.md-preview>.tab.disabled{pointer-events:none;cursor:default}.md-preview .md-link{line-height:27px;float:right}.md-preview>div{display:none;border-width:1px;border-style:solid;padding:2px 7px;margin-bottom:2px;box-sizing:border-box;overflow-y:auto}.md-preview+textarea{border-top-left-radius:0;border-top-right-radius:0;margin-top:0;resize:vertical}.markdown-to-html table{border-collapse:collapse;border-spacing:0}.markdown-to-html td,.markdown-to-html th{border:1px solid #bbb;padding:5px}.legend-gray,.legend-red{margin-bottom:7px;display:inline-block}.logo{max-width:150px;max-height:150px}#menu .logo{margin-top:4px}.onclick{cursor:pointer}div.onclick{display:inline-block;max-width:100%}.cellspacing-0{border-spacing:0}.width-100p{width:100%}.fixed-col{table-layout:fixed;word-wrap:break-word}.popTable{padding:7px}table.valign-top td,td.valign-top,tr.valign-top{vertical-align:top}table.valign-bottom td,td.valign-bottom,tr.valign-bottom td{vertical-align:bottom}.align-right,.align-right td,td.align-right,th.align-right{text-align:right}table.col1-align-right>tbody>tr>td:first-child{text-align:right;vertical-align:middle}.center{text-align:center}a.center,span.center{display:block}img.center{display:block;margin:0 auto}table.center{text-align:inherit;margin-left:auto;margin-right:auto}span.nobr{white-space:nowrap}div.nobr div{display:inline}tr.address>td{border:none;padding:0 12px}.br-after{display:block}td.image-radio-list{height:160px;padding:0;margin:0;float:left;position:relative}label.image-radio-list{padding:0 20px}img.image-radio-list{vertical-align:top;max-width:150px;max-height:150px}.button{vertical-align:middle;height:16px;max-width:none}a>.button{padding:1px}.button.bigger{height:24px}.button.smaller{height:14px}.button.cal{cursor:pointer;height:32px;margin-top:-9px}.login .popTable{padding:8px}.login .popTable td{padding-bottom:16px}.login .popTable tr:last-of-type td{padding-bottom:0}.login #loginform input[type=password],.login #loginform input[type=text]{font-weight:200;font-size:20px;width:100%;max-width:100%;padding:3px;margin-top:2px;margin-right:6px;box-shadow:inset 1px 1px 2px rgba(200,200,200,.2)}.BottomButton{line-height:32px;margin-right:8px;display:inline-block}.BottomButton span{vertical-align:top}.BottomButton img{height:32px}#BottomButtonMenu{height:32px;line-height:28px;float:left}.BottomButton.loading{float:right;padding-bottom:13px}.loading{display:inline-block;width:12px;height:12px;background:url('spinning.gif') center no-repeat;visibility:hidden}input[type=file]{padding:0;max-width:calc(100% - 18px);height:25px}.bar{word-wrap:normal}div.st{float:left;padding:4px}#student-comments{max-width:100%;width:500px}#student-comments span{font-style:italic}#student-comments div{background:#fff;padding:10px;margin-bottom:15px;border-bottom:1px solid}#calendar>thead>tr>th{font-size:1.2em;font-weight:400;line-height:1.6}.calendar-day{min-width:109px}.calendar-day>table{height:100%}.calendar-event{height:32px}.calendar-day td{max-width:103px;overflow:hidden;white-space:nowrap;line-height:1.231}.calendar-day .bold{font-weight:700}.calendar-day .number{font-size:1.2em}.calendar-event div{border-left-width:4px;border-left-style:solid;margin:1px 0}.calendar-event a,.calendar-event span{padding:4px 2px;display:inline-block}td.calendar-menu{white-space:normal;max-width:none}.legend-square{width:32px;height:32px;border-radius:3px}.rt .link2colorBox{display:none}.divPortalPoll{max-height:350px;overflow-y:auto;min-width:300px}.divPortalPoll .widefat{margin-bottom:.8em}.widefat .divPortalPoll>p{margin-bottom:2px}.span-grade-points{float:left}.attendance-code{display:inline-block;padding:2px 8px;min-width:10px;text-align:center}.arrow.right:before,.switchMenu:before{content:"\25b6\0000a0";vertical-align:10%}.switchMenu.switched:before{content:"\25bc\0000a0"}.arrow,.switchMenu{display:inline-block}.switchMenu{padding:5px}.chart{position:relative;width:calc(90vw - 205px);max-width:1024px}#tipMsg{visibility:hidden;position:absolute;z-index:1000;top:-100px;max-width:300px}.tipmsg-label{display:inline-block;border-bottom:1px dashed #bbb;cursor:default}a>.tipmsg-label{cursor:pointer}.tooltip{color:#fff;position:absolute;display:inline-block;margin-left:5px;cursor:help}.tooltip:before{content:"i";font-family:monospace;font-size:.85em;font-weight:700;width:16px;height:16px;line-height:16px;display:inline-block;text-align:center;border-radius:50%}.tooltip>i{visibility:hidden;opacity:0;position:absolute;bottom:110%;left:-90px;width:180px;z-index:999;display:inline-block;padding:7px;border-radius:3px;transition:opacity .3s;text-align:left;font-size:1em;line-height:1.5}.tooltip:hover>i{visibility:visible;opacity:1}.toggle{cursor:pointer}input[type=checkbox].toggle{position:absolute;left:-9999px}.toggle~.toggle-me{display:none}.toggle:checked~.toggle-me{display:block}.toggle:before{content:"\25b6\0000a0";vertical-align:10%}.toggle:checked+.toggle:before{content:"\25bc\0000a0"}.minicolors{margin:2px 2px 2px 0}.a11y-hidden{position:absolute!important;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px)}#footerwrap a.a11y-hidden:active,#footerwrap a.a11y-hidden:focus{clip:auto!important;position:absolute;text-decoration:underline;left:9%}.first-login,.login,.password-reset{height:auto}.first-login #body,.login #body,.password-reset #body{padding:64px 2px;margin-bottom:0}.password-reset #body{padding-top:0}.login .postbox,.password-reset .postbox{max-width:320px}.create-account{padding:0 2px}.ajax-error{position:fixed;top:0;right:0;padding:11px;background-color:red;font-weight:700;color:#fff;z-index:100000;display:none}.tinymce{min-height:200px}.mce-tinymce.mce-container{max-width:1024px}.tinymce-horizontal .mce-tinymce.mce-container{max-width:1448px}.mce-branding{display:none!important}.mce-tinymce.mce-fullscreen,.tinymce-horizontal .mce-tinymce.mce-fullscreen{max-width:none}.mce-btn-group .mce-btn{float:left}.markdown-to-html img,.tinymce-html img{height:auto}.chosen-select{min-width:55px;padding-right:15px}.chosen-select[multiple]{padding-right:23px}.no-touch .phone-link{color:#333;cursor:default}.dashboard-module-title{font-weight:400;margin:.85em 0}.dashboard-module-data{padding-left:8px}.dashboard-module-data-tipmsg .legend-gray{margin-bottom:5px}.dashboard-module-title img{vertical-align:middle}.teacher-programs-wrapper{border-style:dashed;padding:7px;width:100%;margin-left:-9px}.password-input-wrapper{display:inline-block}.password-strength-bars{line-height:5px;font-size:5px}.password-strength-bars+br{display:none}.password-toggle{float:right;margin-left:-22px;margin-top:5px;cursor:pointer;position:relative;margin-right:3px;background:#fff}.password-hide{display:none}.password-strength-bars span{background-color:#ff4136;display:inline-block;width:18.5%;line-height:5px;height:5px;padding:0 1px 0 0;visibility:hidden}.password-strength-bars~label{display:inline-block;margin-top:-2px}@media only screen and (max-width:800px){.BottomButton span{display:none}}@media only screen and (max-width:736px){.wp-submenu a:hover{background:0 0;color:#21759b}.mod{position:relative!important;float:none!important;clear:none!important;margin-left:0!important;margin-right:0!important;border:0}#wrap{padding-top:39px;height:100%}#footer{position:fixed!important;top:0;bottom:auto}#footerhelp{border-width:1px 0;border-style:solid}#menu .logo{max-width:130px;margin:2px;max-height:130px;float:right}#menu{position:fixed!important;top:39px;left:0;right:0;bottom:0;width:100%;overflow-y:scroll;padding-bottom:0;min-height:auto}.adminmenu{margin-bottom:5px}.adminmenu a{padding:2px 5px}#menu form,.wp-submenu a{padding:5px}.menu-top img{height:30px}.no-touch .menu-module:hover .menu-top:after{content:""}.no-touch .menu-module:hover .wp-submenu{top:-1000em}#body{width:auto!important;padding:0 5px;box-sizing:border-box}.header1 h2{font-size:22px;line-height:24px;padding-left:42px;text-indent:-42px}#LO_search,#search input,#search select{max-width:150px}#LO_search{float:left}#LO_search+.button{left:-28px;float:left}#modulesBody textarea{width:100%!important}tr.address>td{border-style:none none dotted;padding:12px 0}.chart{width:90vw;min-width:450px}input[type=button],input[type=reset],input[type=submit]{margin:0 4px}tr.st>td{float:left;width:100%;box-sizing:border-box}table.col1-align-right>tbody>tr.st>td:first-child{text-align:left;border-bottom:none}table.col1-align-right>tbody>tr.st>td:nth-child(2){border-top:none}.fixed-col{table-layout:auto}.fixed-col select{max-width:440px}.divPortalPoll{min-width:0}.tooltip::before{font-size:.9em;width:20px;height:20px;line-height:20px}.tooltip>i{bottom:150%;left:-55px;width:120px;padding:5px;border-radius:3px;font-size:.9em;line-height:1.5}.first-login,.login,.password-reset{padding:32px 2px}.password-reset{padding-top:0}.mce-container .mce-dropzone{height:60px!important}.teacher-programs-wrapper{padding:.5%;width:99%;margin-left:-.5%}html[dir=RTL] .header1 h2{padding-left:0;padding-right:42px}}@media only screen and (max-width:1023px){.rt{display:block;position:relative;width:100%}.rt thead{display:block;float:left;max-width:160px}.rt tbody{display:block;width:auto;position:relative;overflow-x:auto;white-space:nowrap}.rt thead tr{display:block}.rt th{display:block;line-height:2em;height:2em}.rt th,.rt th a{font-size:14px;white-space:nowrap;text-overflow:ellipsis}.rt tbody tr{display:inline-block;vertical-align:top}.rt td{display:block;line-height:2em;height:2em}.rt img{max-height:2em}.rt input,.rt select{margin:0}.rt tr{border-right-width:1px;border-right-style:solid}.rt input,.rt select,.rt textarea{max-width:150px}.rt .link2colorBox{display:block}.rt .link2colorBox .colorboxinline{background:url('btn/visualize.png') 0 0/contain no-repeat;width:24px;height:24px;display:block}.rt2colorBox{overflow:auto}.widefat td .rt2colorBox p{margin-top:0}.rt .link2colorBox+.rt2colorBox{display:none}.rt div.error,.rt div.updated{padding:0;margin:0}.rt .thead-repeat{display:none}.divPortalPoll{max-height:none;overflow-y:visible}#calendar>thead>tr>th{font-size:1em;line-height:1.3;overflow:hidden;word-wrap:normal;padding:4px}.calendar-day{position:relative;min-height:48px}.calendar-day>table{display:block;width:inherit;z-index:1}.calendar-day td{display:none}.calendar-day .hover:hover td,.calendar-day .number{display:table-cell}.calendar-day .number{font-size:1em}.calendar-day .hover:hover{height:auto;min-width:202px;min-height:102px;z-index:2;position:absolute;top:0;left:0;background-color:inherit;box-shadow:2px 2px 2px 1px #9f9f9f}.calendar-day.thu-fri-sat .hover:hover{right:0;left:auto;box-shadow:-2px 2px 2px 1px #9f9f9f}.calendar{z-index:10000}#courses_div{position:relative;width:210px;float:right}.widefat th a[href*=LO_dir]:after{content:"";padding-left:0}.widefat th a[href*=LO_dir]:hover:after{content:""}}@media only screen and (max-width:479px){.st>.align-right{text-align:left}.header2.align-right input[type=button],.header2.align-right input[type=reset],.header2.align-right input[type=submit]{margin:0 16px 0 0}.calendar-day{height:36px}.calendar-day .hover:hover{min-width:177px;min-height:78px}.fixed-col select,input,select{max-width:260px}.teacher-programs-wrapper{padding:1%;width:98%;margin-left:-1%}.rt thead{max-width:130px}}html[dir=RTL] #menu{float:right;border-width:0 0 0 1px}html[dir=RTL] #BottomButtonMenu{float:right}html[dir=RTL] .wp-submenu{right:0;left:auto;-webkit-transition:top,right;transition:top,right}html.no-touch[dir=RTL] .menu-module:focus-within .menu-top:after{left:5px;right:auto}html.no-touch[dir=RTL] .menu-module:hover .menu-top:after{left:5px;right:auto}html.no-touch[dir=RTL] .menu-module:focus-within .wp-submenu{right:205px;left:auto}html.no-touch[dir=RTL] .menu-module:hover .wp-submenu{right:205px;left:auto}html[dir=RTL] #selectedModuleLink+.wp-submenu,html[dir=RTL] #selectedModuleLink:after{right:0;left:auto}html[dir=RTL] .widefat td,html[dir=RTL] .widefat th{text-align:right}html[dir=RTL] div.st{float:right}html[dir=RTL] .tooltip>i{text-align:right}html[dir=RTL] .arrow.right:before,html[dir=RTL] .switchMenu.switched:before,html[dir=RTL] .switchMenu:before,html[dir=RTL] .toggle:before{content:"\25c0\0000a0"}html[dir=RTL] input[type=checkbox].toggle{right:-9999px}html[dir=RTL] #menu,html[dir=RTL] #selectedModuleLink+.wp-submenu,html[dir=RTL] .menu-top,html[dir=RTL] .menu-top:focus,html[dir=RTL] .menu-top:hover{background-image:url(menu-shadow-rtl.png);background-position:top left}html[dir=RTL] .span-grade-points{float:right}html[dir=RTL] .login form input[type=password],html[dir=RTL] .login form input[type=text]{margin-left:6px;margin-right:0}html[dir=RTL] .align-right,html[dir=RTL] .align-right td,html[dir=RTL] table.col1-align-right>tbody>tr>td:first-child,html[dir=RTL] td.align-right,html[dir=RTL] th.align-right{text-align:left}html[dir=RTL] #LO_search+.button{left:24px}html[dir=RTL] #LO_search{padding-right:2px;padding-left:28px}@media only screen and (max-width:1023px){html[dir=RTL] .calendar-day .hover:hover{right:0}html[dir=RTL] .calendar-day.thu-fri-sat .hover:hover{left:0;right:auto}} \ No newline at end of file diff --git a/assets/themes/Leagcy/stylesheet_wkhtmltopdf.css b/assets/themes/Leagcy/stylesheet_wkhtmltopdf.css new file mode 100644 index 000000000..a8c2a10e5 --- /dev/null +++ b/assets/themes/Leagcy/stylesheet_wkhtmltopdf.css @@ -0,0 +1,1636 @@ +html { + background: #fff; +} +input[type=button], input[type=email], input[type=file], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=submit], input[type=tel], input[type=text], input[type=url], select, textarea { + border-color: #dfdfdf; + background: #fff; +} +input[type=button]:focus, input[type=email]:focus, input[type=file]:focus, input[type=number]:focus, input[type=password]:focus, input[type=reset]:focus, input[type=search]:focus, input[type=submit]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=url]:focus, select:focus, textarea:focus { + border-color: #aaa; + outline: 0; +} +input[readonly] { + background: #eee; +} +#menu { + background: #ececec; + border-color: #ccc; +} +#menu, #selectedModuleLink+.wp-submenu, .menu-top, .menu-top:focus, .menu-top:hover { + background-image: url(menu-shadow.png); + background-position: top right; + background-repeat: repeat-y; +} +.menu-inter { + border-color: #dfdfdf; +} +#footer { + background: #ececec; + clear: both; + position: fixed; + z-index: 99; + bottom: 0; + left: 0; + width: 100%} +#footerhelp, #footerwrap { + border-color: #dfdfdf; +} +#footerhelp { + background: #fff; + display: none; + max-height: 33vh; + overflow-y: scroll; + height: auto; +} +.widefat { + border-color: #dfdfdf; + background: #f9f9f9; + clear: both; + margin: 0; + border-spacing: 0; +} +.postbox>thead th, .widefat tfoot tr th, .widefat th { + background: #f1f1f1; + background: -ms-linear-gradient(top, #f9f9f9, #ececec); + background: -webkit-linear-gradient(top, #f9f9f9, #ececec); + background: -moz-linear-gradient(top, #f9f9f9, #ececec); + background: linear-gradient(top, #f9f9f9, #ececec); +} +.postbox .h3selected { + background: #f9f9f9; + background: -ms-linear-gradient(top, #ececec, #f9f9f9); + background: -webkit-linear-gradient(top, #ececec, #f9f9f9); + background: -moz-linear-gradient(top, #ececec, #f9f9f9); + background: linear-gradient(top, #ececec, #f9f9f9); +} +.postbox>thead th { + border-bottom-color: #dfdfdf; + text-shadow: #fff 0 1px 0; +} +.alt, .alternate, .widefat tr:nth-child(odd) { + background: #fcfcfc; +} +.widefat tr:nth-child(even) { + background: #f9f9f9; +} +.highlight, .widefat tr.highlight, .wp-submenu { + background: #fff; +} +input[type=button], input[type=submit] { + border-color: #bbb; + color: #464646; +} +input[type=button]:focus, input[type=button]:hover, input[type=submit]:focus, input[type=submit]:hover { + color: #000; + border-color: #666; +} +input[type=button], input[type=reset], input[type=submit] { + background: url(white-grad.png) left top repeat-x #f2f2f2; + background: -ms-linear-gradient(top, #fff, #ededed); + background: -webkit-linear-gradient(top, #fff, #ededed); + background: -moz-linear-gradient(top, #fff, #ededed); + background: linear-gradient(top, #fff, #ededed); + text-shadow: #fff 0 1px 0; +} +input[type=button]:active, input[type=reset]:active, input[type=submit]:active { + background: url(white-grad-active.png) left top repeat-x #eee; + background: -webkit-linear-gradient(top, #ededed, #fff); + background: -moz-linear-gradient(top, #ededed, #fff); + background: linear-gradient(top, #ededed, #fff); +} +a.button-primary, button.button-primary, input.button-primary { + border-color: #15556b; + font-weight: 700; + color: #fff; + background-image: url(button-grad.png); + background: -ms-linear-gradient(top, #298cba, #1d6385); + background: -webkit-linear-gradient(top, #298cba, #1d6385); + background: -moz-linear-gradient(top, #298cba, #1d6385); + background: linear-gradient(top, #298cba, #1d6385); + text-shadow: rgba(0, 0, 0, .3) 0 -1px 0; +} +a.button-primary:active, button.button-primary:active, input.button-primary:active { + background-image: url(button-grad-active.png); + background: -ms-linear-gradient(top, #1d6385, #298cba); + background: -webkit-linear-gradient(top, #1d6385, #298cba); + background: -moz-linear-gradient(top, #1d6385, #298cba); + background: linear-gradient(top, #1d6385, #298cba); +} +a.button-primary:focus, a.button-primary:hover, button.button-primary:focus, button.button-primary:hover, input.button-primary:focus, input.button-primary:hover { + border-color: #10354b; + color: #fff; + outline: 0; +} +.adminmenu a:focus, .adminmenu a:hover, a:active, a:focus, a:hover { + color: #d54e21; +} +a:active, a:focus { + outline: #d54e21 dotted 1px; +} +input[type=checkbox]:focus, input[type=radio]:focus { + outline: #000 dotted 1px; +} +div.error { + background: #ffebe8; + border-color: #c00; +} +div.error a { + color: #c00; +} +div.updated { + background: #ffffe0; + border-color: #e6db55; +} +.widefat td, .widefat th { + border-color: #fff #fff #dfdfdf; +} +.widefat th { + text-shadow: rgba(255, 255, 255, .8) 0 1px 0; + overflow: hidden; + font-weight: 400; + line-height: 1.4em; +} +.adminmenu a, a { + color: #21759b; +} +.postbox { + border-color: #dfdfdf; + box-shadow: inset 0 1px 0 #fff; + background: #f9f9f9; +} +.postbox th { + color: #464646; +} +.postbox th:hover { + color: #000; +} +.adminmenu { + background: #ececec; + border-color: #ccc; +} +.menu-top { + border-top-color: #f9f9f9; + border-bottom-color: #dfdfdf; +} +.menu-top:focus, .menu-top:hover { + background-color: #e4e4e4; + text-shadow: 0 1px 0 rgba(255, 255, 255, .4); +} +.wp-submenu { + border-color: #dfdfdf #ccc; +} +#selectedMenuLink, .wp-submenu a:focus, .wp-submenu a:hover { + background-color: #eaf2fa; + color: #111; +} +.wp-submenu a:focus { + outline: #111 dotted 1px; +} +.header2 { + background: #f9f9f9; + border-bottom: 1px solid #dfdfdf; + border-top: 1px solid #fff; +} +fieldset { + border-color: #dfdfdf; +} +.bgcolor { + background: #ececec; +} +.legend-gray { + color: #535353; +} +.legend-red { + color: red; +} +.underline-dots { + border-bottom-color: gray; +} +.md-preview .tab, .md-preview>div { + border-color: #dfdfdf; +} +.md-preview .tab.disabled, .md-preview .tab:hover { + background: #fff; + border-color: #bbb; +} +.current-person, .current-person a, hr { + color: #fff; +} +.current-person.student { + background: #336; +} +.current-person.staff { + background: #363; +} +.current-person.self { + background: #633; +} +#calendar { + background: #dfdfdf; + table-layout: fixed; + height: 80%} +#calendar th { + background: #333; + color: #fff; +} +.calendar-day.full { + background: #efe; +} +.calendar-day.minutes { + background: #eef; +} +.calendar-day.no-school { + background: #fee; +} +.calendar-event { + border-color: #000; +} +.calendar-event.assignment { + border-color: red; +} +.calendar-event.assigned { + border-color: #0f0; +} +.legend-square.full { + background-color: #afa; +} +.legend-square.minutes { + background-color: #aaf; +} +.legend-square.no-school { + background-color: #faa; +} +.attendance-code.present { + color: #fff; + background-color: #20dd30; +} +.attendance-code.absent { + color: #fff; + background-color: red; +} +.attendance-code.half-day { + color: #fff; + background-color: #fc0; +} +.attendance-code.present-alt { + color: #fff; + background-color: #dfd; +} +.attendance-code.absent-alt { + color: #fff; + background-color: #fdd; +} +.attendance-code.half-day-alt { + color: #fff; + background-color: #fed; +} +.switchMenu:before { + color: gray; +} +#BottomButtonMenu:before { + color: #000; + content: "\2261"; + font-size: 3rem; + font-weight: 700; +} +.bar { + color: transparent; +} +.bar.relevance { + background: gray; +} +.divPortalPoll .bar { + background: #c40; +} +#cboxLoadedContent { + background: #fff!important; + margin: 1px; + padding: 5px!important; +} +.tooltip:before { + background: #27b4b4; +} +.tooltip>i { + background: #444; +} +.teacher-programs-wrapper { + border-color: #dfdfdf; +} +.password-strength-bars .score2 { + background-color: #ff851b; +} +.password-strength-bars .score3, .password-strength-bars .score4 { + background-color: #2ecc40; +} +@media only screen and (max-width:1023px) { + .rt tr { + border-right-color: #dfdfdf; + } +}@media only screen and (max-width:736px) { + .wp-submenu a:hover { + background: 0 0; + color: #21759b; + } + html[dir=RTL] .header1 h2 { + padding-left: 0; + padding-right: 42px; + } +}@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/Regular.eot'); + src: url('fonts/opensans/Regular.eot?#iefix') format('embedded-opentype'), url('fonts/opensans/Regular.woff') format('woff'), url('fonts/opensans/Regular.ttf') format('truetype'); + font-weight: 400; + font-style: normal; +} +@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/Italic.eot'); + src: url('fonts/opensans/Italic.eot?#iefix') format('embedded-opentype'), url('fonts/opensans/Italic.woff') format('woff'), url('fonts/opensans/Italic.ttf') format('truetype'); + font-weight: 400; + font-style: italic; +} +@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/BoldItalic.eot'); + src: url('fonts/opensans/BoldItalic.eot?#iefix') format('embedded-opentype'), url('fonts/opensans/BoldItalic.woff') format('woff'), url('fonts/opensans/BoldItalic.ttf') format('truetype'); + font-weight: 700; + font-style: italic; +} +@font-face { + font-family: 'Open Sans'; + src: url('fonts/opensans/Bold.eot'); + src: url('fonts/opensans/Bold.eot?#iefix') format('embedded-opentype'), url('fonts/opensans/Bold.woff') format('woff'), url('fonts/opensans/Bold.ttf') format('truetype'); + font-weight: 700; + font-style: normal; +} +.module-icon { + width: 36px; + height: 36px; + background-size: contain; + background-repeat: no-repeat; + display: inline-block; + vertical-align: middle; +} +.header1 .module-icon { + vertical-align: -25%} +.module-icon.Accounting { + background-image: url("modules/Accounting.png"); +} +.module-icon.Attendance { + background-image: url("modules/Attendance.png"); +} +.module-icon.Discipline { + background-image: url("modules/Discipline.png"); +} +.module-icon.Grades { + background-image: url("modules/Grades.png"); +} +.module-icon.Eligibility { + background-image: url("modules/Eligibility.png"); +} +.module-icon.Example { + background-image: url("modules/Example.png")!important; +} +.module-icon.Food_Service { + background-image: url("modules/Food_Service.png"); +} +.module-icon.Library { + background-image: url("modules/Library.png"); +} +.Messaging { + background-image: url("modules/Messaging.png")!important; +} +.module-icon.misc { + background-image: url("modules/misc.png"); +} +.module-icon.Resources { + background-image: url("modules/Resources.png"); +} +.module-icon.Reports { + background-image: url("modules/Reports.png")!important; +} +.module-icon.Scheduling { + background-image: url("modules/Scheduling.png"); +} +.module-icon.School_Setup { + background-image: url("modules/School_Setup.png"); +} +.module-icon.SMS { + background-image: url("modules/SMS.png"); +} +.module-icon.Staff_Absences { + background-image: url("modules/Staff_Absences.png")!important; +} +.module-icon.Student_Billing { + background-image: url("modules/Student_Billing.png"); +} +.module-icon.Students { + background-image: url("modules/Students.png"); +} +.module-icon.Users { + background-image: url("modules/Users.png"); +} +#wrap { + height: auto; + min-height: 100%; + width: 100%; + box-sizing: border-box; +} +#menu.scroll-to-fixed-fixed.hide+div { + width: 0!important; +} +#menu { + width: 205px; + border-width: 0 1px 0 0; + border-style: solid; + position: relative; + float: left; + overflow: visible; + z-index: 1!important; + min-height: 100vh; +} +#body { + margin-bottom: 38px; + padding: 0 15px 38px; +} +#footerwrap { + height: 32px; + padding: 3px; + text-align: center; + border-width: 1px 0; + border-style: solid; +} +#footerhelp .footerhelp-content { + padding: 6px 8px; + columns: 3 480px; + widows: 6; +} +.footerhelp-content p:first-child { + margin-top: 0; +} +.mod { + overflow: hidden; +} +.mod:after { + content: ""; + display: table; + clear: both; +} +.fixed-col select, input { + max-width: 100%} +#search input, #search select { + max-width: 217px; +} +#search label { + max-width: 217px; + display: inline-block; +} +input[type=password], input[type=text], textarea { + -ms-box-sizing: border-box; + box-sizing: border-box; +} +input[type=checkbox], input[type=radio] { + margin-bottom: 2px; + margin-right: 0; + vertical-align: middle; + height: 16px; + width: 16px; + cursor: pointer; +} +input[type=number] { + width: 50px; +} +input[type=number][name*=AMOUNT], input[type=number][name*=PRICE], input[type=number][name*=amount], input[type=number][name*=balance] { + width: 80px; +} +input[type=color] { + border-width: 0; + border-style: solid; + width: 30px; + height: 20px; + padding: 0; + cursor: pointer; +} +button[disabled], fieldset[disabled] button, fieldset[disabled] input, fieldset[disabled] select, fieldset[disabled] textarea, input[disabled], select[disabled], textarea[disabled] { + cursor: not-allowed; +} +.color-input-value { + width: 30px; + height: 20px; +} +body, html { + height: 100%; + margin: 0; + padding: 0; + word-wrap: break-word; + word-break: break-word; +} +.calendar, .calendar table, body, div.chosen-container, html, input, select, textarea { + font-size: 14px; + -webkit-text-size-adjust: none; +} +body, input, select, textarea { + font-family: 'Open Sans', sans-serif; + line-height: 1.4em; +} +a { + -webkit-transition: color .2s ease-out; + transition: color .2s ease-out; +} +iframe, img { + border: 0; +} +img { + max-width: 100%; + height: auto; +} +td { + line-height: inherit; +} +input, select, textarea { + line-height: 1.3; + margin: 1px 1px 1px 0; + padding: 3px; +} +select { + max-width: 440px; + padding: 0 3px; + height: 26px; +} +a, input, select:focus { + text-decoration: none; +} +blockquote, q { + quotes: none; +} +p { + margin: 1em 0; +} +blockquote { + margin: 1em; +} +label { + cursor: pointer; + vertical-align: middle; +} +legend { + font-weight: 700; +} +dd, li { + margin-bottom: 6px; +} +h1, h2, h3, h4 { + display: block; + font-weight: 700; + line-height: 1em; +} +h1 { + font-size: 2em; + margin: .67em 0; +} +h2 { + font-size: 1.58em; + margin: .83em 0; +} +h3 { + font-size: 1.17em; + margin: 1em 0; +} +h4 { + font-size: 1.05em; + margin: 1.33em 0; +} +code { + background: #eaeaea; + font-family: Consolas, Monaco, monospace; + padding: 1px 3px; + margin: 0 1px; + font-size: 13px; +} +hr { + background: #dfdfdf; + height: 2px; + border: 0; + margin: 14px 0; +} +sub, sup { + font-size: smaller; +} +.cellpadding-5 td { + padding-right: 5px; + padding-bottom: 5px; +} +.postbox, .widefat, div.error, div.updated, input[type=button], input[type=email], input[type=file], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=submit], input[type=tel], input[type=text], input[type=url], select, textarea { + border-radius: 3px; + border-width: 1px; + border-style: solid; +} +.postbox { + border-bottom-width: 2px; +} +.widefat * { + word-wrap: break-word; +} +.widefat a { + text-decoration: none; +} +.widefat thead th:first-of-type { + border-top-left-radius: 3px; +} +.widefat thead th:last-of-type { + border-top-right-radius: 3px; +} +.widefat tfoot th:first-of-type { + border-bottom-left-radius: 3px; +} +.widefat tfoot th:last-of-type { + border-bottom-right-radius: 3px; +} +.widefat th a[href*=LO_dir]:after { + font-family: monospace; + font-size: larger; + line-height: .5em; + content: "\0000a0"; + padding-left: 3px; +} +.widefat th a[href*="LO_dir=1"]:hover:after { + content: "\25b4"} +.widefat th a[href*="LO_dir=-1"]:hover:after { + content: "\25be"} +.widefat th a:empty:after { + content: ""; + padding-left: 0; +} +.widefat td, .widefat th { + text-align: left; + border-width: 1px 0; + border-style: solid; + padding: 4px 7px; + vertical-align: top; +} +.widefat.files td { + padding: 1px 7px; + font-weight: 400; +} +.widefat.files td .button+b { + font-weight: 400; +} +.widefat tfoot th { + border-bottom: none; +} +.widefat th, .widefat th a { + font-size: 16px; +} +.widefat td p { + margin: 2px 0 .8em; +} +.list, .list-nav { + width: 100%; + border-spacing: 0; +} +.list-nav { + margin-top: 16px; +} +.list-nav td { + padding: 4px 8px; +} +.list { + margin-bottom: 16px; +} +.list-no-nav { + margin-top: 24px; +} +.list-header { + margin-bottom: 0; + border-bottom: 1px solid #f1f1f1; +} +.list-header+.postbox { + padding: 5px; + border-top: none; + border-top-left-radius: 0; + border-top-right-radius: 0; + box-shadow: none; +} +#LO_search { + padding-right: 28px; + height: 24px; + width: 160px; + float: right; +} +#LO_search+.button { + position: relative; + left: 157px; + top: 3px; + cursor: pointer; + height: 22px; + float: right; +} +div.error { + padding: 0 .6em; + margin: 16px 0; +} +div.updated { + padding: 2px 9px; + margin: 16px 0; +} +.postbox>thead th, .widefat th { + font-family: Georgia, "Times New Roman", Times, serif; +} +select option { + padding: 2px; +} +input[type=button], input[type=reset], input[type=submit] { + text-decoration: none; + line-height: 14px; + padding: 6px 10px; + margin: 0 8px; + cursor: pointer; + border-width: 1px; + border-style: solid; + border-radius: 3px; + -ms-box-sizing: content-box; + box-sizing: content-box; + white-space: normal; +} +.header2.align-right input[type=button], .header2.align-right input[type=reset], .header2.align-right input[type=submit] { + margin: 0 0 0 16px; +} +.button-primary { + line-height: 16px; + white-space: nowrap; + border-radius: 3px; +} +.proper-date { + white-space: nowrap; +} +#menu form { + padding: 0 5px; +} +#menu .username { + font-weight: 700; +} +#menu .today-date { + text-transform: capitalize; +} +.adminmenu, .wp-submenu { + width: 100%; + list-style: none; +} +.adminmenu { + clear: left; + margin: 5px 0 38px; + padding: 0; +} +.adminmenu *, .widefat th { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.wp-submenu { + top: -1000em; + left: 0; + position: absolute; + min-width: 215px; + padding: 0; + margin: 0; + overflow: hidden; + -webkit-transition: top 0s .15s, left 0s .15s, box-shadow 0s .15s; + transition: top 0s .15s, left 0s .15s, box-shadow 0s .15s; + box-shadow: none; + border-width: 1px; + border-style: solid; + box-sizing: border-box; +} +.adminmenu li { + margin-bottom: 0; +} +.menu-module { + position: relative; +} +.no-touch .menu-module:focus-within .menu-top:after { + content: "\276F"; + padding-top: 6px; + position: absolute; + right: 5px; +} +.no-touch .menu-module:hover .menu-top:after { + content: "\276F"; + position: absolute; + right: 5px; + bottom: 15px; +} +#selectedModuleLink:after { + content: ""} +.no-touch .menu-module:focus-within .wp-submenu { + -webkit-transition-delay: .15s; + transition-delay: .15s; + z-index: 20; + top: 0; + left: 205px; + overflow: visible; + word-wrap: break-word; + min-height: 36px; + width: auto; +} +.no-touch .menu-module:hover .wp-submenu { + box-shadow: 2px 2px 4px #ccc; + -webkit-transition-delay: .15s; + transition-delay: .15s; + z-index: 20; + top: 0; + left: 205px; + overflow: visible; + word-wrap: break-word; + min-height: 36px; + width: auto; +} +#selectedModuleLink+.wp-submenu { + transition-delay: 0s; + z-index: 1; + top: 0; + left: 0; + position: relative; + margin-top: 0!important; + border: 0; + min-height: 0; + min-width: 205px; + box-shadow: none; +} +.menu-inter { + border-width: 1px 0 0; + border-style: solid; + padding: 0 5px 2.5px; + margin-top: 2.5px; +} +.adminmenu a { + display: block; + line-height: 18px; + padding: 2.5px 5px; +} +.menu-top { + font-size: 15px; + min-width: 10em; + border-width: 1px 0; + border-style: solid; +} +.menu-top img { + height: 32px; + vertical-align: middle; +} +.wp-submenu a { + margin: 0; +} +.current-person { + padding: 1px 5px; + margin-top: 5px; + font-weight: 700; +} +.postbox { + padding: 0; + line-height: 1.1; + margin: 0 auto; + position: relative; + min-width: 255px; +} +.postbox>thead th { + border-bottom-width: 1px; + border-bottom-style: solid; + padding: 0 5px; +} +.postbox .h3multi, .postbox th h3 { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} +.postbox th h3 { + line-height: 31px; + height: 34px; + margin: 0; + border: 0; +} +.postbox th h3, .postbox th h3 a { + display: inline-block; + font-size: 16px; + font-weight: 400; +} +.postbox th h3 a { + padding: 0 10px; +} +.postbox .h3multi { + overflow-y: hidden; +} +th a { + display: block; + overflow: hidden; +} +fieldset { + border-width: 1px; + border-style: solid; + margin: 0; +} +.error a { + text-decoration: underline; +} +.updated a { + text-decoration: none; + padding-bottom: 2px; +} +div.error p, div.updated p { + margin: .2em 0; + padding: 2px; +} +h3 span { + font-weight: 400; +} +.highlight { + padding: 3px 3px 3px 12px; + margin-left: -12px; + font-weight: 700; + border: 0; +} +.hide { + display: none; +} +.user-photo { + max-width: 150px; + max-height: 150px; +} +.alignImg { + vertical-align: middle; + height: 32px; +} +.underline-dots .button { + vertical-align: baseline; + height: 16px; +} +.header { + border-spacing: 0; + width: 100%} +.header1 h2 { + font-family: 'Open Sans', sans-serif; + font-size: 30px; + font-weight: 400; + margin: 0; + padding: 14px 15px 14px 0; + text-shadow: #aaa 0 1px 1px; +} +.header2 { + padding: 4px 8px; +} +.header2 table { + line-height: 1; + margin-left: -3px; +} +.header2 .widefat { + margin-left: 0; +} +#courses_div { + background: #fff; + position: absolute; + border-style: solid; + border-width: 1px; + padding: 4px; + right: 0; + left: 0; + display: none; + max-height: 80px; + overflow: auto; + width: auto; +} +.size-3 { + font-size: 11px; +} +.size-1, .size-1 * { + font-size: 13px; +} +.sizep1 { + font-size: 15px; +} +.sizep2 { + font-size: 16px; +} +.underline-dots { + border-bottom-style: dotted; + border-bottom-width: 1px; +} +div.underline-dots { + display: inline-block; + max-height: 240px; + max-width: 100%; + overflow: auto; + line-height: inherit; +} +.checkbox-label, .no-input-value, .underline-dots { + line-height: 28px; + padding-bottom: 1px; +} +.span-grade-points+label { + line-height: 28px; +} +textarea { + width: 100%; + min-width: 280px; + max-width: 1024px; +} +.md-preview { + min-width: 280px; + max-width: 1024px; +} +.md-preview>.tab { + border-width: 1px; + border-bottom: 0; + border-style: solid; + border-top-left-radius: 3px; + border-top-right-radius: 3px; + font-weight: 700; + padding: 5px 7px; + margin: 0 2px 0 0; + line-height: 27px; +} +.md-preview>.tab.disabled { + pointer-events: none; + cursor: default; +} +.md-preview .md-link { + line-height: 27px; + float: right; +} +.md-preview>div { + display: none; + border-width: 1px; + border-style: solid; + padding: 2px 7px; + margin-bottom: 2px; + box-sizing: border-box; + overflow-y: auto; +} +.md-preview+textarea { + border-top-left-radius: 0; + border-top-right-radius: 0; + margin-top: 0; + resize: vertical; +} +.markdown-to-html table { + border-collapse: collapse; + border-spacing: 0; +} +.markdown-to-html td, .markdown-to-html th { + border: 1px solid #bbb; + padding: 5px; +} +.legend-gray, .legend-red { + margin-bottom: 7px; + display: inline-block; +} +.logo { + max-width: 150px; + max-height: 150px; +} +#menu .logo { + margin-top: 4px; +} +.onclick { + cursor: pointer; +} +div.onclick { + display: inline-block; + max-width: 100%} +.cellspacing-0 { + border-spacing: 0; +} +.width-100p { + width: 100%} +.fixed-col { + table-layout: fixed; + word-wrap: break-word; +} +.popTable { + padding: 7px; +} +table.valign-top td, td.valign-top, tr.valign-top { + vertical-align: top; +} +table.valign-bottom td, td.valign-bottom, tr.valign-bottom td { + vertical-align: bottom; +} +.align-right, .align-right td, td.align-right, th.align-right { + text-align: right; +} +table.col1-align-right>tbody>tr>td:first-child { + text-align: right; + vertical-align: middle; +} +.center { + text-align: center; +} +a.center, span.center { + display: block; +} +img.center { + display: block; + margin: 0 auto; +} +table.center { + text-align: inherit; + margin-left: auto; + margin-right: auto; +} +span.nobr { + white-space: nowrap; +} +div.nobr div { + display: inline; +} +tr.address>td { + border: none; + padding: 0 12px; +} +.br-after { + display: block; +} +td.image-radio-list { + height: 160px; + padding: 0; + margin: 0; + float: left; + position: relative; +} +label.image-radio-list { + padding: 0 20px; +} +img.image-radio-list { + vertical-align: top; + max-width: 150px; + max-height: 150px; +} +.button { + vertical-align: middle; + height: 16px; + max-width: none; +} +a>.button { + padding: 1px; +} +.button.bigger { + height: 24px; +} +.button.smaller { + height: 14px; +} +.button.cal { + cursor: pointer; + height: 32px; + margin-top: -9px; +} +.login .popTable { + padding: 8px; +} +.login .popTable td { + padding-bottom: 16px; +} +.login .popTable tr:last-of-type td { + padding-bottom: 0; +} +.login #loginform input[type=password], .login #loginform input[type=text] { + font-weight: 200; + font-size: 20px; + width: 100%; + max-width: 100%; + padding: 3px; + margin-top: 2px; + margin-right: 6px; + box-shadow: inset 1px 1px 2px rgba(200, 200, 200, .2); +} +.BottomButton { + line-height: 32px; + margin-right: 8px; + display: inline-block; +} +.BottomButton span { + vertical-align: top; +} +.BottomButton img { + height: 32px; +} +#BottomButtonMenu { + height: 32px; + line-height: 28px; + float: left; +} +.BottomButton.loading { + float: right; + padding-bottom: 13px; +} +.loading { + display: inline-block; + width: 12px; + height: 12px; + background: url('spinning.gif') center no-repeat; + visibility: hidden; +} +input[type=file] { + padding: 0; + max-width: calc(100% - 18px); + height: 25px; +} +.bar { + word-wrap: normal; +} +div.st { + float: left; + padding: 4px; +} +#student-comments { + max-width: 100%; + width: 500px; +} +#student-comments span { + font-style: italic; +} +#student-comments div { + background: #fff; + padding: 10px; + margin-bottom: 15px; + border-bottom: 1px solid; +} +#calendar>thead>tr>th { + font-size: 1.2em; + font-weight: 400; + line-height: 1.6; +} +.calendar-day { + min-width: 109px; +} +.calendar-day>table { + height: 100%} +.calendar-event { + height: 32px; +} +.calendar-day td { + max-width: 103px; + overflow: hidden; + white-space: nowrap; + line-height: 1.231; +} +.calendar-day .bold { + font-weight: 700; +} +.calendar-day .number { + font-size: 1.2em; +} +.calendar-event div { + border-left-width: 4px; + border-left-style: solid; + margin: 1px 0; +} +.calendar-event a, .calendar-event span { + padding: 4px 2px; + display: inline-block; +} +td.calendar-menu { + white-space: normal; + max-width: none; +} +.legend-square { + width: 32px; + height: 32px; + border-radius: 3px; +} +.rt .link2colorBox { + display: none; +} +.divPortalPoll { + max-height: 350px; + overflow-y: auto; + min-width: 300px; +} +.divPortalPoll .widefat { + margin-bottom: .8em; +} +.widefat .divPortalPoll>p { + margin-bottom: 2px; +} +.span-grade-points { + float: left; +} +.attendance-code { + display: inline-block; + padding: 2px 8px; + min-width: 10px; + text-align: center; +} +.arrow.right:before, .switchMenu:before { + content: "\25b6\0000a0"; + vertical-align: 10%} +.switchMenu.switched:before { + content: "\25bc\0000a0"} +.arrow, .switchMenu { + display: inline-block; +} +.switchMenu { + padding: 5px; +} +.chart { + position: relative; + width: calc(90vw - 205px); + max-width: 1024px; +} +#tipMsg { + visibility: hidden; + position: absolute; + z-index: 1000; + top: -100px; + max-width: 300px; +} +.tipmsg-label { + display: inline-block; + border-bottom: 1px dashed #bbb; + cursor: default; +} +a>.tipmsg-label { + cursor: pointer; +} +.tooltip { + color: #fff; + position: absolute; + display: inline-block; + margin-left: 5px; + cursor: help; +} +.tooltip:before { + content: "i"; + font-family: monospace; + font-size: .85em; + font-weight: 700; + width: 16px; + height: 16px; + line-height: 16px; + display: inline-block; + text-align: center; + border-radius: 50%} +.tooltip>i { + visibility: hidden; + opacity: 0; + position: absolute; + bottom: 110%; + left: -90px; + width: 180px; + z-index: 999; + display: inline-block; + padding: 7px; + border-radius: 3px; + transition: opacity .3s; + text-align: left; + font-size: 1em; + line-height: 1.5; +} +.tooltip:hover>i { + visibility: visible; + opacity: 1; +} +.toggle { + cursor: pointer; +} +input[type=checkbox].toggle { + position: absolute; + left: -9999px; +} +.toggle~.toggle-me { + display: none; +} +.toggle:checked~.toggle-me { + display: block; +} +.toggle:before { + content: "\25b6\0000a0"; + vertical-align: 10%} +.toggle:checked+.toggle:before { + content: "\25bc\0000a0"} +.minicolors { + margin: 2px 2px 2px 0; +} +.a11y-hidden { + position: absolute!important; + clip: rect(1px 1px 1px 1px); + clip: rect(1px, 1px, 1px, 1px); +} +#footerwrap a.a11y-hidden:active, #footerwrap a.a11y-hidden:focus { + clip: auto!important; + position: absolute; + text-decoration: underline; + left: 9%} +.first-login, .login, .password-reset { + height: auto; +} +.first-login #body, .login #body, .password-reset #body { + padding: 64px 2px; + margin-bottom: 0; +} +.password-reset #body { + padding-top: 0; +} +.login .postbox, .password-reset .postbox { + max-width: 320px; +} +.create-account { + padding: 0 2px; +} +.ajax-error { + position: fixed; + top: 0; + right: 0; + padding: 11px; + background-color: red; + font-weight: 700; + color: #fff; + z-index: 100000; + display: none; +} +.tinymce { + min-height: 200px; +} +.mce-tinymce.mce-container { + max-width: 1024px; +} +.tinymce-horizontal .mce-tinymce.mce-container { + max-width: 1448px; +} +.mce-branding { + display: none!important; +} +.mce-tinymce.mce-fullscreen, .tinymce-horizontal .mce-tinymce.mce-fullscreen { + max-width: none; +} +.mce-btn-group .mce-btn { + float: left; +} +.markdown-to-html img, .tinymce-html img { + height: auto; +} +.chosen-select { + min-width: 55px; + padding-right: 15px; +} +.chosen-select[multiple] { + padding-right: 23px; +} +.no-touch .phone-link { + color: #333; + cursor: default; +} +.dashboard-module-title { + font-weight: 400; + margin: .85em 0; +} +.dashboard-module-data { + padding-left: 8px; +} +.dashboard-module-data-tipmsg .legend-gray { + margin-bottom: 5px; +} +.dashboard-module-title img { + vertical-align: middle; +} +.teacher-programs-wrapper { + border-style: dashed; + padding: 7px; + width: 100%; + margin-left: -9px; +} +.password-input-wrapper { + display: inline-block; +} +.password-strength-bars { + line-height: 5px; + font-size: 5px; +} +.password-strength-bars+br { + display: none; +} +.password-toggle { + float: right; + margin-left: -22px; + margin-top: 5px; + cursor: pointer; + position: relative; + margin-right: 3px; + background: #fff; +} +.password-hide { + display: none; +} +.password-strength-bars span { + background-color: #ff4136; + display: inline-block; + width: 18.5%; + line-height: 5px; + height: 5px; + padding: 0 1px 0 0; + visibility: hidden; +} +.password-strength-bars~label { + display: inline-block; + margin-top: -2px; +} +html[dir=RTL] #menu { + float: right; + border-width: 0 0 0 1px; +} +html[dir=RTL] #BottomButtonMenu { + float: right; +} +html[dir=RTL] .wp-submenu { + right: 0; + left: auto; + -webkit-transition: top, right; + transition: top, right; +} +html.no-touch[dir=RTL] .menu-module:focus-within .menu-top:after { + left: 5px; + right: auto; +} +html.no-touch[dir=RTL] .menu-module:hover .menu-top:after { + left: 5px; + right: auto; +} +html.no-touch[dir=RTL] .menu-module:focus-within .wp-submenu { + right: 205px; + left: auto; +} +html.no-touch[dir=RTL] .menu-module:hover .wp-submenu { + right: 205px; + left: auto; +} +html[dir=RTL] #selectedModuleLink+.wp-submenu, html[dir=RTL] #selectedModuleLink:after { + right: 0; + left: auto; +} +html[dir=RTL] .widefat td, html[dir=RTL] .widefat th { + text-align: right; +} +html[dir=RTL] div.st { + float: right; +} +html[dir=RTL] .tooltip>i { + text-align: right; +} +html[dir=RTL] .arrow.right:before, html[dir=RTL] .switchMenu.switched:before, html[dir=RTL] .switchMenu:before, html[dir=RTL] .toggle:before { + content: "\25c0\0000a0"} +html[dir=RTL] input[type=checkbox].toggle { + right: -9999px; +} +html[dir=RTL] #menu, html[dir=RTL] #selectedModuleLink+.wp-submenu, html[dir=RTL] .menu-top, html[dir=RTL] .menu-top:focus, html[dir=RTL] .menu-top:hover { + background-image: url(menu-shadow-rtl.png); + background-position: top left; +} +html[dir=RTL] .span-grade-points { + float: right; +} +html[dir=RTL] .login form input[type=password], html[dir=RTL] .login form input[type=text] { + margin-left: 6px; + margin-right: 0; +} +html[dir=RTL] .align-right, html[dir=RTL] .align-right td, html[dir=RTL] table.col1-align-right>tbody>tr>td:first-child, html[dir=RTL] td.align-right, html[dir=RTL] th.align-right { + text-align: left; +} +html[dir=RTL] #LO_search+.button { + left: 24px; +} +html[dir=RTL] #LO_search { + padding-right: 2px; + padding-left: 28px; +} +@media only screen and (max-width:1023px) { + html[dir=RTL] .calendar-day .hover:hover { + right: 0; + } + html[dir=RTL] .calendar-day.thu-fri-sat .hover:hover { + left: 0; + right: auto; + } +}body, html, input, select, textarea { + font-size: inherit; + } +small, small * { + font-size: 14px; +} +body { + color: #000; +} +.list-wrapper { + overflow-x: visible; + padding-bottom: 0; + margin-bottom: 0; +} +.wkhtmltopdf-footer, .wkhtmltopdf-header { + width: auto; + height: auto; +} +.wkhtmltopdf-portrait { + width: 994px; +} +.wkhtmltopdf-landscape { + width: 1405px; +} \ No newline at end of file diff --git a/assets/themes/Leagcy/stylesheet_wkhtmltopdf.min.css b/assets/themes/Leagcy/stylesheet_wkhtmltopdf.min.css new file mode 100644 index 000000000..6158d8ec3 --- /dev/null +++ b/assets/themes/Leagcy/stylesheet_wkhtmltopdf.min.css @@ -0,0 +1 @@ +html{background:#fff}input[type=button],input[type=email],input[type=file],input[type=number],input[type=password],input[type=reset],input[type=search],input[type=submit],input[type=tel],input[type=text],input[type=url],select,textarea{border-color:#dfdfdf;background:#fff}input[type=button]:focus,input[type=email]:focus,input[type=file]:focus,input[type=number]:focus,input[type=password]:focus,input[type=reset]:focus,input[type=search]:focus,input[type=submit]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{border-color:#aaa;outline:0}input[readonly]{background:#eee}#menu{background:#ececec;border-color:#ccc}#menu,#selectedModuleLink+.wp-submenu,.menu-top,.menu-top:focus,.menu-top:hover{background-image:url(menu-shadow.png);background-position:top right;background-repeat:repeat-y}.menu-inter{border-color:#dfdfdf}#footer{background:#ececec;clear:both;position:fixed;z-index:99;bottom:0;left:0;width:100%}#footerhelp,#footerwrap{border-color:#dfdfdf}#footerhelp{background:#fff;display:none;max-height:33vh;overflow-y:scroll;height:auto}.widefat{border-color:#dfdfdf;background:#f9f9f9;clear:both;margin:0;border-spacing:0}.postbox>thead th,.widefat tfoot tr th,.widefat th{background:#f1f1f1;background:-ms-linear-gradient(top,#f9f9f9,#ececec);background:-webkit-linear-gradient(top,#f9f9f9,#ececec);background:-moz-linear-gradient(top,#f9f9f9,#ececec);background:linear-gradient(top,#f9f9f9,#ececec)}.postbox .h3selected{background:#f9f9f9;background:-ms-linear-gradient(top,#ececec,#f9f9f9);background:-webkit-linear-gradient(top,#ececec,#f9f9f9);background:-moz-linear-gradient(top,#ececec,#f9f9f9);background:linear-gradient(top,#ececec,#f9f9f9)}.postbox>thead th{border-bottom-color:#dfdfdf;text-shadow:#fff 0 1px 0}.alt,.alternate,.widefat tr:nth-child(odd){background:#fcfcfc}.widefat tr:nth-child(even){background:#f9f9f9}.highlight,.widefat tr.highlight,.wp-submenu{background:#fff}input[type=button],input[type=submit]{border-color:#bbb;color:#464646}input[type=button]:focus,input[type=button]:hover,input[type=submit]:focus,input[type=submit]:hover{color:#000;border-color:#666}input[type=button],input[type=reset],input[type=submit]{background:url(white-grad.png) left top repeat-x #f2f2f2;background:-ms-linear-gradient(top,#fff,#ededed);background:-webkit-linear-gradient(top,#fff,#ededed);background:-moz-linear-gradient(top,#fff,#ededed);background:linear-gradient(top,#fff,#ededed);text-shadow:#fff 0 1px 0}input[type=button]:active,input[type=reset]:active,input[type=submit]:active{background:url(white-grad-active.png) left top repeat-x #eee;background:-webkit-linear-gradient(top,#ededed,#fff);background:-moz-linear-gradient(top,#ededed,#fff);background:linear-gradient(top,#ededed,#fff)}a.button-primary,button.button-primary,input.button-primary{border-color:#15556b;font-weight:700;color:#fff;background-image:url(button-grad.png);background:-ms-linear-gradient(top,#298cba,#1d6385);background:-webkit-linear-gradient(top,#298cba,#1d6385);background:-moz-linear-gradient(top,#298cba,#1d6385);background:linear-gradient(top,#298cba,#1d6385);text-shadow:rgba(0,0,0,.3) 0 -1px 0}a.button-primary:active,button.button-primary:active,input.button-primary:active{background-image:url(button-grad-active.png);background:-ms-linear-gradient(top,#1d6385,#298cba);background:-webkit-linear-gradient(top,#1d6385,#298cba);background:-moz-linear-gradient(top,#1d6385,#298cba);background:linear-gradient(top,#1d6385,#298cba)}a.button-primary:focus,a.button-primary:hover,button.button-primary:focus,button.button-primary:hover,input.button-primary:focus,input.button-primary:hover{border-color:#10354b;color:#fff;outline:0}.adminmenu a:focus,.adminmenu a:hover,a:active,a:focus,a:hover{color:#d54e21}a:active,a:focus{outline:#d54e21 dotted 1px}input[type=checkbox]:focus,input[type=radio]:focus{outline:#000 dotted 1px}div.error{background:#ffebe8;border-color:#c00}div.error a{color:#c00}div.updated{background:#ffffe0;border-color:#e6db55}.widefat td,.widefat th{border-color:#fff #fff #dfdfdf}.widefat th{text-shadow:rgba(255,255,255,.8) 0 1px 0;overflow:hidden;font-weight:400;line-height:1.4em}.adminmenu a,a{color:#21759b}.postbox{border-color:#dfdfdf;box-shadow:inset 0 1px 0 #fff;background:#f9f9f9}.postbox th{color:#464646}.postbox th:hover{color:#000}.adminmenu{background:#ececec;border-color:#ccc}.menu-top{border-top-color:#f9f9f9;border-bottom-color:#dfdfdf}.menu-top:focus,.menu-top:hover{background-color:#e4e4e4;text-shadow:0 1px 0 rgba(255,255,255,.4)}.wp-submenu{border-color:#dfdfdf #ccc}#selectedMenuLink,.wp-submenu a:focus,.wp-submenu a:hover{background-color:#eaf2fa;color:#111}.wp-submenu a:focus{outline:#111 dotted 1px}.header2{background:#f9f9f9;border-bottom:1px solid #dfdfdf;border-top:1px solid #fff}fieldset{border-color:#dfdfdf}.bgcolor{background:#ececec}.legend-gray{color:#535353}.legend-red{color:red}.underline-dots{border-bottom-color:gray}.md-preview .tab,.md-preview>div{border-color:#dfdfdf}.md-preview .tab.disabled,.md-preview .tab:hover{background:#fff;border-color:#bbb}.current-person,.current-person a,hr{color:#fff}.current-person.student{background:#336}.current-person.staff{background:#363}.current-person.self{background:#633}#calendar{background:#dfdfdf;table-layout:fixed;height:80%}#calendar th{background:#333;color:#fff}.calendar-day.full{background:#efe}.calendar-day.minutes{background:#eef}.calendar-day.no-school{background:#fee}.calendar-event{border-color:#000}.calendar-event.assignment{border-color:red}.calendar-event.assigned{border-color:#0f0}.legend-square.full{background-color:#afa}.legend-square.minutes{background-color:#aaf}.legend-square.no-school{background-color:#faa}.attendance-code.present{color:#fff;background-color:#20dd30}.attendance-code.absent{color:#fff;background-color:red}.attendance-code.half-day{color:#fff;background-color:#fc0}.attendance-code.present-alt{color:#fff;background-color:#dfd}.attendance-code.absent-alt{color:#fff;background-color:#fdd}.attendance-code.half-day-alt{color:#fff;background-color:#fed}.switchMenu:before{color:gray}#BottomButtonMenu:before{color:#000;content:"\2261";font-size:3rem;font-weight:700}.bar{color:transparent}.bar.relevance{background:gray}.divPortalPoll .bar{background:#c40}#cboxLoadedContent{background:#fff!important;margin:1px;padding:5px!important}.tooltip:before{background:#27b4b4}.tooltip>i{background:#444}.teacher-programs-wrapper{border-color:#dfdfdf}.password-strength-bars .score2{background-color:#ff851b}.password-strength-bars .score3,.password-strength-bars .score4{background-color:#2ecc40}@media only screen and (max-width:1023px){.rt tr{border-right-color:#dfdfdf}}@media only screen and (max-width:736px){.wp-submenu a:hover{background:0 0;color:#21759b}html[dir=RTL] .header1 h2{padding-left:0;padding-right:42px}}@font-face{font-family:'Open Sans';src:url('fonts/opensans/Regular.eot');src:url('fonts/opensans/Regular.eot?#iefix') format('embedded-opentype'),url('fonts/opensans/Regular.woff') format('woff'),url('fonts/opensans/Regular.ttf') format('truetype');font-weight:400;font-style:normal}@font-face{font-family:'Open Sans';src:url('fonts/opensans/Italic.eot');src:url('fonts/opensans/Italic.eot?#iefix') format('embedded-opentype'),url('fonts/opensans/Italic.woff') format('woff'),url('fonts/opensans/Italic.ttf') format('truetype');font-weight:400;font-style:italic}@font-face{font-family:'Open Sans';src:url('fonts/opensans/BoldItalic.eot');src:url('fonts/opensans/BoldItalic.eot?#iefix') format('embedded-opentype'),url('fonts/opensans/BoldItalic.woff') format('woff'),url('fonts/opensans/BoldItalic.ttf') format('truetype');font-weight:700;font-style:italic}@font-face{font-family:'Open Sans';src:url('fonts/opensans/Bold.eot');src:url('fonts/opensans/Bold.eot?#iefix') format('embedded-opentype'),url('fonts/opensans/Bold.woff') format('woff'),url('fonts/opensans/Bold.ttf') format('truetype');font-weight:700;font-style:normal}.module-icon{width:36px;height:36px;background-size:contain;background-repeat:no-repeat;display:inline-block;vertical-align:middle}.header1 .module-icon{vertical-align:-25%}.module-icon.Accounting{background-image:url("modules/Accounting.png")}.module-icon.Attendance{background-image:url("modules/Attendance.png")}.module-icon.Discipline{background-image:url("modules/Discipline.png")}.module-icon.Grades{background-image:url("modules/Grades.png")}.module-icon.Eligibility{background-image:url("modules/Eligibility.png")}.module-icon.Example{background-image:url("modules/Example.png")!important}.module-icon.Food_Service{background-image:url("modules/Food_Service.png")}.module-icon.Library{background-image:url("modules/Library.png")}.Messaging{background-image:url("modules/Messaging.png")!important}.module-icon.misc{background-image:url("modules/misc.png")}.module-icon.Resources{background-image:url("modules/Resources.png")}.module-icon.Reports{background-image:url("modules/Reports.png")!important}.module-icon.Scheduling{background-image:url("modules/Scheduling.png")}.module-icon.School_Setup{background-image:url("modules/School_Setup.png")}.module-icon.SMS{background-image:url("modules/SMS.png")}.module-icon.Staff_Absences{background-image:url("modules/Staff_Absences.png")!important}.module-icon.Student_Billing{background-image:url("modules/Student_Billing.png")}.module-icon.Students{background-image:url("modules/Students.png")}.module-icon.Users{background-image:url("modules/Users.png")}#wrap{height:auto;min-height:100%;width:100%;box-sizing:border-box}#menu.scroll-to-fixed-fixed.hide+div{width:0!important}#menu{width:205px;border-width:0 1px 0 0;border-style:solid;position:relative;float:left;overflow:visible;z-index:1!important;min-height:100vh}#body{margin-bottom:38px;padding:0 15px 38px}#footerwrap{height:32px;padding:3px;text-align:center;border-width:1px 0;border-style:solid}#footerhelp .footerhelp-content{padding:6px 8px;columns:3 480px;widows:6}.footerhelp-content p:first-child{margin-top:0}.mod{overflow:hidden}.mod:after{content:"";display:table;clear:both}.fixed-col select,input{max-width:100%}#search input,#search select{max-width:217px}#search label{max-width:217px;display:inline-block}input[type=password],input[type=text],textarea{-ms-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin-bottom:2px;margin-right:0;vertical-align:middle;height:16px;width:16px;cursor:pointer}input[type=number]{width:50px}input[type=number][name*=AMOUNT],input[type=number][name*=PRICE],input[type=number][name*=amount],input[type=number][name*=balance]{width:80px}input[type=color]{border-width:0;border-style:solid;width:30px;height:20px;padding:0;cursor:pointer}button[disabled],fieldset[disabled] button,fieldset[disabled] input,fieldset[disabled] select,fieldset[disabled] textarea,input[disabled],select[disabled],textarea[disabled]{cursor:not-allowed}.color-input-value{width:30px;height:20px}body,html{height:100%;margin:0;padding:0;word-wrap:break-word;word-break:break-word}.calendar,.calendar table,body,div.chosen-container,html,input,select,textarea{font-size:14px;-webkit-text-size-adjust:none}body,input,select,textarea{font-family:'Open Sans',sans-serif;line-height:1.4em}a{-webkit-transition:color .2s ease-out;transition:color .2s ease-out}iframe,img{border:0}img{max-width:100%;height:auto}td{line-height:inherit}input,select,textarea{line-height:1.3;margin:1px 1px 1px 0;padding:3px}select{max-width:440px;padding:0 3px;height:26px}a,input,select:focus{text-decoration:none}blockquote,q{quotes:none}p{margin:1em 0}blockquote{margin:1em}label{cursor:pointer;vertical-align:middle}legend{font-weight:700}dd,li{margin-bottom:6px}h1,h2,h3,h4{display:block;font-weight:700;line-height:1em}h1{font-size:2em;margin:.67em 0}h2{font-size:1.58em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1.05em;margin:1.33em 0}code{background:#eaeaea;font-family:Consolas,Monaco,monospace;padding:1px 3px;margin:0 1px;font-size:13px}hr{background:#dfdfdf;height:2px;border:0;margin:14px 0}sub,sup{font-size:smaller}.cellpadding-5 td{padding-right:5px;padding-bottom:5px}.postbox,.widefat,div.error,div.updated,input[type=button],input[type=email],input[type=file],input[type=number],input[type=password],input[type=reset],input[type=search],input[type=submit],input[type=tel],input[type=text],input[type=url],select,textarea{border-radius:3px;border-width:1px;border-style:solid}.postbox{border-bottom-width:2px}.widefat *{word-wrap:break-word}.widefat a{text-decoration:none}.widefat thead th:first-of-type{border-top-left-radius:3px}.widefat thead th:last-of-type{border-top-right-radius:3px}.widefat tfoot th:first-of-type{border-bottom-left-radius:3px}.widefat tfoot th:last-of-type{border-bottom-right-radius:3px}.widefat th a[href*=LO_dir]:after{font-family:monospace;font-size:larger;line-height:.5em;content:"\0000a0";padding-left:3px}.widefat th a[href*="LO_dir=1"]:hover:after{content:"\25b4"}.widefat th a[href*="LO_dir=-1"]:hover:after{content:"\25be"}.widefat th a:empty:after{content:"";padding-left:0}.widefat td,.widefat th{text-align:left;border-width:1px 0;border-style:solid;padding:4px 7px;vertical-align:top}.widefat.files td{padding:1px 7px;font-weight:400}.widefat.files td .button+b{font-weight:400}.widefat tfoot th{border-bottom:none}.widefat th,.widefat th a{font-size:16px}.widefat td p{margin:2px 0 .8em}.list,.list-nav{width:100%;border-spacing:0}.list-nav{margin-top:16px}.list-nav td{padding:4px 8px}.list{margin-bottom:16px}.list-no-nav{margin-top:24px}.list-header{margin-bottom:0;border-bottom:1px solid #f1f1f1}.list-header+.postbox{padding:5px;border-top:none;border-top-left-radius:0;border-top-right-radius:0;box-shadow:none}#LO_search{padding-right:28px;height:24px;width:160px;float:right}#LO_search+.button{position:relative;left:157px;top:3px;cursor:pointer;height:22px;float:right}div.error{padding:0 .6em;margin:16px 0}div.updated{padding:2px 9px;margin:16px 0}.postbox>thead th,.widefat th{font-family:Georgia,"Times New Roman",Times,serif}select option{padding:2px}input[type=button],input[type=reset],input[type=submit]{text-decoration:none;line-height:14px;padding:6px 10px;margin:0 8px;cursor:pointer;border-width:1px;border-style:solid;border-radius:3px;-ms-box-sizing:content-box;box-sizing:content-box;white-space:normal}.header2.align-right input[type=button],.header2.align-right input[type=reset],.header2.align-right input[type=submit]{margin:0 0 0 16px}.button-primary{line-height:16px;white-space:nowrap;border-radius:3px}.proper-date{white-space:nowrap}#menu form{padding:0 5px}#menu .username{font-weight:700}#menu .today-date{text-transform:capitalize}.adminmenu,.wp-submenu{width:100%;list-style:none}.adminmenu{clear:left;margin:5px 0 38px;padding:0}.adminmenu *,.widefat th{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.wp-submenu{top:-1000em;left:0;position:absolute;min-width:215px;padding:0;margin:0;overflow:hidden;-webkit-transition:top 0s .15s,left 0s .15s,box-shadow 0s .15s;transition:top 0s .15s,left 0s .15s,box-shadow 0s .15s;box-shadow:none;border-width:1px;border-style:solid;box-sizing:border-box}.adminmenu li{margin-bottom:0}.menu-module{position:relative}.no-touch .menu-module:focus-within .menu-top:after{content:"\276F";padding-top:6px;position:absolute;right:5px}.no-touch .menu-module:hover .menu-top:after{content:"\276F";position:absolute;right:5px;bottom:15px}#selectedModuleLink:after{content:""}.no-touch .menu-module:focus-within .wp-submenu{-webkit-transition-delay:.15s;transition-delay:.15s;z-index:20;top:0;left:205px;overflow:visible;word-wrap:break-word;min-height:36px;width:auto}.no-touch .menu-module:hover .wp-submenu{box-shadow:2px 2px 4px #ccc;-webkit-transition-delay:.15s;transition-delay:.15s;z-index:20;top:0;left:205px;overflow:visible;word-wrap:break-word;min-height:36px;width:auto}#selectedModuleLink+.wp-submenu{transition-delay:0s;z-index:1;top:0;left:0;position:relative;margin-top:0!important;border:0;min-height:0;min-width:205px;box-shadow:none}.menu-inter{border-width:1px 0 0;border-style:solid;padding:0 5px 2.5px;margin-top:2.5px}.adminmenu a{display:block;line-height:18px;padding:2.5px 5px}.menu-top{font-size:15px;min-width:10em;border-width:1px 0;border-style:solid}.menu-top img{height:32px;vertical-align:middle}.wp-submenu a{margin:0}.current-person{padding:1px 5px;margin-top:5px;font-weight:700}.postbox{padding:0;line-height:1.1;margin:0 auto;position:relative;min-width:255px}.postbox>thead th{border-bottom-width:1px;border-bottom-style:solid;padding:0 5px}.postbox .h3multi,.postbox th h3{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.postbox th h3{line-height:31px;height:34px;margin:0;border:0}.postbox th h3,.postbox th h3 a{display:inline-block;font-size:16px;font-weight:400}.postbox th h3 a{padding:0 10px}.postbox .h3multi{overflow-y:hidden}th a{display:block;overflow:hidden}fieldset{border-width:1px;border-style:solid;margin:0}.error a{text-decoration:underline}.updated a{text-decoration:none;padding-bottom:2px}div.error p,div.updated p{margin:.2em 0;padding:2px}h3 span{font-weight:400}.highlight{padding:3px 3px 3px 12px;margin-left:-12px;font-weight:700;border:0}.hide{display:none}.user-photo{max-width:150px;max-height:150px}.alignImg{vertical-align:middle;height:32px}.underline-dots .button{vertical-align:baseline;height:16px}.header{border-spacing:0;width:100%}.header1 h2{font-family:'Open Sans',sans-serif;font-size:30px;font-weight:400;margin:0;padding:14px 15px 14px 0;text-shadow:#aaa 0 1px 1px}.header2{padding:4px 8px}.header2 table{line-height:1;margin-left:-3px}.header2 .widefat{margin-left:0}#courses_div{background:#fff;position:absolute;border-style:solid;border-width:1px;padding:4px;right:0;left:0;display:none;max-height:80px;overflow:auto;width:auto}.size-3{font-size:11px}.size-1,.size-1 *{font-size:13px}.sizep1{font-size:15px}.sizep2{font-size:16px}.underline-dots{border-bottom-style:dotted;border-bottom-width:1px}div.underline-dots{display:inline-block;max-height:240px;max-width:100%;overflow:auto;line-height:inherit}.checkbox-label,.no-input-value,.underline-dots{line-height:28px;padding-bottom:1px}.span-grade-points+label{line-height:28px}textarea{width:100%;min-width:280px;max-width:1024px}.md-preview{min-width:280px;max-width:1024px}.md-preview>.tab{border-width:1px;border-bottom:0;border-style:solid;border-top-left-radius:3px;border-top-right-radius:3px;font-weight:700;padding:5px 7px;margin:0 2px 0 0;line-height:27px}.md-preview>.tab.disabled{pointer-events:none;cursor:default}.md-preview .md-link{line-height:27px;float:right}.md-preview>div{display:none;border-width:1px;border-style:solid;padding:2px 7px;margin-bottom:2px;box-sizing:border-box;overflow-y:auto}.md-preview+textarea{border-top-left-radius:0;border-top-right-radius:0;margin-top:0;resize:vertical}.markdown-to-html table{border-collapse:collapse;border-spacing:0}.markdown-to-html td,.markdown-to-html th{border:1px solid #bbb;padding:5px}.legend-gray,.legend-red{margin-bottom:7px;display:inline-block}.logo{max-width:150px;max-height:150px}#menu .logo{margin-top:4px}.onclick{cursor:pointer}div.onclick{display:inline-block;max-width:100%}.cellspacing-0{border-spacing:0}.width-100p{width:100%}.fixed-col{table-layout:fixed;word-wrap:break-word}.popTable{padding:7px}table.valign-top td,td.valign-top,tr.valign-top{vertical-align:top}table.valign-bottom td,td.valign-bottom,tr.valign-bottom td{vertical-align:bottom}.align-right,.align-right td,td.align-right,th.align-right{text-align:right}table.col1-align-right>tbody>tr>td:first-child{text-align:right;vertical-align:middle}.center{text-align:center}a.center,span.center{display:block}img.center{display:block;margin:0 auto}table.center{text-align:inherit;margin-left:auto;margin-right:auto}span.nobr{white-space:nowrap}div.nobr div{display:inline}tr.address>td{border:none;padding:0 12px}.br-after{display:block}td.image-radio-list{height:160px;padding:0;margin:0;float:left;position:relative}label.image-radio-list{padding:0 20px}img.image-radio-list{vertical-align:top;max-width:150px;max-height:150px}.button{vertical-align:middle;height:16px;max-width:none}a>.button{padding:1px}.button.bigger{height:24px}.button.smaller{height:14px}.button.cal{cursor:pointer;height:32px;margin-top:-9px}.login .popTable{padding:8px}.login .popTable td{padding-bottom:16px}.login .popTable tr:last-of-type td{padding-bottom:0}.login #loginform input[type=password],.login #loginform input[type=text]{font-weight:200;font-size:20px;width:100%;max-width:100%;padding:3px;margin-top:2px;margin-right:6px;box-shadow:inset 1px 1px 2px rgba(200,200,200,.2)}.BottomButton{line-height:32px;margin-right:8px;display:inline-block}.BottomButton span{vertical-align:top}.BottomButton img{height:32px}#BottomButtonMenu{height:32px;line-height:28px;float:left}.BottomButton.loading{float:right;padding-bottom:13px}.loading{display:inline-block;width:12px;height:12px;background:url('spinning.gif') center no-repeat;visibility:hidden}input[type=file]{padding:0;max-width:calc(100% - 18px);height:25px}.bar{word-wrap:normal}div.st{float:left;padding:4px}#student-comments{max-width:100%;width:500px}#student-comments span{font-style:italic}#student-comments div{background:#fff;padding:10px;margin-bottom:15px;border-bottom:1px solid}#calendar>thead>tr>th{font-size:1.2em;font-weight:400;line-height:1.6}.calendar-day{min-width:109px}.calendar-day>table{height:100%}.calendar-event{height:32px}.calendar-day td{max-width:103px;overflow:hidden;white-space:nowrap;line-height:1.231}.calendar-day .bold{font-weight:700}.calendar-day .number{font-size:1.2em}.calendar-event div{border-left-width:4px;border-left-style:solid;margin:1px 0}.calendar-event a,.calendar-event span{padding:4px 2px;display:inline-block}td.calendar-menu{white-space:normal;max-width:none}.legend-square{width:32px;height:32px;border-radius:3px}.rt .link2colorBox{display:none}.divPortalPoll{max-height:350px;overflow-y:auto;min-width:300px}.divPortalPoll .widefat{margin-bottom:.8em}.widefat .divPortalPoll>p{margin-bottom:2px}.span-grade-points{float:left}.attendance-code{display:inline-block;padding:2px 8px;min-width:10px;text-align:center}.arrow.right:before,.switchMenu:before{content:"\25b6\0000a0";vertical-align:10%}.switchMenu.switched:before{content:"\25bc\0000a0"}.arrow,.switchMenu{display:inline-block}.switchMenu{padding:5px}.chart{position:relative;width:calc(90vw - 205px);max-width:1024px}#tipMsg{visibility:hidden;position:absolute;z-index:1000;top:-100px;max-width:300px}.tipmsg-label{display:inline-block;border-bottom:1px dashed #bbb;cursor:default}a>.tipmsg-label{cursor:pointer}.tooltip{color:#fff;position:absolute;display:inline-block;margin-left:5px;cursor:help}.tooltip:before{content:"i";font-family:monospace;font-size:.85em;font-weight:700;width:16px;height:16px;line-height:16px;display:inline-block;text-align:center;border-radius:50%}.tooltip>i{visibility:hidden;opacity:0;position:absolute;bottom:110%;left:-90px;width:180px;z-index:999;display:inline-block;padding:7px;border-radius:3px;transition:opacity .3s;text-align:left;font-size:1em;line-height:1.5}.tooltip:hover>i{visibility:visible;opacity:1}.toggle{cursor:pointer}input[type=checkbox].toggle{position:absolute;left:-9999px}.toggle~.toggle-me{display:none}.toggle:checked~.toggle-me{display:block}.toggle:before{content:"\25b6\0000a0";vertical-align:10%}.toggle:checked+.toggle:before{content:"\25bc\0000a0"}.minicolors{margin:2px 2px 2px 0}.a11y-hidden{position:absolute!important;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px)}#footerwrap a.a11y-hidden:active,#footerwrap a.a11y-hidden:focus{clip:auto!important;position:absolute;text-decoration:underline;left:9%}.first-login,.login,.password-reset{height:auto}.first-login #body,.login #body,.password-reset #body{padding:64px 2px;margin-bottom:0}.password-reset #body{padding-top:0}.login .postbox,.password-reset .postbox{max-width:320px}.create-account{padding:0 2px}.ajax-error{position:fixed;top:0;right:0;padding:11px;background-color:red;font-weight:700;color:#fff;z-index:100000;display:none}.tinymce{min-height:200px}.mce-tinymce.mce-container{max-width:1024px}.tinymce-horizontal .mce-tinymce.mce-container{max-width:1448px}.mce-branding{display:none!important}.mce-tinymce.mce-fullscreen,.tinymce-horizontal .mce-tinymce.mce-fullscreen{max-width:none}.mce-btn-group .mce-btn{float:left}.markdown-to-html img,.tinymce-html img{height:auto}.chosen-select{min-width:55px;padding-right:15px}.chosen-select[multiple]{padding-right:23px}.no-touch .phone-link{color:#333;cursor:default}.dashboard-module-title{font-weight:400;margin:.85em 0}.dashboard-module-data{padding-left:8px}.dashboard-module-data-tipmsg .legend-gray{margin-bottom:5px}.dashboard-module-title img{vertical-align:middle}.teacher-programs-wrapper{border-style:dashed;padding:7px;width:100%;margin-left:-9px}.password-input-wrapper{display:inline-block}.password-strength-bars{line-height:5px;font-size:5px}.password-strength-bars+br{display:none}.password-toggle{float:right;margin-left:-22px;margin-top:5px;cursor:pointer;position:relative;margin-right:3px;background:#fff}.password-hide{display:none}.password-strength-bars span{background-color:#ff4136;display:inline-block;width:18.5%;line-height:5px;height:5px;padding:0 1px 0 0;visibility:hidden}.password-strength-bars~label{display:inline-block;margin-top:-2px}html[dir=RTL] #menu{float:right;border-width:0 0 0 1px}html[dir=RTL] #BottomButtonMenu{float:right}html[dir=RTL] .wp-submenu{right:0;left:auto;-webkit-transition:top,right;transition:top,right}html.no-touch[dir=RTL] .menu-module:focus-within .menu-top:after{left:5px;right:auto}html.no-touch[dir=RTL] .menu-module:hover .menu-top:after{left:5px;right:auto}html.no-touch[dir=RTL] .menu-module:focus-within .wp-submenu{right:205px;left:auto}html.no-touch[dir=RTL] .menu-module:hover .wp-submenu{right:205px;left:auto}html[dir=RTL] #selectedModuleLink+.wp-submenu,html[dir=RTL] #selectedModuleLink:after{right:0;left:auto}html[dir=RTL] .widefat td,html[dir=RTL] .widefat th{text-align:right}html[dir=RTL] div.st{float:right}html[dir=RTL] .tooltip>i{text-align:right}html[dir=RTL] .arrow.right:before,html[dir=RTL] .switchMenu.switched:before,html[dir=RTL] .switchMenu:before,html[dir=RTL] .toggle:before{content:"\25c0\0000a0"}html[dir=RTL] input[type=checkbox].toggle{right:-9999px}html[dir=RTL] #menu,html[dir=RTL] #selectedModuleLink+.wp-submenu,html[dir=RTL] .menu-top,html[dir=RTL] .menu-top:focus,html[dir=RTL] .menu-top:hover{background-image:url(menu-shadow-rtl.png);background-position:top left}html[dir=RTL] .span-grade-points{float:right}html[dir=RTL] .login form input[type=password],html[dir=RTL] .login form input[type=text]{margin-left:6px;margin-right:0}html[dir=RTL] .align-right,html[dir=RTL] .align-right td,html[dir=RTL] table.col1-align-right>tbody>tr>td:first-child,html[dir=RTL] td.align-right,html[dir=RTL] th.align-right{text-align:left}html[dir=RTL] #LO_search+.button{left:24px}html[dir=RTL] #LO_search{padding-right:2px;padding-left:28px}@media only screen and (max-width:1023px){html[dir=RTL] .calendar-day .hover:hover{right:0}html[dir=RTL] .calendar-day.thu-fri-sat .hover:hover{left:0;right:auto}}body,html,input,select,textarea{font-size:inherit}small,small *{font-size:14px}body{color:#000}.list-wrapper{overflow-x:visible;padding-bottom:0;margin-bottom:0}.wkhtmltopdf-footer,.wkhtmltopdf-header{width:auto;height:auto}.wkhtmltopdf-portrait{width:994px}.wkhtmltopdf-landscape{width:1405px} \ No newline at end of file diff --git a/assets/themes/Leagcy/white-grad-active.png b/assets/themes/Leagcy/white-grad-active.png new file mode 100644 index 000000000..04780150b Binary files /dev/null and b/assets/themes/Leagcy/white-grad-active.png differ diff --git a/assets/themes/Leagcy/white-grad.png b/assets/themes/Leagcy/white-grad.png new file mode 100644 index 000000000..aaf57aa95 Binary files /dev/null and b/assets/themes/Leagcy/white-grad.png differ diff --git a/database.inc.php b/database.inc.php index 622938374..6fa77dddc 100644 --- a/database.inc.php +++ b/database.inc.php @@ -152,7 +152,13 @@ function db_query( $sql, $show_error = true ) } else { - $result = pg_exec( $db_connection, $sql ); + try { + $result = pg_exec( $db_connection, $sql ); + } + catch (Exception $exception) { + echo $sql; + } + } if ( $result === false diff --git a/functions/Inputs.php b/functions/Inputs.php index 664f1d3ef..2dd84ad82 100644 --- a/functions/Inputs.php +++ b/functions/Inputs.php @@ -29,36 +29,36 @@ */ function DateInput( $value, $name, $title = '', $div = true, $allow_na = true, $required = false ) { - $id = GetInputID( $name ); + $id = GetInputID( $name ); - $ftitle = FormatInputTitle( $title, '', $value == '' && $required ); + $ftitle = FormatInputTitle( $title, '', $value == '' && $required ); - if ( ! AllowEdit() - || isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - return ( $value != '' ? ProperDate( $value ) : '-' ) . FormatInputTitle( $title ); - } + if ( ! AllowEdit() + || isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + return ( $value != '' ? ProperDate( $value ) : '-' ) . FormatInputTitle( $title ); + } - $options = [ - 'required' => $required, - ]; + $options = [ + 'required' => $required, + ]; - if ( $value == '' - || ! $div ) - { - return PrepareDate( $value, '_' . $name, $allow_na, $options ) . $ftitle; - } + if ( $value == '' + || ! $div ) + { + return PrepareDate( $value, '_' . $name, $allow_na, $options ) . $ftitle; + } - $options = $options + [ 'Y' => 1, 'M' => 1, 'D' => 1 ]; + $options = $options + [ 'Y' => 1, 'M' => 1, 'D' => 1 ]; - $input = PrepareDate( $value, '_' . $name, $allow_na, $options ) . $ftitle; + $input = PrepareDate( $value, '_' . $name, $allow_na, $options ) . $ftitle; - return InputDivOnclick( - $id, - $input, - ( $value != '' ? ProperDate( $value ) : '-' ), - FormatInputTitle( $title ) - ); + return InputDivOnclick( + $id, + $input, + ( $value != '' ? ProperDate( $value ) : '-' ), + FormatInputTitle( $title ) + ); } @@ -82,53 +82,53 @@ function DateInput( $value, $name, $title = '', $div = true, $allow_na = true, $ */ function TextInput( $value, $name, $title = '', $extra = '', $div = true ) { - $id = GetInputID( $name ); + $id = GetInputID( $name ); - // mab - support array style $option values - $display_val = is_array( $value ) ? $value[1] : $value; + // mab - support array style $option values + $display_val = is_array( $value ) ? $value[1] : $value; - $value = is_array( $value ) ? $value[0] : $value; + $value = is_array( $value ) ? $value[0] : $value; - $required = $value == '' && mb_strpos( $extra, 'required' ) !== false; + $required = $value == '' && mb_strpos( $extra, 'required' ) !== false; - if ( ! AllowEdit() - || isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - return ( $value != '' ? $display_val : '-' ) . FormatInputTitle( $title ); - } + if ( ! AllowEdit() + || isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + return ( $value != '' ? $display_val : '-' ) . FormatInputTitle( $title ); + } - // Input size / length based on value number of chars - if ( mb_strpos( $extra, 'size=' ) === false ) - { - // Max size is 32 (more or less 300px) - $size = min( mb_strlen( (string) $value ), 32 ); + // Input size / length based on value number of chars + if ( mb_strpos( $extra, 'size=' ) === false ) + { + // Max size is 32 (more or less 300px) + $size = min( mb_strlen( (string) $value ), 32 ); - // Min size is 2 (more or less 35px) - $size = max( $size, 2 ); + // Min size is 2 (more or less 35px) + $size = max( $size, 2 ); - $extra .= $value != '' ? ' size="' . $size . '"' : ' size="12"'; - } + $extra .= $value != '' ? ' size="' . $size . '"' : ' size="12"'; + } - // Specify input type via $extra (email,...). - $type = mb_strpos( $extra, 'type=' ) === false ? 'type="text"' : ''; + // Specify input type via $extra (email,...). + $type = mb_strpos( $extra, 'type=' ) === false ? 'type="text"' : ''; - $input = '' . - FormatInputTitle( $title, $id, $required ); + $input = '' . + FormatInputTitle( $title, $id, $required ); - if ( is_null( $value ) - || trim( $value ) == '' - || ! $div ) - { - return $input; - } + if ( is_null( $value ) + || trim( $value ) == '' + || ! $div ) + { + return $input; + } - return InputDivOnclick( - $id, - $input, - ( $value != '' ? $display_val : '-' ), - FormatInputTitle( $title ) - ); + return InputDivOnclick( + $id, + $input, + ( $value != '' ? $display_val : '-' ), + FormatInputTitle( $title ) + ); } @@ -159,99 +159,99 @@ function TextInput( $value, $name, $title = '', $extra = '', $div = true ) */ function PasswordInput( $value, $name, $title = '', $extra = '', $div = true ) { - global $_ROSARIO; + global $_ROSARIO; - $id = GetInputID( $name ); + $id = GetInputID( $name ); - $strength = ( mb_strpos( $extra, 'strength' ) !== false ); + $strength = ( mb_strpos( $extra, 'strength' ) !== false ); - // mab - support array style $option values - $display_val = is_array( $value ) ? $value[1] : $value; + // mab - support array style $option values + $display_val = is_array( $value ) ? $value[1] : $value; - $value = is_array( $value ) ? $value[0] : $value; + $value = is_array( $value ) ? $value[0] : $value; - $required = $value == '' && mb_strpos( $extra, 'required' ) !== false; + $required = $value == '' && mb_strpos( $extra, 'required' ) !== false; - if ( ! AllowEdit() - || isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - return ( $value != '' ? $display_val : '-' ) . FormatInputTitle( $title ); - } + if ( ! AllowEdit() + || isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + return ( $value != '' ? $display_val : '-' ) . FormatInputTitle( $title ); + } - // Default input size. - if ( $value == '' - && mb_strpos( $extra, 'size=' ) === false ) - { - $extra .= ' size="17"'; - } - elseif ( mb_strpos( $extra, 'size=' ) === false ) - { - $extra .= ' size="' . ( strlen( $value ) + 5 ) . '"'; - } + // Default input size. + if ( $value == '' + && mb_strpos( $extra, 'size=' ) === false ) + { + $extra .= ' size="17"'; + } + elseif ( mb_strpos( $extra, 'size=' ) === false ) + { + $extra .= ' size="' . ( strlen( $value ) + 5 ) . '"'; + } - $extra .= ' type="password" autocomplete="new-password"'; + $extra .= ' type="password" autocomplete="new-password"'; - $input = TextInput( ( $value !== str_repeat( '*', 8 ) ? $value : '' ), $name, '', $extra, false ); + $input = TextInput( ( $value !== str_repeat( '*', 8 ) ? $value : '' ), $name, '', $extra, false ); - $lock_icons = button( 'unlocked', '', '', 'password-toggle password-show' ) . - button( 'locked', '', '', 'password-toggle password-hide' ); + $lock_icons = button( 'unlocked', '', '', 'password-toggle password-show' ) . + button( 'locked', '', '', 'password-toggle password-hide' ); - $password_strength_bars = ''; + $password_strength_bars = ''; - $min_required_strength = $strength ? Config( 'PASSWORD_STRENGTH' ) : 0; + $min_required_strength = $strength ? Config( 'PASSWORD_STRENGTH' ) : 0; - if ( $strength - && $min_required_strength ) - { - $password_strength_bars = '
+ if ( $strength + && $min_required_strength ) + { + $password_strength_bars = '
'; - } - - // @since 11.1 Prevent using App name, username, or email in the password - $user_inputs = array_merge( - [ Config( 'NAME' ) ], - // Add username & email to this global var before calling PasswordInput(). - issetVal( $_ROSARIO['PasswordInput']['user_inputs'], [] ) - ); - - ob_start(); - - // Call our jQuery PasswordStrength plugin based on zxcvbn. - ?> - - ' . $input . '
'; - - if ( is_null( $value ) - || trim( $value ) == '' - || ! $div ) - { - return $input; - } - - return InputDivOnclick( - $id, - $input, - ( $value != '' ? $display_val : '-' ), - FormatInputTitle( $title ) - ); + } + + // @since 11.1 Prevent using App name, username, or email in the password + $user_inputs = array_merge( + [ Config( 'NAME' ) ], + // Add username & email to this global var before calling PasswordInput(). + issetVal( $_ROSARIO['PasswordInput']['user_inputs'], [] ) + ); + + ob_start(); + + // Call our jQuery PasswordStrength plugin based on zxcvbn. + ?> + + ' . $input . ''; + + if ( is_null( $value ) + || trim( $value ) == '' + || ! $div ) + { + return $input; + } + + return InputDivOnclick( + $id, + $input, + ( $value != '' ? $display_val : '-' ), + FormatInputTitle( $title ) + ); } /** @@ -279,95 +279,95 @@ function PasswordInput( $value, $name, $title = '', $extra = '', $div = true ) */ function MLTextInput( $value, $name, $title = '', $extra = '', $div = true ) { - global $RosarioLocales, - $locale; - - $value = is_array( $value ) ? $value[0] : $value; - - if ( count( $RosarioLocales ) < 2 ) - { - return TextInput( ParseMLField( $value, $locale ), $name, $title, $extra, $div ); - } - - $id = GetInputID( $name ); - - if ( AllowEdit() - && ! isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - // Ng - foreach possible language. - ob_start(); ?> - -'; - - if ( mb_strpos( $extra, 'size=' ) === false - && $value != '' ) - { - // MLInput size based on current locale value length. - $extra .= ' size="' . mb_strlen( ParseMLField( $value ) ) . '"'; - } - - foreach ( (array) $RosarioLocales as $key => $loc ) - { - $language = function_exists( 'locale_get_display_language' ) ? - ucfirst( locale_get_display_language( $loc, $locale ) ) : - str_replace( '.utf8', '', $loc ); - - $return .= '
'; - } - - $return .= ''; - - $title_break = ''; - } - else - { - $return = ParseMLField( $value ); - - $title_break = '
'; - } - - return $return . FormatInputTitle( $title, '', false, $title_break ); + global $RosarioLocales, + $locale; + + $value = is_array( $value ) ? $value[0] : $value; + + if ( count( $RosarioLocales ) < 2 ) + { + return TextInput( ParseMLField( $value, $locale ), $name, $title, $extra, $div ); + } + + $id = GetInputID( $name ); + + if ( AllowEdit() + && ! isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + // Ng - foreach possible language. + ob_start(); ?> + + '; + + if ( mb_strpos( $extra, 'size=' ) === false + && $value != '' ) + { + // MLInput size based on current locale value length. + $extra .= ' size="' . mb_strlen( ParseMLField( $value ) ) . '"'; + } + + foreach ( (array) $RosarioLocales as $key => $loc ) + { + $language = function_exists( 'locale_get_display_language' ) ? + ucfirst( locale_get_display_language( $loc, $locale ) ) : + str_replace( '.utf8', '', $loc ); + + $return .= '
'; + } + + $return .= ''; + + $title_break = ''; + } + else + { + $return = ParseMLField( $value ); + + $title_break = '
'; + } + + return $return . FormatInputTitle( $title, '', false, $title_break ); } @@ -395,82 +395,82 @@ function setMLvalue(id, loc, value){ */ function TextAreaInput( $value, $name, $title = '', $extra = '', $div = true, $type = 'markdown' ) { - $id = GetInputID( $name ); - - $required = $value == '' && mb_strpos( $extra, 'required' ) !== false; - - $ftitle = FormatInputTitle( $title, $id, $required ); - - $ftitle_nobr = FormatInputTitle( $title, $id, $required, '' ); - - if ( $type === 'tinymce' - && mb_strpos( (string) $extra, 'required' ) !== false ) - { - // Remove required attribute, TinyMCE bug. - $extra = str_replace( 'required', '', $extra ); - } - - $display_val = '-'; - - if ( $value != '' ) - { - $display_val = nl2br( $value ); - - if ( $type === 'markdown' ) - { - // Convert MarkDown to HTML. - $display_val = '
' . $value . '
'; - } - elseif ( $type === 'tinymce' ) - { - $display_val = '
' . $value . '
'; - } - } - - if ( ! AllowEdit() - || isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - return $display_val . ( $type !== 'text' && $display_val !== '-' ? - FormatInputTitle( $title, '', false, '' ) : - FormatInputTitle( $title ) ); - } - - // Columns. - /*if ( mb_strpos( $extra, 'cols' ) === false ) - { - $extra .= ' cols=30'; - $cols = 30; - } - else - $cols = mb_substr( $extra, mb_strpos( $extra, 'cols' ) + 5, 2 ) *1;*/ - - // Rows. - if ( mb_strpos( $extra, 'rows' ) === false ) - { - $extra .= ' rows=4'; - } - - $textarea = ( $type === 'markdown' ? MarkDownInputPreview( $id ) : '' ) . - '' . ( $type === 'tinymce' ? $ftitle_nobr : $ftitle ); - - if ( $value == '' - || ! $div ) - { - return $textarea; - } - - return InputDivOnclick( - $id, - $textarea, - $display_val, - FormatInputTitle( $title ) - ); + $id = GetInputID( $name ); + + $required = $value == '' && mb_strpos( $extra, 'required' ) !== false; + + $ftitle = FormatInputTitle( $title, $id, $required ); + + $ftitle_nobr = FormatInputTitle( $title, $id, $required, '' ); + + if ( $type === 'tinymce' + && mb_strpos( (string) $extra, 'required' ) !== false ) + { + // Remove required attribute, TinyMCE bug. + $extra = str_replace( 'required', '', $extra ); + } + + $display_val = '-'; + + if ( $value != '' ) + { + $display_val = nl2br( $value ); + + if ( $type === 'markdown' ) + { + // Convert MarkDown to HTML. + $display_val = '
' . $value . '
'; + } + elseif ( $type === 'tinymce' ) + { + $display_val = '
' . $value . '
'; + } + } + + if ( ! AllowEdit() + || isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + return $display_val . ( $type !== 'text' && $display_val !== '-' ? + FormatInputTitle( $title, '', false, '' ) : + FormatInputTitle( $title ) ); + } + + // Columns. + /*if ( mb_strpos( $extra, 'cols' ) === false ) + { + $extra .= ' cols=30'; + $cols = 30; + } + else + $cols = mb_substr( $extra, mb_strpos( $extra, 'cols' ) + 5, 2 ) *1;*/ + + // Rows. + if ( mb_strpos( $extra, 'rows' ) === false ) + { + $extra .= ' rows=4'; + } + + $textarea = ( $type === 'markdown' ? MarkDownInputPreview( $id ) : '' ) . + '' . ( $type === 'tinymce' ? $ftitle_nobr : $ftitle ); + + if ( $value == '' + || ! $div ) + { + return $textarea; + } + + return InputDivOnclick( + $id, + $textarea, + $display_val, + FormatInputTitle( $title ) + ); } @@ -505,125 +505,125 @@ function TextAreaInput( $value, $name, $title = '', $extra = '', $div = true, $t */ function TinyMCEInput( $value, $name, $title = '', $extra = '' ) { - global $locale; - - static $js_included = false; - - $div = false; - - $wrapper = ''; - - $extra = 'class="tinymce" ' . $extra; - - if ( mb_strpos( (string) $extra, 'class=' ) !== false ) - { - // If has .tinymce-horizontal class, add wrapper, needed here. - if ( mb_strpos( (string) $extra, 'tinymce-horizontal' ) !== false ) - { - $extra = str_replace( - 'tinymce-horizontal', - '', - $extra - ); - - $wrapper = '
'; - } - } - - $textarea = TextAreaInput( $value, $name, $title, $extra, $div, 'tinymce' ); - - if ( ! AllowEdit() - || isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - return $textarea; - } - - if ( $wrapper ) - { - $textarea = $wrapper . $textarea . '
'; - } - - $tinymce_js = ''; - - if ( ! $js_included ) - { - $tinymce_language = ''; - - $tinymce_directionality = 'ltr'; - - if ( $locale !== 'en_US.utf8' ) - { - if ( file_exists( 'assets/js/tinymce/langs/' . mb_substr( $locale, 0, 2 ) . '.js' ) ) - { - // For example: es (Spanish). - $tinymce_language = mb_substr( $locale, 0, 2 ); - } - elseif ( file_exists( 'assets/js/tinymce/langs/' . mb_substr( $locale, 0, 5 ) . '.js' ) ) - { - // For example: fr_FR (French). - $tinymce_language = mb_substr( $locale, 0, 5 ); - } - - if ( $tinymce_language ) - { - $lang_2_chars = mb_substr( $locale, 0, 2 ); - - // Right to left direction. - $RTL_languages = [ 'ar', 'he', 'dv', 'fa', 'ur', 'ps' ]; - - $tinymce_directionality = in_array( $lang_2_chars, $RTL_languages ) ? 'rtl' : 'ltr'; - } - } - - // Include main TinyMCE javascript - // and its configuration (plugin, language...). - ob_start(); ?> - - - - - - - '; + } + } + + $textarea = TextAreaInput( $value, $name, $title, $extra, $div, 'tinymce' ); + + if ( ! AllowEdit() + || isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + return $textarea; + } + + if ( $wrapper ) + { + $textarea = $wrapper . $textarea . ''; + } + + $tinymce_js = ''; + + if ( ! $js_included ) + { + $tinymce_language = ''; + + $tinymce_directionality = 'ltr'; + + if ( $locale !== 'en_US.utf8' ) + { + if ( file_exists( 'assets/js/tinymce/langs/' . mb_substr( $locale, 0, 2 ) . '.js' ) ) + { + // For example: es (Spanish). + $tinymce_language = mb_substr( $locale, 0, 2 ); + } + elseif ( file_exists( 'assets/js/tinymce/langs/' . mb_substr( $locale, 0, 5 ) . '.js' ) ) + { + // For example: fr_FR (French). + $tinymce_language = mb_substr( $locale, 0, 5 ); + } + + if ( $tinymce_language ) + { + $lang_2_chars = mb_substr( $locale, 0, 2 ); + + // Right to left direction. + $RTL_languages = [ 'ar', 'he', 'dv', 'fa', 'ur', 'ps' ]; + + $tinymce_directionality = in_array( $lang_2_chars, $RTL_languages ) ? 'rtl' : 'ltr'; + } + } + + // Include main TinyMCE javascript + // and its configuration (plugin, language...). + ob_start(); ?> + + + + + + + -
- - - - - - <?php echo AttrEscape( _( 'Mastering MarkDown' ) ); ?> - -
-
- +
+ + + + + + <?php echo AttrEscape( _( 'Mastering MarkDown' ) ); ?> + +
+
+ ' . // Save unchecked value! - ''; + + if ( $new + || ! $div ) + { + return $checkbox; + } + + return InputDivOnclick( + $id, + $checkbox, + ( $value ? + ( $yes === 'Yes' ? _( 'Yes' ) : $yes ) : + ( $no === 'No' ? _( 'No' ) : $no ) ), + ' ' . $title . '' + ); + } + + return ( $value ? + ( $yes === 'Yes' || isset( $_REQUEST['LO_save'] ) ? _( 'Yes' ) : $yes ) : + ( $no === 'No' || isset( $_REQUEST['LO_save'] ) ? _( 'No' ) : $no ) ) . + ( $title !== '' ? ' ' . $title : '' ); } @@ -761,63 +761,63 @@ function CheckboxInput( $value, $name, $title = '', $checked = '', $new = false, */ function MultipleCheckboxInput( $value, $name, $title, $options, $extra = '', $div = true ) { - $id = GetInputID( $name ); + $id = GetInputID( $name ); - $required = $value == '' && mb_strpos( $extra, 'required' ) !== false; + $required = $value == '' && mb_strpos( $extra, 'required' ) !== false; - $multiple_value = ( $value != '' ) ? - str_replace( '||', ', ', mb_substr( $value, 2, -2 ) ) : - '-'; + $multiple_value = ( $value != '' ) ? + str_replace( '||', ', ', mb_substr( $value, 2, -2 ) ) : + '-'; - if ( ! AllowEdit() - || isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - return $multiple_value . FormatInputTitle( $title ); - } + if ( ! AllowEdit() + || isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + return $multiple_value . FormatInputTitle( $title ); + } - $multiple_html = ''; + $multiple_html = '
'; - $i = 0; + $i = 0; - $associative_array = $options !== array_values( $options ); + $associative_array = $options !== array_values( $options ); - foreach ( (array) $options as $option_value => $option ) - { - if ( $i++ % 3 == 0 && $i > 1 ) - { - $multiple_html .= ''; - } + foreach ( (array) $options as $option_value => $option ) + { + if ( $i++ % 3 == 0 && $i > 1 ) + { + $multiple_html .= ''; + } - if ( ! $associative_array ) - { - // Not an associative array, use Text as value. - $option_value = $option; - } + if ( ! $associative_array ) + { + // Not an associative array, use Text as value. + $option_value = $option; + } - $multiple_html .= ''; - } - - $multiple_html .= '
' . FormatInputTitle( $title, '', $required, '' ); - - $multiple_html .= ''; - - if ( trim( (string) $value, '|' ) == '' - || ! $div ) - { - return $multiple_html; - } - - return InputDivOnclick( - $id, - $multiple_html, - $multiple_value, - FormatInputTitle( $title ) - ); + ( $option != '' && mb_strpos( (string) $value, '||' . $option_value . '||' ) !== false ? ' checked' : '' ) . '> ' . + ( $option != '' ? $option : '-' ) . + ''; + } + + $multiple_html .= '' . FormatInputTitle( $title, '', $required, '' ); + + $multiple_html .= ''; + + if ( trim( (string) $value, '|' ) == '' + || ! $div ) + { + return $multiple_html; + } + + return InputDivOnclick( + $id, + $multiple_html, + $multiple_value, + FormatInputTitle( $title ) + ); } @@ -847,155 +847,155 @@ function MultipleCheckboxInput( $value, $name, $title, $options, $extra = '', $d */ function SelectInput( $values, $name, $title = '', $options = [], $allow_na = 'N/A', $extra = '', $div = true ) { - $id = GetInputID( $name ); - - $required = $values == '' && mb_strpos( (string) $extra, 'required' ) !== false; - - $is_multiple = is_array( $options ) && mb_strpos( (string) $extra, 'multiple' ) !== false; - - $values = $is_multiple ? - (array) $values : - // Mab - support array style $option values. - ( is_array( $values ) ? [ $values[0] ] : [ $values ] ); - - $make_display_val = function( $values, $options ) - { - $display_val = []; - - foreach ( (array) $values as $value ) - { - if ( isset( $options[ $value ] ) ) - { - $display_val[] = is_array( $options[ $value ] ) ? $options[ $value ][1] : $options[ $value ]; - } - } - - return implode( ', ', $display_val ); - }; - - $is_group = is_array( $options ) && is_array( reset( $options ) ) && mb_strpos( $extra, 'group' ) !== false; - - if ( $is_group ) - { - $display_val = []; - - foreach ( (array) $options as $group_options ) - { - $display_value = $make_display_val( $values, $group_options ); - - if ( $display_value ) - { - $display_val[] = $display_value; - } - } - - $display_val = implode( ', ', $display_val ); - } - else - { - $display_val = $make_display_val( $values, $options ); - } - - if ( ! AllowEdit() - || isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - if ( $display_val == '' ) - { - $display_val = '-'; - - if ( $allow_na !== false ) - { - $display_val = $allow_na === 'N/A' ? _( 'N/A' ) : $allow_na; - } - } - - return $display_val . FormatInputTitle( $title ); - } - - $select = '' . FormatInputTitle( $title, $id, $required ); - - if ( $is_multiple - && $allow_na !== false ) - { - // Fix save multiple SelectInput() when none selected, add hidden empty input (only if $allow_na) - $select .= ''; - } - - if ( ! isset( $values[0] ) - || $values[0] == '' - || ! $div ) - { - return $select; - } - - return InputDivOnclick( - $id, - $select, - $display_val, - FormatInputTitle( $title ) - ); + $id = GetInputID( $name ); + + $required = $values == '' && mb_strpos( (string) $extra, 'required' ) !== false; + + $is_multiple = is_array( $options ) && mb_strpos( (string) $extra, 'multiple' ) !== false; + + $values = $is_multiple ? + (array) $values : + // Mab - support array style $option values. + ( is_array( $values ) ? [ $values[0] ] : [ $values ] ); + + $make_display_val = function( $values, $options ) + { + $display_val = []; + + foreach ( (array) $values as $value ) + { + if ( isset( $options[ $value ] ) ) + { + $display_val[] = is_array( $options[ $value ] ) ? $options[ $value ][1] : $options[ $value ]; + } + } + + return implode( ', ', $display_val ); + }; + + $is_group = is_array( $options ) && is_array( reset( $options ) ) && mb_strpos( $extra, 'group' ) !== false; + + if ( $is_group ) + { + $display_val = []; + + foreach ( (array) $options as $group_options ) + { + $display_value = $make_display_val( $values, $group_options ); + + if ( $display_value ) + { + $display_val[] = $display_value; + } + } + + $display_val = implode( ', ', $display_val ); + } + else + { + $display_val = $make_display_val( $values, $options ); + } + + if ( ! AllowEdit() + || isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + if ( $display_val == '' ) + { + $display_val = '-'; + + if ( $allow_na !== false ) + { + $display_val = $allow_na === 'N/A' ? _( 'N/A' ) : $allow_na; + } + } + + return $display_val . FormatInputTitle( $title ); + } + + $select = '' . FormatInputTitle( $title, $id, $required ); + + if ( $is_multiple + && $allow_na !== false ) + { + // Fix save multiple SelectInput() when none selected, add hidden empty input (only if $allow_na) + $select .= ''; + } + + if ( ! isset( $values[0] ) + || $values[0] == '' + || ! $div ) + { + return $select; + } + + return InputDivOnclick( + $id, + $select, + $display_val, + FormatInputTitle( $title ) + ); } @@ -1032,94 +1032,94 @@ function SelectInput( $values, $name, $title = '', $options = [], $allow_na = 'N */ function MLSelectInput( $value, $name, $title, $options, $allow_na = 'N/A', $extra = '', $div = true ) { - global $RosarioLocales, - $locale; - - // Mab - support array style $option values. - $value = is_array( $value ) ? $value[0] : $value; - - if ( count( $RosarioLocales ) < 2 ) - { - return SelectInput( ParseMLField( $value, $locale ), $name, $title, $options, $div ); - } - - $id = GetInputID( $name ); - - $required = $value == '' && mb_strpos( $extra, 'required' ) !== false; - - // Mab - append current val to select list if not in list. - if ( $value != '' - && ( ! is_array( $options ) - || !array_key_exists( $value, $options ) ) ) - { - $options[ $value ] = [ $value, '' . $value . '' ]; - } - - if ( AllowEdit() - && ! isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - $select = '' . FormatInputTitle( $title, $id, $required ); - - if ( $value == '' - || ! $div ) - { - return $select; - } - - return InputDivOnclick( - $id, - $select, - ParseMLField( - ( is_array( $options[ $value ] ) ? $options[ $value ][1] : $options[ $value ] ), - $locale - ), - FormatInputTitle( $title ) - ); - } - - $display_val = is_array( $options[ $value ] ) ? $options[ $value ][1] : $options[ $value ]; - - if ( $display_val == '' ) - { - $display_val = '-'; - - if ( $allow_na !== false ) - { - $display_val = $allow_na === 'N/A' ? _( 'N/A' ) : $allow_na; - } - } - else - { - $display_val = ParseMLField( $display_val, $locale ); - } - - return $display_val . FormatInputTitle( $title ); + global $RosarioLocales, + $locale; + + // Mab - support array style $option values. + $value = is_array( $value ) ? $value[0] : $value; + + if ( count( $RosarioLocales ) < 2 ) + { + return SelectInput( ParseMLField( $value, $locale ), $name, $title, $options, $div ); + } + + $id = GetInputID( $name ); + + $required = $value == '' && mb_strpos( $extra, 'required' ) !== false; + + // Mab - append current val to select list if not in list. + if ( $value != '' + && ( ! is_array( $options ) + || !array_key_exists( $value, $options ) ) ) + { + $options[ $value ] = [ $value, '' . $value . '' ]; + } + + if ( AllowEdit() + && ! isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + $select = '' . FormatInputTitle( $title, $id, $required ); + + if ( $value == '' + || ! $div ) + { + return $select; + } + + return InputDivOnclick( + $id, + $select, + ParseMLField( + ( is_array( $options[ $value ] ) ? $options[ $value ][1] : $options[ $value ] ), + $locale + ), + FormatInputTitle( $title ) + ); + } + + $display_val = is_array( $options[ $value ] ) ? $options[ $value ][1] : $options[ $value ]; + + if ( $display_val == '' ) + { + $display_val = '-'; + + if ( $allow_na !== false ) + { + $display_val = $allow_na === 'N/A' ? _( 'N/A' ) : $allow_na; + } + } + else + { + $display_val = ParseMLField( $display_val, $locale ); + } + + return $display_val . FormatInputTitle( $title ); } @@ -1148,79 +1148,79 @@ function MLSelectInput( $value, $name, $title, $options, $allow_na = 'N/A', $ext */ function ChosenSelectInput( $value, $name, $title = '', $options = [], $allow_na = 'N/A', $extra = '', $div = true ) { - static $chosen_included = false; - - $js = ''; - - if ( ! $chosen_included - && AllowEdit() - && ! isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - - ob_start(); ?> - - - - - $("#div' . $id . '").on("click", function(){ + static $chosen_included = false; + + $js = ''; + + if ( ! $chosen_included + && AllowEdit() + && ! isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + + ob_start(); ?> + + + + + $("#div' . $id . '").on("click", function(){ $("#' . $id . '").chosen(); });'; - } + } - return $return; + return $return; } @@ -1248,72 +1248,72 @@ function ChosenSelectInput( $value, $name, $title = '', $options = [], $allow_na */ function Select2Input( $value, $name, $title = '', $options = [], $allow_na = 'N/A', $extra = '', $div = true ) { - static $select2_included = false; - - $js = ''; - - if ( ! $select2_included - && AllowEdit() - && ! isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - ob_start(); ?> - - - - - var select2Div' . $id . '=false; + static $select2_included = false; + + $js = ''; + + if ( ! $select2_included + && AllowEdit() + && ! isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + ob_start(); ?> + + + + + var select2Div' . $id . '=false; $("#div' . $id . '").on("click", function() { if (select2Div' . $id . ') return; @@ -1324,9 +1324,9 @@ function Select2Input( $value, $name, $title = '', $options = [], $allow_na = 'N } }); });'; - } + } - return $return; + return $return; } @@ -1352,89 +1352,89 @@ function Select2Input( $value, $name, $title = '', $options = [], $allow_na = 'N */ function RadioInput( $value, $name, $title, $options, $allow_na = 'N/A', $extra = '', $div = true ) { - $id = GetInputID( $name ); - - $required = $value == '' && mb_strpos( $extra, 'required' ) !== false; - - // mab - append current val to select list if not in list - if ( $value != '' - && ( ! is_array( $options ) - || ! array_key_exists( $value, $options ) ) ) - { - $options[ $value ] = [ $value, '' . $value . '' ]; - } - - if ( AllowEdit() - && ! isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - $table = ''; - - $i = 0; - - if ( $allow_na !== false ) - { - $table .= ''; - - $i++; - } - - foreach ( (array) $options as $key => $val ) - { - if ( $i++ % 3 == 0 && $i > 1 ) - { - $table .= ''; - } - - $checked = ''; - - $key .= ''; - - if ( $value == $key - && ( !( $value == false && $value !== $key ) - || ( $value === '0' && $key === 0 ) ) ) - { - $checked = ' checked'; - } - - $table .= ''; - } - - $table .= '
'; - - $table .= FormatInputTitle( $title, '', $required, '' ); - - if ( $value == '' - || ! $div ) - { - return $table; - } - - return InputDivOnclick( - $id, - $table, - is_array( $options[ $value ] ) ? $options[ $value ][1] : $options[ $value ], - FormatInputTitle( $title ) - ); - } - - $display_val = ! isset( $options[ $value ] ) ? '' : - ( is_array( $options[ $value ] ) ? $options[ $value ][1] : $options[ $value ] ); - - if ( $display_val == '' ) - { - $display_val = '-'; - - if ( $allow_na !== false ) - { - $display_val = $allow_na === 'N/A' ? _( 'N/A' ) : $allow_na; - } - } - - return $display_val . FormatInputTitle( $title ); + $id = GetInputID( $name ); + + $required = $value == '' && mb_strpos( $extra, 'required' ) !== false; + + // mab - append current val to select list if not in list + if ( $value != '' + && ( ! is_array( $options ) + || ! array_key_exists( $value, $options ) ) ) + { + $options[ $value ] = [ $value, '' . $value . '' ]; + } + + if ( AllowEdit() + && ! isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + $table = ''; + + $i = 0; + + if ( $allow_na !== false ) + { + $table .= ''; + + $i++; + } + + foreach ( (array) $options as $key => $val ) + { + if ( $i++ % 3 == 0 && $i > 1 ) + { + $table .= ''; + } + + $checked = ''; + + $key .= ''; + + if ( $value == $key + && ( !( $value == false && $value !== $key ) + || ( $value === '0' && $key === 0 ) ) ) + { + $checked = ' checked'; + } + + $table .= ''; + } + + $table .= '
'; + + $table .= FormatInputTitle( $title, '', $required, '' ); + + if ( $value == '' + || ! $div ) + { + return $table; + } + + return InputDivOnclick( + $id, + $table, + is_array( $options[ $value ] ) ? $options[ $value ][1] : $options[ $value ], + FormatInputTitle( $title ) + ); + } + + $display_val = ! isset( $options[ $value ] ) ? '' : + ( is_array( $options[ $value ] ) ? $options[ $value ][1] : $options[ $value ] ); + + if ( $display_val == '' ) + { + $display_val = '-'; + + if ( $allow_na !== false ) + { + $display_val = $allow_na === 'N/A' ? _( 'N/A' ) : $allow_na; + } + } + + return $display_val . FormatInputTitle( $title ); } @@ -1456,42 +1456,42 @@ function RadioInput( $value, $name, $title, $options, $allow_na = 'N/A', $extra */ function ColorInput( $value, $name, $title = '', $extra = '', $div = true ) { - if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE' ) - || strpos( $_SERVER['HTTP_USER_AGENT'], 'Trident/7' ) ) - { - // Is Internet Explorer: not compatible with color input. - return ColorInputMiniColors( $value, $name, $title, 'hidden', $extra, $div ); - } - - $id = GetInputID( $name ); - - $required = $value == '' && mb_strpos( $extra, 'required' ) !== false; - - $color_rect = '
'; - - if ( ! AllowEdit() - || isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - return $color_rect . FormatInputTitle( $title, '', '', '' ); - } - - $input = ''; - - $input .= FormatInputTitle( $title, $id, $required ); - - if ( $value == '' - || ! $div ) - { - return $input; - } - - return InputDivOnclick( - $id, - $input, - $color_rect, - FormatInputTitle( $title ) - ); + if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE' ) + || strpos( $_SERVER['HTTP_USER_AGENT'], 'Trident/7' ) ) + { + // Is Internet Explorer: not compatible with color input. + return ColorInputMiniColors( $value, $name, $title, 'hidden', $extra, $div ); + } + + $id = GetInputID( $name ); + + $required = $value == '' && mb_strpos( $extra, 'required' ) !== false; + + $color_rect = '
'; + + if ( ! AllowEdit() + || isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + return $color_rect . FormatInputTitle( $title, '', '', '' ); + } + + $input = ''; + + $input .= FormatInputTitle( $title, $id, $required ); + + if ( $value == '' + || ! $div ) + { + return $input; + } + + return InputDivOnclick( + $id, + $input, + $color_rect, + FormatInputTitle( $title ) + ); } @@ -1522,67 +1522,67 @@ function ColorInput( $value, $name, $title = '', $extra = '', $div = true ) */ function ColorInputMiniColors( $value, $name, $title = '', $type = 'hidden', $extra = '', $div = true ) { - static $included = false; - - $id = GetInputID( $name ); - - $required = $value == '' && mb_strpos( $extra, 'required' ) !== false; - - $color_rect = '
'; - - if ( ! AllowEdit() - || isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - return $color_rect . FormatInputTitle( $title, '', '', '' ); - } - - $js = ''; - - if ( ! $included ) - { - ob_start(); - ?> - - - - - - > - $("#div' . $id . '").on("click", function(){ + static $included = false; + + $id = GetInputID( $name ); + + $required = $value == '' && mb_strpos( $extra, 'required' ) !== false; + + $color_rect = '
'; + + if ( ! AllowEdit() + || isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + return $color_rect . FormatInputTitle( $title, '', '', '' ); + } + + $js = ''; + + if ( ! $included ) + { + ob_start(); + ?> + + + + + + > + $("#div' . $id . '").on("click", function(){ $("#' . $id . '").minicolors({ position: $("#' . $id . '").attr("data-position") || "bottom left" }); });' - ); + ); } @@ -1607,24 +1607,24 @@ class="minicolors" value="" -
- + = - > - -
- - +
+ + = + > + +
+ + 0 && $max_file_size < FileUploadMaxSize() ? $max_file_size : FileUploadMaxSize(); + $max_file_size = $max_file_size > 0 && $max_file_size < FileUploadMaxSize() ? $max_file_size : FileUploadMaxSize(); - // Input title indicating Maximum file size. - if ( mb_strpos( $extra, 'title=' ) === false ) - { - $extra .= ' title="' . AttrEscape( sprintf( _( 'Maximum file size: %01.0fMb' ), $max_file_size ) ) . '"'; - } + // Input title indicating Maximum file size. + if ( mb_strpos( $extra, 'title=' ) === false ) + { + $extra .= ' title="' . AttrEscape( sprintf( _( 'Maximum file size: %01.0fMb' ), $max_file_size ) ) . '"'; + } - return '' . - $ftitle; + return '' . + $ftitle; } @@ -1727,19 +1727,19 @@ function FileInput( $name, $title = '', $extra = '', $max_file_size = 0 ) */ function NoInput( $value, $title = '' ) { - $ftitle = FormatInputTitle( $title ); + $ftitle = FormatInputTitle( $title ); - $value = ( ! empty( $value ) || $value == '0' ? $value : '-' ); + $value = ( ! empty( $value ) || $value == '0' ? $value : '-' ); - if ( AllowEdit() - && ! isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - return '' . - $value . - '' . $ftitle; - } + if ( AllowEdit() + && ! isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + return '' . + $value . + '' . $ftitle; + } - return $value . $ftitle; + return $value . $ftitle; } @@ -1756,22 +1756,22 @@ function NoInput( $value, $title = '' ) */ function CheckBoxOnclick( $name, $title = '' ) { - $onclick_URL = PreparePHP_SELF( - $_REQUEST, - [], - isset( $_REQUEST[ $name ] ) && $_REQUEST[ $name ] == 'Y' ? [ $name => '' ] : [ $name => 'Y' ] - ); - - $input = ''; - - if ( $title != '' ) - { - $input = ''; - } - - return $input; + $onclick_URL = PreparePHP_SELF( + $_REQUEST, + [], + isset( $_REQUEST[ $name ] ) && $_REQUEST[ $name ] == 'Y' ? [ $name => '' ] : [ $name => 'Y' ] + ); + + $input = ''; + + if ( $title != '' ) + { + $input = ''; + } + + return $input; } @@ -1790,14 +1790,14 @@ function CheckBoxOnclick( $name, $title = '' ) */ function GetInputID( $name ) { - if ( empty( $name ) ) - { - return $name; - } + if ( empty( $name ) ) + { + return $name; + } - $id = str_replace( [ '[', ']', '-', ' ' ], '', $name ); + $id = str_replace( [ '[', ']', '-', ' ' ], '', $name ); - return AttrEscape( $id ); + return AttrEscape( $id ); } @@ -1823,31 +1823,31 @@ function GetInputID( $name ) */ function FormatInputTitle( $title, $id = '', $required = false, $break = '
' ) { - if ( $title === '' ) - { - return ''; - } - - if ( mb_strpos( $title, 'a11y-hidden' ) !== false ) - { - // Accessibility hidden title: force break to empty string. - $break = ''; - } - else - { - // Not hidden, add legend class color. - $class = $required && AllowEdit() ? 'legend-red' : 'legend-gray'; - - $title = '' . $title . ''; - } - - // Add label only if id attribute given - if ( $id !== '' ) - { - $title = ''; - } - - return $break . $title; + if ( $title === '' ) + { + return ''; + } + + if ( mb_strpos( $title, 'a11y-hidden' ) !== false ) + { + // Accessibility hidden title: force break to empty string. + $break = ''; + } + else + { + // Not hidden, add legend class color. + $class = $required && AllowEdit() ? 'legend-red' : 'legend-gray'; + + $title = '' . $title . ''; + } + + // Add label only if id attribute given + if ( $id !== '' ) + { + $title = ''; + } + + return $break . $title; } @@ -1874,28 +1874,28 @@ function FormatInputTitle( $title, $id = '', $required = false, $break = '
' */ function InputDivOnclick( $id, $input_html, $value, $input_ftitle ) { - // @since 9.0 JS Sanitize string for legal variable name. - // @link https://stackoverflow.com/questions/12339942/sanitize-strings-for-legal-variable-names-in-php - $pattern = '/^(?![a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)$/'; + // @since 9.0 JS Sanitize string for legal variable name. + // @link https://stackoverflow.com/questions/12339942/sanitize-strings-for-legal-variable-names-in-php + $pattern = '/^(?![a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)$/'; - $id_var_name_sanitized = preg_replace( $pattern, '', $id ); + $id_var_name_sanitized = preg_replace( $pattern, '', $id ); - $script = ''; + $script = ''; - $value = $value == '' ? '-' : $value; + $value = $value == '' ? '-' : $value; - $onfocus_js = 'addHTML(html' . $id_var_name_sanitized . ',"div' . $id_var_name_sanitized . '",true); + $onfocus_js = 'addHTML(html' . $id_var_name_sanitized . ',"div' . $id_var_name_sanitized . '",true); $("#' . $id_var_name_sanitized . '").focus(); $("#div' . $id_var_name_sanitized . '").click();'; - $div_onclick = '
+ $div_onclick = '
' . - ( mb_strpos( $value, '' . $value . '
' : - '' . $value . '' ) . - $input_ftitle . '
'; + ( mb_strpos( $value, '' . $value . '' : + '' . $value . '' ) . + $input_ftitle . ''; - return $script . $div_onclick; + return $script . $div_onclick; } @@ -1921,46 +1921,46 @@ function InputDivOnclick( $id, $input_html, $value, $input_ftitle ) */ function MakeChooseCheckbox( $value, $column = '', $controller_name = '' ) { - global $THIS_RET; + global $THIS_RET; - static $controller_column, - $name, - $checked; + static $controller_column, + $name, + $checked; - if ( ! empty( $controller_name ) ) - { - $controller_column = $column; + if ( ! empty( $controller_name ) ) + { + $controller_column = $column; - $name = $controller_name; + $name = $controller_name; - $checked = $value === 'Y'; + $checked = $value === 'Y'; - if ( isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - return $checked ? '✔️' : ''; - } + if ( isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + return $checked ? '✔️' : ''; + } - return ' + json_encode( $controller_name ) . + ');' ) . '"' . + ( $checked ? ' checked' : '' ) . '> '; - } + } - if ( isset( $_REQUEST['_ROSARIO_PDF'] ) ) - { - return $checked ? '✔️' : ''; - } + if ( isset( $_REQUEST['_ROSARIO_PDF'] ) ) + { + return $checked ? '✔️' : ''; + } - if ( ! empty( $controller_column ) ) - { - $value = issetVal( $THIS_RET[ $controller_column ], '' ); - } + if ( ! empty( $controller_column ) ) + { + $value = issetVal( $THIS_RET[ $controller_column ], '' ); + } - return ''; + return ''; } /** @@ -1983,5 +1983,5 @@ function MakeChooseCheckbox( $value, $column = '', $controller_name = '' ) */ function AttrEscape( $value ) { - return htmlspecialchars( (string) $value, ENT_QUOTES, null, false ); -} + return htmlspecialchars( (string) $value, ENT_QUOTES, null, false ); +} \ No newline at end of file diff --git a/modules/Students/Letters.php b/modules/Students/Letters.php index 3864f97b3..adedc844a 100644 --- a/modules/Students/Letters.php +++ b/modules/Students/Letters.php @@ -120,16 +120,17 @@ echo '


'; } - //DrawHeader(ParseMLField(Config('TITLE')).' Letter'); + /*//DrawHeader(ParseMLField(Config('TITLE')).' Letter'); DrawHeader( ' ' ); DrawHeader( $student['FULL_NAME'], $student['STUDENT_ID'] ); DrawHeader( $student['GRADE_ID'], $student['SCHOOL_TITLE'] ); //DrawHeader('',GetMP(GetCurrentMP('QTR',DBDate(),false))); - DrawHeader( ProperDate( DBDate() ) ); + DrawHeader( ProperDate( DBDate() ) );*/ if ( $_REQUEST['mailing_labels'] == 'Y' ) { - echo '

  ' . $student['MAILING_LABEL'] . '

'; +// echo '

  ' . $student['MAILING_LABEL'] . '

'; + echo '
' . $student['MAILING_LABEL'] . '

'; } $substitutions = [ diff --git a/modules/Students/Search.inc.php b/modules/Students/Search.inc.php index 41c72bbb4..427942ca9 100644 --- a/modules/Students/Search.inc.php +++ b/modules/Students/Search.inc.php @@ -60,7 +60,7 @@ [] ); - echo '
'; + echo ''; - echo '
' . Buttons( _( 'Submit' ) ) . '

'; + echo '
' . Buttons( _( 'Submit' ) ) . '
'; if ( ! empty( $extra['search'] ) || ! empty( $extra['extra_search'] ) diff --git a/modules/Students/includes/Enrollment.inc.php b/modules/Students/includes/Enrollment.inc.php index b3fd0ae2a..0d5dcc5f4 100644 --- a/modules/Students/includes/Enrollment.inc.php +++ b/modules/Students/includes/Enrollment.inc.php @@ -115,7 +115,7 @@ 'values[student_enrollment][' . $id . '][GRADE_ID]', _( 'Grade Level' ), $gradelevel_options, - false, + '', 'required', $div ); @@ -127,7 +127,7 @@ 'values[student_enrollment][' . $id . '][CALENDAR_ID]', _( 'Calendar' ), $calendar_options, - false, + '', 'required', $div ); @@ -139,7 +139,7 @@ 'values[student_enrollment][' . $id . '][NEXT_SCHOOL]', _( 'Rolling / Retention Options' ), $next_school_options, - false, + '', 'required', $div ); diff --git a/modules/Students/includes/General_Info.inc.php b/modules/Students/includes/General_Info.inc.php index ebedfcb4c..ac3e6bd97 100644 --- a/modules/Students/includes/General_Info.inc.php +++ b/modules/Students/includes/General_Info.inc.php @@ -211,7 +211,7 @@ 'values[student_enrollment][new][SCHOOL_ID]', _( 'School' ), $school_options, - false, + '', 'autocomplete="off" onchange="window.location.href=' . $school_onchange_url . ' + this.value;"', false ); diff --git a/modules/Users/includes/General_Info.inc.php b/modules/Users/includes/General_Info.inc.php index f141bfc72..36c508f61 100644 --- a/modules/Users/includes/General_Info.inc.php +++ b/modules/Users/includes/General_Info.inc.php @@ -204,6 +204,7 @@ echo ''; $profile_options = [ + '' => _( '' ), 'admin' => _( 'Administrator' ), 'teacher' => _( 'Teacher' ), 'parent' => _( 'Parent' ), @@ -265,18 +266,18 @@ WHERE PROFILE='" . $staff['PROFILE'] . "' ORDER BY ID" ); + $permissions_options[_( 'Custom' )] = _( 'Custom' ); foreach ( (array) $permissions_RET as $permission ) { $permissions_options[$permission['ID']] = _( $permission['TITLE'] ); } - - $na = _( 'Custom' ); } else { - $na = _( 'Default' ); + $permissions_options[_( 'Default' )] = _( 'Default' ); } + $na = ''; echo SelectInput( issetVal( $staff['PROFILE_ID'], '' ), 'staff[PROFILE_ID]', @@ -335,8 +336,25 @@ $i = 0; $schools_html = ''; + $schools_html .= ''; + $school_options = []; + + foreach ( (array) $schools_RET as $school ) + { + $school_options[$school['ID']] = _( $school['TITLE'] ); + } + + $na = ''; + $schools_html .= ''; - $school_titles = []; + + /*$school_titles = []; foreach ( (array) $schools_RET as $school ) { @@ -364,11 +382,12 @@ } $i++; - } + }*/ $schools_html .= '
' . SelectInput( + issetVal( $staff['PROFILE_ID'], '' ), + 'staff[SCHOOLS]', + _( 'Schools' ), + $school_options, + $na + ). ' 
'; + echo $schools_html; - $id = 'schools'; + /*$id = 'schools'; $title = FormatInputTitle( _( 'Schools' ), $id ); $title_nobr = FormatInputTitle( _( 'Schools' ), $id, false, '' ); @@ -399,7 +418,7 @@ { echo ( $school_titles ? implode( ', ', $school_titles ) : _( 'All Schools' ) ) . $title; - } + }*/ // Admin Schools restriction. if ( $admin_schools_restriction )