git add stuff
This commit is contained in:
252
simpla/design/js/calendar/calendar.css
Normal file
252
simpla/design/js/calendar/calendar.css
Normal file
@@ -0,0 +1,252 @@
|
||||
.panel {
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#888888;
|
||||
background-color:#EEEEEE;
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
.head {
|
||||
|
||||
font-family:Tahoma;
|
||||
font-size:11px;
|
||||
font-weight:bold;
|
||||
text-align:center;
|
||||
color:#000000;
|
||||
cursor:default;
|
||||
}
|
||||
|
||||
.arrow_prev {
|
||||
font-family:Tahoma;
|
||||
font-size:11px;
|
||||
text-align:center;
|
||||
color:#000000;
|
||||
padding:4px;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.arrow_prev_over {
|
||||
font-family:Tahoma;
|
||||
font-size:11px;
|
||||
text-align:center;
|
||||
background-color:#CCCCCC;
|
||||
color:#000000;
|
||||
padding:4px;
|
||||
cursor:pointer;
|
||||
}
|
||||
.arrow_prev_down {
|
||||
font-family:Tahoma;
|
||||
font-size:11px;
|
||||
padding:4px;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.arrow_next {
|
||||
font-family:Tahoma;
|
||||
font-size:11px;
|
||||
text-align:center;
|
||||
color:#000000;
|
||||
padding:4px;
|
||||
cursor:pointer;
|
||||
}
|
||||
.arrow_next_over {
|
||||
font-family:Tahoma;
|
||||
font-size:11px;
|
||||
background-color:#CCCCCC;
|
||||
text-align:center;
|
||||
color:#000000;
|
||||
padding:4px;
|
||||
cursor:pointer;
|
||||
}
|
||||
.arrow_next_down{
|
||||
font-family:Tahoma;
|
||||
font-size:11px;
|
||||
text-align:center;
|
||||
color:#000000;
|
||||
padding:4px;
|
||||
cursor:pointer;
|
||||
}
|
||||
.row_week{
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#888888;
|
||||
}
|
||||
.weekday{
|
||||
font-family:Tahoma;
|
||||
font-size:11px;
|
||||
text-align:center;
|
||||
color:#ffffff;
|
||||
background-color:#888888;
|
||||
padding:1px;
|
||||
cursor:default;
|
||||
}
|
||||
.row_day {
|
||||
padding:1px;
|
||||
}
|
||||
.day {
|
||||
font-family:Tahoma;
|
||||
font-size:11px;
|
||||
width:22px;
|
||||
height:15px;
|
||||
text-align:center;
|
||||
color:#000000;
|
||||
border:1px solid #f0f0f0;
|
||||
cursor:pointer;
|
||||
}
|
||||
.day_over {
|
||||
font-family:Tahoma;
|
||||
font-size:11px;
|
||||
width:22px;
|
||||
height:15px;
|
||||
text-align:center;
|
||||
color:#000000;
|
||||
background-color:#CCCCCC;
|
||||
border:1px solid #888888;
|
||||
cursor:pointer;
|
||||
}
|
||||
.day_down {
|
||||
font-family:Tahoma;
|
||||
font-size:11px;
|
||||
width:22px;
|
||||
height:15px;
|
||||
text-align:center;
|
||||
color:#000000;
|
||||
background-color:#f0f0f0;
|
||||
border:1px solid #f0f0f0;
|
||||
cursor:pointer;
|
||||
}
|
||||
.day_empty {
|
||||
font-family:Tahoma;
|
||||
font-size:11px;
|
||||
width:22px;
|
||||
height:15px;
|
||||
text-align:center;
|
||||
color:#000000;
|
||||
border:1px solid #f0f0f0;
|
||||
cursor:default;
|
||||
}
|
||||
.day_disabled {
|
||||
font-family:Tahoma;
|
||||
font-size:11px;
|
||||
width:22px;
|
||||
height:15px;
|
||||
text-align:center;
|
||||
color:#000000;
|
||||
background-color:#888888;
|
||||
border:1px solid #888888;
|
||||
cursor:pointer;
|
||||
}
|
||||
.day_current {
|
||||
font-family:Tahoma;
|
||||
font-size:11px;
|
||||
width:22px;
|
||||
height:15px;
|
||||
text-align:center;
|
||||
color:#000000;
|
||||
background-color:#FFFFFF;
|
||||
border:1px solid #888888;
|
||||
cursor:pointer;
|
||||
}
|
||||
.day_special {
|
||||
font-family:Tahoma;
|
||||
font-size:11px;
|
||||
width:22px;
|
||||
height:15px;
|
||||
text-align:center;
|
||||
color:#000000;
|
||||
background-color:#FFFFFF;
|
||||
border:1px solid #888888;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.row_foot {
|
||||
margin:0px;
|
||||
}
|
||||
.foot {
|
||||
|
||||
font-size:11px;
|
||||
width:50px;
|
||||
margin:0px 1px;
|
||||
text-align:center;
|
||||
color:#ffffff;
|
||||
background-color:#99b3cc;
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#cce6ff #668099 #668099 #cce6ff;
|
||||
padding:1px;
|
||||
cursor:pointer;
|
||||
}
|
||||
.foot_over {
|
||||
|
||||
font-size:11px;
|
||||
width:50px;
|
||||
margin:0px 1px;
|
||||
text-align:center;
|
||||
color:#ffffff;
|
||||
background-color:#afc6dd;
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#cce6ff #668099 #668099 #cce6ff;
|
||||
padding:1px;
|
||||
cursor:pointer;
|
||||
}
|
||||
.foot_down {
|
||||
|
||||
font-size:11px;
|
||||
width:50px;
|
||||
margin:0px 1px;
|
||||
text-align:center;
|
||||
color:#ffffff;
|
||||
background-color:#7e93aa;
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#4b6077 #afc6dd #afc6dd #4b6077;
|
||||
padding:2px 0px 0px 2px;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
|
||||
.list {
|
||||
|
||||
font-size:12px;
|
||||
color:#000000;
|
||||
background-color:#f0f0f0;
|
||||
}
|
||||
|
||||
.info {
|
||||
font-size:10px;
|
||||
color:#000000;
|
||||
text-align:left;
|
||||
margin:2px 6px;
|
||||
padding:2px;
|
||||
}
|
||||
|
||||
.tip_title {
|
||||
|
||||
font-size:11px;
|
||||
text-align:center;
|
||||
color:#ffffff;
|
||||
background-color:#cc9999;
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#996666 #ffcccc #ffcccc #996666;
|
||||
padding:0px 3px;
|
||||
}
|
||||
.tip_box {
|
||||
filter:
|
||||
alpha(opacity:90)
|
||||
progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.5);
|
||||
-moz-opacity:0.9;
|
||||
width:200px; height:100px;
|
||||
|
||||
font-size:11px;
|
||||
text-align:left;
|
||||
color:#000000;
|
||||
background-color:#cfcfcf;
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#cce6ff #668099 #668099 #cce6ff;
|
||||
padding:3px;
|
||||
cursor:default;
|
||||
overflow:auto;
|
||||
}
|
||||
BIN
simpla/design/js/calendar/calendar.gif
Normal file
BIN
simpla/design/js/calendar/calendar.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1000 B |
83
simpla/design/js/calendar/calendar.js
Normal file
83
simpla/design/js/calendar/calendar.js
Normal file
@@ -0,0 +1,83 @@
|
||||
// date format
|
||||
// -----------
|
||||
xcDateFormat="dd.mm.yyyy";
|
||||
|
||||
|
||||
// css conf
|
||||
// --------
|
||||
xcCSSPanel="panel";
|
||||
|
||||
xcCSSHeadBlock="row_head";
|
||||
xcCSSHead="head";
|
||||
|
||||
xcCSSArrowMonthPrev=["arrow_prev", "arrow_prev_over", "arrow_prev_down"];
|
||||
xcCSSArrowMonthNext=["arrow_next", "arrow_next_over", "arrow_next_down"];
|
||||
|
||||
xcCSSArrowYearPrev=["arrow_prev", "arrow_prev_over", "arrow_prev_down"];
|
||||
xcCSSArrowYearNext=["arrow_next", "arrow_next_over", "arrow_next_down"];
|
||||
|
||||
xcCSSWeekdayBlock="row_week";
|
||||
xcCSSWeekday="weekday";
|
||||
|
||||
xcCSSDayBlock="row_day";
|
||||
xcCSSDay=["day", "day_over", "day_down", "day_disabled"];
|
||||
xcCSSDayCurrent=["day_current", "", ""];
|
||||
xcCSSDaySpecial=["day_special", "day_disabled"];
|
||||
xcCSSDayEmpty="day_empty";
|
||||
|
||||
xcCSSFootBlock="row_foot";
|
||||
xcCSSFootToday=["foot", "foot_over", "foot_down"];
|
||||
xcCSSFootClear=["foot", "foot_over", "foot_down"];
|
||||
xcCSSFootBack=["foot", "foot_over", "foot_down"];
|
||||
xcCSSFootClose=["foot", "foot_over", "foot_down"];
|
||||
xcCSSFootReset=["foot", "foot_over", "foot_down"];
|
||||
|
||||
|
||||
// layout conf
|
||||
// -----------
|
||||
xcMonthNames=["Январь", "Февраль", "Март", "Апрел", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"];
|
||||
//xcMonthNames=["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
||||
xcMonthShortNames=["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
|
||||
xcMonthPrefix="";
|
||||
xcMonthSuffix="";
|
||||
|
||||
xcYearDigits=["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
|
||||
xcYearPrefix="";
|
||||
xcYearSuffix="";
|
||||
|
||||
xcHeadSeparator=" "; // separator string between year and month
|
||||
xcHeadTagOrder=1; // 1: month/year, 0: year/month
|
||||
xcHeadTagAdjustment=1; // 1: 100% width, 0: actual width
|
||||
|
||||
xcArrowMonth=["‹", "›"];
|
||||
xcArrowYear=["«", "»"];
|
||||
xcArrowSwitch=[1, 1]; // [year, month] 1:on, 0:off
|
||||
xcArrowPosition=0; // 0:in head block, 1:in foot block
|
||||
|
||||
// names for days
|
||||
xcWeekdayNames=["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"];
|
||||
xcWeekdayShortNames=["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"];
|
||||
xcWeekdayDisplay=["ВС", "ПН","ВТ","СР","ЧТ","ПТ","СБ","ВС"];
|
||||
|
||||
// foot links
|
||||
xcFootTags=["сегодня", "очистить", "назад", "×", "сбросить", "_Today_", "_Back_", "_Reset_"];
|
||||
xcFootTagSwitch=[0, 0, 0, 0, 0, 0, 0, 0]; // [today, clear, back, close, reset, _today_, _back_, _reset_] non-zero:display order, 0:off
|
||||
xcFootTagAdjustment=0; // 1: % width, 0: actual width
|
||||
|
||||
// easy workaround for grid style
|
||||
xcGridWidth=0; // used as cellspacing
|
||||
|
||||
// others
|
||||
xcBaseZIndex=100; // z-index for calendar layers
|
||||
xcMultiCalendar=0; // 1:multi-calendar, 0:single-calendar
|
||||
xcShowCurrentDate=1; // 1:highlight current date/today, 0:no highlight
|
||||
xcWeekStart=1; // 0:Sunday, 1:Monday
|
||||
xcAutoHide=500; // 0: no auto hide, non-zero:auto hide interval in ms
|
||||
xcStickyMode=0; // 0:non-sticky, 1:sticky
|
||||
|
||||
// day contents
|
||||
xcDayContents=[" ", "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"];
|
||||
xcDayContentsDisabled=xcDayContents;
|
||||
xcDayContentsCurrent=xcDayContents;
|
||||
|
||||
xcMods=[];
|
||||
93
simpla/design/js/calendar/calendas.js
Normal file
93
simpla/design/js/calendar/calendas.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user