1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072
|
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
/*
dialog.css
============
This file styles dialogs and all widgets available inside of it (tabs, buttons,
fields, etc.).
Dialogs are a complex system because they're very flexible. The CKEditor API
makes it easy to create and customize dialogs by code, by making use of several
different widgets inside its contents.
All dialogs share a main dialog strucuture, which can be visually represented
as follows:
+-- .cke_dialog -------------------------------------------------+
| +-- .cke_dialog_body ----------------------------------------+ |
| | +-- .cke_dialog_title --+ +-- .cke_dialog_close_button --+ | |
| | | | | | | |
| | +-----------------------+ +------------------------------+ | |
| | +-- .cke_dialog_tabs ------------------------------------+ | |
| | | | | |
| | +--------------------------------------------------------+ | |
| | +-- .cke_dialog_contents --------------------------------+ | |
| | | +-- .cke_dialog_contents_body -----------------------+ | | |
| | | | | | | |
| | | +----------------------------------------------------+ | | |
| | | +-- .cke_dialog_footer ------------------------------+ | | |
| | | | | | | |
| | | +----------------------------------------------------+ | | |
| | +--------------------------------------------------------+ | |
| +------------------------------------------------------------+ |
+----------------------------------------------------------------+
Comments in this file will give more details about each of the above blocks.
*/
/* The outer container of the dialog. */
.cke_dialog
{
/* Mandatory: Because the dialog.css file is loaded on demand, we avoid
showing an unstyled dialog by hidding it. Here, we restore its visibility. */
visibility: visible;
}
/* The inner boundary container. */
.cke_dialog_body
{
z-index: 1;
background: #eaeaea;
border: 1px solid #b2b2b2;
border-bottom-color: #999;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
-moz-box-shadow: 0 0 3px rgba(0, 0, 0, .15);
-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .15);
box-shadow: 0 0 3px rgba(0, 0, 0, .15);
}
/* This one is required by Firefox 3.6. Without it,
dialog tabs and resizer float outside of the dialog.
Although this rule doesn't seem to break anything on other
browsers, it doesn't work with broken jQueryUI - #9851. */
.cke_browser_gecko19 .cke_dialog_body
{
position: relative;
}
/* Due to our reset we have to recover the styles of some elements. */
.cke_dialog strong
{
font-weight: bold;
}
/* The dialog title. */
.cke_dialog_title
{
font-weight: bold;
font-size: 13px;
cursor: move;
position: relative;
color: #474747;
text-shadow: 0 1px 0 rgba(255,255,255,.75);
border-bottom: 1px solid #999;
padding: 6px 10px;
-moz-border-radius: 2px 2px 0 0;
-webkit-border-radius: 2px 2px 0 0;
border-radius: 2px 2px 0 0;
-moz-box-shadow: 0 1px 0 #fff inset;
-webkit-box-shadow: 0 1px 0 #fff inset;
box-shadow: 0 1px 0 #fff inset;
background: #cfd1cf;
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#cfd1cf));
background-image: -moz-linear-gradient(top, #f5f5f5, #cfd1cf);
background-image: -webkit-linear-gradient(top, #f5f5f5, #cfd1cf);
background-image: -o-linear-gradient(top, #f5f5f5, #cfd1cf);
background-image: -ms-linear-gradient(top, #f5f5f5, #cfd1cf);
background-image: linear-gradient(top, #f5f5f5, #cfd1cf);
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f5f5f5', endColorstr='#cfd1cf');
}
/* The outer part of the dialog contants, which contains the contents body
and the footer. */
.cke_dialog_contents
{
background-color: #fff;
overflow: auto;
padding: 15px 10px 5px 10px;
margin-top: 30px;
border-top: 1px solid #bfbfbf;
-moz-border-radius: 0 0 3px 3px;
-webkit-border-radius: 0 0 3px 3px;
border-radius: 0 0 3px 3px;
}
/* The contents body part, which will hold all elements available in the dialog. */
.cke_dialog_contents_body
{
overflow: auto;
padding: 17px 10px 5px 10px;
margin-top: 22px;
}
/* The dialog footer, which usually contains the "Ok" and "Cancel" buttons as
well as a resize handler. */
.cke_dialog_footer
{
text-align: right;
position: relative;
border: none;
outline: 1px solid #bfbfbf;
-moz-box-shadow: 0 1px 0 #fff inset;
-webkit-box-shadow: 0 1px 0 #fff inset;
box-shadow: 0 1px 0 #fff inset;
-moz-border-radius: 0 0 2px 2px;
-webkit-border-radius: 0 0 2px 2px;
border-radius: 0 0 2px 2px;
background: #cfd1cf;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#cfd1cf));
background-image: -moz-linear-gradient(top, #ebebeb, #cfd1cf);
background-image: -webkit-linear-gradient(top, #ebebeb, #cfd1cf);
background-image: -o-linear-gradient(top, #ebebeb, #cfd1cf);
background-image: -ms-linear-gradient(top, #ebebeb, #cfd1cf);
background-image: linear-gradient(top, #ebebeb, #cfd1cf);
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ebebeb', endColorstr='#cfd1cf');
}
.cke_rtl .cke_dialog_footer
{
text-align: left;
}
.cke_hc .cke_dialog_footer
{
outline: none;
border-top: 1px solid #fff;
}
.cke_dialog .cke_resizer
{
margin-top: 22px;
}
.cke_dialog .cke_resizer_rtl
{
margin-left: 5px;
}
.cke_dialog .cke_resizer_ltr
{
margin-right: 5px;
}
/*
Dialog tabs
-------------
Tabs are presented on some of the dialogs to make it possible to have its
contents split on different groups, visible one after the other.
The main element that holds the tabs can be made hidden, in case of no tabs
available.
The following is the visual representation of the tabs block:
+-- .cke_dialog_tabs ------------------------------------+
| +-- .cke_dialog_tab --+ +-- .cke_dialog_tab --+ ... |
| | | | | |
| +---------------------+ +---------------------+ |
+--------------------------------------------------------+
The .cke_dialog_tab_selected class is appended to the active tab.
*/
/* The main tabs container. */
.cke_dialog_tabs
{
height: 24px;
display: inline-block;
margin: 5px 0 0;
position: absolute;
z-index: 2;
left: 10px;
}
.cke_rtl .cke_dialog_tabs
{
right: 10px;
}
/* A single tab (an <a> element). */
a.cke_dialog_tab
{
height: 16px;
padding: 4px 8px;
margin-right: 3px;
display: inline-block;
cursor: pointer;
line-height: 16px;
outline: none;
color: #595959;
border: 1px solid #bfbfbf;
-moz-border-radius: 3px 3px 0 0;
-webkit-border-radius: 3px 3px 0 0;
border-radius: 3px 3px 0 0;
background: #d4d4d4;
background-image: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#ededed));
background-image: -moz-linear-gradient(top, #fafafa, #ededed);
background-image: -webkit-linear-gradient(top, #fafafa, #ededed);
background-image: -o-linear-gradient(top, #fafafa, #ededed);
background-image: -ms-linear-gradient(top, #fafafa, #ededed);
background-image: linear-gradient(top, #fafafa, #ededed);
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#fafafa', endColorstr='#ededed');
}
.cke_rtl a.cke_dialog_tab
{
margin-right: 0;
margin-left: 3px;
}
/* A hover state of a regular inactive tab. */
a.cke_dialog_tab:hover
{
background: #ebebeb;
background: -moz-linear-gradient(top, #ebebeb 0%, #dfdfdf 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ebebeb), color-stop(100%,#dfdfdf));
background: -webkit-linear-gradient(top, #ebebeb 0%,#dfdfdf 100%);
background: -o-linear-gradient(top, #ebebeb 0%,#dfdfdf 100%);
background: -ms-linear-gradient(top, #ebebeb 0%,#dfdfdf 100%);
background: linear-gradient(to bottom, #ebebeb 0%,#dfdfdf 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebebeb', endColorstr='#dfdfdf',GradientType=0 );
}
a.cke_dialog_tab_selected
{
background: #fff;
color: #383838;
border-bottom-color: #fff;
cursor: default;
filter: none;
}
/* A hover state for selected tab. */
a.cke_dialog_tab_selected:hover
{
background: #ededed;
background: -moz-linear-gradient(top, #ededed 0%, #ffffff 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ededed), color-stop(100%,#ffffff));
background: -webkit-linear-gradient(top, #ededed 0%,#ffffff 100%);
background: -o-linear-gradient(top, #ededed 0%,#ffffff 100%);
background: -ms-linear-gradient(top, #ededed 0%,#ffffff 100%);
background: linear-gradient(to bottom, #ededed 0%,#ffffff 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ffffff',GradientType=0 );
}
.cke_hc a.cke_dialog_tab:hover,
.cke_hc a.cke_dialog_tab_selected
{
border: 3px solid;
padding: 2px 6px;
}
a.cke_dialog_tab_disabled
{
color: #bababa;
cursor: default;
}
/* The .cke_single_page class is appended to the dialog outer element in case
of dialogs that has no tabs. */
.cke_single_page .cke_dialog_tabs
{
display: none;
}
.cke_single_page .cke_dialog_contents
{
padding-top: 5px;
margin-top: 0;
border-top: none;
}
/* The close button at the top of the dialog. */
.cke_dialog_close_button
{
background-image: url(images/close.png);
background-repeat: no-repeat;
background-position: 0 0;
position: absolute;
cursor: pointer;
text-align: center;
height: 20px;
width: 20px;
top: 5px;
z-index: 5;
}
.cke_hidpi .cke_dialog_close_button {
background-image: url(images/hidpi/close.png);
background-size: 16px;
}
.cke_dialog_close_button span
{
display: none;
}
.cke_hc .cke_dialog_close_button span
{
display: inline;
cursor: pointer;
font-weight: bold;
position: relative;
top: 3px;
}
.cke_ltr .cke_dialog_close_button
{
right: 5px;
}
.cke_rtl .cke_dialog_close_button
{
left: 6px;
}
.cke_dialog_close_button
{
top: 4px;
}
/*
Dialog UI Elements
--------------------
The remaining styles define the UI elements that can be used inside dialog
contents.
Most of the UI elements on dialogs contain a textual label. All of them share
the same labelling structure, having the label text inside an element with
.cke_dialog_ui_labeled_label and the element specific part inside the
.cke_dialog_ui_labeled_content class.
*/
/* If an element is supposed to be disabled, the .cke_disabled class is
appended to it. */
div.cke_disabled .cke_dialog_ui_labeled_content div *
{
background-color: #ddd;
cursor: default;
}
/*
Horizontal-Box and Vertical-Box
---------------------------------
There are basic layou element used by the editor to properly align elements in
the dialog. They're basically tables that have each cell filled by UI elements.
The following is the visual representation of a H-Box:
+-- .cke_dialog_ui_hbox --------------------------------------------------------------------------------+
| +-- .cke_dialog_ui_hbox_first --+ +-- .cke_dialog_ui_hbox_child --+ +-- .cke_dialog_ui_hbox_last --+ |
| + + + + + + |
| +-------------------------------+ +-------------------------------+ +------------------------------+ |
+-------------------------------------------------------------------------------------------------------+
It is possible to have nested V/H-Boxes.
*/
.cke_dialog_ui_vbox table,
.cke_dialog_ui_hbox table
{
margin: auto;
}
.cke_dialog_ui_vbox_child
{
padding: 5px 0px;
}
.cke_dialog_ui_hbox
{
width: 100%;
}
.cke_dialog_ui_hbox_first,
.cke_dialog_ui_hbox_child,
.cke_dialog_ui_hbox_last
{
vertical-align: top;
}
.cke_ltr .cke_dialog_ui_hbox_first,
.cke_ltr .cke_dialog_ui_hbox_child
{
padding-right: 10px;
}
.cke_rtl .cke_dialog_ui_hbox_first,
.cke_rtl .cke_dialog_ui_hbox_child
{
padding-left: 10px;
}
.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,
.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child
{
padding-right: 5px;
}
.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,
.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child
{
padding-left: 5px;
padding-right: 0;
}
/* Applies to all labeled dialog fields */
.cke_hc div.cke_dialog_ui_input_text,
.cke_hc div.cke_dialog_ui_input_password,
.cke_hc div.cke_dialog_ui_input_textarea,
.cke_hc div.cke_dialog_ui_input_select,
.cke_hc div.cke_dialog_ui_input_file
{
border: 1px solid;
}
/*
Text Input
------------
The basic text field to input text.
+-- .cke_dialog_ui_text --------------------------+
| +-- .cke_dialog_ui_labeled_label ------------+ |
| | | |
| +--------------------------------------------+ |
| +-- .cke_dialog_ui_labeled_content ----------+ |
| | +-- div.cke_dialog_ui_input_text --------+ | |
| | | +-- input.cke_dialog_ui_input_text --+ | | |
| | | | | | | |
| | | +------------------------------------+ | | |
| | +----------------------------------------+ | |
| +--------------------------------------------+ |
+-------------------------------------------------+
*/
/*
Textarea
----------
The textarea field to input larger text.
+-- .cke_dialog_ui_textarea --------------------------+
| +-- .cke_dialog_ui_labeled_label ----------------+ |
| | | |
| +------------------------------------------------+ |
| +-- .cke_dialog_ui_labeled_content --------------+ |
| | +-- div.cke_dialog_ui_input_textarea --------+ | |
| | | +-- input.cke_dialog_ui_input_textarea --+ | | |
| | | | | | | |
| | | +----------------------------------------+ | | |
| | +--------------------------------------------+ | |
| +------------------------------------------------+ |
+-----------------------------------------------------+
*/
textarea.cke_dialog_ui_input_textarea
{
overflow: auto;
resize: none;
}
input.cke_dialog_ui_input_text,
input.cke_dialog_ui_input_password,
textarea.cke_dialog_ui_input_textarea
{
background-color: #fff;
border: 1px solid #c9cccf;
border-top-color: #aeb3b9;
padding: 4px 6px;
outline: none;
width: 100%;
*width: 95%;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.15) inset;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15) inset;
box-shadow: 0 1px 2px rgba(0,0,0,.15) inset;
}
input.cke_dialog_ui_input_text:hover,
input.cke_dialog_ui_input_password:hover,
textarea.cke_dialog_ui_input_textarea:hover
{
border: 1px solid #aeb3b9;
border-top-color: #a0a6ad;
}
input.cke_dialog_ui_input_text:focus,
input.cke_dialog_ui_input_password:focus,
textarea.cke_dialog_ui_input_textarea:focus,
select.cke_dialog_ui_input_select:focus
{
outline: none;
border: 1px solid #139ff7;
border-top-color: #1392e9;
}
/*
Button
--------
The buttons used in the dialog footer or inside the contents.
+-- a.cke_dialog_ui_button -----------+
| +-- span.cke_dialog_ui_button --+ |
| | | |
| +-------------------------------+ |
+-------------------------------------+
*/
/* The outer part of the button. */
a.cke_dialog_ui_button
{
display: inline-block;
*display: inline;
*zoom: 1;
padding: 3px 0;
margin: 0;
text-align: center;
color: #333;
vertical-align: middle;
cursor: pointer;
border: 1px solid #b6b6b6;
border-bottom-color: #999;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
-moz-box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset;
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset;
box-shadow: 0 1px 0 rgba(255,255,255,.5), 0 0 2px rgba(255,255,255,.15) inset, 0 1px 0 rgba(255,255,255,.15) inset;
background: #e4e4e4;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e4e4e4));
background-image: -moz-linear-gradient(top, #ffffff, #e4e4e4);
background-image: -webkit-linear-gradient(top, #ffffff, #e4e4e4);
background-image: -o-linear-gradient(top, #ffffff, #e4e4e4);
background-image: -ms-linear-gradient(top, #ffffff, #e4e4e4);
background-image: linear-gradient(top, #ffffff, #e4e4e4);
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ffffff', endColorstr='#e4e4e4');
}
span.cke_dialog_ui_button
{
padding: 0 12px;
}
a.cke_dialog_ui_button:hover
{
border-color: #9e9e9e;
background: #ccc;
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#ccc));
background-image: -moz-linear-gradient(top, #f2f2f2, #ccc);
background-image: -webkit-linear-gradient(top, #f2f2f2, #ccc);
background-image: -o-linear-gradient(top, #f2f2f2, #ccc);
background-image: -ms-linear-gradient(top, #f2f2f2, #ccc);
background-image: linear-gradient(top, #f2f2f2, #ccc);
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#f2f2f2', endColorstr='#cccccc');
}
/* :focus/:active styles for dialog buttons: regular and footer. */
a.cke_dialog_ui_button:focus,
a.cke_dialog_ui_button:active
{
border-color: #969696;
outline: none;
-moz-box-shadow: 0 0 6px rgba(0,0,0,.4) inset;
-webkit-box-shadow: 0 0 6px rgba(0,0,0,.4) inset;
box-shadow: 0 0 6px rgba(0,0,0,.4) inset;
}
.cke_hc a.cke_dialog_ui_button:hover,
.cke_hc a.cke_dialog_ui_button:focus,
.cke_hc a.cke_dialog_ui_button:active
{
border: 3px solid;
padding-top: 1px;
padding-bottom: 1px;
}
.cke_hc a.cke_dialog_ui_button:hover span,
.cke_hc a.cke_dialog_ui_button:focus span,
.cke_hc a.cke_dialog_ui_button:active span
{
padding-left: 10px;
padding-right: 10px;
}
/*
a.cke_dialog_ui_button[style*="width"]
{
display: block !important;
width: auto !important;
}
*/
/* The inner part of the button (both in dialog tabs and dialog footer). */
.cke_dialog_footer_buttons a.cke_dialog_ui_button span
{
color: inherit;
font-size: 12px;
font-weight: bold;
line-height: 20px;
}
/* Special class appended to the Ok button. */
a.cke_dialog_ui_button_ok
{
color: #fff;
text-shadow: 0 -1px 0 #55830c;
border-color: #62a60a #62a60a #4d9200;
background: #69b10b;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#9ad717), to(#69b10b));
background-image: -webkit-linear-gradient(top, #9ad717, #69b10b);
background-image: -o-linear-gradient(top, #9ad717, #69b10b);
background-image: linear-gradient(to bottom, #9ad717, #69b10b);
background-image: -moz-linear-gradient(top, #9ad717, #69b10b);
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#9ad717', endColorstr='#69b10b');
}
a.cke_dialog_ui_button_ok:hover
{
border-color: #5b9909 #5b9909 #478500;
background: #88be14;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#88be14), color-stop(100%,#5d9c0a));
background: -webkit-linear-gradient(top, #88be14 0%,#5d9c0a 100%);
background: -o-linear-gradient(top, #88be14 0%,#5d9c0a 100%);
background: linear-gradient(to bottom, #88be14 0%,#5d9c0a 100%);
background: -moz-linear-gradient(top, #88be14 0%, #5d9c0a 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88be14', endColorstr='#5d9c0a',GradientType=0 );
}
/* Default text shadow used for inner parts of all dialog buttons (both in dialog tabs and dialog footer). */
a.cke_dialog_ui_button span
{
text-shadow: 0 1px 0 #fff;
}
/* Text shadow used for inner part of OK dialog button in footer. */
a.cke_dialog_ui_button_ok span
{
text-shadow: 0 -1px 0 #55830c;
}
span.cke_dialog_ui_button
{
cursor: pointer;
}
/* :focus/:active styles for dialog footer buttons (ok & cancel) */
a.cke_dialog_ui_button_ok:focus,
a.cke_dialog_ui_button_ok:active,
a.cke_dialog_ui_button_cancel:focus,
a.cke_dialog_ui_button_cancel:active
{
border-width: 2px;
padding: 2px 0;
}
a.cke_dialog_ui_button_ok:focus,
a.cke_dialog_ui_button_ok:active
{
border-color: #568C0A;
}
/* :focus/:active styles for dialog footer buttons (ok & cancel) spans */
a.cke_dialog_ui_button_ok:focus span,
a.cke_dialog_ui_button_ok:active span,
a.cke_dialog_ui_button_cancel:focus span,
a.cke_dialog_ui_button_cancel:active span
{
padding: 0 11px; /* Thick button border must be compensated. */
}
/* A special container that holds the footer buttons. */
.cke_dialog_footer_buttons
{
display: inline-table;
margin: 5px;
width: auto;
position: relative;
vertical-align: middle;
}
/*
Styles for other dialog element types.
*/
div.cke_dialog_ui_input_select
{
display: table;
}
select.cke_dialog_ui_input_select
{
height: 24px;
line-height: 24px;
background-color: #fff;
border: 1px solid #c9cccf;
border-top-color: #aeb3b9;
padding: 2px 6px;
outline: none;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.15) inset;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15) inset;
box-shadow: 0 1px 2px rgba(0,0,0,.15) inset;
}
.cke_dialog_ui_input_file
{
width: 100%;
height: 25px;
}
.cke_hc .cke_dialog_ui_labeled_content input:focus,
.cke_hc .cke_dialog_ui_labeled_content select:focus,
.cke_hc .cke_dialog_ui_labeled_content textarea:focus
{
outline: 1px dotted;
}
/*
* Some utility CSS classes for dialog authors.
*/
.cke_dialog .cke_dark_background
{
background-color: #DEDEDE;
}
.cke_dialog .cke_light_background
{
background-color: #EBEBEB;
}
.cke_dialog .cke_centered
{
text-align: center;
}
.cke_dialog a.cke_btn_reset
{
float: right;
background: url(images/refresh.png) top left no-repeat;
width: 16px;
height: 16px;
border: 1px none;
font-size: 1px;
}
.cke_hidpi .cke_dialog a.cke_btn_reset {
background-size: 16px;
background-image: url(images/hidpi/refresh.png);
}
.cke_rtl .cke_dialog a.cke_btn_reset
{
float: left;
}
.cke_dialog a.cke_btn_locked,
.cke_dialog a.cke_btn_unlocked
{
float: left;
width: 16px;
height: 16px;
background-repeat: no-repeat;
border: none 1px;
font-size: 1px;
}
.cke_dialog a.cke_btn_locked .cke_icon
{
display: none;
}
.cke_rtl .cke_dialog a.cke_btn_locked,
.cke_rtl .cke_dialog a.cke_btn_unlocked
{
float: right;
}
.cke_dialog a.cke_btn_locked
{
background-image: url(images/lock.png);
}
.cke_dialog a.cke_btn_unlocked
{
background-image: url(images/lock-open.png);
}
.cke_hidpi .cke_dialog a.cke_btn_unlocked,
.cke_hidpi .cke_dialog a.cke_btn_locked {
background-size: 16px;
}
.cke_hidpi .cke_dialog a.cke_btn_locked {
background-image: url(images/hidpi/lock.png);
}
.cke_hidpi .cke_dialog a.cke_btn_unlocked {
background-image: url(images/hidpi/lock-open.png);
}
.cke_dialog .cke_btn_over
{
border: outset 1px;
cursor: pointer;
}
/*
The rest of the file contains style used on several common plugins. There is a
tendency that these will be moved to the plugins code in the future.
*/
.cke_dialog .ImagePreviewBox
{
border: 2px ridge black;
overflow: scroll;
height: 200px;
width: 300px;
padding: 2px;
background-color: white;
}
.cke_dialog .ImagePreviewBox table td
{
white-space: normal;
}
.cke_dialog .ImagePreviewLoader
{
position: absolute;
white-space: normal;
overflow: hidden;
height: 160px;
width: 230px;
margin: 2px;
padding: 2px;
opacity: 0.9;
filter: alpha(opacity = 90);
background-color: #e4e4e4;
}
.cke_dialog .FlashPreviewBox
{
white-space: normal;
border: 2px ridge black;
overflow: auto;
height: 160px;
width: 390px;
padding: 2px;
background-color: white;
}
.cke_dialog .cke_pastetext
{
width: 346px;
height: 170px;
}
.cke_dialog .cke_pastetext textarea
{
width: 340px;
height: 170px;
resize: none;
}
.cke_dialog iframe.cke_pasteframe
{
width: 346px;
height: 130px;
background-color: white;
border: 1px solid #aeb3b9;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.cke_dialog .cke_hand
{
cursor: pointer;
}
.cke_disabled
{
color: #a0a0a0;
}
.cke_dialog_body .cke_label
{
display: none;
}
.cke_dialog_body label
{
display: inline;
margin-bottom: auto;
cursor: default;
}
.cke_dialog_body label.cke_required
{
font-weight: bold;
}
a.cke_smile
{
overflow: hidden;
display: block;
text-align: center;
padding: 0.3em 0;
}
a.cke_smile img
{
vertical-align: middle;
}
a.cke_specialchar
{
cursor: inherit;
display: block;
height: 1.25em;
padding: 0.2em 0.3em;
text-align: center;
}
a.cke_smile,
a.cke_specialchar
{
border: 1px solid transparent;
}
a.cke_smile:hover,
a.cke_smile:focus,
a.cke_smile:active,
a.cke_specialchar:hover,
a.cke_specialchar:focus,
a.cke_specialchar:active
{
background: #fff;
outline: 0;
}
a.cke_smile:hover,
a.cke_specialchar:hover
{
border-color: #888;
}
a.cke_smile:focus,
a.cke_smile:active,
a.cke_specialchar:focus,
a.cke_specialchar:active
{
border-color: #139FF7;
}
/**
* Styles specific to "cellProperties" dialog.
*/
.cke_dialog_contents a.colorChooser
{
display: block;
margin-top: 6px;
margin-left: 10px;
width: 80px;
}
.cke_rtl .cke_dialog_contents a.colorChooser
{
margin-right: 10px;
}
/* Compensate focus outline for some input elements. (#6200) */
.cke_dialog_ui_checkbox_input:focus,
.cke_dialog_ui_radio_input:focus,
.cke_btn_over
{
outline: 1px dotted #696969;
}
.cke_iframe_shim
{
display: block;
position: absolute;
top: 0;
left: 0;
z-index: -1;
filter: alpha(opacity = 0);
width: 100%;
height: 100%;
}
|