2 @name Example UserCSS style
3 @namespace https://gitlab.ultrahaptics.com/common/css_cognidox
4 @homepageURL https://gitlab.ultrahaptics.com/common/css_cognidox
7 @author Robert Blenkinsopp <robert@ultrahaptics.com>
8 @updateURL https://gitlab.ultrahaptics.com/common/css_cognidox/raw/master/ultrahaptics_cdox_net.user.css
12 @import 'https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300i,700|Open+Sans:400,400i,700,700i|Source+Code+Pro:400,700';
14 @-moz-document domain
("ultrahaptics.cdox.net") {
17 background-color: white
;
29 font-family: 'Open Sans', sans-serif
;
34 font-family: 'Source Code Pro', monospace
;
40 margin-bottom: -50px !important
;
43 min-height: calc
(100% - 100px) !important
;
51 font-family: "Open Sans";
55 background-color: #28724f;
56 background-image: none
;
71 background-color: white
;
74 box-shadow: 0 4px 8px rgba
(100,100,99,.15);
85 text-transform: uppercase
;
89 #cg_header button:last-child
{
94 background: -webkit-gradient
(left top
,right top
,color-stop
(0,#b6bf11),color-stop
(52%,#5ba234),color-stop
(100%,#207350));
95 background: linear-gradient
(to right
,#b6bf11 0,#5ba234 52%,#207350 100%);
102 box-shadow: 0 0 8px rgba
(100,100,99,.5);
106 #cg_header button:last-child:after
{
112 width: calc
(100% - 2px);
113 height: calc
(100% - 2px);
119 transition: opacity
.3s ease
;
123 #cg_header button:last-child:hover:after
{
125 transition: opacity
.3s ease
;
130 background-image: url
("https://www.ultrahaptics.com/wp-content/themes/ultrahaptics/images/logo_full.svg");
135 font-family: "Open Sans Condensed";
136 font-weight: normal
!important
;
144 background: -webkit-gradient
(left top
,right top
,color-stop
(0,#b6bf11),color-stop
(52%,#5ba234),color-stop
(100%,#207350));
145 background: linear-gradient
(to right
,#b6bf11 0,#5ba234 52%,#207350 100%);
149 #cg_footer span:first-child
{
154 width: 100% !important
;
155 text-align: center
!important
;
158 font-family: "Open Sans";
159 text-transform: uppercase
;
165 text-decoration: none
;
168 #cg_footer span
a:first-child:before
{
169 content: "COPYRIGHT 2017 ULTRAHAPTICS - ALL RIGHTS RESERVED";
173 #cg_footer span
a:before
{
177 text-decoration: none
;
180 #cg_footer span
a:hover:before
{
181 display: inline-block
;
182 text-decoration: none
;
185 #cg_footer span
a:hover
{
186 text-decoration: underline
;
189 /* Hide the really a bad icons for now */
194 /* Might be a bit far reaching */
195 img
[src
="/images/part-details.png"],
196 img
[src
="/images/documents.png"],
197 img
[src
="/images/folder.png"],
198 img
[src
="/images/actions.png"] {
212 background: -webkit-gradient
(left top
,right top
,color-stop
(0,#b6bf11),color-stop
(52%,#5ba234),color-stop
(100%,#207350));
213 background: linear-gradient
(to right
,#b6bf11 0,#5ba234 52%,#207350 100%);
222 font-family: "Open Sans";
223 text-transform: uppercase
;
229 padding: 15px 10px 5px 10px;
237 .portlet-content::after {
245 padding: 5px 5px 0px 5px;
251 text-transform: uppercase
;
256 #cg_header ~ div
.ui-widget
, #cg_header
+ div div
.ui-widget
{
257 margin: 0 15px 0 15px;
263 #cg_header ~ div
.ui-widget div
.ui-widget-header
, #cg_header
+ div div
.ui-widget div
.ui-widget-header
{
265 padding: 5px 10px 10px 10px;
266 font-family: "Open Sans";
268 text-transform: uppercase
;
273 #cg_header ~ div
.ui-widget div
.ui-widget-content
, #cg_header
+ div div
.ui-widget div
.ui-widget-content
{
277 #cg_header + div div
.ui-widget div
.ui-widget-content
.innerblock
,
278 #cg_header + div div
.ui-widget div
.ui-widget-content
,
279 #cg_header ~ div
.ui-widget div
.ui-widget-content
.innerblock
,
280 #cg_header ~ div
.ui-widget div
.ui-widget-content
{
281 padding: 12px !important
;
284 #cg_header ~ div
.ui-widget::after
, #cg_header
+ div div
.ui-widget::after
{
287 background: -webkit-gradient
(left top
,right top
,color-stop
(0,#b6bf11),color-stop
(52%,#5ba234),color-stop
(100%,#207350));
288 background: linear-gradient
(to right
,#b6bf11 0,#5ba234 52%,#207350 100%);
312 #topsearch form input
{
313 -webkit-appearance: none
;
314 -moz-appearance: none
;
317 width: calc
(100% - 20px);
319 font-family: "Open Sans";
321 padding: 0 10px 0 10px;
324 #topsearch form::after
{
327 background: -webkit-gradient
(left top
,right top
,color-stop
(0,#f1cd00),color-stop
(52%,#ef9402),color-stop
(100%,#ea7806));
328 background: linear-gradient
(to right
,#f1cd00 0,#ef9402 52%,#ea7806 100%);
336 table
.subcategorytable td
,
337 table
.subcategorytable tr
,
338 table
.subcategorytable tbody
{
342 table
.subcategorytable folderlist li
{
346 .librarymaintitle div.ui-state-default, .folderitem {
347 text-transform: uppercase
;
357 .librarymaintitle div.ui-state-default a, .folderitem a {
371 background-color: #ededed;
372 text-decoration: none
;
379 list-style-image: none
;
380 list-style-type: none
;
391 text-transform: none
;
405 margin: 20px 0px 10px 0px;
406 text-decoration: none
;
413 .catlist, .subcategorytable {
414 /*visibility: hidden*/;
415 font-size: 1px !important
;
420 #CogniDoxBookmarkedCategories_1 .portlet-content
{
424 /* TODO: Company Categories */
432 ul
.folderlist small
{
433 font-size: 0px !important
;
437 ul
.folderlist small a
{
447 text-transform: none
;
450 .catlist a
, .subcategorytable small a
, p a
[href^
="/cgi-perl/browse-categories?id="],
451 div
.innerblock div
[style
="width:100%"] table a
[href^
="/cgi-perl/browse-categories?id="] {
463 background-color: #ededed;
464 text-decoration: none
;
468 div
.innerblock div
[style
="width:100%"] table a
[href^
="/cgi-perl/browse-categories?id="] {
474 div
.innerblock div
[style
="width:100%"] table a
[href^
="/cgi-perl/browse-categories?id="]:first-child
{
485 font-weight: normal
!important
;
488 .catlist:empty::after, .subcategorytable:empty::after {
489 Content: "No Sub Categories";
501 text-decoration: none
;
508 /* Need to consider this a bit more for forms etc */
509 .ui-state-highlight {
510 padding: 8px !important
;
511 border: none
!important
;
513 background: #f1cd00 !important
;
514 background: -webkit-gradient
(left top
,right top
,color-stop
(0,#f1cd00),color-stop
(52%,#ef9402),color-stop
(100%,#ea7806)) !important
;
515 background: linear-gradient
(to right
,#f1cd00 0,#ef9402 52%,#ea7806 100%) !important
;
516 color: white
!important
;
520 div
.innerblock table
{
522 border-collapse: collapse
;
525 table
.documenttable th
, th
.divline
,
526 div
.innerblock table th
, th
.divline
{
527 background-color: #ededed;
528 border-bottom: 1px solid
#4a4a4a;
529 text-transform: uppercase
;
534 table
.documenttable td
,
535 div
.innerblock table
{
544 #cg_header ~ div form
[action
="/cgi-perl/doxbox-search"] {
553 #cg_header ~ div form
[action
="/cgi-perl/doxbox-search"] input
[type
="text"] {
554 -webkit-appearance: none
;
555 -moz-appearance: none
;
557 border: 1px solid
#aaaaaa;
559 border-top-left-radius: 25px;
560 border-bottom-left-radius: 25px;
570 width: calc
(100% - 459px);
575 #cg_header ~ div form
[action
="/cgi-perl/doxbox-search"] select
{
576 -webkit-appearance: none
;
577 -moz-appearance: none
;
578 height: calc
(35px + 6px);
579 border-top: 1px solid
#aaaaaa;
580 border-bottom: 1px solid
#aaaaaa;
583 border-bottom-left-radius: 0 !important
;
584 border-bottom-right-radius: 0 !important
;
585 border-top-left-radius: 0 !important
;
586 border-top-right-radius: 0 !important
;
596 text-transform: uppercase
;
599 #cg_header ~ div form
[action
="/cgi-perl/doxbox-search"] input
[type
="submit"] {
600 height: calc
(35px + 6px);
601 border: 1px solid
#aaaaaa;
604 border-top-right-radius: 25px;
605 border-bottom-right-radius: 25px;
615 text-transform: uppercase
;
618 /* Horrible selection Hacks */
619 #cg_header ~ div form
~ div
[style
="float:left"] {
625 #cg_header ~ div form
~ div
[style
="float:left"] form
{
631 #cg_header ~ div form
~ div
[style
="float:left"] form input
{
632 height: calc
(35px + 6px);
633 border: 1px solid
#aaaaaa;
644 text-transform: uppercase
;
648 #cg_header ~ div form
~ div
[style
="float:left;margin-left:0.75em;margin-top:0.1em"] {
652 #cg_header ~ div form
+ div input
[type
="submit"] {
653 height: calc
(25px + 6px);
654 border: 1px solid
#4a4a4a;
657 border-top-right-radius: 5px;
658 border-bottom-right-radius: 5px;
682 #search_links select
{
685 height: 25px !important
;
689 #search_links #
savedsearches:before
{
690 content: "Saved Searches:";
696 #search_links #savedsearches
{
701 /* Clean Up - The Action Block */
706 .innerblock form[action="/cgi-perl/do-action"] {
710 .innerblock form[action="/cgi-perl/do-action"] select {
717 form
[action
="/cgi-perl/do-action"] p
,
718 form
[action
="/cgi-perl/do-action"] input
[type
="submit"] {
719 display: none
!important
;
723 th
.ui-state-highlight
{
724 background: none
!important
;
725 color: #4a4a4a !important
;
726 text-transform: uppercase
;
730 th
.ui-state-highlight div
{
733 text-transform: none
;
743 box-shadow: 2px 8px 10px rgba
(100,100,99,.45);
746 .ui-dialog-titlebar {
751 background: -webkit-gradient
(left top
,right top
,color-stop
(0,#b6bf11),color-stop
(52%,#5ba234),color-stop
(100%,#207350));
752 background: linear-gradient
(to right
,#b6bf11 0,#5ba234 52%,#207350 100%);
753 text-transform: uppercase
;
758 .ui-dialog-titlebar-close {
759 background: none
!important
;
761 height: 25px !important
;
762 width: 25px !important
;
763 margin: 0 !important
;
764 top: calc
(50% - 12px) !important
;
765 right: 12px !important
;
768 .ui-dialog-titlebar-close span {
772 #dashboard-portlets {
774 margin: 25px 15px 0 15px;;
777 #dashboard-portlets fieldset
{
782 #dashboard-portlets label
{
784 text-transform: uppercase
;
788 #dashboard-portlets input
[type
="checkbox"] {
795 #category_stats_portlet a
{
796 text-transform: uppercase
;
803 margin: 10px 0 10px 0;
806 #category_stats_portlet_data div div
{
808 height: 15px !important
;
809 line-height: 20px !important
;
812 #category_stats_portlet_data div
div:first-child
{
813 font-size: 10pt !important
;
814 text-transform: uppercase
;
815 font-family: "Open Sans Condensed"
818 #category_stats_portlet div
[id
*="pending"],
819 #category_stats_portlet div
[id
*="answered"],
820 #category_stats_portlet div
[id
*="completed"]{
821 height: 20px !important
;
822 border: 1px solid white
;
825 text-overflow: ellipsis
;
830 #category_stats_portlet div
[id
*="pending"] {
831 background-color: #EA7600 !important
;
834 #category_stats_portlet div
[id
*="pending"]::after
{
839 #category_stats_portlet div
[id
*="answered"] {
840 background-color: #FCCD00 !important
;
843 #category_stats_portlet div
[id
*="answered"]::after
{
848 #category_stats_portlet div
[id
*="completed"] {
849 background-color: #64a70B !important
;
852 #category_stats_portlet div
[id
*="completed"]::after
{
854 content: "Completed";
858 #cluetip .cluetip-title
{
863 background: -webkit-gradient
(left top
,right top
,color-stop
(0,#b6bf11),color-stop
(52%,#5ba234),color-stop
(100%,#207350));
864 background: linear-gradient
(to right
,#b6bf11 0,#5ba234 52%,#207350 100%);
865 text-transform: uppercase
;
874 /* Document details */
875 div
.innerblock div
[style
="width:100%"] table tr
td:first-child
{
879 div
.innerblock div
[style
="width:100%"] table tr
td:first-child b
{
880 text-transform: uppercase
;
881 font-weight: normal
!important
;
885 div
.innerblock div
[style
="width:100%"] table pre
.doccomment
{
886 font-family: "Open Sans";
890 .category-browse-content > p {
897 .category-browse-content > p::before {
898 content: "Releated Categories";
901 text-transform: uppercase
;
903 text-indent: initial
;
906 .category-browse-content > p::after {
914 button.ui-button-text-only {
917 background: #b6bf11 !important;
918 background: -webkit-gradient(left top,right top,color-stop(0,#b6bf11),color-stop(52%,#5ba234),color-stop(100%,#207350)) !important;
919 background: linear-gradient(to right,#b6bf11 0,#5ba234 52%,#207350 100%) !important;
920 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b6bf11',endColorstr='#207350',GradientType=1) !important;
922 display: inline-block;
924 padding: 1px !important;
925 margin: 5px 5px !important;
926 border: none !important;
928 box-shadow: 0 0 8px rgba(100,100,99,.5);
931 button.ui-button-text-only span {
935 position:relative !important;
938 padding: 5px 15px !important;
939 margin: 0 !important;
941 border: none !important;
945 /* Icon replacements */
946 img
[src
="/images/doctypes/doc.gif"],
947 img
[src
="/images/doctypes/docm.gif"],
948 img
[src
="/images/doctypes/docx.gif"],
949 img
[src
="/images/doctypes/dot.gif"],
950 img
[src
="/images/doctypes/dotm.gif"],
951 img
[src
="/images/doctypes/dotx.gif"],
952 img
[src
="/images/doctypes/xls.gif"],
953 img
[src
="/images/doctypes/xlsm.gif"],
954 img
[src
="/images/doctypes/xlsx.gif"],
955 img
[src
="/images/doctypes/xlt.gif"],
956 img
[src
="/images/doctypes/xltm.gif"],
957 img
[src
="/images/doctypes/xltx.gif"],
958 img
[src
="/images/doctypes/pot.gif"],
959 img
[src
="/images/doctypes/potm.gif"],
960 img
[src
="/images/doctypes/potx.gif"],
961 img
[src
="/images/doctypes/pps.gif"],
962 img
[src
="/images/doctypes/ppsx.gif"],
963 img
[src
="/images/doctypes/ppt.gif"],
964 img
[src
="/images/doctypes/pptm.gif"],
965 img
[src
="/images/doctypes/pptx.gif"],
966 img
[src
="/images/doctypes/pdf.gif"],
967 img
[src
="/images/doctypes/zip.gif"],
968 img
[src
="/images/doctypes/mpp.gif"],
969 img
[src
="/images/doctypes/txt.gif"],
970 img
[src
="/images/doctypes/htm.gif"],
971 img
[src
="/images/doctypes/html.gif"],
972 img
[src
="/images/doctypes/eps.gif"],
973 img
[src
="/images/doctypes/ai.gif"],
974 img
[src
="/images/doctypes/wmf.gif"],
975 img
[src
="/images/doctypes/dwg.gif"]/*,
976 img[src="/images/locked-document.png"],
977 img[src="/images/edit-doc.gif"],
978 img[src="/images/magnify.gif"],
979 img[src="/images/key.gif"]*/
981 width: 32px !important
;
982 height: 32px !important
;
984 box-sizing: border-box
;
985 display: inline-block
;
986 background-size: 32px 32px;
987 background-image: url
("https://image.flaticon.com/icons/png/128/136/136549.png");
990 img
[src
="/images/doctypes/doc.gif"],
991 img
[src
="/images/doctypes/docm.gif"],
992 img
[src
="/images/doctypes/docx.gif"],
993 img
[src
="/images/doctypes/dot.gif"],
994 img
[src
="/images/doctypes/dotm.gif"],
995 img
[src
="/images/doctypes/dotx.gif"] {
996 background-image: url
("https://image.flaticon.com/icons/png/128/136/136521.png");
999 img
[src
="/images/doctypes/xls.gif"],
1000 img
[src
="/images/doctypes/xlsm.gif"],
1001 img
[src
="/images/doctypes/xlsx.gif"],
1002 img
[src
="/images/doctypes/xlt.gif"],
1003 img
[src
="/images/doctypes/xltm.gif"],
1004 img
[src
="/images/doctypes/xltx.gif"] {
1005 background-image: url
("https://image.flaticon.com/icons/png/128/136/136532.png");
1008 img
[src
="/images/doctypes/pot.gif"],
1009 img
[src
="/images/doctypes/potm.gif"],
1010 img
[src
="/images/doctypes/potx.gif"],
1011 img
[src
="/images/doctypes/pps.gif"],
1012 img
[src
="/images/doctypes/ppsx.gif"],
1013 img
[src
="/images/doctypes/ppt.gif"],
1014 img
[src
="/images/doctypes/pptm.gif"],
1015 img
[src
="/images/doctypes/pptx.gif"] {
1016 background-image: url
("https://image.flaticon.com/icons/png/128/136/136543.png");
1019 img
[src
="/images/doctypes/mpp.gif"] {
1020 background-image: url
("https://image.flaticon.com/icons/png/128/136/136538.png");
1023 img
[src
="/images/doctypes/vsd.gif"],
1024 img
[src
="/images/doctypes/vsdm.gif"],
1025 img
[src
="/images/doctypes/vsdx.gif"],
1026 img
[src
="/images/doctypes/vssm.gif"],
1027 img
[src
="/images/doctypes/vssx.gif"],
1028 img
[src
="/images/doctypes/vstm.gif"],
1029 img
[src
="/images/doctypes/vstx.gif"] {
1030 background-image: url
("https://image.flaticon.com/icons/png/128/136/136537.png");
1033 img
[src
="/images/doctypes/pdf.gif"] {
1034 background-image: url
("https://image.flaticon.com/icons/png/128/136/136522.png");
1037 img
[src
="/images/doctypes/txt.gif"] {
1038 background-image: url
("https://image.flaticon.com/icons/png/128/136/136538.png");
1041 img
[src
="/images/doctypes/htm.gif"],
1042 img
[src
="/images/doctypes/html.gif"] {
1043 background-image: url
("https://image.flaticon.com/icons/png/128/136/136528.png");
1046 img
[src
="/images/doctypes/zip.gif"] {
1047 background-image: url
("https://image.flaticon.com/icons/png/128/136/136544.png");
1050 img
[src
="/images/doctypes/eps.gif"],
1051 img
[src
="/images/doctypes/ai.gif"],
1052 img
[src
="/images/doctypes/wmf.gif"],
1053 img
[src
="/images/doctypes/dwg.gif"] {
1054 background-image: url
("https://image.flaticon.com/icons/png/128/136/136537.png");
1058 img[src="/images/locked-document.png"] {
1059 background-image: url("https://dl.dropboxusercontent.com/u/9802031/Icons/lock_edit.png");
1062 img[src="/images/edit-doc.gif"] {
1063 background-image: url("https://dl.dropboxusercontent.com/u/9802031/Icons/page_white_edit.png");
1066 img[src="/images/magnify.gif"] {
1067 background-image: url("https://dl.dropboxusercontent.com/u/9802031/Icons/folder_magnify.png");
1070 img[src="/images/key.gif"] {
1071 background-image: url("https://dl.dropboxusercontent.com/u/9802031/Icons/key.png");
1075 tt
[style
="background:#cccccc"] {
1078 background: none
!important
;
1079 display: inline-block
;
1082 tt
[style
="background:#cccccc"]::after
{
1083 display: inline-block
;
1088 background-image: url
("https://dl.dropboxusercontent.com/u/9802031/Icons/folder_go.png");
1091 tt
[style
="background:#cccccc"] b
{